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
WaterHeatingUsingSteam.h
Go to the documentation of this file.
1
12#ifndef TOOLS_SUITE_WATERHEATINGUSINGSTEAM_H
13#define TOOLS_SUITE_WATERHEATINGUSINGSTEAM_H
14
16 public:
17 struct Output {
18 Output(double tempWaterOut, double bpTempWaterOut, bool bpTempWarningFlag, double flowByPassSteam,
19 double enthalpySteamIn, double enthalpySteamOut, double enthalpyMakeUpWater, double energySavedDWH,
20 double energySavedBoiler, double waterSaved, double heatGainRate)
21 : tempWaterOut(tempWaterOut), bpTempWaterOut(bpTempWaterOut), bpTempWarningFlag(bpTempWarningFlag),
22 flowByPassSteam(flowByPassSteam), enthalpySteamIn(enthalpySteamIn), enthalpySteamOut(enthalpySteamOut),
23 enthalpyMakeUpWater(enthalpyMakeUpWater), energySavedDWH(energySavedDWH),
24 energySavedBoiler(energySavedBoiler), waterSaved(waterSaved), heatGainRate(heatGainRate) {}
25
26 Output() = default;
27 double tempWaterOut = 0, bpTempWaterOut = 0;
28 bool bpTempWarningFlag = false;
29 double flowByPassSteam = 0, enthalpySteamIn = 0, enthalpySteamOut = 0, enthalpyMakeUpWater = 0,
30 energySavedDWH = 0, energySavedBoiler = 0, waterSaved = 0, heatGainRate = 0;
31 };
32
37
65 Output calculate(const double pressureSteamIn, const double flowSteamRate, const double temperatureWaterIn,
66 const double pressureWaterOut, const double flowWaterRate, const double tempMakeupWater,
67 const double presMakeupWater, const double effWaterHeater, const double effBoiler,
68 const double operatingHours);
69};
70
71#endif // TOOLS_SUITE_WATERHEATINGUSINGSTEAM_H
Output calculate(const double pressureSteamIn, const double flowSteamRate, const double temperatureWaterIn, const double pressureWaterOut, const double flowWaterRate, const double tempMakeupWater, const double presMakeupWater, const double effWaterHeater, const double effBoiler, const double operatingHours)