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
WaterHeatingUsingFlue.h
Go to the documentation of this file.
1
12#ifndef TOOLS_SUITE_WATERHEATINGUSINGFLUE_H
13#define TOOLS_SUITE_WATERHEATINGUSINGFLUE_H
14
16
18 public:
19 enum SteamCondition { Superheated, Saturated };
20
21 struct Output {
22 Output(double flowFlueGas, double effBoiler, double enthalpySteam, double enthalpyFW, double flowSteam,
23 double flowFW, double specheatFG, double heatCapacityFG, double specheatFW, double heatCapacityFW,
24 double heatCapacityMin, double ratingHeatRecFW, double tempFlueGasOut, double tempFWOut,
25 double energySavingsBoiler, double costSavingsBoiler)
26 : flowFlueGas(flowFlueGas), effBoiler(effBoiler), enthalpySteam(enthalpySteam), enthalpyFW(enthalpyFW),
27 flowSteam(flowSteam), flowFW(flowFW), specheatFG(specheatFG), heatCapacityFG(heatCapacityFG),
28 specheatFW(specheatFW), heatCapacityFW(heatCapacityFW), heatCapacityMin(heatCapacityMin),
29 ratingHeatRecFW(ratingHeatRecFW), tempFlueGasOut(tempFlueGasOut), tempFWOut(tempFWOut),
30 energySavingsBoiler(energySavingsBoiler), costSavingsBoiler(costSavingsBoiler) {}
31
32 Output() = default;
33 double flowFlueGas = 0, effBoiler = 0, enthalpySteam = 0, enthalpyFW = 0, flowSteam = 0, flowFW = 0,
34 specheatFG = 0, heatCapacityFG = 0, specheatFW = 0, heatCapacityFW = 0, heatCapacityMin = 0,
35 ratingHeatRecFW = 0, tempFlueGasOut = 0, tempFWOut = 0, energySavingsBoiler = 0, costSavingsBoiler = 0;
36 };
37
42
98 Output calculate(GasCompositions gasCompositions, const double tempFlueGasF, const double percO2,
99 const double tempCombAirF, const double moistCombAir, const double ratingBoiler,
100 const double prSteam, const double tempAmbientAirF, const double tempSteamF, const double tempFW,
101 const double percBlowDown, const double effHX, const double opHours, const double costFuel,
102 const double hhvFuel, const SteamCondition condSteam = Superheated, const double fuelTempF = 60);
103
104 private:
105 inline double TempFtoK(double tempF) const { return ((tempF - 32) / 1.8) + 273.15; }
106};
107
108#endif // TOOLS_SUITE_WATERHEATINGUSINGFLUE_H
Output calculate(GasCompositions gasCompositions, const double tempFlueGasF, const double percO2, const double tempCombAirF, const double moistCombAir, const double ratingBoiler, const double prSteam, const double tempAmbientAirF, const double tempSteamF, const double tempFW, const double percBlowDown, const double effHX, const double opHours, const double costFuel, const double hhvFuel, const SteamCondition condSteam=Superheated, const double fuelTempF=60)
Calculator for flue gas heat losses.