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

#include <PRV.h>

Inheritance diagram for PrvWithoutDesuperheating:
PrvWithDesuperheating PrvWithDesuperheating 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)
 
 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)
 
 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 ()
 
virtual void calculateProperties ()
 
virtual void calculateProperties ()
 

Protected Attributes

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

Friends

std::ostream & operator<< (std::ostream &stream, const PrvWithoutDesuperheating &prv)
 
std::ostream & operator<< (std::ostream &stream, const std::shared_ptr< PrvWithoutDesuperheating > &prv)
 
std::ostream & operator<< (std::ostream &stream, const PrvWithoutDesuperheating &prv)
 
std::ostream & operator<< (std::ostream &stream, const std::shared_ptr< PrvWithoutDesuperheating > &prv)
 
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 calculate the heat steam properties

Definition at line 21 of file PRV.h.

Constructor & Destructor Documentation

◆ PrvWithoutDesuperheating() [1/3]

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

Definition at line 13 of file PRV.cpp.

◆ PrvWithoutDesuperheating() [2/3]

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

◆ PrvWithoutDesuperheating() [3/3]

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() [1/3]

double PrvWithoutDesuperheating::getInletEnergyFlow ( ) const
inline

Gets the inlet energy flow

Returns
double, inlet steam energy flow in MJ/hr

Definition at line 100 of file PRV.h.

◆ getInletEnergyFlow() [2/3]

double PrvWithoutDesuperheating::getInletEnergyFlow ( ) const
inline

Gets the inlet energy flow

Returns
double, inlet steam energy flow in MJ/hr

Definition at line 100 of file PRV.h.

◆ getInletEnergyFlow() [3/3]

double PrvWithoutDesuperheating::getInletEnergyFlow ( ) const
inline

Gets the inlet energy flow

Returns
double, inlet steam energy flow in MJ/hr

Definition at line 100 of file PRV.h.

◆ getInletMassFlow() [1/3]

double PrvWithoutDesuperheating::getInletMassFlow ( ) const
inline

Gets the inlet mass flow

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

Definition at line 71 of file PRV.h.

◆ getInletMassFlow() [2/3]

double PrvWithoutDesuperheating::getInletMassFlow ( ) const
inline

Gets the inlet mass flow

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

Definition at line 71 of file PRV.h.

◆ getInletMassFlow() [3/3]

double PrvWithoutDesuperheating::getInletMassFlow ( ) const
inline

Gets the inlet mass flow

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

Definition at line 71 of file PRV.h.

◆ getInletPressure() [1/3]

double PrvWithoutDesuperheating::getInletPressure ( ) const
inline

Gets the inlet pressure

Returns
double, pressure of the inlet steam in MPa

Definition at line 44 of file PRV.h.

◆ getInletPressure() [2/3]

double PrvWithoutDesuperheating::getInletPressure ( ) const
inline

Gets the inlet pressure

Returns
double, pressure of the inlet steam in MPa

Definition at line 44 of file PRV.h.

◆ getInletPressure() [3/3]

double PrvWithoutDesuperheating::getInletPressure ( ) const
inline

Gets the inlet pressure

Returns
double, pressure of the inlet steam in MPa

Definition at line 44 of file PRV.h.

◆ getInletProperties() [1/3]

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

◆ getInletProperties() [2/3]

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

◆ getInletProperties() [3/3]

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

◆ getOutletEnergyFlow() [1/3]

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, PrvWithDesuperheating, and PrvWithDesuperheating.

Definition at line 114 of file PRV.h.

◆ getOutletEnergyFlow() [2/3]

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, PrvWithDesuperheating, and PrvWithDesuperheating.

Definition at line 114 of file PRV.h.

◆ getOutletEnergyFlow() [3/3]

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, PrvWithDesuperheating, and PrvWithDesuperheating.

Definition at line 114 of file PRV.h.

◆ getOutletMassFlow() [1/3]

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, PrvWithDesuperheating, and PrvWithDesuperheating.

Definition at line 107 of file PRV.h.

◆ getOutletMassFlow() [2/3]

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, PrvWithDesuperheating, and PrvWithDesuperheating.

Definition at line 107 of file PRV.h.

◆ getOutletMassFlow() [3/3]

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, PrvWithDesuperheating, and PrvWithDesuperheating.

Definition at line 107 of file PRV.h.

◆ getOutletPressure() [1/3]

double PrvWithoutDesuperheating::getOutletPressure ( ) const
inline

Gets the outlet pressure

Returns
double, outlet pressure in MPa

Definition at line 80 of file PRV.h.

◆ getOutletPressure() [2/3]

double PrvWithoutDesuperheating::getOutletPressure ( ) const
inline

Gets the outlet pressure

Returns
double, outlet pressure in MPa

Definition at line 80 of file PRV.h.

◆ getOutletPressure() [3/3]

double PrvWithoutDesuperheating::getOutletPressure ( ) const
inline

Gets the outlet pressure

Returns
double, outlet pressure in MPa

Definition at line 80 of file PRV.h.

◆ getOutletProperties() [1/3]

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

◆ getOutletProperties() [2/3]

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

◆ getOutletProperties() [3/3]

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

◆ getQuantityType() [1/3]

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

◆ getQuantityType() [2/3]

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

◆ getQuantityType() [3/3]

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

◆ getQuantityValue() [1/3]

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.

◆ getQuantityValue() [2/3]

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.

◆ getQuantityValue() [3/3]

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.

◆ setInletMassFlow() [1/3]

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

◆ setInletMassFlow() [2/3]

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

◆ setInletMassFlow() [3/3]

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

◆ setInletPressure() [1/3]

void PrvWithoutDesuperheating::setInletPressure ( double  inletPressure)
inline

Sets the inlet pressure

Parameters
inletPressuredouble, pressure of the inlet steam in MPa

Definition at line 122 of file PRV.h.

◆ setInletPressure() [2/3]

void PrvWithoutDesuperheating::setInletPressure ( double  inletPressure)
inline

Sets the inlet pressure

Parameters
inletPressuredouble, pressure of the inlet steam in MPa

Definition at line 122 of file PRV.h.

◆ setInletPressure() [3/3]

void PrvWithoutDesuperheating::setInletPressure ( double  inletPressure)
inline

Sets the inlet pressure

Parameters
inletPressuredouble, pressure of the inlet steam in MPa

Definition at line 122 of file PRV.h.

◆ setOutletPressure() [1/3]

void PrvWithoutDesuperheating::setOutletPressure ( double  outletPressure)
inline

Sets the outlet pressure

Parameters
outletPressuredouble, outlet pressure in MPa

Definition at line 165 of file PRV.h.

◆ setOutletPressure() [2/3]

void PrvWithoutDesuperheating::setOutletPressure ( double  outletPressure)
inline

Sets the outlet pressure

Parameters
outletPressuredouble, outlet pressure in MPa

Definition at line 165 of file PRV.h.

◆ setOutletPressure() [3/3]

void PrvWithoutDesuperheating::setOutletPressure ( double  outletPressure)
inline

Sets the outlet pressure

Parameters
outletPressuredouble, outlet pressure in MPa

Definition at line 165 of file PRV.h.

◆ setQuantityType() [1/3]

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

◆ setQuantityType() [2/3]

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

◆ setQuantityType() [3/3]

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

◆ setQuantityValue() [1/3]

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

◆ setQuantityValue() [2/3]

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

◆ setQuantityValue() [3/3]

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


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