|
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 <HeatLoss.h>
Public Member Functions | |
| HeatLoss (double inletPressure, SteamProperties::ThermodynamicQuantity quantityType, double quantityValue, double inletMassFlow, double percentHeatLoss) | |
| SteamSystemModelerTool::FluidProperties const & | getInletProperties () const |
| SteamSystemModelerTool::FluidProperties const & | getOutletProperties () const |
| double | getHeatLoss () const |
| double | getInletPressure () const |
| double | getQuantityValue () const |
| double | getInletMassFlow () const |
| double | getPercentHeatLoss () const |
| SteamProperties::ThermodynamicQuantity | getQuantityType () const |
| void | setInletPressure (double inletPressure) |
| void | setQuantityValue (double quantityValue) |
| void | setInletMassFlow (double inletMassFlow) |
| void | setPercentHeatLoss (double percentHeatLoss) |
| void | setQuantityType (SteamProperties::ThermodynamicQuantity quantityType) |
Private Member Functions | |
| void | calculateProperties () |
Private Attributes | |
| double | inletPressure |
| double | quantityValue |
| double | inletMassFlow |
| double | percentHeatLoss |
| SteamSystemModelerTool::FluidProperties | inletProperties |
| double | inletEnergyFlow |
| double | outletEnergyFlow |
| SteamSystemModelerTool::FluidProperties | outletProperties |
| double | heatLoss |
| SteamProperties::ThermodynamicQuantity | quantityType |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const HeatLoss &heatLoss) |
Heat Loss calculator class Used to calculateThermalResistance the heat energy loss and outlet steam properties
Definition at line 24 of file HeatLoss.h.
| HeatLoss::HeatLoss | ( | double | inletPressure, |
| SteamProperties::ThermodynamicQuantity | quantityType, | ||
| double | quantityValue, | ||
| double | inletMassFlow, | ||
| double | percentHeatLoss | ||
| ) |
Constructor for the heat loss 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 |
| percentHeatLoss | double, heat loss as % |
|
inline |
|
inline |
Gets the inlet mass flow
Definition at line 77 of file HeatLoss.h.
|
inline |
Gets the inlet pressure
Definition at line 64 of file HeatLoss.h.
|
inline |
Gets all of the inlet properties
Definition at line 46 of file HeatLoss.h.
|
inline |
Gets all of the outlet steam properties
Definition at line 52 of file HeatLoss.h.
|
inline |
|
inline |
Gets the quantity type
Definition at line 90 of file HeatLoss.h.
|
inline |
Gets the quantity value
Definition at line 71 of file HeatLoss.h.
| void HeatLoss::setInletMassFlow | ( | double | inletMassFlow | ) |
Sets the inlet mass flow
| inletMassFlow | double, mass flow of the inlet steam in kg/hr |
| void HeatLoss::setInletPressure | ( | double | inletPressure | ) |
Sets the inlet pressure
| inletPressure | double, pressure of the inlet steam in MPa |
| void HeatLoss::setPercentHeatLoss | ( | double | percentHeatLoss | ) |
Sets the percent heat loss
| percentHeatLoss | double, heat loss as % |
| void HeatLoss::setQuantityType | ( | SteamProperties::ThermodynamicQuantity | quantityType | ) |
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) |
| void HeatLoss::setQuantityValue | ( | double | quantityValue | ) |
Sets the quantity value
| quantityValue | double, value of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless) |
|
private |
Definition at line 132 of file HeatLoss.h.
|
private |
Definition at line 129 of file HeatLoss.h.
|
private |
Definition at line 127 of file HeatLoss.h.
|
private |
Definition at line 127 of file HeatLoss.h.
|
private |
Definition at line 128 of file HeatLoss.h.
|
private |
Definition at line 129 of file HeatLoss.h.
|
private |
Definition at line 130 of file HeatLoss.h.
|
private |
Definition at line 127 of file HeatLoss.h.
|
private |
Definition at line 133 of file HeatLoss.h.
|
private |
Definition at line 127 of file HeatLoss.h.