AMO-Tools-Suite  v.0.9.0
Set of tools for calculating energy efficiency in industrial equipment
All Classes Namespaces Files Functions Variables Enumerations Friends Macros Pages
Public Types | Public Member Functions | List of all members
CHP Class Reference

Public Types

enum  Option {
  PercentAvgkWhElectricCostAvoided, StandbyRate, PercentAvgkWhElectricCostAvoided, StandbyRate,
  PercentAvgkWhElectricCostAvoided, StandbyRate
}
 
enum  Option {
  PercentAvgkWhElectricCostAvoided, StandbyRate, PercentAvgkWhElectricCostAvoided, StandbyRate,
  PercentAvgkWhElectricCostAvoided, StandbyRate
}
 
enum  Option {
  PercentAvgkWhElectricCostAvoided, StandbyRate, PercentAvgkWhElectricCostAvoided, StandbyRate,
  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)
 
std::unordered_map< std::string, double > const & 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)
 
 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)
 
std::unordered_map< std::string, double > const & 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)
 
 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)
 
std::unordered_map< std::string, double > const & 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)
 

Detailed Description

Definition at line 16 of file CHP.h.

Member Enumeration Documentation

◆ Option [1/3]

enum CHP::Option
strong

Contructor for the CHP class

Parameters
PercentAvgkWhElectricCostAvoided,percentcost saved from CHP electricity, percent
StandbyRate,costof outage, $/kW
annualOperatingHours,double,Timefor which the CHP operates in a year - hours
annualElectricityConsumptiondouble, kWh
annualThermalDemanddouble, MMBtu
boilerThermalFuelCostsdouble, $/MMBtu
avgElectricityCostsdouble, $/kWh
optioncalculationOption, dropdown enum
boilerThermalFuelCostsCHPcasedouble, $/MMBtu
CHPfuelCostsdouble, $/MMBtu
percentAvgkWhElectricCostAvoidedOrStandbyRatedouble, percent
displacedThermalEfficiencydouble, percent
chpAvailabilitydouble, percent
thermalUtilizationdouble, percent

Definition at line 35 of file CHP.h.

◆ Option [2/3]

enum CHP::Option
strong

Contructor for the CHP class

Parameters
PercentAvgkWhElectricCostAvoided,percentcost saved from CHP electricity, percent
StandbyRate,costof outage, $/kW
annualOperatingHours,double,Timefor which the CHP operates in a year - hours
annualElectricityConsumptiondouble, kWh
annualThermalDemanddouble, MMBtu
boilerThermalFuelCostsdouble, $/MMBtu
avgElectricityCostsdouble, $/kWh
optioncalculationOption, dropdown enum
boilerThermalFuelCostsCHPcasedouble, $/MMBtu
CHPfuelCostsdouble, $/MMBtu
percentAvgkWhElectricCostAvoidedOrStandbyRatedouble, percent
displacedThermalEfficiencydouble, percent
chpAvailabilitydouble, percent
thermalUtilizationdouble, percent

Definition at line 35 of file CHP.h.

◆ Option [3/3]

enum CHP::Option
strong

Contructor for the CHP class

Parameters
PercentAvgkWhElectricCostAvoided,percentcost saved from CHP electricity, percent
StandbyRate,costof outage, $/kW
annualOperatingHours,double,Timefor which the CHP operates in a year - hours
annualElectricityConsumptiondouble, kWh
annualThermalDemanddouble, MMBtu
boilerThermalFuelCostsdouble, $/MMBtu
avgElectricityCostsdouble, $/kWh
optioncalculationOption, dropdown enum
boilerThermalFuelCostsCHPcasedouble, $/MMBtu
CHPfuelCostsdouble, $/MMBtu
percentAvgkWhElectricCostAvoidedOrStandbyRatedouble, percent
displacedThermalEfficiencydouble, percent
chpAvailabilitydouble, percent
thermalUtilizationdouble, percent

Definition at line 35 of file CHP.h.

Member Function Documentation

◆ getAnnualElectricityConsumption() [1/3]

double CHP::getAnnualElectricityConsumption ( ) const
inline

Gets the Annual Electricity Consumption

Returns
double const, annual electricity consumption in kWh

Definition at line 58 of file CHP.h.

◆ getAnnualElectricityConsumption() [2/3]

double CHP::getAnnualElectricityConsumption ( ) const
inline

Gets the Annual Electricity Consumption

