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 | Private Attributes | Friends | List of all members
PrvWithDesuperheating Class Reference

#include <PRV.h>

Inheritance diagram for PrvWithDesuperheating:
PrvWithoutDesuperheating

Public Member Functions

 PrvWithDesuperheating (double inletPressure, SteamProperties::ThermodynamicQuantity quantityType, double quantityValue, double inletMassFlow, double outletPressure, double feedwaterPressure, SteamProperties::ThermodynamicQuantity feedwaterQuantityType, double feedwaterQuantityValue, double desuperheatingTemp)
 
bool isWithDesuperheating () const override
 
void setFeedwaterPressure (double feedwaterPressure)
 
double getFeedwaterPressure () const
 
void setFeedwaterQuantityType (SteamProperties::ThermodynamicQuantity feedwaterQuantityType)
 
SteamProperties::ThermodynamicQuantity getFeedwaterQuantityType () const
 
void setFeedwaterQuantityValue (double feedwaterQuantityValue)
 
double getFeedwaterQuantityValue () const
 
void setDesuperheatingTemp (double desuperheatingTemp)
 
double getDesuperheatingTemp () const
 
SteamSystemModelerTool::SteamPropertiesOutput const & getFeedwaterProperties () const
 
double getOutletMassFlow () const override
 
double getOutletEnergyFlow () const override
 
double getFeedwaterMassFlow () const
 
double getFeedwaterEnergyFlow () const
 
SteamSystemModelerTool::SteamPropertiesOutput const & getInletProperties () const
 
SteamSystemModelerTool::SteamPropertiesOutput const & getOutletProperties () const
 
double getInletEnergyFlow () const
 
double getInletMassFlow () const
 
- Public Member Functions inherited from PrvWithoutDesuperheating
 PrvWithoutDesuperheating (double inletPressure, SteamProperties::ThermodynamicQuantity quantityType, double quantityValue, double inletMassFlow, double outletPressure)
 
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
 
void setInletPressure (double inletPressure)
 
void setQuantityType (SteamProperties::ThermodynamicQuantity quantityType)
 
void setQuantityValue (double quantityValue)
 
void setInletMassFlow (double inletMassFlow)
 
void setOutletPressure (double outletPressure)
 

Protected Member Functions

void calculateProperties () override
 

Private Attributes

double feedwaterPressure
 
double feedwaterQuantityValue
 
double desuperheatingTemp
 
SteamProperties::ThermodynamicQuantity feedwaterQuantityType
 
SteamSystemModelerTool::SteamPropertiesOutput feedwaterProperties
 
double inletEnergyFlow
 
double outletMassFlow
 
double outletEnergyFlow
 
double feedwaterMassFlow
 
double feedwaterEnergyFlow
 

Friends

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

Additional Inherited Members

- Protected Attributes inherited from PrvWithoutDesuperheating
double inletPressure
 
double quantityValue
 
double inletMassFlow
 
double outletPressure
 
SteamSystemModelerTool::SteamPropertiesOutput inletProperties
 
SteamSystemModelerTool::SteamPropertiesOutput outletProperties
 
SteamProperties::ThermodynamicQuantity quantityType
 

Detailed Description

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

Definition at line 181 of file PRV.h.

Constructor & Destructor Documentation

◆ PrvWithDesuperheating()

PrvWithDesuperheating::PrvWithDesuperheating ( double  inletPressure,
SteamProperties::ThermodynamicQuantity  quantityType,
double  quantityValue,
double  inletMassFlow,
double  outletPressure,
double  feedwaterPressure,
SteamProperties::ThermodynamicQuantity  feedwaterQuantityType,
double  feedwaterQuantityValue,
double  desuperheatingTemp 
)

Constructor for the PRV with 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
feedwaterPressuredouble, pressure of feedwater in MPa
feedwaterQuantityTypeSteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
feedwaterQuantityValuedouble, value of the quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
desuperheatingTempdouble, desuperheating temperature in K

Member Function Documentation

◆ calculateProperties()

void PrvWithDesuperheating::calculateProperties ( )
overrideprotectedvirtual

Reimplemented from PrvWithoutDesuperheating.

◆ getDesuperheatingTemp()

double PrvWithDesuperheating::getDesuperheatingTemp ( ) const
inline

Gets the desuperheating temperature

Returns
double, desuperheating temperature in K

Definition at line 284 of file PRV.h.

◆ getFeedwaterEnergyFlow()

double PrvWithDesuperheating::getFeedwaterEnergyFlow ( ) const
inline

Gets the feedwater energy flow

Returns
double, feedwater energy flow in MJ/hr

Definition at line 314 of file PRV.h.

◆ getFeedwaterMassFlow()

double PrvWithDesuperheating::getFeedwaterMassFlow ( ) const
inline

Gets the feedwater mass flow

Returns
double, feedwater mass flow in kg/hr

Definition at line 308 of file PRV.h.

◆ getFeedwaterPressure()

double PrvWithDesuperheating::getFeedwaterPressure ( ) const
inline

Gets the feedwater pressure

Returns
double, feedwater pressure in MPa

Definition at line 226 of file PRV.h.

