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ยง
- compare_
asset_ ๐fallback - Compare assets as a fallback if metrics are equal.
- 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
- 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
- warn_
on_ ๐equal_ appraisal_ outputs - Print debug message if there are multiple equally good outputs
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