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#pragma once
2
3#include <string>
4
5#include "SteamSystemModelerTool.h"
6
8
10 public:
12 enum class ThermodynamicQuantity { TEMPERATURE, ENTHALPY, ENTROPY, QUALITY };
13
22 SteamProperties(const double pressure, const ThermodynamicQuantity quantity, const double quantityValue)
23 : pressure_(pressure), quantityValue_(quantityValue), thermodynamicQuantity_(quantity) {}
24
35
36 private:
44 double temperature);
45
53
61
69
70 // enum class Region {
71 // LIQUIDREGION1,
72 // GASREGION2,
73 // LIQUIDREGION3
74 // };
75
76 // Region regionSelect(const double pressure, const double temperature);
77 private:
78 const double pressure_, quantityValue_;
79 const ThermodynamicQuantity thermodynamicQuantity_;
80};
81
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