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ยง
- 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_ commodity - Get a portion of the demand profile for this commodity and region
- get_
prices_ ๐for_ commodities - Get a map of prices for a subset of commodities
- get_
responsible_ ๐agents - Get the agents responsible for a given commodity 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_
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_
demand_ ๐map - Update 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 commodity and region