|
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.
|
Public Member Functions | |
| Inlet (double pressure, SteamProperties::ThermodynamicQuantity quantityType, double quantityValue, double massFlow) | |
| double | getPressure () const |
| double | getQuantityValue () const |
| double | getMassFlow () const |
| SteamProperties::ThermodynamicQuantity | getQuantityType () const |
| double | getInletEnergyFlow () const |
| SteamSystemModelerTool::SteamPropertiesOutput const & | getInletProperties () const |
| void | setPressure (double pressure) |
| void | setQuantityValue (double quantityValue) |
| void | setMassFlow (double massFlow) |
| void | setQuantityType (SteamProperties::ThermodynamicQuantity quantityType) |
Private Member Functions | |
| void | calculate () |
Private Attributes | |
| double | pressure |
| double | quantityValue |
| double | massFlow |
| SteamProperties::ThermodynamicQuantity | quantityType |
| double | inletEnergyFlow |
| SteamSystemModelerTool::SteamPropertiesOutput | inletProperties |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const Inlet &inlet) |
| Inlet::Inlet | ( | double | pressure, |
| SteamProperties::ThermodynamicQuantity | quantityType, | ||
| double | quantityValue, | ||
| double | massFlow | ||
| ) |
Constructor for the Inlet class, to be used in combination with the Header class, shares the same units as Header
| pressure | 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) |
| massFlow | double, inlet mass flow in kg/hr |
|
inline |
|
inline |
|
private |
|
private |