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 | Friends | List of all members
HeatLoss Class Reference

#include <HeatLoss.h>

Public Member Functions

 HeatLoss (double inletPressure, SteamProperties::ThermodynamicQuantity quantityType, double quantityValue, double inletMassFlow, double percentHeatLoss)
 
SteamSystemModelerTool::FluidProperties const & getInletProperties () const
 
SteamSystemModelerTool::FluidProperties const & getOutletProperties () const
 
double getHeatLoss () const
 
double getInletPressure () const
 
double getQuantityValue () const
 
double getInletMassFlow () const
 
double getPercentHeatLoss () const
 
SteamProperties::ThermodynamicQuantity getQuantityType () const
 
void setInletPressure (double inletPressure)
 
void setQuantityValue (double quantityValue)
 
void setInletMassFlow (double inletMassFlow)
 
void setPercentHeatLoss (double percentHeatLoss)
 
void setQuantityType (SteamProperties::ThermodynamicQuantity quantityType)
 
 HeatLoss (double inletPressure, SteamProperties::ThermodynamicQuantity quantityType, double quantityValue, double inletMassFlow, double percentHeatLoss)
 
SteamSystemModelerTool::FluidProperties const & getInletProperties () const
 
SteamSystemModelerTool::FluidProperties const & getOutletProperties () const
 
double getHeatLoss () const
 
double getInletPressure () const
 
double getQuantityValue () const
 
double getInletMassFlow () const
 
double getPercentHeatLoss () const
 
SteamProperties::ThermodynamicQuantity getQuantityType () const
 
void setInletPressure (double inletPressure)
 
void setQuantityValue (double quantityValue)
 
void setInletMassFlow (double inletMassFlow)
 
void setPercentHeatLoss (double percentHeatLoss)
 
void setQuantityType (SteamProperties::ThermodynamicQuantity quantityType)
 
 HeatLoss (double inletPressure, SteamProperties::ThermodynamicQuantity quantityType, double quantityValue, double inletMassFlow, double percentHeatLoss)
 
SteamSystemModelerTool::FluidProperties const & getInletProperties () const
 
SteamSystemModelerTool::FluidProperties const & getOutletProperties () const
 
double getHeatLoss () const
 
double getInletPressure () const
 
double getQuantityValue () const
 
double getInletMassFlow () const
 
double getPercentHeatLoss () const
 
SteamProperties::ThermodynamicQuantity getQuantityType () const
 
void setInletPressure (double inletPressure)
 
void setQuantityValue (double quantityValue)
 
void setInletMassFlow (double inletMassFlow)
 
void setPercentHeatLoss (double percentHeatLoss)
 
void setQuantityType (SteamProperties::ThermodynamicQuantity quantityType)
 

Friends

std::ostream & operator<< (std::ostream &stream, const HeatLoss &heatLoss)
 
std::ostream & operator<< (std::ostream &stream, const HeatLoss &heatLoss)
 
std::ostream & operator<< (std::ostream &stream, const HeatLoss &heatLoss)
 

Detailed Description

Heat Loss calculator class Used to calculate the heat energy loss and outlet steam properties

Definition at line 23 of file HeatLoss.h.

Constructor & Destructor Documentation

◆ HeatLoss() [1/3]

HeatLoss::HeatLoss ( double  inletPressure,
SteamProperties::ThermodynamicQuantity  quantityType,
double  quantityValue,
double  inletMassFlow,
double  percentHeatLoss 
)

Constructor for the heat loss calculator

Parameters
inletPressuredouble, inlet pressure in MPa
quantityTypeSteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
quantityValuedouble, value of the quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
inletMassFlowdouble, inlet mass flow in kg/hr
percentHeatLossdouble, heat loss as %

Definition at line 12 of file HeatLoss.cpp.

◆ HeatLoss() [2/3]

HeatLoss::HeatLoss ( double  inletPressure,
SteamProperties::ThermodynamicQuantity  quantityType,
double  quantityValue,
double  inletMassFlow,
double  percentHeatLoss 
)

Constructor for the heat loss calculator

Parameters
inletPressuredouble, inlet pressure in MPa
quantityTypeSteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
quantityValuedouble, value of the quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
inletMassFlowdouble, inlet mass flow in kg/hr
percentHeatLossdouble, heat loss as %

◆ HeatLoss() [3/3]

HeatLoss::HeatLoss ( double  inletPressure,
SteamProperties::ThermodynamicQuantity  quantityType,
double  quantityValue,
double  inletMassFlow,
double  percentHeatLoss 
)

Constructor for the heat loss calculator

Parameters
inletPressuredouble, inlet pressure in MPa
quantityTypeSteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
quantityValuedouble, value of the quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
inletMassFlowdouble, inlet mass flow in kg/hr
percentHeatLossdouble, heat loss as %

