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.
Loading...
Searching...
No Matches
SteamProperties.h
1#ifndef TOOLS_SUITE_STEAMPROPERTIES_H
2#define TOOLS_SUITE_STEAMPROPERTIES_H
3
4#include <string>
5
6#include "SteamSystemModelerTool.h"
7
9
11 public:
13 enum class ThermodynamicQuantity { TEMPERATURE, ENTHALPY, ENTROPY, QUALITY };
14
23 SteamProperties(const double pressure, const ThermodynamicQuantity quantity, const double quantityValue)
24 : pressure_(pressure), quantityValue_(quantityValue), thermodynamicQuantity_(quantity) {}
25
36
37 private:
45 double temperature);
46
54
62
70
71 // enum class Region {
72 // LIQUIDREGION1,
73 // GASREGION2,
74 // LIQUIDREGION3
75 // };
76
77 // Region regionSelect(const double pressure, const double temperature);
78 private:
79 const double pressure_, quantityValue_;
80 const ThermodynamicQuantity thermodynamicQuantity_;
81};
82
83#endif // TOOLS_SUITE_STEAMPROPERTIES_H
SteamSystemModelerTool::SteamPropertiesOutput waterPropertiesPressureEnthalpy(double pressure, double enthalpy)
SteamSystemModelerTool::SteamPropertiesOutput waterPropertiesPressureTemperature(double pressure, double temperature)
SteamSystemModelerTool::SteamPropertiesOutput waterPropertiesPressureQuality(double pressure, double quality)
SteamSystemModelerTool::SteamPropertiesOutput calculate()
SteamProperties(const double pressure, const ThermodynamicQuantity quantity, const double quantityValue)
SteamSystemModelerTool::SteamPropertiesOutput waterPropertiesPressureEntropy(double pressure, double entropy)
ThermodynamicQuantity
enum class for ThermodynamicQuantity