Expand description
Code for performing agent investment.
Modulesยง
- appraisal
- Calculation for investment tools such as Levelised Cost of X (LCOX) and Net Present Value (NPV).
Functionsยง
- calculate_
candidate_ asset_ capacity_ scale - Calculates a characteristic capacity scale for a candidate asset.
- collect_
preset_ demands_ for_ year - Collect the preset commodity demands for a given year into a map of commodity, region and time slice selection to demand.
- get_
demand_ limiting_ capacity - Returns the minimum installed capacity required for
assetto satisfy the demand that it can potentially serve, accounting for its activity constraints. - is_
any_ ๐remaining_ demand - Check whether there is any remaining demand that is unmet in any time slice
- log_
on_ ๐equal_ appraisal_ outputs - Print debug message if there are multiple equally good outputs
- perform_
agent_ investment - Perform agent investment to determine capacity investment of new assets for next milestone year.
- prepare_
commissioned_ ๐assets_ for_ retention - Prepare existing assets for reappraisal.
- record_
asset_ ๐selection - Record a selected asset. Candidate selections represent one tranche; repeated selections of the same candidate increase the resulting assetโs number of tranches while preserving its tranche size.
- remove_
assets_ ๐exceeding_ agent_ limits - Remove assets that exceed the provided process limits for one complete tranche.
- select_
best_ assets - Get the best assets for meeting demand for the given commodity
- subtract_
capacity_ ๐from_ remaining_ limit - update_
net_ demand_ map - Update net demand map with flows from a set of assets
- update_
selection_ ๐state - Update the remaining investment options and selection state.
Type Aliasesยง
- AllDemand
Map - Demand for a given combination of commodity, region and time-slice selection
- Demand
Map - A map of demand across time-slice selections for a specific market