Member Function Documentation

◆ getHeatLoss() [1/3]

double HeatLoss::getHeatLoss ( ) const
inline

Gets the heat loss

Returns
double, heat loss in MJ/hr

Definition at line 55 of file HeatLoss.h.

◆ getHeatLoss() [2/3]

double HeatLoss::getHeatLoss ( ) const
inline

Gets the heat loss

Returns
double, heat loss in MJ/hr

Definition at line 55 of file HeatLoss.h.

◆ getHeatLoss() [3/3]

double HeatLoss::getHeatLoss ( ) const
inline

Gets the heat loss

Returns
double, heat loss in MJ/hr

Definition at line 55 of file HeatLoss.h.

◆ getInletMassFlow() [1/3]

double HeatLoss::getInletMassFlow ( ) const
inline

Gets the inlet mass flow

Returns
double, mass flow of the inlet steam in kg/hr

Definition at line 73 of file HeatLoss.h.

◆ getInletMassFlow() [2/3]

double HeatLoss::getInletMassFlow ( ) const
inline

Gets the inlet mass flow

Returns
double, mass flow of the inlet steam in kg/hr

Definition at line 73 of file HeatLoss.h.

◆ getInletMassFlow() [3/3]

double HeatLoss::getInletMassFlow ( ) const
inline

Gets the inlet mass flow

Returns
double, mass flow of the inlet steam in kg/hr

Definition at line 73 of file HeatLoss.h.

◆ getInletPressure() [1/3]

double HeatLoss::getInletPressure ( ) const
inline

Gets the inlet pressure

Returns
double, pressure of the inlet steam in MPa

Definition at line 61 of file HeatLoss.h.

◆ getInletPressure() [2/3]

double HeatLoss::getInletPressure ( ) const
inline

Gets the inlet pressure

Returns
double, pressure of the inlet steam in MPa

Definition at line 61 of file HeatLoss.h.

◆ getInletPressure() [3/3]

double HeatLoss::getInletPressure ( ) const
inline

Gets the inlet pressure

Returns
double, pressure of the inlet steam in MPa

Definition at line 61 of file HeatLoss.h.

◆ getInletProperties() [1/3]

SteamSystemModelerTool::FluidProperties const& HeatLoss::getInletProperties ( ) const
inline

Gets all of the inlet properties

Returns
SteamSystemModelerTool::FluidProperties, inlet properties

Definition at line 43 of file HeatLoss.h.

◆ getInletProperties() [2/3]

SteamSystemModelerTool::FluidProperties const& HeatLoss::getInletProperties ( ) const
inline

Gets all of the inlet properties

Returns
SteamSystemModelerTool::FluidProperties, inlet properties

Definition at line 43 of file HeatLoss.h.

◆ getInletProperties() [3/3]

SteamSystemModelerTool::FluidProperties const& HeatLoss::getInletProperties ( ) const
inline

Gets all of the inlet properties

Returns
SteamSystemModelerTool::FluidProperties, inlet properties

Definition at line 43 of file HeatLoss.h.

◆ getOutletProperties() [1/3]

SteamSystemModelerTool::FluidProperties const& HeatLoss::getOutletProperties ( ) const
inline

Gets all of the outlet steam properties

Returns
SteamSystemModelerTool::FluidProperties, outlet steam properties

Definition at line 49 of file HeatLoss.h.

◆ getOutletProperties() [2/3]

SteamSystemModelerTool::FluidProperties const& HeatLoss::getOutletProperties ( ) const
inline

Gets all of the outlet steam properties

Returns
SteamSystemModelerTool::FluidProperties, outlet steam properties

Definition at line 49 of file HeatLoss.h.

◆ getOutletProperties() [3/3]

SteamSystemModelerTool::FluidProperties const& HeatLoss::getOutletProperties ( ) const
inline

Gets all of the outlet steam properties

Returns
SteamSystemModelerTool::FluidProperties, outlet steam properties

Definition at line 49 of file HeatLoss.h.

◆ getPercentHeatLoss() [1/3]

double HeatLoss::getPercentHeatLoss ( ) const
inline

Gets the percent heat loss

Returns
double, heat loss as %

Definition at line 79 of file HeatLoss.h.

◆ getPercentHeatLoss() [2/3]

double HeatLoss::getPercentHeatLoss ( ) const
inline

Gets the percent heat loss

Returns
double, heat loss as %

Definition at line 79 of file HeatLoss.h.

◆ getPercentHeatLoss() [3/3]

double HeatLoss::getPercentHeatLoss ( ) const
inline

Gets the percent heat loss

Returns
double, heat loss as %

Definition at line 79 of file HeatLoss.h.

