11//! Calculation of cost coefficients for investment tools.
2- use super :: costs:: { activity_cost, activity_surplus, annual_fixed_cost} ;
32use crate :: agent:: ObjectiveType ;
43use crate :: asset:: AssetRef ;
54use crate :: model:: Model ;
@@ -9,6 +8,9 @@ use crate::units::{MoneyPerActivity, MoneyPerCapacity, MoneyPerFlow};
98use indexmap:: IndexMap ;
109use std:: collections:: HashMap ;
1110
11+ mod costs;
12+ use costs:: { activity_cost, activity_surplus, annual_fixed_cost} ;
13+
1214/// Map storing coefficients for each variable
1315#[ derive( Clone ) ]
1416pub struct ObjectiveCoefficients {
@@ -46,7 +48,7 @@ pub fn calculate_coefficients_for_assets(
4648}
4749
4850/// Calculates the cost coefficients for LCOX.
49- pub fn calculate_coefficients_for_lcox (
51+ fn calculate_coefficients_for_lcox (
5052 asset : & AssetRef ,
5153 time_slice_info : & TimeSliceInfo ,
5254 reduced_costs : & ReducedCosts ,
@@ -73,7 +75,7 @@ pub fn calculate_coefficients_for_lcox(
7375}
7476
7577/// Calculates the cost coefficients for NPV.
76- pub fn calculate_coefficients_for_npv (
78+ fn calculate_coefficients_for_npv (
7779 asset : & AssetRef ,
7880 time_slice_info : & TimeSliceInfo ,
7981 reduced_costs : & ReducedCosts ,
0 commit comments