Module investment

Source
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ยง

AllDemandMap ๐Ÿ”’
Demand for a given combination of commodity, region and time slice
DemandMap ๐Ÿ”’
A map of demand across time slices for a specific commodity and region