AMO-Tools-Suite  v.0.9.0
Set of tools for calculating energy efficiency in industrial equipment
All Classes Namespaces Files Functions Variables Enumerations Friends Macros Pages
SteamProperties.h
1 #ifndef AMO_TOOLS_SUITE_STEAMPROPERTIES_H
2 #define AMO_TOOLS_SUITE_STEAMPROPERTIES_H
3 
4 #include <string>
5 #include "SteamSystemModelerTool.h"
6 
8 
9 class SteamProperties {
10 public:
11 
13  enum class ThermodynamicQuantity {
14  TEMPERATURE,
15  ENTHALPY,
16  ENTROPY,
17  QUALITY
18  };
19 
26  SteamProperties(const double pressure, const ThermodynamicQuantity quantity, const double quantityValue)
27  : pressure_(pressure),
28  quantityValue_(quantityValue),
29  thermodynamicQuantity_(quantity)
30  {}
31 
41 
42 private:
49  SteamSystemModelerTool::SteamPropertiesOutput waterPropertiesPressureTemperature(double pressure, double temperature);
50 
57  SteamSystemModelerTool::SteamPropertiesOutput waterPropertiesPressureEnthalpy(double pressure, double enthalpy);
58 
65  SteamSystemModelerTool::SteamPropertiesOutput waterPropertiesPressureEntropy(double pressure, double entropy);
66 
73  SteamSystemModelerTool::SteamPropertiesOutput waterPropertiesPressureQuality(double pressure, double quality);
74 
75 // enum class Region {
76 // LIQUIDREGION1,
77 // GASREGION2,
78 // LIQUIDREGION3
79 // };
80 
81 // Region regionSelect(const double pressure, const double temperature);
82 private:
83  const double pressure_, quantityValue_;
84  const ThermodynamicQuantity thermodynamicQuantity_;
85 
86 };
87 
88 #endif //AMO_TOOLS_SUITE_STEAMPROPERTIES_H
SteamProperties(const double pressure, const ThermodynamicQuantity quantity, const double quantityValue)
SteamSystemModelerTool::SteamPropertiesOutput calculate()
ThermodynamicQuantity
enum class for ThermodynamicQuantity