Returns
double const, annual electricity consumption in kWh

Definition at line 58 of file CHP.h.

◆ getAnnualElectricityConsumption() [3/3]

double CHP::getAnnualElectricityConsumption ( ) const
inline

Gets the Annual Electricity Consumption

Returns
double const, annual electricity consumption in kWh

Definition at line 58 of file CHP.h.

◆ getAnnualOperatingHours() [1/3]

double CHP::getAnnualOperatingHours ( ) const
inline

Gets the Annual Operating Hours

Returns
double const, annual operating hours in hrs/yr

Definition at line 52 of file CHP.h.

◆ getAnnualOperatingHours() [2/3]

double CHP::getAnnualOperatingHours ( ) const
inline

Gets the Annual Operating Hours

Returns
double const, annual operating hours in hrs/yr

Definition at line 52 of file CHP.h.

◆ getAnnualOperatingHours() [3/3]

double CHP::getAnnualOperatingHours ( ) const
inline

Gets the Annual Operating Hours

Returns
double const, annual operating hours in hrs/yr

Definition at line 52 of file CHP.h.

◆ getAnnualThermalDemand() [1/3]

double CHP::getAnnualThermalDemand ( ) const
inline

Gets the Annual Thermal Demand

Returns
double const, annual thermal demand in MMBtu

Definition at line 64 of file CHP.h.

◆ getAnnualThermalDemand() [2/3]

double CHP::getAnnualThermalDemand ( ) const
inline

Gets the Annual Thermal Demand

Returns
double const, annual thermal demand in MMBtu

Definition at line 64 of file CHP.h.

◆ getAnnualThermalDemand() [3/3]

double CHP::getAnnualThermalDemand ( ) const
inline

Gets the Annual Thermal Demand

Returns
double const, annual thermal demand in MMBtu

Definition at line 64 of file CHP.h.

◆ getAvgElectricityCosts() [1/3]

double CHP::getAvgElectricityCosts ( ) const
inline

Gets the Avg Electricity Costs

Returns
double const, Average Electricity costs $/kWh

Definition at line 82 of file CHP.h.

◆ getAvgElectricityCosts() [2/3]

double CHP::getAvgElectricityCosts ( ) const
inline

Gets the Avg Electricity Costs

Returns
double const, Average Electricity costs $/kWh

Definition at line 82 of file CHP.h.

◆ getAvgElectricityCosts() [3/3]

double CHP::getAvgElectricityCosts ( ) const
inline

Gets the Avg Electricity Costs

Returns
double const, Average Electricity costs $/kWh

Definition at line 82 of file CHP.h.

◆ getAvgPowerDemand() [1/3]

double CHP::getAvgPowerDemand ( ) const
inline

Gets the Avg Power Demand

Returns
double const, Average Power Demand in kWh

Definition at line 142 of file CHP.h.

◆ getAvgPowerDemand() [2/3]

double CHP::getAvgPowerDemand ( ) const
inline

Gets the Avg Power Demand

Returns
double const, Average Power Demand in kWh

Definition at line 142 of file CHP.h.

◆ getAvgPowerDemand() [3/3]

double CHP::getAvgPowerDemand ( ) const
inline

Gets the Avg Power Demand

Returns
double const, Average Power Demand in kWh

Definition at line 142 of file CHP.h.

◆ getAvgThermalDemand() [1/3]

double CHP::getAvgThermalDemand ( ) const
inline

Gets the Avg Thermal Demand

Returns
double const, Average Thermal Demand in MMBtu

Definition at line 148 of file CHP.h.

◆ getAvgThermalDemand() [2/3]

double CHP::getAvgThermalDemand ( ) const
inline

Gets the Avg Thermal Demand

Returns
double const, Average Thermal Demand in MMBtu

Definition at line 148 of file CHP.h.

◆ getAvgThermalDemand() [3/3]

double CHP::getAvgThermalDemand ( ) const
inline

Gets the Avg Thermal Demand

Returns
double const, Average Thermal Demand in MMBtu

Definition at line 148 of file CHP.h.

◆ getBoilerThermalFuelCosts() [1/3]

double CHP::getBoilerThermalFuelCosts ( ) const
inline

Gets the Boiler Thermal Fuel Costs

Returns
double const, boiler thermal fuel costs in $/MMBtu

Definition at line 70 of file CHP.h.

◆ getBoilerThermalFuelCosts() [2/3]

