measur-tools-suite 1.0.14-rc.30 → 1.0.14-rc.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/bin/client.js +1 -1
  2. package/bin/client.wasm +0 -0
  3. package/bin/package.json +1 -1
  4. package/docs/dox-content/calculators/atmosphere_heat_loss_calculator.dox +15 -6
  5. package/docs/dox-content/calculators/auxiliary_power_used_calculator.dox +16 -4
  6. package/docs/dox-content/calculators/energy_input_electric_arc_furnace_calculator.dox +35 -15
  7. package/docs/dox-content/calculators/energy_input_exhaust_gas_heat_loss_calculator.dox +83 -35
  8. package/docs/dox-content/calculators/exhaust_gas_heat_loss_electric_arc_furnace_calculator.dox +61 -29
  9. package/docs/dox-content/calculators/fixture_heat_loss_calculator.dox +13 -2
  10. package/docs/dox-content/calculators/gas_cooling_heat_loss_calculator.dox +18 -9
  11. package/docs/dox-content/calculators/gas_flue_gas_calculator.dox +294 -134
  12. package/docs/dox-content/calculators/gas_load_charge_material_heat_required_calculator.dox +9 -1
  13. package/docs/dox-content/calculators/leakage_heat_loss_calculator.dox +98 -17
  14. package/docs/dox-content/calculators/liquid_cooling_heat_loss_calculator.dox +17 -8
  15. package/docs/dox-content/calculators/liquid_load_charge_material_heat_required_calculator.dox +10 -1
  16. package/docs/dox-content/calculators/opening_heat_loss_calculator.dox +11 -2
  17. package/docs/dox-content/calculators/slag_other_material_heat_loss_calculator.dox +16 -2
  18. package/docs/dox-content/calculators/solid_liquid_flue_gas_calculator.dox +295 -219
  19. package/docs/dox-content/calculators/solid_load_charge_material_heat_required_calculator.dox +18 -4
  20. package/docs/dox-content/calculators/wall_heat_loss_calculator.dox +24 -5
  21. package/docs/dox-content/calculators/water_cooling_heat_loss_calculator.dox +26 -7
  22. package/docs/dox-content/physics/constants.dox +70 -0
  23. package/package.json +1 -1
