11//! Calculation of cost coefficients for investment tools.
2+ use super :: costs:: { activity_cost, activity_surplus, annual_fixed_cost} ;
23use crate :: agent:: ObjectiveType ;
34use crate :: asset:: AssetRef ;
45use crate :: model:: Model ;
@@ -8,12 +9,10 @@ use crate::units::{MoneyPerActivity, MoneyPerCapacity, MoneyPerFlow};
89use indexmap:: IndexMap ;
910use std:: collections:: HashMap ;
1011
11- mod costs;
12- use costs:: { activity_cost, activity_surplus, annual_fixed_cost} ;
13-
1412/// Map storing cost coefficients for an asset.
1513///
1614/// These are calculated according to the objective type of the agent owning the asset.
15+ /// Map storing coefficients for each variable
1716#[ derive( Clone ) ]
1817pub struct ObjectiveCoefficients {
1918 /// Cost per unit of capacity
@@ -51,7 +50,7 @@ pub fn calculate_coefficients_for_assets(
5150}
5251
5352/// Calculates the cost coefficients for LCOX.
54- fn calculate_coefficients_for_lcox (
53+ pub fn calculate_coefficients_for_lcox (
5554 asset : & AssetRef ,
5655 time_slice_info : & TimeSliceInfo ,
5756 reduced_costs : & ReducedCosts ,
@@ -78,7 +77,7 @@ fn calculate_coefficients_for_lcox(
7877}
7978
8079/// Calculates the cost coefficients for NPV.
81- fn calculate_coefficients_for_npv (
80+ pub fn calculate_coefficients_for_npv (
8281 asset : & AssetRef ,
8382 time_slice_info : & TimeSliceInfo ,
8483 reduced_costs : & ReducedCosts ,
0 commit comments