double CHP::getBoilerThermalFuelCosts ( ) const
inline

Gets the Boiler Thermal Fuel Costs

Returns
double const, boiler thermal fuel costs in $/MMBtu

Definition at line 70 of file CHP.h.

◆ getBoilerThermalFuelCosts() [3/3]

double CHP::getBoilerThermalFuelCosts ( ) const
inline

Gets the Boiler Thermal Fuel Costs

Returns
double const, boiler thermal fuel costs in $/MMBtu

Definition at line 70 of file CHP.h.

◆ getBoilerThermalFuelCostsCHPcase() [1/3]

double CHP::getBoilerThermalFuelCostsCHPcase ( ) const
inline

Gets the Boiler Thermal Fuel Costs CHP case

Returns
double const, boiler thermal fuel costs CHP case in $/MMBtu

Definition at line 94 of file CHP.h.

◆ getBoilerThermalFuelCostsCHPcase() [2/3]

double CHP::getBoilerThermalFuelCostsCHPcase ( ) const
inline

Gets the Boiler Thermal Fuel Costs CHP case

Returns
double const, boiler thermal fuel costs CHP case in $/MMBtu

Definition at line 94 of file CHP.h.

◆ getBoilerThermalFuelCostsCHPcase() [3/3]

double CHP::getBoilerThermalFuelCostsCHPcase ( ) const
inline

Gets the Boiler Thermal Fuel Costs CHP case

Returns
double const, boiler thermal fuel costs CHP case in $/MMBtu

Definition at line 94 of file CHP.h.

◆ getCalculationOption() [1/3]

Option CHP::getCalculationOption ( ) const
inline

Gets the Calculation Option

Returns
Option const, Calculation Option, dropdown enum

Definition at line 88 of file CHP.h.

◆ getCalculationOption() [2/3]

Option CHP::getCalculationOption ( ) const
inline

Gets the Calculation Option

Returns
Option const, Calculation Option, dropdown enum

Definition at line 88 of file CHP.h.

◆ getCalculationOption() [3/3]

Option CHP::getCalculationOption ( ) const
inline

Gets the Calculation Option

Returns
Option const, Calculation Option, dropdown enum

Definition at line 88 of file CHP.h.

◆ getChpAvailability() [1/3]

double CHP::getChpAvailability ( ) const
inline

Gets the Chp Availability

Returns
double const, CHP availability as a percent

Definition at line 130 of file CHP.h.

◆ getChpAvailability() [2/3]

double CHP::getChpAvailability ( ) const
inline

Gets the Chp Availability

Returns
double const, CHP availability as a percent

Definition at line 130 of file CHP.h.

◆ getChpAvailability() [3/3]

double CHP::getChpAvailability ( ) const
inline

Gets the Chp Availability

Returns
double const, CHP availability as a percent

Definition at line 130 of file CHP.h.

◆ getChpElectricEfficiency() [1/3]

double CHP::getChpElectricEfficiency ( ) const
inline

Gets the Chp Electric Efficiency

Returns
double const, CHP electric efficiency as a percent

Definition at line 118 of file CHP.h.

◆ getChpElectricEfficiency() [2/3]

double CHP::getChpElectricEfficiency ( ) const
inline

Gets the Chp Electric Efficiency

Returns
double const, CHP electric efficiency as a percent

Definition at line 118 of file CHP.h.

◆ getChpElectricEfficiency() [3/3]

double CHP::getChpElectricEfficiency ( ) const
inline

Gets the Chp Electric Efficiency

Returns
double const, CHP electric efficiency as a percent

Definition at line 118 of file CHP.h.

◆ getChpFuelCosts() [1/3]

double CHP::getChpFuelCosts ( ) const
inline

Gets the Chp Fuel Costs

Returns
double const, CHP fuel costs $/MMBtu

Definition at line 76 of file CHP.h.

◆ getChpFuelCosts() [2/3]

double CHP::getChpFuelCosts ( ) const
inline

Gets the Chp Fuel Costs

Returns
double const, CHP fuel costs $/MMBtu

Definition at line 76 of file CHP.h.

◆ getChpFuelCosts() [3/3]

double CHP::getChpFuelCosts ( ) const
inline

Gets the Chp Fuel Costs

Returns
double const, CHP fuel costs $/MMBtu

Definition at line 76 of file CHP.h.

◆ getChpThermalOutput() [1/3]

double CHP::getChpThermalOutput ( ) const
inline

