Module investment

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).

EnumsΒ§

InvestmentSet
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Β§

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