◆ getFeedwaterProperties()

SteamSystemModelerTool::SteamPropertiesOutput const & PrvWithDesuperheating::getFeedwaterProperties ( ) const
inline

Gets all of the properties of the feedwater steam

Returns
SteamSystemModelerTool::SteamPropertiesOutput, feedwater steam properties

Definition at line 290 of file PRV.h.

◆ getFeedwaterQuantityType()

SteamProperties::ThermodynamicQuantity PrvWithDesuperheating::getFeedwaterQuantityType ( ) const
inline

Gets the feedwater 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 246 of file PRV.h.

◆ getFeedwaterQuantityValue()

double PrvWithDesuperheating::getFeedwaterQuantityValue ( ) const
inline

Gets the feedwater 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 266 of file PRV.h.

◆ getInletEnergyFlow()

double PrvWithDesuperheating::getInletEnergyFlow ( ) const
inline

Gets the inlet energy flow

Returns
double, inlet steam energy flow in MJ/hr

Definition at line 332 of file PRV.h.

◆ getInletMassFlow()

double PrvWithDesuperheating::getInletMassFlow ( ) const
inline

Gets the inlet energy flow

Returns
double, inlet mass flow in kg/hr

Definition at line 338 of file PRV.h.

◆ getInletProperties()

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

Gets all of the properties of the inlet steam

Returns
SteamSystemModelerTool::SteamPropertiesOutput , inlet steam properties

Definition at line 320 of file PRV.h.

◆ getOutletEnergyFlow()

double PrvWithDesuperheating::getOutletEnergyFlow ( ) const
inlineoverridevirtual

Gets the outlet energy flow

Returns
double, outlet energy flow in MJ/hr

Reimplemented from PrvWithoutDesuperheating.

Definition at line 302 of file PRV.h.

◆ getOutletMassFlow()

double PrvWithDesuperheating::getOutletMassFlow ( ) const
inlineoverridevirtual

Gets the outlet mass flow

Returns
double, outlet mass flow in kg/hr

Reimplemented from PrvWithoutDesuperheating.

Definition at line 296 of file PRV.h.

◆ getOutletProperties()

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

Gets all of the properties of the outlet steam

Returns
SteamSystemModelerTool::SteamPropertiesOutput , outlet steam properties

Definition at line 326 of file PRV.h.

◆ isWithDesuperheating()

bool PrvWithDesuperheating::isWithDesuperheating ( ) const
inlineoverridevirtual

Reimplemented from PrvWithoutDesuperheating.

Definition at line 208 of file PRV.h.

◆ setDesuperheatingTemp()

void PrvWithDesuperheating::setDesuperheatingTemp ( double  desuperheatingTemp)
inline

Sets the desuperheating temperature

Parameters
desuperheatingTempdouble, desuperheating temperature in K

Definition at line 274 of file PRV.h.

◆ setFeedwaterPressure()

void PrvWithDesuperheating::setFeedwaterPressure ( double  feedwaterPressure)
inline

Sets the feedwater pressure

Parameters
feedwaterPressuredouble, feedwater pressure in MPa

Definition at line 216 of file PRV.h.

◆ setFeedwaterQuantityType()

void PrvWithDesuperheating::setFeedwaterQuantityType ( SteamProperties::ThermodynamicQuantity  feedwaterQuantityType)
inline

Sets the feedwater 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 235 of file PRV.h.

◆ setFeedwaterQuantityValue()

void PrvWithDesuperheating::setFeedwaterQuantityValue ( double  feedwaterQuantityValue)
inline

Sets the feedwater 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 255 of file PRV.h.

Member Data Documentation

◆ desuperheatingTemp

double PrvWithDesuperheating::desuperheatingTemp
private

Definition at line 345 of file PRV.h.

◆ feedwaterEnergyFlow

double PrvWithDesuperheating::feedwaterEnergyFlow
private

Definition at line 350 of file PRV.h.

◆ feedwaterMassFlow

double PrvWithDesuperheating::feedwaterMassFlow
private

Definition at line 350 of file PRV.h.

◆ feedwaterPressure

double PrvWithDesuperheating::feedwaterPressure
private

Definition at line 345 of file PRV.h.

◆ feedwaterProperties

SteamSystemModelerTool::SteamPropertiesOutput PrvWithDesuperheating::feedwaterProperties
private

Definition at line 349 of file PRV.h.

◆ feedwaterQuantityType

SteamProperties::ThermodynamicQuantity PrvWithDesuperheating::feedwaterQuantityType
private

Definition at line 346 of file PRV.h.

◆ feedwaterQuantityValue

double PrvWithDesuperheating::feedwaterQuantityValue
private

Definition at line 345 of file PRV.h.

◆ inletEnergyFlow

double PrvWithDesuperheating::inletEnergyFlow
private

Definition at line 350 of file PRV.h.

◆ outletEnergyFlow

double PrvWithDesuperheating::outletEnergyFlow
private

Definition at line 350 of file PRV.h.

◆ outletMassFlow

double PrvWithDesuperheating::outletMassFlow
private

Definition at line 350 of file PRV.h.


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