@@ -441,7 +441,7 @@ fn add_scarcity_adjusted_prices<'a, I>(
441441/// - Variable operating cost: 5 per unit activity
442442/// - Production levy on C: 3 per unit flow
443443/// - Production levy on D: 4 per unit flow
444- /// - Shadow price of A: 1 per unit flow
444+ /// - Price of A: 1 per unit flow
445445///
446446/// Then:
447447/// - Generic activity cost per activity = (1 + 5 + 4) = 10
@@ -969,7 +969,7 @@ where
969969/// - Variable operating cost: 5 per unit activity
970970/// - Production levy on C: 3 per unit flow
971971/// - Production levy on D: 4 per unit flow
972- /// - Shadow price of A: 1 per unit flow
972+ /// - Price of A: 1 per unit flow
973973///
974974/// If capacity is 4 and annual activity is 2:
975975/// - Annual capital + fixed operating cost per activity = (2.5 * 4) / 2 = 5
@@ -1290,7 +1290,7 @@ mod tests {
12901290 Asset :: new_candidate ( Rc :: new ( process) , region_id. clone ( ) , Capacity ( 1.0 ) , 2015u32 )
12911291 . unwrap ( ) ;
12921292 let asset_ref = AssetRef :: from ( asset) ;
1293- let shadow_prices =
1293+ let existing_prices =
12941294 CommodityPrices :: from_iter ( vec ! [ ( & a. id, & region_id, & time_slice, MoneyPerFlow ( 1.0 ) ) ] ) ;
12951295 let mut markets = HashSet :: new ( ) ;
12961296 markets. insert ( ( b. id . clone ( ) , region_id. clone ( ) ) ) ;
@@ -1303,7 +1303,7 @@ mod tests {
13031303 let existing = vec ! [ ( & asset_ref, & time_slice, Activity ( 1.0 ) ) ] ;
13041304 let candidates = Vec :: new ( ) ;
13051305
1306- let mut prices = shadow_prices . clone ( ) ;
1306+ let mut prices = existing_prices . clone ( ) ;
13071307 add_marginal_cost_prices (
13081308 existing. into_iter ( ) ,
13091309 candidates. into_iter ( ) ,
@@ -1373,7 +1373,7 @@ mod tests {
13731373 Asset :: new_candidate ( Rc :: new ( process) , region_id. clone ( ) , Capacity ( 4.0 ) , 2015u32 )
13741374 . unwrap ( ) ;
13751375 let asset_ref = AssetRef :: from ( asset) ;
1376- let shadow_prices =
1376+ let existing_prices =
13771377 CommodityPrices :: from_iter ( vec ! [ ( & a. id, & region_id, & time_slice, MoneyPerFlow ( 1.0 ) ) ] ) ;
13781378 let mut markets = HashSet :: new ( ) ;
13791379 markets. insert ( ( b. id . clone ( ) , region_id. clone ( ) ) ) ;
@@ -1389,7 +1389,7 @@ mod tests {
13891389 let mut annual_activities = HashMap :: new ( ) ;
13901390 annual_activities. insert ( asset_ref. clone ( ) , Activity ( 2.0 ) ) ;
13911391
1392- let mut prices = shadow_prices . clone ( ) ;
1392+ let mut prices = existing_prices . clone ( ) ;
13931393 add_full_cost_prices (
13941394 existing. into_iter ( ) ,
13951395 candidates. into_iter ( ) ,
0 commit comments