Function perform_agent_investment

Source
pub fn perform_agent_investment(
    model: &Model,
    year: u32,
    existing_assets: &[AssetRef],
    prices: &CommodityPrices,
    reduced_costs: &ReducedCosts,
    writer: &mut DataWriter,
) -> Result<Vec<AssetRef>>
Expand description

Perform agent investment to determine capacity investment of new assets for next milestone year.

ยงArguments

  • model - The model
  • year - Current milestone year
  • assets - The asset pool
  • prices - Commodity prices
  • reduced_costs - Reduced costs for assets
  • writer - Data writer