Skip to main content

Module market

Module market 

Source
Expand description

Code for creating sets of markets.

EnumsΒ§

MarketSet
Represents a set of markets which are invested in together.

FunctionsΒ§

collect_investment_limits_for_candidates
Investment limits are based on any annual addition limits specified by the process, scaled according to the agent’s portion of the commodity demand and the number of years elapsed since the previous milestone year.
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_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
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