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).
EnumsΒ§
- Investment
Set - Represents a set of markets which are invested in together.
FunctionsΒ§
- calculate_
investment_ πlimits_ for_ candidates - Calculate investment limits for an agentβs candidate assets in a given year
- flatten_
preset_ πdemands_ for_ year - Flatten the preset commodity demands for a given year into a map of commodity, region and time slice to demand.
- get_
asset_ πoptions - Get options from existing and potential assets for the given parameters
- get_
candidate_ πassets - Get candidate assets which produce a particular commodity for a given agent
- get_
demand_ πlimiting_ capacity - Get the maximum required capacity across time slices
- get_
demand_ πportion_ for_ market - Get a portion of the demand profile for this market
- get_
responsible_ πagents - Get the agents responsible for a given market in a given year along with the commodity portion for which they are responsible
- 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.
- select_
assets_ πfor_ cycle - Iterates through the a pre-ordered set of markets forming a cycle, selecting assets for each market in turn.
- select_
assets_ πfor_ single_ market - Select assets for a single market in a given year
- select_
best_ πassets - Get the best assets for meeting demand for the given commodity
- update_
assets π - Update capacity of chosen asset, if needed, and update both asset options and chosen assets
- update_
net_ πdemand_ map - Update net demand map with flows from a set of assets
Type AliasesΒ§
- AllDemand
Map π - Demand for a given combination of commodity, region and time slice
- Demand
Map π - A map of demand across time slices for a specific market