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#pragma once
2
15
17 public:
18 enum SteamCondition { Superheated, Saturated };
19
20 struct Output {
21 Output(double flowFlueGas, double effBoiler, double enthalpySteam, double enthalpyFW, double flowSteam,
22 double flowFW, double specheatFG, double heatCapacityFG, double specheatFW, double heatCapacityFW,
23 double heatCapacityMin, double ratingHeatRecFW, double tempFlueGasOut, double tempFWOut,
24 double energySavingsBoiler, double costSavingsBoiler)
25 : flowFlueGas(flowFlueGas), effBoiler(effBoiler), enthalpySteam(enthalpySteam), enthalpyFW(enthalpyFW),
26 flowSteam(flowSteam), flowFW(flowFW), specheatFG(specheatFG), heatCapacityFG(heatCapacityFG),
27 specheatFW(specheatFW), heatCapacityFW(heatCapacityFW), heatCapacityMin(heatCapacityMin),
28 ratingHeatRecFW(ratingHeatRecFW), tempFlueGasOut(tempFlueGasOut), tempFWOut(tempFWOut),
29 energySavingsBoiler(energySavingsBoiler), costSavingsBoiler(costSavingsBoiler) {}
30
31 Output() = default;
32 double flowFlueGas = 0, effBoiler = 0, enthalpySteam = 0, enthalpyFW = 0, flowSteam = 0, flowFW = 0,
33 specheatFG = 0, heatCapacityFG = 0, specheatFW = 0, heatCapacityFW = 0, heatCapacityMin = 0,
34 ratingHeatRecFW = 0, tempFlueGasOut = 0, tempFWOut = 0, energySavingsBoiler = 0, costSavingsBoiler = 0;
35 };
36
41
97 Output calculate(GasCompositions gasCompositions, const double tempFlueGasF, const double percO2,
98 const double tempCombAirF, const double moistCombAir, const double ratingBoiler,
99 const double prSteam, const double tempAmbientAirF, const double tempSteamF, const double tempFW,
100 const double percBlowDown, const double effHX, const double opHours, const double costFuel,
101 const double hhvFuel, const SteamCondition condSteam = Superheated, const double fuelTempF = 60);
102
103 private:
104 inline double TempFtoK(double tempF) const { return ((tempF - 32) / 1.8) + 273.15; }
105};
106
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.