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 | Protected Member Functions | Protected Attributes | Private Attributes | Friends | List of all members
PrvWithoutDesuperheating Class Reference

#include <PRV.h>

Inheritance diagram for PrvWithoutDesuperheating:
PrvWithDesuperheating

Public Member Functions

 PrvWithoutDesuperheating (double inletPressure, SteamProperties::ThermodynamicQuantity quantityType, double quantityValue, double inletMassFlow, double outletPressure)
 
virtual bool isWithDesuperheating () const
 
double getInletPressure () const
 
SteamProperties::ThermodynamicQuantity getQuantityType () const
 
double getQuantityValue () const
 
double getInletMassFlow () const
 
double getOutletPressure () const
 
SteamSystemModelerTool::SteamPropertiesOutput const & getInletProperties () const
 
SteamSystemModelerTool::SteamPropertiesOutput const & getOutletProperties () const
 
double getInletEnergyFlow () const
 
virtual double getOutletMassFlow () const
 
virtual double getOutletEnergyFlow () const
 
void setInletPressure (double inletPressure)
 
void setQuantityType (SteamProperties::ThermodynamicQuantity quantityType)
 
void setQuantityValue (double quantityValue)
 
void setInletMassFlow (double inletMassFlow)
 
void setOutletPressure (double outletPressure)
 

Protected Member Functions

virtual void calculateProperties ()
 

Protected Attributes

double inletPressure
 
double quantityValue
 
double inletMassFlow
 
double outletPressure
 
SteamSystemModelerTool::SteamPropertiesOutput inletProperties
 
SteamSystemModelerTool::SteamPropertiesOutput outletProperties
 
SteamProperties::ThermodynamicQuantity quantityType
 

Private Attributes

double inletEnergyFlow
 

Friends

std::ostream & operator<< (std::ostream &stream, const PrvWithoutDesuperheating &prv)
 
std::ostream & operator<< (std::ostream &stream, const std::shared_ptr< PrvWithoutDesuperheating > &prv)
 

Detailed Description

PRV without Desuperheating calculator class Used to calculateThermalResistance the heat steam properties

Definition at line 21 of file PRV.h.

Constructor & Destructor Documentation

◆ PrvWithoutDesuperheating()

PrvWithoutDesuperheating::PrvWithoutDesuperheating ( double  inletPressure,
SteamProperties::ThermodynamicQuantity  quantityType,
double  quantityValue,
double  inletMassFlow,
double  outletPressure 
)

Constructor for the PRV without desuperheating 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
outletPressuredouble, outlet pressure in MPa

Member Function Documentation

◆ getInletEnergyFlow()

double PrvWithoutDesuperheating::getInletEnergyFlow ( ) const
inline

Gets the inlet energy flow

Returns
double, inlet steam energy flow in MJ/hr

Definition at line 94 of file PRV.h.

◆ getInletMassFlow()

double PrvWithoutDesuperheating::getInletMassFlow ( ) const
inline

Gets the inlet mass flow

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

Definition at line 69 of file PRV.h.

◆ getInletPressure()

double PrvWithoutDesuperheating::getInletPressure ( ) const
inline

Gets the inlet pressure

Returns
double, pressure of the inlet steam in MPa

Definition at line 46 of file PRV.h.

◆ getInletProperties()

SteamSystemModelerTool::SteamPropertiesOutput const & PrvWithoutDesuperheating::getInletProperties ( ) const
inline

Gets all of the properties of the inlet steam

Returns
SteamSystemModelerTool::SteamPropertiesOutput , inlet steam properties

Definition at line 82 of file PRV.h.

◆ getOutletEnergyFlow()

virtual double PrvWithoutDesuperheating::getOutletEnergyFlow ( ) const
inlinevirtual

Gets the outlet energy flow; note: without desuperheating, it is the same as inletEnergyFlow because outlet == inlet.

Returns
double, outlet energy flow in MJ/hr

Reimplemented in PrvWithDesuperheating.

Definition at line 108 of file PRV.h.

◆ getOutletMassFlow()

virtual double PrvWithoutDesuperheating::getOutletMassFlow ( ) const
inlinevirtual

Gets the outlet mass flow; note: without desuperheating, it is the same as inletMassFlow because outlet == inlet.

Returns
double, outlet mass flow in kg/hr

Reimplemented in PrvWithDesuperheating.

Definition at line 101 of file PRV.h.

◆ getOutletPressure()

double PrvWithoutDesuperheating::getOutletPressure ( ) const
inline

Gets the outlet pressure

Returns
double, outlet pressure in MPa

Definition at line 76 of file PRV.h.

◆ getOutletProperties()

SteamSystemModelerTool::SteamPropertiesOutput const & PrvWithoutDesuperheating::getOutletProperties ( ) const
inline

Gets all of the properties of the outlet steam

Returns
SteamSystemModelerTool::SteamPropertiesOutput , outlet steam properties

Definition at line 88 of file PRV.h.

◆ getQuantityType()

SteamProperties::ThermodynamicQuantity PrvWithoutDesuperheating::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 54 of file PRV.h.

◆ getQuantityValue()

double PrvWithoutDesuperheating::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 62 of file PRV.h.

◆ isWithDesuperheating()

virtual bool PrvWithoutDesuperheating::isWithDesuperheating ( ) const
inlinevirtual

Definition at line 39 of file PRV.h.

◆ setInletMassFlow()

void PrvWithoutDesuperheating::setInletMassFlow ( double  inletMassFlow)
inline

Sets the inlet mass flow

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

Definition at line 150 of file PRV.h.

◆ setInletPressure()

void PrvWithoutDesuperheating::setInletPressure ( double  inletPressure)
inline

Sets the inlet pressure

Parameters
inletPressuredouble, pressure of the inlet steam in MPa

Definition at line 116 of file PRV.h.

◆ setOutletPressure()

void PrvWithoutDesuperheating::setOutletPressure ( double  outletPressure)
inline

Sets the outlet pressure

Parameters
outletPressuredouble, outlet pressure in MPa

Definition at line 161 of file PRV.h.

◆ setQuantityType()

void PrvWithoutDesuperheating::setQuantityType ( SteamProperties::ThermodynamicQuantity  quantityType)
inline

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 128 of file PRV.h.

◆ setQuantityValue()

void PrvWithoutDesuperheating::setQuantityValue ( double  quantityValue)
inline

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 139 of file PRV.h.

Member Data Documentation

◆ inletEnergyFlow

double PrvWithoutDesuperheating::inletEnergyFlow
private

Definition at line 174 of file PRV.h.

◆ inletMassFlow

double PrvWithoutDesuperheating::inletMassFlow
protected

Definition at line 169 of file PRV.h.

◆ inletPressure

double PrvWithoutDesuperheating::inletPressure
protected

Definition at line 169 of file PRV.h.

◆ inletProperties

SteamSystemModelerTool::SteamPropertiesOutput PrvWithoutDesuperheating::inletProperties
protected

Definition at line 170 of file PRV.h.

◆ outletPressure

double PrvWithoutDesuperheating::outletPressure
protected

Definition at line 169 of file PRV.h.

◆ outletProperties

SteamSystemModelerTool::SteamPropertiesOutput PrvWithoutDesuperheating::outletProperties
protected

Definition at line 170 of file PRV.h.

◆ quantityType

SteamProperties::ThermodynamicQuantity PrvWithoutDesuperheating::quantityType
protected

Definition at line 171 of file PRV.h.

◆ quantityValue

double PrvWithoutDesuperheating::quantityValue
protected

Definition at line 169 of file PRV.h.


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