Expand description
Code for updating the simulation state.
Structsยง
- Commodity
Prices - A map relating commodity ID + region + time slice to current price (endogenous)
- Reduced
Costs - A map of reduced costs for different assets in different time slices
Functionsยง
- calculate_
prices_ and_ reduced_ costs - Calculate commodity prices and reduced costs for assets.
- get_
highest_ ๐activity_ duals - get_
scarcity_ ๐adjustment - Get the scarcity adjustment for the given flow/region/time slice combination.
- reduced_
costs_ ๐for_ existing - Calculate reduced costs for existing assets
- remove_
scarcity_ ๐influence_ from_ candidate_ reduced_ costs - Remove the effect of scarcity on candidate assetsโ reduced costs