◆ getQuantityType() [1/3]

SteamProperties::ThermodynamicQuantity HeatLoss::getQuantityType ( ) const
inline

Gets the quantity type

Returns
SteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

Definition at line 85 of file HeatLoss.h.

◆ getQuantityType() [2/3]

SteamProperties::ThermodynamicQuantity HeatLoss::getQuantityType ( ) const
inline

Gets the quantity type

Returns
SteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

Definition at line 85 of file HeatLoss.h.

◆ getQuantityType() [3/3]

SteamProperties::ThermodynamicQuantity HeatLoss::getQuantityType ( ) const
inline

Gets the quantity type

Returns
SteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

Definition at line 85 of file HeatLoss.h.

◆ getQuantityValue() [1/3]

double HeatLoss::getQuantityValue ( ) const
inline

Gets the quantity value

Returns
double, value of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

Definition at line 67 of file HeatLoss.h.

◆ getQuantityValue() [2/3]

double HeatLoss::getQuantityValue ( ) const
inline

Gets the quantity value

Returns
double, value of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

Definition at line 67 of file HeatLoss.h.

◆ getQuantityValue() [3/3]

double HeatLoss::getQuantityValue ( ) const
inline

Gets the quantity value

Returns
double, value of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

Definition at line 67 of file HeatLoss.h.

◆ setInletMassFlow() [1/3]

void HeatLoss::setInletMassFlow ( double  inletMassFlow)

Sets the inlet mass flow

Parameters
inletMassFlowdouble, mass flow of the inlet steam in kg/hr

◆ setInletMassFlow() [2/3]

void HeatLoss::setInletMassFlow ( double  inletMassFlow)

Sets the inlet mass flow

Parameters
inletMassFlowdouble, mass flow of the inlet steam in kg/hr

Definition at line 62 of file HeatLoss.cpp.

◆ setInletMassFlow() [3/3]

void HeatLoss::setInletMassFlow ( double  inletMassFlow)

Sets the inlet mass flow

Parameters
inletMassFlowdouble, mass flow of the inlet steam in kg/hr

◆ setInletPressure() [1/3]

void HeatLoss::setInletPressure ( double  inletPressure)

Sets the inlet pressure

Parameters
inletPressuredouble, pressure of the inlet steam in MPa

Definition at line 52 of file HeatLoss.cpp.

◆ setInletPressure() [2/3]

void HeatLoss::setInletPressure ( double  inletPressure)

Sets the inlet pressure

Parameters
inletPressuredouble, pressure of the inlet steam in MPa

◆ setInletPressure() [3/3]

void HeatLoss::setInletPressure ( double  inletPressure)

Sets the inlet pressure

Parameters
inletPressuredouble, pressure of the inlet steam in MPa

◆ setPercentHeatLoss() [1/3]

void HeatLoss::setPercentHeatLoss ( double  percentHeatLoss)

Sets the percent heat loss

Parameters
percentHeatLossdouble, heat loss as %

Definition at line 67 of file HeatLoss.cpp.

◆ setPercentHeatLoss() [2/3]

void HeatLoss::setPercentHeatLoss ( double  percentHeatLoss)

Sets the percent heat loss

Parameters
percentHeatLossdouble, heat loss as %

◆ setPercentHeatLoss() [3/3]

void HeatLoss::setPercentHeatLoss ( double  percentHeatLoss)

Sets the percent heat loss

Parameters
percentHeatLossdouble, heat loss as %

◆ setQuantityType() [1/3]

void HeatLoss::setQuantityType ( SteamProperties::ThermodynamicQuantity  quantityType)

Sets the quantity type

Parameters
quantityTypeSteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

◆ setQuantityType() [2/3]

void HeatLoss::setQuantityType ( SteamProperties::ThermodynamicQuantity  quantityType)

Sets the quantity type

Parameters
quantityTypeSteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

◆ setQuantityType() [3/3]

void HeatLoss::setQuantityType ( SteamProperties::ThermodynamicQuantity  quantityType)

Sets the quantity type

Parameters
quantityTypeSteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

Definition at line 72 of file HeatLoss.cpp.

◆ setQuantityValue() [1/3]

void HeatLoss::setQuantityValue ( double  quantityValue)

Sets the quantity value

Parameters
quantityValuedouble, value of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

◆ setQuantityValue() [2/3]

void HeatLoss::setQuantityValue ( double  quantityValue)

Sets the quantity value

Parameters
quantityValuedouble, value of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

Definition at line 57 of file HeatLoss.cpp.

◆ setQuantityValue() [3/3]

void HeatLoss::setQuantityValue ( double  quantityValue)

Sets the quantity value

Parameters
quantityValuedouble, value of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

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