|
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.
|
#include <PRV.h>
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) |
PRV without Desuperheating calculator class Used to calculateThermalResistance the heat steam properties
| PrvWithoutDesuperheating::PrvWithoutDesuperheating | ( | double | inletPressure, |
| SteamProperties::ThermodynamicQuantity | quantityType, | ||
| double | quantityValue, | ||
| double | inletMassFlow, | ||
| double | outletPressure | ||
| ) |
Constructor for the PRV without desuperheating calculator
| inletPressure | double, inlet pressure in MPa |
| quantityType | SteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless) |
| quantityValue | double, value of the quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless) |
| inletMassFlow | double, inlet mass flow in kg/hr |
| outletPressure | double, outlet pressure in MPa |
|
inline |
|
inline |
|
inline |
|
inline |
Gets all of the properties of the inlet steam
|
inlinevirtual |
Gets the outlet energy flow; note: without desuperheating, it is the same as inletEnergyFlow because outlet == inlet.
Reimplemented in PrvWithDesuperheating.
|
inlinevirtual |
Gets the outlet mass flow; note: without desuperheating, it is the same as inletMassFlow because outlet == inlet.
Reimplemented in PrvWithDesuperheating.
|
inline |
|
inline |
Gets all of the properties of the outlet steam
|
inline |
Gets the quantity type
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
Sets the quantity type
| quantityType | SteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless) |
|
inline |
|
protected |
|
protected |
|
protected |