Get the Chp Thermal Output

Returns
double const, CHP thermal output in MMBtu

Definition at line 124 of file CHP.h.

◆ getChpThermalOutput() [2/3]

double CHP::getChpThermalOutput ( ) const
inline

Get the Chp Thermal Output

Returns
double const, CHP thermal output in MMBtu

Definition at line 124 of file CHP.h.

◆ getChpThermalOutput() [3/3]

double CHP::getChpThermalOutput ( ) const
inline

Get the Chp Thermal Output

Returns
double const, CHP thermal output in MMBtu

Definition at line 124 of file CHP.h.

◆ getDisplacedThermalEfficiency() [1/3]

double CHP::getDisplacedThermalEfficiency ( ) const
inline

Gets the Displaced Thermal Efficiency

Returns
double const, Displaced Thermal Efficiency as a percent

Definition at line 112 of file CHP.h.

◆ getDisplacedThermalEfficiency() [2/3]

double CHP::getDisplacedThermalEfficiency ( ) const
inline

Gets the Displaced Thermal Efficiency

Returns
double const, Displaced Thermal Efficiency as a percent

Definition at line 112 of file CHP.h.

◆ getDisplacedThermalEfficiency() [3/3]

double CHP::getDisplacedThermalEfficiency ( ) const
inline

Gets the Displaced Thermal Efficiency

Returns
double const, Displaced Thermal Efficiency as a percent

Definition at line 112 of file CHP.h.

◆ getNetCHPpower() [1/3]

double CHP::getNetCHPpower ( ) const
inline

Gets the Net CHP power

Returns
double const, Net CHP power in MMBtu

Definition at line 154 of file CHP.h.

◆ getNetCHPpower() [2/3]

double CHP::getNetCHPpower ( ) const
inline

Gets the Net CHP power

Returns
double const, Net CHP power in MMBtu

Definition at line 154 of file CHP.h.

◆ getNetCHPpower() [3/3]

double CHP::getNetCHPpower ( ) const
inline

Gets the Net CHP power

Returns
double const, Net CHP power in MMBtu

Definition at line 154 of file CHP.h.

◆ getPercentAvgkWhElectricCostAvoided() [1/3]

double CHP::getPercentAvgkWhElectricCostAvoided ( ) const
inline

Gets the Percent Avg kWh Electric Cost Avoided

Returns
double const, percent cost saved from CHP electricity, percent

Definition at line 100 of file CHP.h.

◆ getPercentAvgkWhElectricCostAvoided() [2/3]

double CHP::getPercentAvgkWhElectricCostAvoided ( ) const
inline

Gets the Percent Avg kWh Electric Cost Avoided

Returns
double const, percent cost saved from CHP electricity, percent

Definition at line 100 of file CHP.h.

◆ getPercentAvgkWhElectricCostAvoided() [3/3]

double CHP::getPercentAvgkWhElectricCostAvoided ( ) const
inline

Gets the Percent Avg kWh Electric Cost Avoided

Returns
double const, percent cost saved from CHP electricity, percent

Definition at line 100 of file CHP.h.

◆ getStandbyRate() [1/3]

double CHP::getStandbyRate ( ) const
inline

Gets the Standby Rate

Returns
double const, cost of outage, $/kW

Definition at line 106 of file CHP.h.

◆ getStandbyRate() [2/3]

double CHP::getStandbyRate ( ) const
inline

Gets the Standby Rate

Returns
double const, cost of outage, $/kW

Definition at line 106 of file CHP.h.

◆ getStandbyRate() [3/3]

double CHP::getStandbyRate ( ) const
inline

Gets the Standby Rate

Returns
double const, cost of outage, $/kW

Definition at line 106 of file CHP.h.

◆ getThermalUtilization() [1/3]

double CHP::getThermalUtilization ( ) const
inline

Gets the Thermal Utilization

Returns
double const, Thermal Utilization as a percent

Definition at line 136 of file CHP.h.

◆ getThermalUtilization() [2/3]

double CHP::getThermalUtilization ( ) const
inline

Gets the Thermal Utilization

Returns
double const, Thermal Utilization as a percent

Definition at line 136 of file CHP.h.

◆ getThermalUtilization() [3/3]

double CHP::getThermalUtilization ( ) const
inline

Gets the Thermal Utilization

Returns
double const, Thermal Utilization as a percent

Definition at line 136 of file CHP.h.


The documentation for this class was generated from the following files: