|
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.
|
Classes | |
| struct | FluidProperties |
| struct | SaturatedPropertiesOutput |
| struct | SteamPropertiesOutput |
Public Types | |
| enum class | Key { ENTHALPY , ENTROPY } |
| enum class | Region { REGION1 , REGION2A , REGION2B , REGION2C } |
Static Private Member Functions | |
| static int | regionSelect (double pressure, double temperature) |
| static SteamPropertiesOutput | region1 (double temperature, double pressure) |
| static SteamPropertiesOutput | region2 (double temperature, double pressure) |
| static SteamPropertiesOutput | region3 (double temperature, double pressure) |
| static SteamPropertiesOutput | region3Density (double density, double temperature) |
| static double | region4 (double temperature) |
| static double | backwardPressureEnthalpyRegion1 (double pressure, double enthalpy) |
| static double | backwardPressureEnthalpyRegion2A (double pressure, double enthalpy) |
| static double | backwardPressureEnthalpyRegion2B (double pressure, double enthalpy) |
| static double | backwardPressureEnthalpyRegion2C (double pressure, double enthalpy) |
| static double | backwardPressureEntropyRegion2A (double pressure, double entropy) |
| static double | backwardPressureEntropyRegion2B (double pressure, double entropy) |
| static double | backwardPressureEntropyRegion2C (double pressure, double entropy) |
| static double | backwardPressureEntropyRegion1 (double pressure, double entropy) |
| static Point | generatePoint (int region, SteamSystemModelerTool::Key key, double var1, double var2) |
| static double | linearTestPoint (double X, Point point1, Point point2) |
| static double | backwardRegion3Exact (double pressure, double X, SteamSystemModelerTool::Key key) |
| static double | backwardPressureEnthalpyRegion3 (double pressure, double enthalpy) |
| static double | backwardPressureEntropyRegion3 (double pressure, double entropy) |
| static double | backwardPressureEnthalpyRegion1Exact (double pressure, double enthalpy) |
| static double | backwardPressureEntropyRegion1Exact (double pressure, double entropy) |
| static double | backwardPressureEnthalpyRegion2AExact (double pressure, double enthalpy) |
| static double | backwardPressureEntropyRegion2AExact (double pressure, double entropy) |
| static double | backwardPressureEnthalpyRegion2BExact (double pressure, double enthalpy) |
| static double | backwardPressureEntropyRegion2BExact (double pressure, double entropy) |
| static double | backwardPressureEnthalpyRegion2CExact (double pressure, double enthalpy) |
| static double | backwardPressureEntropyRegion2CExact (double pressure, double entropy) |
| static double | backwardExact (int region, SteamSystemModelerTool::Key key, SteamSystemModelerTool::Region regionFunction, double pressure, double var2) |
| static double | boundaryByTemperatureRegion3to2 (const double t) |
| static double | boundaryByPressureRegion3to2 (const double p) |
Static Private Attributes | |
| static constexpr double | PRESSURE_MIN = 0.01 |
| static constexpr double | TEMPERATURE_MIN = 273.15 |
| static constexpr double | PRESSURE_Tp = 16.5291643 |
| static constexpr double | TEMPERATURE_Tp = 623.15 |
| static constexpr double | PRESSURE_CRIT = 22.064 |
| static constexpr double | TEMPERATURE_CRIT = 647.096 |
| static constexpr double | PRESSURE_MAX = 100 |
| static constexpr double | TEMPERATURE_MAX = 1073.15 |
| static constexpr double | TEMPERATURE_REGION3_MAX = 863.15 |
Friends | |
| class | SteamProperties |
| class | SaturatedProperties |
Definition at line 20 of file SteamSystemModelerTool.h.
|
strong |
Definition at line 118 of file SteamSystemModelerTool.h.
|
strong |
Definition at line 120 of file SteamSystemModelerTool.h.
|
staticprivate |
Uses linear extrapolation for estimate equation to determine much more accurate temperature
| region | int, region number |
| key | Key, value type like ENTROPY ot ENTHALPY |
| regionFunction | Region, the region of which function to be used (REGION1, REGION2A, etc) |
| pressure | double, pressure in MPa |
| var2 | double, value of either entropy (in kJ/kg/K) or enthalpy (in kJ/kg) |
|
staticprivate |
Calculates temperature based in pressure and enthalpy for region 1
| pressure | double, pressure in MPa |
| enthalpy | double, specific enthalpy in kJ/kg |
|
staticprivate |
Calculates temperature based in pressure and enthalpy for region 2A
| pressure | double, pressure in MPa |
| enthalpy | double, specific enthalpy in kJ/kg |
|
staticprivate |
Returns a more accurate temperature than backwardPressureEnthalpyRegion2A
| pressure | double, pressure in MPa |
| enthalpy | double, specific enthalpy in kJ/kg |
|
staticprivate |
Calculates temperature based in pressure and enthalpy for region 2B
| pressure | double, pressure in MPa |
| enthalpy | double, specific enthalpy in kJ/kg |
|
staticprivate |
Returns a more accurate temperature than backwardPressureEnthalpyRegion2B
| pressure | double, pressure in MPa |
| enthalpy | double, specific enthalpy in kJ/kg |
|
staticprivate |
Calculates temperature based in pressure and enthalpy for region 2C
| pressure | double, pressure in MPa |
| enthalpy | double, specific enthalpy in kJ/kg |
|
staticprivate |
Returns a more accurate temperature than backwardPressureEnthalpyRegion2C
| pressure | double, pressure in MPa |
| enthalpy | double, specific enthalpy in kJ/kg |
|
staticprivate |
Uses linear interpolation to goal seek region 3 using pressure and enthalpy
| pressure | double, pressure in MPa |
| enthalpy | double, specific enthalpy in kJ/kg |
|
staticprivate |
Calculates temperature based on pressure and entropy for region 1
| pressure | double, pressure in MPa |
| entropy | double, specific entropy in kJ/kg/K |
|
staticprivate |
Calculates temperature based on pressure and entropy for region 2A
| pressure | double, pressure in MPa |
| entropy | double, specific entropy in kJ/kg/K |
|
staticprivate |
Returns a more accurate temperature than backwardPressureEntropyRegion2A
| pressure | double, pressure in MPa |
| entropy | double, specific entropy in kJ/kg/K |
|
staticprivate |
Calculates temperature based on pressure and entropy for region 2B
| pressure | double, pressure in MPa |
| entropy | double, specific entropy in kJ/kg/K |
|
staticprivate |
Returns a more accurate temperature than backwardPressureEntropyRegion2B
| pressure | double, pressure in MPa |
| entropy | double, specific entropy in kJ/kg/K |
|
staticprivate |
Calculates temperature based on pressure and entropy for region 2C
| pressure | double, pressure in MPa |
| entropy | double, specific entropy in kJ/kg/K |
|
staticprivate |
Returns a more accurate temperature than backwardPressureEntropyRegion2C
| pressure | double, pressure in MPa |
| entropy | double, specific entropy in kJ/kg/K |
|
staticprivate |
Uses linear interpolation to goal seek region 3 using pressure and entropy
| pressure | double, pressure in MPa |
| enthalpy | double, specific enthalpy in kJ/kg |
| entropy | double, specific entropy in kJ/kg/K |
|
inlinestaticprivate |
Calculates the boundary temperature associated with the given pressure
| p | double, pressure in MPa |
Definition at line 421 of file SteamSystemModelerTool.h.
|
inlinestaticprivate |
Calculates the boundary pressure associated with the given temperature
| t | double, temperature in Kelvins |
Definition at line 410 of file SteamSystemModelerTool.h.
|
staticprivate |
Generates a data point
| region | int, region of substance |
| key | string, property such as specificEnthalpy or specificEntropy |
| var1 | double, first value |
| var2 | double, second value |
|
staticprivate |
Calculates the steam properties using region 1 equations
| temperature | double, temperature in Kelvin |
| pressure | double, pressure in MPa |
|
staticprivate |
Calculates the steam properties using region 2 equations
| temperature | double, temperature in Kelvin |
| pressure | double, pressure in MPa |
|
staticprivate |
Calculates the steam properties using region 3 equations
| temperature | double, temperature in Kelvin |
| pressure | double, pressure in MPa |
|
staticprivate |
Calculates the steam properties using region 4 equations (saturated properties)
| temperature | double, temperature in Kelvin |
| pressure | double, pressure in MPa |
|
staticprivate |
Determines the IAPWS region based on pressure and temperature
| pressure | double, pressure in MPa |
| temperature | double, temperature in Kelvins |
|
friend |
Definition at line 426 of file SteamSystemModelerTool.h.
|
friend |
Definition at line 425 of file SteamSystemModelerTool.h.
|
staticconstexprprivate |
Critical Pressure of Water MPa
Definition at line 382 of file SteamSystemModelerTool.h.
|
staticconstexprprivate |
Maximum Pressure of Water MPa
Definition at line 392 of file SteamSystemModelerTool.h.
|
staticconstexprprivate |
Minimum Pressure of Water MPa
Definition at line 364 of file SteamSystemModelerTool.h.
|
staticconstexprprivate |
Pressure of Water where ALL regions meet MPa
Definition at line 372 of file SteamSystemModelerTool.h.
|
staticconstexprprivate |
Critical Temperature of Water K
Definition at line 387 of file SteamSystemModelerTool.h.
|
staticconstexprprivate |
Maximum Temperature of Water K
Definition at line 397 of file SteamSystemModelerTool.h.
|
staticconstexprprivate |
Minimum Temperature of Water K
Definition at line 368 of file SteamSystemModelerTool.h.
|
staticconstexprprivate |
Maximum Temperature of Water for Region 3 MPa
Definition at line 402 of file SteamSystemModelerTool.h.
|
staticconstexprprivate |
Temperature of Water where ALL regions meet; K
Definition at line 377 of file SteamSystemModelerTool.h.