MEASUR-Tools-Suite v1.0.11
The MEASUR Tools Suite is a collection of industrial efficiency calculations written in C++ and with bindings for compilation to WebAssembly.
|
Classes | |
class | CostInfoOutput |
Public Types | |
enum class | Option { PercentAvgkWhElectricCostAvoided , StandbyRate } |
Public Member Functions | |
CHP (double annualOperatingHours, double annualElectricityConsumption, double annualThermalDemand, double boilerThermalFuelCosts, double avgElectricityCosts, Option calculationOption, double boilerThermalFuelCostsCHPcase, double CHPfuelCosts, double percentAvgkWhElectricCostAvoidedOrStandbyRate, double displacedThermalEfficiency, double chpAvailability, double thermalUtilization) | |
CostInfoOutput | getCostInfo () const |
double | getAnnualOperatingHours () const |
double | getAnnualElectricityConsumption () const |
double | getAnnualThermalDemand () const |
double | getBoilerThermalFuelCosts () const |
double | getChpFuelCosts () const |
double | getAvgElectricityCosts () const |
Option | getCalculationOption () const |
double | getBoilerThermalFuelCostsCHPcase () const |
double | getPercentAvgkWhElectricCostAvoided () const |
double | getStandbyRate () const |
double | getDisplacedThermalEfficiency () const |
double | getChpElectricEfficiency () const |
double | getChpThermalOutput () const |
double | getChpAvailability () const |
double | getThermalUtilization () const |
double | getAvgPowerDemand () const |
double | getAvgThermalDemand () const |
double | getNetCHPpower () const |
void | setAnnualOperatingHours (double annualOperatingHours) |
void | setAnnualElectricityConsumption (double annualElectricityConsumption) |
void | setAnnualThermalDemand (double annualThermalDemand) |
void | setBoilerThermalFuelCosts (double boilerThermalFuelCosts) |
void | setChpFuelCosts (double chpFuelCosts) |
void | setAvgElectricityCosts (double avgElectricityCosts) |
void | setCalculationOption (Option calculationOption, double percentAvgkWhElectricCostAvoidedOrStandbyRate) |
void | setBoilerThermalFuelCostsCHPcase (double boilerThermalFuelCostsCHPcase) |
void | setPercentAvgkWhElectricCostAvoided (double percentAvgkWhElectricCostAvoided) |
void | setStandbyRate (double standbyRate) |
void | setDisplacedThermalEfficiency (double displacedThermalEfficiency) |
void | setChpElectricEfficiency (double chpElectricEfficiency) |
void | setChpThermalOutput (double chpThermalOutput) |
void | setChpAvailability (double chpAvailability) |
void | setThermalUtilization (double thermalUtilization) |
void | setAvgPowerDemand (double avgPowerDemand) |
void | setAvgThermalDemand (double avgThermalDemand) |
void | setNetCHPpower (double netCHPpower) |
Private Member Functions | |
void | calculate () |
std::map< double, std::size_t >::const_iterator | findNearest (double val, std::size_t index) const |
Private Attributes | |
double | annualOperatingHours |
double | annualElectricityConsumption |
double | annualThermalDemand |
double | boilerThermalFuelCosts |
double | chpFuelCosts |
double | avgElectricityCosts |
Option | calculationOption |
double | boilerThermalFuelCostsCHPcase |
double | percentAvgkWhElectricCostAvoided = 0 |
double | standbyRate = 0 |
double | displacedThermalEfficiency |
double | chpElectricEfficiency |
double | chpThermalOutput |
double | chpAvailability |
double | thermalUtilization |
double | avgPowerDemand |
double | avgThermalDemand |
double | netCHPpower |
CostInfoOutput | costInfo |
const std::array< std::array< double, 8 >, 3 > | chpSystemByIndex |
const std::array< std::map< double, std::size_t >, 6 > | chpSystemByKey |
|
strong |
Contructor for the CHP class
PercentAvgkWhElectricCostAvoided,percent | cost saved from CHP electricity, percent |
StandbyRate,cost | of outage, $/kW |
annualOperatingHours,double,Time | for which the CHP operates in a year - hours |
annualElectricityConsumption | double, kWh |
annualThermalDemand | double, MMBtu |
boilerThermalFuelCosts | double, $/MMBtu |
avgElectricityCosts | double, $/kWh |
option | calculationOption, dropdown enum |
boilerThermalFuelCostsCHPcase | double, $/MMBtu |
CHPfuelCosts | double, $/MMBtu |
percentAvgkWhElectricCostAvoidedOrStandbyRate | double, percent |
displacedThermalEfficiency | double, percent |
chpAvailability | double, percent |
thermalUtilization | double, percent |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |