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 Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
SteamProperties Class Reference

Public Types

enum class  ThermodynamicQuantity { TEMPERATURE , ENTHALPY , ENTROPY , QUALITY }
 enum class for ThermodynamicQuantity More...
 

Public Member Functions

 SteamProperties (const double pressure, const ThermodynamicQuantity quantity, const double quantityValue)
 
SteamSystemModelerTool::SteamPropertiesOutput calculate ()
 

Private Member Functions

SteamSystemModelerTool::SteamPropertiesOutput waterPropertiesPressureTemperature (double pressure, double temperature)
 
SteamSystemModelerTool::SteamPropertiesOutput waterPropertiesPressureEnthalpy (double pressure, double enthalpy)
 
SteamSystemModelerTool::SteamPropertiesOutput waterPropertiesPressureEntropy (double pressure, double entropy)
 
SteamSystemModelerTool::SteamPropertiesOutput waterPropertiesPressureQuality (double pressure, double quality)
 

Private Attributes

const double pressure_
 
const double quantityValue_
 
const ThermodynamicQuantity thermodynamicQuantity_
 

Detailed Description

Definition at line 10 of file SteamProperties.h.

Member Enumeration Documentation

◆ ThermodynamicQuantity

Definition at line 13 of file SteamProperties.h.

Constructor & Destructor Documentation

◆ SteamProperties()

SteamProperties::SteamProperties ( const double  pressure,
const ThermodynamicQuantity  quantity,
const double  quantityValue 
)
inline

Constructor for SteamProperties class

Parameters
pressuredouble, pressure in MPa
quantityValue,ThermodynamicProperty used for calculation- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)
quantityThermodynamicQuantity, the value type used to calculateThermalResistance steam properties (TEMPERATURE, ENTHALPY, etc.)

Definition at line 23 of file SteamProperties.h.

Member Function Documentation

◆ calculate()

SteamSystemModelerTool::SteamPropertiesOutput SteamProperties::calculate ( )

Calculates the steam properties

Parameters
pressuredouble, pressure in MPa
quantityValueThermodynamicQuantity, the type of value that will be used to calculateThermalResistance the steam properties (TEMPERATURE,ENTHALPY, etc.)
Returns
SteamSystemModelerTool::SteamPropertiesOutput, steam properties

◆ waterPropertiesPressureEnthalpy()

SteamSystemModelerTool::SteamPropertiesOutput SteamProperties::waterPropertiesPressureEnthalpy ( double  pressure,
double  enthalpy 
)
private

Calculates the steam properties using specific enthalpy

Parameters
pressuredouble, pressure in MPa
enthalpydouble, specific enthalpy in kJ/kg
Returns
SteamSystemModelerTool::SteamPropertiesOutput, steam properties

◆ waterPropertiesPressureEntropy()

SteamSystemModelerTool::SteamPropertiesOutput SteamProperties::waterPropertiesPressureEntropy ( double  pressure,
double  entropy 
)
private

Calculates the steam properties using specific entropy

Parameters
pressuredouble, pressure in MPa
entropydouble, specific entropy in kJ/kg/K
Returns
SteamSystemModelerTool::SteamPropertiesOutput, steam properties

◆ waterPropertiesPressureQuality()

SteamSystemModelerTool::SteamPropertiesOutput SteamProperties::waterPropertiesPressureQuality ( double  pressure,
double  quality 
)
private

Calculates the steam properties using specific quality

Parameters
pressuredouble, pressure in MPa
qualitydouble, specific quality - unitless
Returns
SteamSystemModelerTool::SteamPropertiesOutput, steam properties

◆ waterPropertiesPressureTemperature()

SteamSystemModelerTool::SteamPropertiesOutput SteamProperties::waterPropertiesPressureTemperature ( double  pressure,
double  temperature 
)
private

Calculates the steam properties using temperature

Parameters
pressuredouble, pressure in MPa
temperaturedouble, temperature in Kelvins
Returns
SteamSystemModelerTool::SteamPropertiesOutput, steam properties

Member Data Documentation

◆ pressure_

const double SteamProperties::pressure_
private

Definition at line 79 of file SteamProperties.h.

◆ quantityValue_

const double SteamProperties::quantityValue_
private

Definition at line 79 of file SteamProperties.h.

◆ thermodynamicQuantity_

const ThermodynamicQuantity SteamProperties::thermodynamicQuantity_
private

Definition at line 80 of file SteamProperties.h.


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