package/bin/client.wasm CHANGED
Binary file
package/bin/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "measur-tools-suite",
3
- "version": "1.0.14-rc.30",
3
+ "version": "1.0.14-rc.32",
4
4
  "engines": {
5
5
  "node": "20.19.4",
6
6
  "npm": "10.8.2"
@@ -5,10 +5,14 @@
5
5
  * @details This calculator is used to estimate heat losses of process heating equipment due to the introduction of
6
6
  * atmospheric gases (e.g., nitrogen, hydrogen, etc.). These gases absorb heat from the equipment and carry it away when
7
7
  * they exit the system. The calculator computes the total heat loss based on the flow rate, specific heat of the gas,
8
- * inlet and outlet temperatures, and a correction factor @cite trinks2003industrial. Relevant formulas and values are
9
- * documented below.
8
+ * inlet and outlet temperatures, and a correction factor @cite trinks2003industrial.
10
9
  *
11
- * @heading{Heat Loss}
10
+ * The calculation follows a top-down approach:
11
+ * 1. **Total Heat Loss** - Calculate the heat absorbed by atmospheric gases as they pass through the system
12
+ *
13
+ * Relevant formulas and values are documented below.
14
+ *
15
+ * @heading{Total Heat Loss}
12
16
  * @copydoc atmosphere_heat_loss_formula
13
17
  *
14
18
  * @heading{Specific Heat Values}
@@ -18,15 +22,20 @@
18
22
  /**
19
23
  * @defgroup atmosphere_heat_loss_formula Atmosphere Heat Loss Formula
20
24
  * @ingroup atmosphere_heat_loss_calculator
21
- * @formula{atmosphere-heat-loss; Q = \dot{v} \cdot c_p \cdot (T_\text{out} - T_\text{in}) \cdot
22
- * f_\text{corr}}
25
+ * @brief Total heat loss due to atmospheric gases.
26
+ * @details The heat loss is calculated by multiplying the volumetric flow rate, specific heat capacity,
27
+ * temperature rise of the gas, and a correction factor. This represents the sensible heat absorbed by
28
+ * the atmospheric gas as it passes through the heating equipment.
29
+ *
30
+ * @formula{atmosphere-heat-loss; Q = \dot{v} \cdot c_p \cdot (T_\text{out} - T_\text{in}) \cdot f_\text{corr}}
31
+ *
23
32
  * @subheading{Symbols}
24
33
  * @symtable
25
34
  * @symrow{Q; Heat loss; \btu\per\hour}
26
35
  * @symrow{\dot{v}; Flow rate of gas; \standardCubicFeet\per\hour}
27
36
  * @symrow{c_p; Specific heat of gas; \btu\per\standardCubicFeet\degreeFahrenheit}
28
37
  * @symrow{T_\text{out}; Outlet temperature of gas; \degreeFahrenheit}
29
- * @symrow{T_\text{in}; %Inlet temperature of gas; \degreeFahrenheit}
38
+ * @symrow{T_\text{in}; Inlet temperature of gas; \degreeFahrenheit}
30
39
  * @symrow{f_\text{corr}; Correction factor; \unitless}
31
40
  * @endsymtable
32
41
  */
@@ -2,18 +2,30 @@
2
2
  * @defgroup auxiliary_power_used_calculator Auxiliary Power Used Calculator
3
3
  * @ingroup heat_loss_calculators
4
4
  * @brief Calculates auxiliary power usage for electrical systems in process heating equipment.
5
- * @details This calculator estimates the energy use of motors and auxiliary systems associated with process heating equipment. It uses electrical parameters and operating time to compute total power consumption, converting electrical power from kW to BTU/hr using a physical constant. The algorithm is suitable for modeling auxiliary energy losses in industrial furnaces, ovens, and similar systems.
5
+ * @details This calculator estimates the energy use of motors and auxiliary systems associated with process heating
6
+ * equipment. It uses electrical parameters and operating time to compute total power consumption, converting
7
+ * electrical power from kW to BTU/hr using a physical constant. The algorithm is suitable for modeling auxiliary
8
+ * energy losses in industrial furnaces, ovens, and similar systems.
9
+ *
10
+ * The calculation follows a top-down approach:
11
+ * 1. **Total Auxiliary Power** - Calculate electrical power consumption and convert to BTU/hr
6
12
  *
7
13
  * @heading{Total Auxiliary Power Used}
8
14
  * @copydoc auxiliary_power_used_formula
9
15
  *
10
- * @see Perrys Chemical Engineers Handbook; NIST Engineering Statistics; ASHRAE Handbook
16
+ * @see Perry's Chemical Engineers' Handbook; NIST Engineering Statistics; ASHRAE Handbook
17
+ * @see physics::conversions::kKilowattToBtuPerHour for the conversion constant
11
18
  */
12
19
 
13
20
  /**
14
21
  * @defgroup auxiliary_power_used_formula Auxiliary Power Used Formula
15
22
  * @ingroup auxiliary_power_used_calculator
23
+ * @brief Total auxiliary power consumption.
24
+ * @details The formula calculates the electrical power in kilowatts based on voltage, current, power factor, and phase,
25
+ * adjusts for operating time, then converts to BTU/hr using the conversion constant.
26
+ *
16
27
  * @formula{aux-power-used; Q_\text{aux} = \sqrt{P} \cdot V \cdot I \cdot PF \cdot OT \cdot \frac{1}{1000} \cdot k_{\text{kW}\to\text{BTU/hr}}}
28
+ *
17
29
  * @subheading{Symbols}
18
30
  * @symtable
19
31
  * @symrow{Q_\text{aux}; Auxiliary power used; \btu\per\hour}
@@ -22,7 +34,7 @@
22
34
  * @symrow{I; Average current; \ampere}
23
35
  * @symrow{PF; Power factor; \unitless}
24
36
  * @symrow{OT; Operating time (fraction, 0-1); \unitless}
25
- * @symrow{k_{\text{kW}\to\text{BTU/hr}}; Conversion factor; \btu\per\hour\per\kilowatt}
37
+ * @symrow{1000; Conversion from watts to kilowatts; \watt\per\kilowatt}
38
+ * @symrow{k_{\text{kW}\to\text{BTU/hr}}; Conversion factor - see @ref physics::conversions::kKilowattToBtuPerHour; \btu\per\hour\per\kilowatt}
26
39
  * @endsymtable
27
- * @details The formula first computes electrical power in kW, then converts to BTU/hr using the physical constant @ref physics::conversions::kKilowattToBtuPerHour.
28
40
  */
@@ -2,39 +2,59 @@
2
2
  * @defgroup energy_input_electric_arc_furnace_calculator Energy Input Electric Arc Furnace Calculator
3
3
  * @ingroup heat_loss_calculators
4
4
  * @brief Calculates total energy input and heat delivered for electric arc furnaces (EAF).
5
- * @details This calculator estimates the total chemical energy input and total heat delivered to an EAF, including contributions from natural gas, coal/carbon injection, electrodes, other fuels, and electricity. It uses standard unit conversions and accounts for all major energy sources supplied to the furnace. Relevant formulas are documented below.
5
+ * @details This calculator estimates the total chemical energy input and total heat delivered to an EAF, including
6
+ * contributions from natural gas, coal/carbon injection, electrodes, other fuels, and electricity. It uses standard
7
+ * unit conversions and accounts for all major energy sources supplied to the furnace.
6
8
  *
7
- * @heading{Total Chemical Energy Input}
8
- * @copydoc energy_input_electric_arc_furnace_formula
9
+ * The calculation follows a top-down approach:
10
+ * 1. **Total Heat Delivered** - Sum of chemical energy and electrical energy inputs
11
+ * 2. **Total Chemical Energy Input** - Sum of all chemical fuel sources (natural gas, coal, electrodes, other fuels)
12
+ *
13
+ * Relevant formulas are documented below.
9
14
  *
10
15
  * @heading{Total Heat Delivered}
11
16
  * @copydoc energy_input_electric_arc_furnace_heat_delivered_formula
17
+ *
18
+ * @heading{Total Chemical Energy Input}
19
+ * @copydoc energy_input_electric_arc_furnace_formula
20
+ *
21
+ * @see physics::conversions::kKilowattToBtuPerHour for electrical energy conversion
12
22
  */
13
23
 
14
24
  /**
15
- * @defgroup energy_input_electric_arc_furnace_formula Energy Input Electric Arc Furnace Formula
25
+ * @defgroup energy_input_electric_arc_furnace_heat_delivered_formula Energy Input Electric Arc Furnace Heat Delivered Formula
16
26
  * @ingroup energy_input_electric_arc_furnace_calculator
17
- * @formula{eaf-chemical-energy-input; Q_\text{chem} = Q_\text{ng} + m_\text{coal} c_\text{coal} + m_\text{elec} c_\text{elec} + Q_\text{other}}
27
+ * @brief Total heat delivered to the electric arc furnace.
28
+ * @details The total heat delivered is the sum of chemical energy from combustion and electrical energy supplied to the furnace.
29
+ *
30
+ * @formula{eaf-heat-delivered; Q_\text{delivered} = Q_\text{chem} + Q_\text{elec}}
31
+ *
18
32
  * @subheading{Symbols}
19
33
  * @symtable
34
+ * @symrow{Q_\text{delivered}; Total heat delivered to EAF; \btu\per\hour}
20
35
  * @symrow{Q_\text{chem}; Total chemical energy input; \btu\per\hour}
21
- * @symrow{Q_\text{ng}; Natural gas heat input; \btu\per\hour}
22
- * @symrow{m_\text{coal}; Mass of coal/carbon injection; \pound\per\hour}
23
- * @symrow{c_\text{coal}; Heating value of coal/carbon; \btu\per\pound}
24
- * @symrow{m_\text{elec}; Electrode use; \pound\per\hour}
25
- * @symrow{c_\text{elec}; Electrode heating value; \btu\per\pound}
26
- * @symrow{Q_\text{other}; Other fuel heat input; \btu\per\hour}
36
+ * @symrow{Q_\text{elec}; Electric power supplied; \btu\per\hour}
27
37
  * @endsymtable
28
38
  */
29
39
 
30
40
  /**
31
- * @defgroup energy_input_electric_arc_furnace_heat_delivered_formula Energy Input Electric Arc Furnace Heat Delivered Formula
41
+ * @defgroup energy_input_electric_arc_furnace_formula Energy Input Electric Arc Furnace Formula
32
42
  * @ingroup energy_input_electric_arc_furnace_calculator
33
- * @formula{eaf-heat-delivered; Q_\text{delivered} = Q_\text{chem} + Q_\text{elec}}
43
+ * @brief Total chemical energy input from all fuel sources.
44
+ * @details The total chemical energy is the sum of heat input from natural gas, coal/carbon injection,
45
+ * electrode consumption, and other fuels. Each fuel contribution is calculated by multiplying mass flow
46
+ * rate by its heating value.
47
+ *
48
+ * @formula{eaf-chemical-energy-input; Q_\text{chem} = Q_\text{ng} + m_\text{coal} c_\text{coal} + m_\text{elec} c_\text{elec} + Q_\text{other}}
49
+ *
34
50
  * @subheading{Symbols}
35
51
  * @symtable
36
- * @symrow{Q_\text{delivered}; Total heat delivered to EAF; \btu\per\hour}
37
52
  * @symrow{Q_\text{chem}; Total chemical energy input; \btu\per\hour}
38
- * @symrow{Q_\text{elec}; Electric power supplied; \kilowatt\hour\per\hour}
53
+ * @symrow{Q_\text{ng}; Natural gas heat input; \btu\per\hour}
54
+ * @symrow{m_\text{coal}; Mass of coal/carbon injection; \pound\per\hour}
55
+ * @symrow{c_\text{coal}; Heating value of coal/carbon; \btu\per\pound}
56
+ * @symrow{m_\text{elec}; Electrode use; \pound\per\hour}
57
+ * @symrow{c_\text{elec}; Electrode heating value; \btu\per\pound}
58
+ * @symrow{Q_\text{other}; Other fuel heat input; \btu\per\hour}
39
59
  * @endsymtable
40
60
  */
@@ -2,7 +2,15 @@
2
2
  * @defgroup energy_input_exhaust_gas_heat_loss_calculator Energy Input Exhaust Gas Heat Loss Calculation
3
3
  * @ingroup heat_loss_calculators
4
4
  * @brief Calculates available heat, heat delivered, and exhaust gas losses for non-EAF electric furnaces.
5
- * @details The following formulas describe the calculation of available heat, heat delivered, exhaust gas losses, and all intermediate steps. Each step is documented with its own formula and symbol table.
5
+ * @details The following formulas describe the calculation of available heat, heat delivered, exhaust gas losses,
6
+ * and all intermediate steps. Each step is documented with its own formula and symbol table.
7
+ *
8
+ * The calculation follows a top-down approach:
9
+ * 1. **Exhaust Gas Losses** - Calculate heat lost through exhaust gases based on available heat
10
+ * 2. **Heat Delivered** - Calculate useful heat delivered based on input and available heat percentage
11
+ * 3. **Available Heat** - Calculate percentage of input heat available after exhaust losses
12
+ * 4. **Air Corrections** - Calculate corrections for excess air and combustion air preheat
13
+ * 5. **Specific Heat of Air** - Temperature-dependent specific heat calculation
6
14
  *
7
15
  * @heading{Exhaust Gas Losses}
8
16
  * @copydoc energy_input_exhaust_gas_total_heat_loss_cpp_formula
@@ -13,90 +21,130 @@
13
21
  * @heading{Available Heat}
14
22
  * @copydoc energy_input_exhaust_gas_available_heat_cpp_formula
15
23
  *
16
- * @heading{Specific Heat of Air}
17
- * @copydoc energy_input_exhaust_gas_specific_heat_air_cpp_formula
18
- *
19
24
  * @heading{Air Correction}
20
25
  * @copydoc energy_input_exhaust_gas_air_correction_cpp_formula
21
26
  *
22
27
  * @heading{Combustion Air Correction}
23
28
  * @copydoc energy_input_exhaust_gas_combustion_air_correction_cpp_formula
29
+ *
30
+ * @heading{Specific Heat of Air}
31
+ * @copydoc energy_input_exhaust_gas_specific_heat_air_cpp_formula
32
+ *
33
+ * @see physics::us::kSpecificHeatAirBase for base specific heat of air
34
+ * @see physics::us::kSpecificHeatAirCoeff for specific heat temperature coefficient
35
+ * @see physics::us::kAirCorrectionBase for air correction base constant
24
36
  */
25
37
 
26
38
  /**
27
- * @defgroup energy_input_exhaust_gas_available_heat_cpp_formula Available Heat Formula
39
+ * @defgroup energy_input_exhaust_gas_total_heat_loss_cpp_formula Exhaust Gas Losses Formula
28
40
  * @ingroup energy_input_exhaust_gas_heat_loss_calculator
29
- * @formula{energy-input-exhaust-gas-available-heat-cpp; AH = 95 - 0.025 \cdot T_{exh} + AC + CAC}
41
+ * @brief Total heat loss through exhaust gases.
42
+ * @details The exhaust gas losses represent heat carried away by hot exhaust gases. It is calculated from
43
+ * the delivered heat and the fraction of unavailable heat.
44
+ *
45
+ * @formula{energy-input-exhaust-gas-total-heat-loss-cpp; Q_{loss} = Q_{delivered} \cdot \frac{100 - AH}{AH}}
46
+ *
30
47
  * @subheading{Symbols}
31
48
  * @symtable
49
+ * @symrow{Q_{loss}; Exhaust gas losses; \btu\per\hour}
50
+ * @symrow{Q_{delivered}; Heat delivered; \btu\per\hour}
32
51
  * @symrow{AH; Available heat percent; \percent}
33
- * @symrow{T_{exh}; Exhaust gas temperature; \degreeFahrenheit}
34
- * @symrow{AC; Air correction; \percent}
35
- * @symrow{CAC; Combustion air correction; \percent}
52
+ * @symrow{100; Total heat percentage; \percent}
36
53
  * @endsymtable
37
54
  */
38
55
 
39
56
  /**
40
- * @defgroup energy_input_exhaust_gas_specific_heat_air_cpp_formula Specific Heat of Air Formula
57
+ * @defgroup energy_input_exhaust_gas_heat_delivered_cpp_formula Heat Delivered Formula
41
58
  * @ingroup energy_input_exhaust_gas_heat_loss_calculator
42
- * @formula{energy-input-exhaust-gas-specific-heat-air-cpp; SH_{air} = 0.01783 + 0.00000256 \cdot T_{air}}
59
+ * @brief Useful heat delivered to the furnace.
60
+ * @details The heat delivered is the fraction of total input heat that remains after exhaust gas losses,
61
+ * based on the available heat percentage.
62
+ *
63
+ * @formula{energy-input-exhaust-gas-heat-delivered-cpp; Q_{delivered} = Q_{input} \cdot \frac{AH}{100}}
64
+ *
43
65
  * @subheading{Symbols}
44
66
  * @symtable
45
- * @symrow{SH_{air}; Specific heat of air; \btu\per\pound\degreeFahrenheit}
46
- * @symrow{T_{air}; Combustion air temperature; \degreeFahrenheit}
47
- * @symrow{.01783; Base specific heat of air; \unitless}
48
- * @symrow{0.00000256; Specific heat air coefficient; \unitless}
67
+ * @symrow{Q_{delivered}; Heat delivered; \btu\per\hour}
68
+ * @symrow{Q_{input}; Total heat input; \btu\per\hour}
69
+ * @symrow{AH; Available heat percent; \percent}
70
+ * @symrow{100; Percentage conversion factor; \percent}
71
+ * @endsymtable
72
+ */
73
+
74
+ /**
75
+ * @defgroup energy_input_exhaust_gas_available_heat_cpp_formula Available Heat Formula
76
+ * @ingroup energy_input_exhaust_gas_heat_loss_calculator
77
+ * @brief Percentage of input heat available after exhaust losses.
78
+ * @details The available heat represents the fraction of input energy that remains available for useful work
79
+ * after accounting for exhaust gas temperature, excess air, and combustion air preheat.
80
+ *
81
+ * @formula{energy-input-exhaust-gas-available-heat-cpp; AH = 95 - 0.025 \cdot T_{exh} + AC + CAC}
82
+ *
83
+ * @subheading{Symbols}
84
+ * @symtable
85
+ * @symrow{AH; Available heat percent; \percent}
86
+ * @symrow{95; Base available heat at zero exhaust temperature; \percent}
87
+ * @symrow{0.025; Exhaust temperature loss coefficient; \percent\per\degreeFahrenheit}
88
+ * @symrow{T_{exh}; Exhaust gas temperature; \degreeFahrenheit}
89
+ * @symrow{AC; Air correction; \percent}
90
+ * @symrow{CAC; Combustion air correction; \percent}
49
91
  * @endsymtable
50
92
  */
51
93
 
52
94
  /**
53
95
  * @defgroup energy_input_exhaust_gas_air_correction_cpp_formula Air Correction Formula
54
96
  * @ingroup energy_input_exhaust_gas_heat_loss_calculator
97
+ * @brief Correction for excess air in exhaust.
98
+ * @details The air correction accounts for heat lost due to excess air being heated to exhaust temperature.
99
+ * Excess air reduces available heat by carrying away sensible heat.
100
+ *
55
101
  * @formula{energy-input-exhaust-gas-air-correction-cpp; AC = -[(-1.078913827 + SH_{air} \cdot T_{exh})] \cdot EA/100}
102
+ *
56
103
  * @subheading{Symbols}
57
104
  * @symtable
58
105
  * @symrow{AC; Air correction; \percent}
59
- * @symrow{T_{exh}; Exhaust gas temperature; \degreeFahrenheit}
106
+ * @symrow{-1.078913827; Air correction base - see @ref physics::us::kAirCorrectionBase; \btu\per\pound}
60
107
  * @symrow{SH_{air}; Specific heat of air; \btu\per\pound\degreeFahrenheit}
61
- * @symrow{-1.078913827; Air correction base; \unitless}
108
+ * @symrow{T_{exh}; Exhaust gas temperature; \degreeFahrenheit}
62
109
  * @symrow{EA; Excess air as percent; \percent}
110
+ * @symrow{100; Percentage conversion factor; \percent}
63
111
  * @endsymtable
64
112
  */
65
113
 
66
114
  /**
67
115
  * @defgroup energy_input_exhaust_gas_combustion_air_correction_cpp_formula Combustion Air Correction Formula
68
116
  * @ingroup energy_input_exhaust_gas_heat_loss_calculator
117
+ * @brief Correction for preheated combustion air.
118
+ * @details The combustion air correction accounts for sensible heat added to the system when combustion air
119
+ * is preheated. Preheating combustion air increases available heat.
120
+ *
69
121
  * @formula{energy-input-exhaust-gas-combustion-air-correction-cpp; CAC = (-1.078913827 + SH_{air} \cdot T_{air}) \cdot (1 + EA/100)}
122
+ *
70
123
  * @subheading{Symbols}
71
124
  * @symtable
72
125
  * @symrow{CAC; Combustion air correction; \percent}
126
+ * @symrow{-1.078913827; Air correction base - see @ref physics::us::kAirCorrectionBase; \btu\per\pound}
73
127
  * @symrow{SH_{air}; Specific heat of air; \btu\per\pound\degreeFahrenheit}
74
- * @symrow{-1.078913827; Air correction base; \unitless}
75
128
  * @symrow{T_{air}; Combustion air temperature; \degreeFahrenheit}
76
129
  * @symrow{EA; Excess air as percent; \percent}
130
+ * @symrow{100; Percentage conversion factor; \percent}
77
131
  * @endsymtable
78
132
  */
79
133
 
80
134
  /**
81
- * @defgroup energy_input_exhaust_gas_heat_delivered_cpp_formula Heat Delivered Formula
82
- * @ingroup energy_input_exhaust_gas_heat_loss_calculator
83
- * @formula{energy-input-exhaust-gas-heat-delivered-cpp; Q_{delivered} = Q_{input} \cdot \frac{AH}{100}}
84
- * @subheading{Symbols}
85
- * @symtable
86
- * @symrow{Q_{delivered}; Heat delivered; \btu\per\hour}
87
- * @symrow{Q_{input}; Total heat input; \btu\per\hour}
88
- * @symrow{AH; Available heat percent; \percent}
89
- * @endsymtable
90
- */
91
-
92
- /**
93
- * @defgroup energy_input_exhaust_gas_total_heat_loss_cpp_formula Exhaust Gas Losses Formula
135
+ * @defgroup energy_input_exhaust_gas_specific_heat_air_cpp_formula Specific Heat of Air Formula
94
136
  * @ingroup energy_input_exhaust_gas_heat_loss_calculator
95
- * @formula{energy-input-exhaust-gas-total-heat-loss-cpp; Q_{loss} = Q_{delivered} \cdot \frac{100 - AH}{AH}}
137
+ * @brief Temperature-dependent specific heat of air.
138
+ * @details The specific heat of air increases with temperature. This linear correlation provides the specific
139
+ * heat as a function of temperature for use in air correction calculations.
140
+ *
141
+ * @formula{energy-input-exhaust-gas-specific-heat-air-cpp; SH_{air} = 0.017828518 + 0.000002556 \cdot T_{air}}
142
+ *
96
143
  * @subheading{Symbols}
97
144
  * @symtable
98
- * @symrow{Q_{loss}; Exhaust gas losses; \btu\per\hour}
99
- * @symrow{Q_{delivered}; Heat delivered; \btu\per\hour}
100
- * @symrow{AH; Available heat percent; \percent}
145
+ * @symrow{SH_{air}; Specific heat of air; \btu\per\pound\degreeFahrenheit}
146
+ * @symrow{0.017828518; Base specific heat of air - see @ref physics::us::kSpecificHeatAirBase; \btu\per\pound\degreeFahrenheit}
147
+ * @symrow{0.000002556; Specific heat temperature coefficient - see @ref physics::us::kSpecificHeatAirCoeff; \btu\per\pound\degreeFahrenheit\per\degreeFahrenheit}
148
+ * @symrow{T_{air}; Combustion air temperature; \degreeFahrenheit}
101
149
  * @endsymtable
102
150
  */
@@ -2,7 +2,15 @@
2
2
  * @defgroup exhaust_gas_heat_loss_electric_arc_furnace_calculator Exhaust Gas Heat Loss Calculation (Electric Arc Furnace)
3
3
  * @ingroup heat_loss_calculators
4
4
  * @brief Calculates total heat loss from exhaust gas in electric arc furnaces (EAF).
5
- * @details The following formulas describe the calculation of heat loss from exhaust gases, including chemical heat, total heat value per unit volume, corrected volume flow rate, and total heat loss. Each step is documented with its own formula and symbol table.
5
+ * @details The following formulas describe the calculation of heat loss from exhaust gases, including chemical heat,
6
+ * total heat value per unit volume, corrected volume flow rate, and total heat loss. Each step is documented with
7
+ * its own formula and symbol table.
8
+ *
9
+ * The calculation follows a top-down approach:
10
+ * 1. **Total Heat Loss** - Calculate total heat carried away by exhaust gases
11
+ * 2. **Corrected Volume Flow Rate** - Adjust measured flow rate to standard conditions
12
+ * 3. **Total Heat Value per Unit Volume** - Sum of chemical heat and sensible heat content
13
+ * 4. **Chemical Heat** - Heat content from unburned combustibles in exhaust
6
14
  *
7
15
  * @heading{Total Heat Loss}
8
16
  * @copydoc exhaust_gas_total_heat_loss_cpp_formula
@@ -16,62 +24,86 @@
16
24
  * @heading{Chemical Heat}
17
25
  * @copydoc exhaust_gas_chemical_heat_cpp_formula
18
26
  *
27
+ * @see physics::us::kStandardGasTemperatureR for standard gas temperature
28
+ * @see physics::conversions::kFahrenheitToRankineOffset for temperature conversion
29
+ * @see physics::conversions::kMinutesPerHour for time conversion
19
30
  */
20
31
 
21
32
  /**
22
- * @defgroup exhaust_gas_chemical_heat_cpp_formula Chemical Heat Formula
33
+ * @defgroup exhaust_gas_total_heat_loss_cpp_formula Total Heat Loss Formula
23
34
  * @ingroup exhaust_gas_heat_loss_electric_arc_furnace_calculator
24
- * @formula{exhaust-gas-chemical-heat-cpp; Q_{chem} = \frac{CO \cdot 321 + H_{2} \cdot 325 + Combustibles \cdot 1020}{100}}
35
+ * @brief Total heat loss from exhaust gases.
36
+ * @details The total heat loss is calculated by multiplying the corrected volume flow rate, heat content per unit volume,
37
+ * and conversion factor from minutes to hours.
38
+ *
39
+ * @formula{exhaust-gas-total-heat-loss-cpp; Q_{total} = VFR_{total} \cdot Q_{flue} \cdot 60}
40
+ *
25
41
  * @subheading{Symbols}
26
42
  * @symtable
27
- * @symrow{Q_{chem}; Chemical heat per unit volume; \btu}
28
- * @symrow{CO; Percent CO in exhaust gas; \percent}
29
- * @symrow{H_{2}; Percent @math{H_2} in exhaust gas; \percent}
30
- * @symrow{Combustibles; Percent other combustibles in exhaust gas; \percent}
31
- * @symrow{321; Heating value for CO; \btu\per\percent}
32
- * @symrow{325; Heating value for @math{H_2}; \btu\per\percent}
33
- * @symrow{1020; Heating value for other combustibles; \btu\per\percent}
43
+ * @symrow{Q_{total}; Total heat loss; \btu\per\hour}
44
+ * @symrow{VFR_{total}; Corrected volume flow rate; \cubicFoot\per\minute}
45
+ * @symrow{Q_{flue}; Total heat value per unit volume; \btu\per\cubicFoot}
46
+ * @symrow{60; Minutes per hour - see @ref physics::conversions::kMinutesPerHour; \minute\per\hour}
34
47
  * @endsymtable
35
48
  */
36
49
 
37
50
  /**
38
- * @defgroup exhaust_gas_total_heat_value_cpp_formula Total Heat Value per Unit Volume Formula
51
+ * @defgroup exhaust_gas_total_vfr_cpp_formula Corrected Volume Flow Rate Formula
39
52
  * @ingroup exhaust_gas_heat_loss_electric_arc_furnace_calculator
40
- * @formula{exhaust-gas-total-heat-value-cpp; Q_{flue} = Q_{chem} + 0.0225 \cdot (T_{gas} - T_{ambient}) + Dust_{loading} \cdot 0.25 \cdot (T_{gas} - T_{ambient})}
53
+ * @brief Conversion of measured flow rate to standard conditions.
54
+ * @details The measured volume flow rate is corrected to standard temperature (520°R = 60°F) using the ideal gas law temperature correction.
55
+ *
56
+ * @formula{exhaust-gas-total-vfr-cpp; VFR_{total} = VFR_{measured} \cdot \frac{T_{std}}{460 + T_{gas}}}
57
+ *
41
58
  * @subheading{Symbols}
42
59
  * @symtable
43
- * @symrow{Q_{flue}; Total heat value per unit volume; \btu}
44
- * @symrow{Q_{chem}; Chemical heat per unit volume; \btu}
45
- * @symrow{0.0225; Sensible heat factor; \btu\per\degreeFahrenheit}
60
+ * @symrow{VFR_{total}; Corrected volume flow rate; \cubicFoot\per\minute}
61
+ * @symrow{VFR_{measured}; Measured volume flow rate; \cubicFoot\per\minute}
62
+ * @symrow{T_{std}; Standard gas temperature - see @ref physics::us::kStandardGasTemperatureR; \degreeRankine}
63
+ * @symrow{460; Fahrenheit to Rankine offset - see @ref physics::conversions::kFahrenheitToRankineOffset; \degreeRankine}
46
64
  * @symrow{T_{gas}; Exhaust gas temperature; \degreeFahrenheit}
47
- * @symrow{T_{ambient}; Ambient/reference temperature; \degreeFahrenheit}
48
- * @symrow{Dust_{loading}; Dust loading in exhaust gas; \pound\per\cubic\foot}
49
- * @symrow{0.25; Dust heat factor; \btu\per\degreeFahrenheit}
50
65
  * @endsymtable
51
66
  */
52
67
 
53
68
  /**
54
- * @defgroup exhaust_gas_total_vfr_cpp_formula Corrected Volume Flow Rate Formula
69
+ * @defgroup exhaust_gas_total_heat_value_cpp_formula Total Heat Value per Unit Volume Formula
55
70
  * @ingroup exhaust_gas_heat_loss_electric_arc_furnace_calculator
56
- * @formula{exhaust-gas-total-vfr-cpp; VFR_{total} = VFR_{measured} \cdot \frac{T_{std}}{460 + T_{gas}}}
71
+ * @brief Heat content per unit volume of exhaust gas.
72
+ * @details The total heat value includes chemical heat from unburned combustibles plus sensible heat from the
73
+ * temperature of the gas and entrained dust.
74
+ *
75
+ * @formula{exhaust-gas-total-heat-value-cpp; Q_{flue} = Q_{chem} + 0.0225 \cdot (T_{gas} - T_{ambient}) + Dust_{loading} \cdot 0.25 \cdot (T_{gas} - T_{ambient})}
76
+ *
57
77
  * @subheading{Symbols}
58
78
  * @symtable
59
- * @symrow{VFR_{total}; Corrected volume flow rate; \ft\cubed\per\minute}
60
- * @symrow{VFR_{measured}; Measured volume flow rate; \ft\cubed\per\minute}
61
- * @symrow{T_{std}; Standard gas temperature (520 °F); \degreeFahrenheit}
79
+ * @symrow{Q_{flue}; Total heat value per unit volume; \btu\per\cubicFoot}
80
+ * @symrow{Q_{chem}; Chemical heat per unit volume; \btu\per\cubicFoot}
81
+ * @symrow{0.0225; Sensible heat factor for gas; \btu\per\cubicFoot\degreeFahrenheit}
62
82
  * @symrow{T_{gas}; Exhaust gas temperature; \degreeFahrenheit}
83
+ * @symrow{T_{ambient}; Ambient/reference temperature; \degreeFahrenheit}
84
+ * @symrow{Dust_{loading}; Dust loading in exhaust gas; \pound\per\cubicFoot}
85
+ * @symrow{0.25; Dust heat factor; \btu\per\pound\degreeFahrenheit}
63
86
  * @endsymtable
64
87
  */
65
88
 
66
89
  /**
67
- * @defgroup exhaust_gas_total_heat_loss_cpp_formula Total Heat Loss Formula
90
+ * @defgroup exhaust_gas_chemical_heat_cpp_formula Chemical Heat Formula
68
91
  * @ingroup exhaust_gas_heat_loss_electric_arc_furnace_calculator
69
- * @formula{exhaust-gas-total-heat-loss-cpp; Q_{total} = VFR_{total} \cdot Q_{flue} \cdot 60}
92
+ * @brief Chemical heat from unburned combustibles.
93
+ * @details The chemical heat represents the heating value of unburned combustibles (CO, H₂, and other combustibles)
94
+ * in the exhaust gas. Each component is multiplied by its heating value and summed.
95
+ *
96
+ * @formula{exhaust-gas-chemical-heat-cpp; Q_{chem} = \frac{CO \cdot 321 + H_{2} \cdot 325 + Combustibles \cdot 1020}{100}}
97
+ *
70
98
  * @subheading{Symbols}
71
99
  * @symtable
72
- * @symrow{Q_{total}; Total heat loss; \btu\per\hour}
73
- * @symrow{VFR_{total}; Corrected volume flow rate; \ft\cubed\per\minute}
74
- * @symrow{Q_{flue}; Total heat value per unit volume; \btu}
75
- * @symrow{60; Minutes per hour; \minute\per\hour}
100
+ * @symrow{Q_{chem}; Chemical heat per unit volume; \btu\per\cubicFoot}
101
+ * @symrow{CO; Percent CO in exhaust gas; \percent}
102
+ * @symrow{H_{2}; Percent @math{H_2} in exhaust gas; \percent}
103
+ * @symrow{Combustibles; Percent other combustibles in exhaust gas; \percent}
104
+ * @symrow{321; Heating value for CO; \btu\per\cubicFoot\per\percent}
105
+ * @symrow{325; Heating value for @math{H_2}; \btu\per\cubicFoot\per\percent}
106
+ * @symrow{1020; Heating value for other combustibles; \btu\per\cubicFoot\per\percent}
107
+ * @symrow{100; Percentage conversion factor; \unitless}
76
108
  * @endsymtable
77
109
  */
@@ -7,16 +7,27 @@
7
7
  * temperature. These fixtures absorb heat from the furnace as they are heated from their initial temperature to the
8
8
  * final furnace temperature. The calculator computes the total heat loss based on the feed rate, specific heat of the
9
9
  * fixture material, initial and final temperatures, and a correction factor @cite trinks2003industrial. The calculation
10
- * assumes there is no melting or phase change of the fixture material involved. Relevant formulas are documented below.
10
+ * assumes there is no melting or phase change of the fixture material involved.
11
11
  *
12
- * @heading{Heat Loss}
12
+ * The calculation follows a top-down approach:
13
+ * 1. **Total Heat Loss** - Calculate sensible heat absorbed by fixtures as they are heated
14
+ *
15
+ * Relevant formulas are documented below.
16
+ *
17
+ * @heading{Total Heat Loss}
13
18
  * @copydoc fixture_heat_loss_formula
14
19
  */
15
20
 
16
21
  /**
17
22
  * @defgroup fixture_heat_loss_formula Fixture Heat Loss Formula
18
23
  * @ingroup fixture_heat_loss_calculator
24
+ * @brief Total heat loss due to fixture heating.
25
+ * @details The heat loss is the sensible heat required to raise the temperature of the fixture material from its
26
+ * initial temperature to the final (furnace) temperature, adjusted by a correction factor. This represents energy
27
+ * absorbed by the fixtures that is not available for the primary heating process.
28
+ *
19
29
  * @formula{fixture-heat-loss; Q = \dot{m} \cdot c_p \cdot (T_\text{final} - T_\text{initial}) \cdot f_\text{corr}}
30
+ *
20
31
  * @subheading{Symbols}
21
32
  * @symtable
22
33
  * @symrow{Q; Heat loss; \btu\per\hour}
@@ -2,29 +2,38 @@
2
2
  * @defgroup gas_cooling_heat_loss_calculator Gas Cooling Heat Loss Calculator
3
3
  * @ingroup heat_loss_calculators
4
4
  * @brief Calculates heat loss due to gas (including air) cooling in process heating equipment.
5
- * @details This calculator estimates the heat removed by gas cooling systems, using flow rate, gas density, inlet and outlet temperatures, specific heat, and a correction factor. The algorithm is suitable for modeling cooling losses in industrial furnaces, ovens, and similar systems, for gases including air.
5
+ * @details This calculator estimates the heat removed by gas cooling systems, using flow rate, gas density,
6
+ * inlet and outlet temperatures, specific heat, and a correction factor. The algorithm is suitable for modeling
7
+ * cooling losses in industrial furnaces, ovens, and similar systems, for gases including air.
8
+ *
9
+ * The calculation follows a top-down approach:
10
+ * 1. **Total Heat Loss** - Calculate heat removed by gas based on flow rate, density, specific heat, and temperature rise
11
+ *
6
12
  * @heading{Total Gas Cooling Heat Loss}
7
13
  * @copydoc gas_cooling_heat_loss_formula
8
14
  *
9
15
  * @note For heat losses due to liquid cooling see @ref liquid_cooling_heat_loss_calculator or for water see @ref water_cooling_heat_loss_calculator.
10
- *
11
- *
12
- * @see Perry’s Chemical Engineers’ Handbook; NIST Engineering Statistics
16
+ * @see Perry's Chemical Engineers' Handbook; NIST Engineering Statistics
17
+ * @see physics::conversions::kMinutesPerHour for time conversion
13
18
  */
14
19
 
15
20
  /**
16
21
  * @defgroup gas_cooling_heat_loss_formula Gas Cooling Heat Loss Formula
17
22
  * @ingroup gas_cooling_heat_loss_calculator
23
+ * @brief Total heat loss due to gas cooling.
24
+ * @details The heat loss is calculated by multiplying the gas flow rate, density, specific heat, temperature rise,
25
+ * and correction factor. The factor of 60 converts from standard cubic feet per minute to standard cubic feet per hour.
26
+ *
18
27
  * @formula{gas-cooling-heat-loss; Q_\text{cool} = FR \cdot 60 \cdot \rho_{g,lb/ft^3} \cdot SH \cdot \Delta T \cdot CF}
28
+ *
19
29
  * @subheading{Symbols}
20
30
  * @symtable
21
31
  * @symrow{Q_\text{cool}; Gas cooling heat loss; \btu\per\hour}
22
- * @symrow{FR; Gas flow rate; \foot\cubed\per\minute}
23
- * @symrow{60; Minutes per hour (SCFM to SCFH conversion); \unitless}
24
- * @symrow{\rho_{g,lb/ft^3}; Gas density; \pound\per\cubic\foot}
25
- * @symrow{SH; Specific heat of gas; \btu\per\scf\per\degreeFahrenheit}
32
+ * @symrow{FR; Gas flow rate; \cubicFoot\per\minute}
33
+ * @symrow{60; Minutes per hour (SCFM to SCFH conversion) - see @ref physics::conversions::kMinutesPerHour; \unitless}
34
+ * @symrow{\rho_{g,lb/ft^3}; Gas density; \pound\per\cubicFoot}
35
+ * @symrow{SH; Specific heat of gas; \btu\per\pound\degreeFahrenheit}
26
36
  * @symrow{\Delta T; Temperature rise (outlet - inlet); \degreeFahrenheit}
27
37
  * @symrow{CF; Correction factor; \unitless}
28
38
  * @endsymtable
29
- * @details The formula multiplies flow rate (SCFM), minutes per hour, gas density, specific heat, temperature rise, and correction factor to obtain total heat loss.
30
39
  */