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 Member Functions | List of all members
AnnualCost Class Reference

Header file for AnnualCost class. More...

#include <AnnualCost.h>

Public Member Functions

 AnnualCost (double annualEnergy, double kwhRate)
 
double calculate ()
 Contains the definition of functions of AnnualCost class. calculate(): Calculates the annual energy cost. More...
 
double getAnnualEnergy () const
 
void setAnnualEnergy (double annualEnergy)
 
double getKwhRate () const
 
void setKwhRate (double kwhRate)
 
 AnnualCost (double annualEnergy, double kwhRate)
 
double calculate ()
 
double getAnnualEnergy () const
 
void setAnnualEnergy (double annualEnergy)
 
double getKwhRate () const
 
void setKwhRate (double kwhRate)
 
 AnnualCost (double annualEnergy, double kwhRate)
 
double calculate ()
 
double getAnnualEnergy () const
 
void setAnnualEnergy (double annualEnergy)
 
double getKwhRate () const
 
void setKwhRate (double kwhRate)
 

Detailed Description

Header file for AnnualCost class.

This contains the prototypes of AnnualCost calculator including getters and setters for the important fields.

Author
Subhankar Mishra (mishras)
Gina Accawi (accawigk)

This contains the prototypes of AnnualCost calculator including getters and setters for the important fields.

Author
Subhankar Mishra (mishras)
Gina Accawi (accawigk)

This contains the prototypes of AnnualCost calculator including getters and setters for the important fields.

Author
Subhankar Mishra (mishras)
Gina Accawi (accawigk)

Definition at line 16 of file AnnualCost.h.

Constructor & Destructor Documentation

◆ AnnualCost() [1/3]

AnnualCost::AnnualCost ( double  annualEnergy,
double  kwhRate 
)
inline

Constructor

Parameters
annualEnergydouble, annual energy consumption in MWh/year
kwhRatedouble, rate in $/kWh

Definition at line 23 of file AnnualCost.h.

◆ AnnualCost() [2/3]

AnnualCost::AnnualCost ( double  annualEnergy,
double  kwhRate 
)
inline

Constructor

Parameters
annualEnergydouble, annual energy consumption in MWh/year
kwhRatedouble, rate in $/kWh

Definition at line 23 of file AnnualCost.h.

◆ AnnualCost() [3/3]

AnnualCost::AnnualCost ( double  annualEnergy,
double  kwhRate 
)
inline

Constructor

Parameters
annualEnergydouble, annual energy consumption in MWh/year
kwhRatedouble, rate in $/kWh

Definition at line 23 of file AnnualCost.h.

Member Function Documentation

◆ calculate() [1/3]

double AnnualCost::calculate ( )

Contains the definition of functions of AnnualCost class. calculate(): Calculates the annual energy cost.

Calculates the annual energy cost

Returns
double, annual energy cost in $/year
Author
Subhankar Mishra (mishras)
Gina Accawi (accawigk)

Calculate Annual energy cost. Annual energy cost = MWh/year * 1000 * energy cost rate ($/kWh) 1000 in above equation is not used in excel version of the tool.

Returns
Annual Energy Cost

Definition at line 20 of file AnnualCost.cpp.

◆ calculate() [2/3]

double AnnualCost::calculate ( )

Calculates the annual energy cost

Returns
double, annual energy cost in $/year

◆ calculate() [3/3]

double AnnualCost::calculate ( )

Calculates the annual energy cost

Returns
double, annual energy cost in $/year

◆ getAnnualEnergy() [1/3]

double AnnualCost::getAnnualEnergy ( ) const
inline

Getter for annual energy.

Returns
double, annual energy in MWh/year

Definition at line 41 of file AnnualCost.h.

◆ getAnnualEnergy() [2/3]

double AnnualCost::getAnnualEnergy ( ) const
inline

Getter for annual energy.

Returns
double, annual energy in MWh/year

Definition at line 41 of file AnnualCost.h.

◆ getAnnualEnergy() [3/3]

double AnnualCost::getAnnualEnergy ( ) const
inline

Getter for annual energy.

Returns
double, annual energy in MWh/year

Definition at line 41 of file AnnualCost.h.

◆ getKwhRate() [1/3]

double AnnualCost::getKwhRate ( ) const
inline

Getter for the rate in $/kWh

Returns
double, rate in $/kWh

Definition at line 57 of file AnnualCost.h.

◆ getKwhRate() [2/3]

double AnnualCost::getKwhRate ( ) const
inline

Getter for the rate in $/kWh

Returns
double, rate in $/kWh

Definition at line 57 of file AnnualCost.h.

◆ getKwhRate() [3/3]

double AnnualCost::getKwhRate ( ) const
inline

Getter for the rate in $/kWh

Returns
double, rate in $/kWh

Definition at line 57 of file AnnualCost.h.

◆ setAnnualEnergy() [1/3]

void AnnualCost::setAnnualEnergy ( double  annualEnergy)
inline

Setter for annual energy

Parameters
annualEnergydouble, annual energy consumption in MWh/year

Definition at line 49 of file AnnualCost.h.

◆ setAnnualEnergy() [2/3]

void AnnualCost::setAnnualEnergy ( double  annualEnergy)
inline

Setter for annual energy

Parameters
annualEnergydouble, annual energy consumption in MWh/year

Definition at line 49 of file AnnualCost.h.

◆ setAnnualEnergy() [3/3]

void AnnualCost::setAnnualEnergy ( double  annualEnergy)
inline

Setter for annual energy

Parameters
annualEnergydouble, annual energy consumption in MWh/year

Definition at line 49 of file AnnualCost.h.

◆ setKwhRate() [1/3]

void AnnualCost::setKwhRate ( double  kwhRate)
inline

Setter for rate in $/kWh

Parameters
kwhRatedouble, rate in $/kwh

Definition at line 65 of file AnnualCost.h.

◆ setKwhRate() [2/3]

void AnnualCost::setKwhRate ( double  kwhRate)
inline

Setter for rate in $/kWh

Parameters
kwhRatedouble, rate in $/kwh

Definition at line 65 of file AnnualCost.h.

◆ setKwhRate() [3/3]

void AnnualCost::setKwhRate ( double  kwhRate)
inline

Setter for rate in $/kWh

Parameters
kwhRatedouble, rate in $/kwh

Definition at line 65 of file AnnualCost.h.


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