fn add_commodity_balance_constraints(
problem: &mut RowProblem,
variables: &VariableMap,
model: &Model,
assets: &AssetPool,
year: u32,
) -> Vec<(CommodityID, RegionID, TimeSliceSelection)>
Expand description
Add asset-level input-output commodity balances.
These constraints fix the supply-demand balance for the whole system.
See description in the dispatch optimisation documentation.