fn calculate_scarcity_adjusted_prices<'a, I>(
activity_duals: I,
shadow_prices: &CommodityPrices,
markets_to_price: &HashSet<(CommodityID, RegionID)>,
) -> HashMap<(CommodityID, RegionID, TimeSliceID), MoneyPerFlow>Expand description
Calculate scarcity-adjusted prices for a set of commodities.
§Arguments
activity_duals- Iterator over activity duals from optimisation solutionshadow_prices- Shadow prices for all commoditiesmarkets_to_price- Set of markets to calculate scarcity-adjusted prices for
§Returns
A map of scarcity-adjusted prices for the specified markets in all time slices