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.
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | 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)
 

Private Member Functions

void calculateProperties ()
 

Private Attributes

double inletPressure
 
double quantityValue
 
double inletMassFlow
 
double percentHeatLoss
 
SteamSystemModelerTool::FluidProperties inletProperties
 
double inletEnergyFlow
 
double outletEnergyFlow
 
SteamSystemModelerTool::FluidProperties outletProperties
 
double heatLoss
 
SteamProperties::ThermodynamicQuantity quantityType
 

Friends

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

Detailed Description

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

Definition at line 24 of file HeatLoss.h.

Constructor & Destructor Documentation

◆ HeatLoss()

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()

double HeatLoss::getHeatLoss ( ) const
inline

Gets the heat loss

Returns
double, heat loss in MJ/hr

Definition at line 58 of file HeatLoss.h.

◆ getInletMassFlow()

double HeatLoss::getInletMassFlow ( ) const
inline

Gets the inlet mass flow

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

Definition at line 77 of file HeatLoss.h.

◆ getInletPressure()

double HeatLoss::getInletPressure ( ) const
inline

Gets the inlet pressure

Returns
double, pressure of the inlet steam in MPa

Definition at line 64 of file HeatLoss.h.

◆ getInletProperties()

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

Gets all of the inlet properties

Returns
SteamSystemModelerTool::FluidProperties, inlet properties

Definition at line 46 of file HeatLoss.h.

◆ getOutletProperties()

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

Gets all of the outlet steam properties

Returns
SteamSystemModelerTool::FluidProperties, outlet steam properties

Definition at line 52 of file HeatLoss.h.

◆ getPercentHeatLoss()

double HeatLoss::getPercentHeatLoss ( ) const
inline

Gets the percent heat loss

Returns
double, heat loss as %

Definition at line 83 of file HeatLoss.h.

◆ getQuantityType()

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 90 of file HeatLoss.h.

◆ getQuantityValue()

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 71 of file HeatLoss.h.

◆ setInletMassFlow()

void HeatLoss::setInletMassFlow ( double  inletMassFlow)

Sets the inlet mass flow

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

◆ setInletPressure()

void HeatLoss::setInletPressure ( double  inletPressure)

Sets the inlet pressure

Parameters
inletPressuredouble, pressure of the inlet steam in MPa

◆ setPercentHeatLoss()

void HeatLoss::setPercentHeatLoss ( double  percentHeatLoss)

Sets the percent heat loss

Parameters
percentHeatLossdouble, heat loss as %

◆ setQuantityType()

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)

◆ setQuantityValue()

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)

Member Data Documentation

◆ heatLoss

double HeatLoss::heatLoss
private

Definition at line 132 of file HeatLoss.h.

◆ inletEnergyFlow

double HeatLoss::inletEnergyFlow
private

Definition at line 129 of file HeatLoss.h.

◆ inletMassFlow

double HeatLoss::inletMassFlow
private

Definition at line 127 of file HeatLoss.h.

◆ inletPressure

double HeatLoss::inletPressure
private

Definition at line 127 of file HeatLoss.h.

◆ inletProperties

SteamSystemModelerTool::FluidProperties HeatLoss::inletProperties
private

Definition at line 128 of file HeatLoss.h.

◆ outletEnergyFlow

double HeatLoss::outletEnergyFlow
private

Definition at line 129 of file HeatLoss.h.

◆ outletProperties

SteamSystemModelerTool::FluidProperties HeatLoss::outletProperties
private

Definition at line 130 of file HeatLoss.h.

◆ percentHeatLoss

double HeatLoss::percentHeatLoss
private

Definition at line 127 of file HeatLoss.h.

◆ quantityType

SteamProperties::ThermodynamicQuantity HeatLoss::quantityType
private

Definition at line 133 of file HeatLoss.h.

◆ quantityValue

double HeatLoss::quantityValue
private

Definition at line 127 of file HeatLoss.h.


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