![]() |
CYCLUS
|
Go to the source code of this file.
Functions | |
double | CalculateUnitCost (double production_capacity, double units_to_produce, double input_cost_per_unit=0.0) const |
double | CalculateUnitPrice (double production_capacity, double units_to_produce, double input_cost_per_unit=0.0) const |
std::unordered_map< std::string, double > | GenerateParamList () const override |
Variables | |
double | annual_labor_cost |
double | annual_operations_and_maintenance |
double | capital_cost |
double | cost_override |
std::vector< int > | cycpp_shape_annual_labor_cost = {0} |
std::vector< int > | cycpp_shape_annual_operations_and_maintenance = {0} |
std::vector< int > | cycpp_shape_capital_cost = {0} |
std::vector< int > | cycpp_shape_cost_override = {0} |
std::vector< int > | cycpp_shape_facility_depreciation_lifetime = {0} |
std::vector< int > | cycpp_shape_facility_operational_lifetime = {0} |
std::vector< int > | cycpp_shape_property_insurance_rate = {0} |
std::vector< int > | cycpp_shape_property_tax_rate = {0} |
double | facility_depreciation_lifetime |
double | facility_operational_lifetime |
double | property_insurance_rate |
double | property_tax_rate |
double CalculateUnitCost | ( | double | production_capacity, |
double | units_to_produce, | ||
double | input_cost_per_unit = 0.0 ) const |
Calculates the levelized unit cost of production, accounting for capital depreciation, O&M, labor, property taxes, and input costs.
unit_cost = cost_override if cost_override > 0, otherwise unit_cost = production_cost + material_cost
Where:
The model assumes straight-line depreciation over the facility lifetime.
production_capacity | Maximum throughput per timestep |
units_to_produce | Number of units produced in the batch |
input_cost | (Optional) Total cost of input materials used in the batch |
Definition at line 118 of file facility_cost.cycpp.h.
double CalculateUnitPrice | ( | double | production_capacity, |
double | units_to_produce, | ||
double | input_cost_per_unit = 0.0 ) const |
Definition at line 206 of file facility_cost.cycpp.h.
|
override |
Definition at line 82 of file facility_cost.cycpp.h.
double annual_labor_cost |
Definition at line 62 of file facility_cost.cycpp.h.
double annual_operations_and_maintenance |
Definition at line 37 of file facility_cost.cycpp.h.
double capital_cost |
This includes the required header to add facility costs to archetypes.
One should only need to:
InitEconParameters()
to EnterNotify()
in the cc file of the archetype class. How to add parameters to this file:Definition at line 23 of file facility_cost.cycpp.h.
double cost_override |
Definition at line 70 of file facility_cost.cycpp.h.
std::vector<int> cycpp_shape_annual_labor_cost = {0} |
Definition at line 219 of file facility_cost.cycpp.h.
std::vector<int> cycpp_shape_annual_operations_and_maintenance = {0} |
Definition at line 216 of file facility_cost.cycpp.h.
std::vector<int> cycpp_shape_capital_cost = {0} |
Definition at line 214 of file facility_cost.cycpp.h.
std::vector<int> cycpp_shape_cost_override = {0} |
Definition at line 220 of file facility_cost.cycpp.h.
std::vector<int> cycpp_shape_facility_depreciation_lifetime = {0} |
Definition at line 218 of file facility_cost.cycpp.h.
std::vector<int> cycpp_shape_facility_operational_lifetime = {0} |
Definition at line 217 of file facility_cost.cycpp.h.
std::vector<int> cycpp_shape_property_insurance_rate = {0} |
Definition at line 221 of file facility_cost.cycpp.h.
std::vector<int> cycpp_shape_property_tax_rate = {0} |
Definition at line 215 of file facility_cost.cycpp.h.
double facility_depreciation_lifetime |
Definition at line 53 of file facility_cost.cycpp.h.
double facility_operational_lifetime |
Definition at line 45 of file facility_cost.cycpp.h.
double property_insurance_rate |
Definition at line 78 of file facility_cost.cycpp.h.
double property_tax_rate |
Definition at line 31 of file facility_cost.cycpp.h.