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 <FlashTank.h>
Public Member Functions | |
FlashTank (double inletWaterPressure, SteamProperties::ThermodynamicQuantity quantityType, double quantityValue, double inletWaterMassFlow, double tankPressure) | |
SteamSystemModelerTool::FluidProperties const & | getInletWaterProperties () const |
SteamSystemModelerTool::FluidProperties const & | getOutletGasSaturatedProperties () const |
SteamSystemModelerTool::FluidProperties const & | getOutletLiquidSaturatedProperties () const |
double | getInletWaterPressure () const |
double | getQuantityValue () const |
double | getInletWaterMassFlow () const |
double | getTankPressure () const |
SteamProperties::ThermodynamicQuantity | getQuantityType () const |
void | setInletWaterPressure (double inletWaterPressure) |
void | setQuantityValue (double quantityValue) |
void | setInletWaterMassFlow (double inletWaterMassFlow) |
void | setTankPressure (double tankPressure) |
void | setQuantityType (SteamProperties::ThermodynamicQuantity quantityType) |
Private Member Functions | |
void | calculateProperties () |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const FlashTank &flashTank) |
std::ostream & | operator<< (std::ostream &stream, const std::shared_ptr< FlashTank > &flashTank) |
Heat Loss calculator class Used to calculateThermalResistance the heat energy loss and outlet steam properties
Definition at line 23 of file FlashTank.h.
FlashTank::FlashTank | ( | double | inletWaterPressure, |
SteamProperties::ThermodynamicQuantity | quantityType, | ||
double | quantityValue, | ||
double | inletWaterMassFlow, | ||
double | tankPressure | ||
) |
Constructor for the flash tank calculator
inletWaterPressure | double, inlet water 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) |
inletWaterMassFlow | double, inlet water mass flow in kg/hr |
tankPressure | double, pressure of the tank in MPa |
double FlashTank::getInletWaterMassFlow | ( | ) | const |
Gets the inlet water mass flow
double FlashTank::getInletWaterPressure | ( | ) | const |
Gets the inlet water pressure
|
inline |
Gets all of the properties of the inlet water
Definition at line 47 of file FlashTank.h.
|
inline |
Gets all of the saturated properties of the outlet gas and liquid
Definition at line 53 of file FlashTank.h.
|
inline |
Definition at line 56 of file FlashTank.h.
SteamProperties::ThermodynamicQuantity FlashTank::getQuantityType | ( | ) | const |
Gets the quantity type
double FlashTank::getQuantityValue | ( | ) | const |
Gets the quantity value
double FlashTank::getTankPressure | ( | ) | const |
Gets the pressure of the tank
void FlashTank::setInletWaterMassFlow | ( | double | inletWaterMassFlow | ) |
Sets the inlet water mass flow
inletWaterMassFlow | double, mass flow of the inlet water in kg/hr |
void FlashTank::setInletWaterPressure | ( | double | inletWaterPressure | ) |
Sets the inlet water pressure
inletWaterPressure | double, pressure of the inlet water in MPa |
void FlashTank::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 FlashTank::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) |
void FlashTank::setTankPressure | ( | double | tankPressure | ) |
Sets the pressure of the tank
tankPressure | double, tank pressure in MPa |
|
private |
Definition at line 127 of file FlashTank.h.
|
private |
Definition at line 127 of file FlashTank.h.
|
private |
Definition at line 130 of file FlashTank.h.
|
private |
Definition at line 131 of file FlashTank.h.
|
private |
Definition at line 130 of file FlashTank.h.
|
private |
Definition at line 128 of file FlashTank.h.
|
private |
Definition at line 127 of file FlashTank.h.
|
private |
Definition at line 127 of file FlashTank.h.