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.
- package/bin/client.js +1 -1
- package/bin/client.wasm +0 -0
- package/bin/package.json +1 -1
- package/docs/dox-content/calculators/atmosphere_heat_loss_calculator.dox +15 -6
- package/docs/dox-content/calculators/auxiliary_power_used_calculator.dox +16 -4
- package/docs/dox-content/calculators/energy_input_electric_arc_furnace_calculator.dox +35 -15
- package/docs/dox-content/calculators/energy_input_exhaust_gas_heat_loss_calculator.dox +83 -35
- package/docs/dox-content/calculators/exhaust_gas_heat_loss_electric_arc_furnace_calculator.dox +61 -29
- package/docs/dox-content/calculators/fixture_heat_loss_calculator.dox +13 -2
- package/docs/dox-content/calculators/gas_cooling_heat_loss_calculator.dox +18 -9
- package/docs/dox-content/calculators/gas_flue_gas_calculator.dox +294 -134
- package/docs/dox-content/calculators/gas_load_charge_material_heat_required_calculator.dox +9 -1
- package/docs/dox-content/calculators/leakage_heat_loss_calculator.dox +98 -17
- package/docs/dox-content/calculators/liquid_cooling_heat_loss_calculator.dox +17 -8
- package/docs/dox-content/calculators/liquid_load_charge_material_heat_required_calculator.dox +10 -1
- package/docs/dox-content/calculators/opening_heat_loss_calculator.dox +11 -2
- package/docs/dox-content/calculators/slag_other_material_heat_loss_calculator.dox +16 -2
- package/docs/dox-content/calculators/solid_liquid_flue_gas_calculator.dox +295 -219
- package/docs/dox-content/calculators/solid_load_charge_material_heat_required_calculator.dox +18 -4
- package/docs/dox-content/calculators/wall_heat_loss_calculator.dox +24 -5
- package/docs/dox-content/calculators/water_cooling_heat_loss_calculator.dox +26 -7
- package/docs/dox-content/physics/constants.dox +70 -0
- package/package.json +1 -1
package/docs/dox-content/calculators/solid_load_charge_material_heat_required_calculator.dox
CHANGED
|
@@ -2,7 +2,19 @@
|
|
|
2
2
|
* @defgroup solid_load_charge_material_heat_required_calculator Solid Load Charge Material Heat Required Calculator
|
|
3
3
|
* @ingroup heat_loss_calculators
|
|
4
4
|
* @brief Calculates total heat required for a solid load/charge material.
|
|
5
|
-
* @details The following formulas describe the calculation of total heat required for a solid load/charge material,
|
|
5
|
+
* @details The following formulas describe the calculation of total heat required for a solid load/charge material,
|
|
6
|
+
* including sensible heat, latent heat, vaporization, reaction heat, and additional heat. Each step is documented
|
|
7
|
+
* with its own formula and symbol table.
|
|
8
|
+
*
|
|
9
|
+
* The calculation follows a top-down approach:
|
|
10
|
+
* 1. **Total Heat Required** - Sum of moisture removal, solid heating, reaction heat, and additional heat
|
|
11
|
+
* 2. **Moisture Removal** - Heat to evaporate water content (varies based on discharge temperature)
|
|
12
|
+
* - Below boiling: Sensible heat only
|
|
13
|
+
* - Above boiling: Sensible heat to boiling + latent heat + sensible heat of vapor
|
|
14
|
+
* 3. **Solid Heating** - Heat to raise temperature of dry solid (varies based on melting)
|
|
15
|
+
* - Below melting: Sensible heat only
|
|
16
|
+
* - Above melting: Sensible heat to melting + latent heat + sensible heat of liquid/remaining solid
|
|
17
|
+
* 4. **Heat of Reaction** - Endothermic reaction heat if applicable
|
|
6
18
|
*
|
|
7
19
|
* @heading{Total Heat Required}
|
|
8
20
|
* @copydoc solid_load_charge_material_total_heat_required_cpp_formula
|
|
@@ -10,7 +22,7 @@
|
|
|
10
22
|
* @heading{Moisture Removal (Below boiling point)}
|
|
11
23
|
* @copydoc solid_load_charge_material_moisture_removal_cpp_formula
|
|
12
24
|
*
|
|
13
|
-
* @heading{Moisture Removal (Above boiling point)}
|
|
25
|
+
* @heading{Moisture Removal (Above boiling point)}
|
|
14
26
|
* @copydoc solid_load_charge_material_moisture_removal_above_boiling_cpp_formula
|
|
15
27
|
*
|
|
16
28
|
* @heading{Heat for Remaining Moisture}
|
|
@@ -19,15 +31,17 @@
|
|
|
19
31
|
* @heading{Solid Heating (Below melting point)}
|
|
20
32
|
* @copydoc solid_load_charge_material_sensible_heat_cpp_formula
|
|
21
33
|
*
|
|
22
|
-
* @heading{Solid Heating (Above melting point)}
|
|
34
|
+
* @heading{Solid Heating (Above melting point)}
|
|
23
35
|
* @copydoc solid_load_charge_material_full_heat_cpp_formula
|
|
24
36
|
*
|
|
25
37
|
* @heading{Heat of Reaction}
|
|
26
38
|
* @copydoc solid_load_charge_material_heat_of_reaction_cpp_formula
|
|
27
39
|
*
|
|
28
40
|
* @see solid_load_charge_material_data_database
|
|
41
|
+
* @see physics::us::kWaterBoilingPointF for water boiling point
|
|
42
|
+
* @see physics::us::kWaterEvaporation for latent heat of evaporation
|
|
43
|
+
* @see physics::us::kSpecificHeatWaterVapor for water vapor specific heat
|
|
29
44
|
*/
|
|
30
|
-
|
|
31
45
|
/**
|
|
32
46
|
* @defgroup solid_load_charge_material_total_heat_required_cpp_formula Total Heat Required Formula
|
|
33
47
|
* @ingroup solid_load_charge_material_heat_required_calculator
|
|
@@ -5,9 +5,14 @@
|
|
|
5
5
|
* @details This calculator can be used to calculate fuel savings from improving wall insulation or otherwise reduce
|
|
6
6
|
* heat lost through the walls. Wall losses occur as heat is transferred from the outer surface of the walls or casing
|
|
7
7
|
* of process heating equipment to the surrounding environment. This can occur via convection and radiation. Wall losses
|
|
8
|
-
* are high for systems that are poorly insulated or use poorly designed materials or surfaces.
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* are high for systems that are poorly insulated or use poorly designed materials or surfaces.
|
|
9
|
+
*
|
|
10
|
+
* The calculation follows a top-down approach:
|
|
11
|
+
* 1. **Total Heat Loss** - Sum of convective and radiative losses, adjusted by correction factor
|
|
12
|
+
* 2. **Convective Heat Loss** - Heat transfer due to air movement around the wall surface
|
|
13
|
+
* 3. **Radiative Heat Loss** - Heat transfer due to thermal radiation from the wall surface
|
|
14
|
+
*
|
|
15
|
+
* Relevant formulas and factors are documented below.
|
|
11
16
|
*
|
|
12
17
|
* @heading{Total Heat Loss}
|
|
13
18
|
* @copydoc wall_total_heat_loss_formula
|
|
@@ -25,7 +30,12 @@
|
|
|
25
30
|
/**
|
|
26
31
|
* @defgroup wall_total_heat_loss_formula Wall Total Heat Loss Formula
|
|
27
32
|
* @ingroup wall_heat_loss_calculator
|
|
33
|
+
* @brief Total heat loss from wall to ambient environment.
|
|
34
|
+
* @details The total heat loss is the sum of convective and radiative components, multiplied by a correction factor
|
|
35
|
+
* to account for operational conditions and uncertainties.
|
|
36
|
+
*
|
|
28
37
|
* @formula{wall-total-heat-loss; Q_\text{total} = \left(Q_\text{conv} + Q_\text{rad}\right) \cdot f_\text{corr}}
|
|
38
|
+
*
|
|
29
39
|
* @subheading{Symbols}
|
|
30
40
|
* @symtable
|
|
31
41
|
* @symrow{Q_\text{total}; Total heat loss; \btu\per\hour}
|
|
@@ -38,24 +48,33 @@
|
|
|
38
48
|
/**
|
|
39
49
|
* @defgroup wall_convective_heat_loss_formula Wall Convective Heat Loss Formula
|
|
40
50
|
* @ingroup wall_heat_loss_calculator
|
|
51
|
+
* @brief Heat loss due to natural and forced convection.
|
|
52
|
+
* @details Convective heat loss is calculated using the convection coefficient, surface area, and temperature difference.
|
|
53
|
+
* The convection coefficient accounts for geometry (shape factor), operating conditions (duty factor), temperature effects,
|
|
54
|
+
* and wind velocity.
|
|
55
|
+
*
|
|
41
56
|
* @formula{wall-qconv; Q_\text{conv} = h A \Delta T}
|
|
57
|
+
*
|
|
42
58
|
* @subheading{Convection Coefficient}
|
|
43
|
-
* @formula{wall-h; h = f_\text{shape} \cdot f_\text{duty} \cdot f_{\Delta T} \cdot f_{\bar{T}} \cdot
|
|
44
|
-
*
|
|
59
|
+
* @formula{wall-h; h = f_\text{shape} \cdot f_\text{duty} \cdot f_{\Delta T} \cdot f_{\bar{T}} \cdot f_\text{wind}}
|
|
60
|
+
*
|
|
45
61
|
* @subheading{Factors}
|
|
46
62
|
* @formula{wall-duty; f_\text{duty} = \left(\frac{1}{24}\right)^{0.2}}
|
|
47
63
|
* @formula{wall-dTfactor; f_{\Delta T} = (\Delta T)^{0.266}}
|
|
48
64
|
* @formula{wall-Tbarfactor; f_{\bar{T}} = \left(\frac{1}{\bar{T}}\right)^{0.181}}
|
|
49
65
|
* @formula{wall-windfactor; f_\text{wind} = \sqrt{1 + 1.277 \cdot v_\text{wind}}}
|
|
66
|
+
*
|
|
50
67
|
* @subheading{Temperature Definitions}
|
|
51
68
|
* @formula{wall-dT; \Delta T = T_s - T_a}
|
|
52
69
|
* @formula{wall-Tbar; \bar{T} = \frac{T_s + T_a}{2}}
|
|
70
|
+
*
|
|
53
71
|
* @subheading{Symbols}
|
|
54
72
|
* @symtable
|
|
55
73
|
* @symrow{Q_\text{conv}; Convective heat loss; \btu\per\hour}
|
|
56
74
|
* @symrow{h; Convection coefficient; \btu\per\hour\foot\squared\degreeFahrenheit}
|
|
57
75
|
* @symrow{A; Surface area; \foot\squared}
|
|
58
76
|
* @symrow{\Delta T; Temperature difference between surface and ambient; \degreeFahrenheit}
|
|
77
|
+
* @symrow{\bar{T}; Mean temperature; \degreeFahrenheit}
|
|
59
78
|
* @symrow{f_\text{shape}; @ref shape_factors "Shape factor"; \unitless}
|
|
60
79
|
* @symrow{f_\text{duty}; Duty factor; \unitless}
|
|
61
80
|
* @symrow{f_{\Delta T}; Temperature difference factor; \unitless}
|
|
@@ -2,7 +2,14 @@
|
|
|
2
2
|
* @defgroup water_cooling_heat_loss_calculator Water Cooling Heat Loss Calculator
|
|
3
3
|
* @ingroup heat_loss_calculators
|
|
4
4
|
* @brief Calculates heat loss due to water cooling in process heating equipment.
|
|
5
|
-
* @details This calculator estimates the heat removed by water cooling systems, using flow rate, inlet and outlet
|
|
5
|
+
* @details This calculator estimates the heat removed by water cooling systems, using flow rate, inlet and outlet
|
|
6
|
+
* temperatures, and a correction factor. It accounts for water density variation with temperature and converts between
|
|
7
|
+
* SI and U.S. Customary units as needed. The algorithm is suitable for modeling cooling losses in industrial furnaces,
|
|
8
|
+
* ovens, and similar systems.
|
|
9
|
+
*
|
|
10
|
+
* The calculation follows a top-down approach:
|
|
11
|
+
* 1. **Total Heat Loss** - Calculate heat removed by water based on flow rate and temperature rise
|
|
12
|
+
* 2. **Water Density** - Compute temperature-dependent water density for accurate mass flow calculation
|
|
6
13
|
*
|
|
7
14
|
* @heading{Total Water Cooling Heat Loss}
|
|
8
15
|
* @copydoc water_cooling_heat_loss_formula
|
|
@@ -11,35 +18,47 @@
|
|
|
11
18
|
* @copydoc water_density_formula
|
|
12
19
|
*
|
|
13
20
|
* @note For heat losses due to liquid cooling see @ref liquid_cooling_heat_loss_calculator or for gas cooling see @ref gas_cooling_heat_loss_calculator.
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* @see
|
|
21
|
+
* @see Perry's Chemical Engineers' Handbook; NIST Engineering Statistics; Tanaka et al. (2001)
|
|
22
|
+
* @see physics::si::kWaterDensityBase for the base water density constant
|
|
23
|
+
* @see physics::conversions::kMinutesPerHour for time conversion
|
|
24
|
+
* @see physics::conversions::kKgPerM3ToLbPerGal for density unit conversion
|
|
17
25
|
*/
|
|
18
26
|
|
|
19
27
|
/**
|
|
20
28
|
* @defgroup water_cooling_heat_loss_formula Water Cooling Heat Loss Formula
|
|
21
29
|
* @ingroup water_cooling_heat_loss_calculator
|
|
30
|
+
* @brief Total heat loss due to water cooling.
|
|
31
|
+
* @details The heat loss is calculated by multiplying the water flow rate, water density, temperature rise,
|
|
32
|
+
* and correction factor. Water density is temperature-dependent and calculated using the Tanaka correlation.
|
|
33
|
+
* The factor of 60 converts from gallons per minute to gallons per hour.
|
|
34
|
+
*
|
|
22
35
|
* @formula{water-cooling-heat-loss; Q_\text{cool} = FR \cdot 60 \cdot \rho_{w,lb/gal} \cdot \Delta T \cdot CF}
|
|
36
|
+
*
|
|
23
37
|
* @subheading{Symbols}
|
|
24
38
|
* @symtable
|
|
25
39
|
* @symrow{Q_\text{cool}; Water cooling heat loss; \btu\per\hour}
|
|
26
40
|
* @symrow{FR; Water flow rate; \gallon\per\minute}
|
|
27
|
-
* @symrow{60; Minutes per hour (GPM to GPH conversion); \unitless}
|
|
41
|
+
* @symrow{60; Minutes per hour (GPM to GPH conversion) - see @ref physics::conversions::kMinutesPerHour; \unitless}
|
|
28
42
|
* @symrow{\rho_{w,lb/gal}; Water density; \pound\per\gallon}
|
|
29
43
|
* @symrow{\Delta T; Temperature rise (outlet - inlet); \degreeFahrenheit}
|
|
30
44
|
* @symrow{CF; Correction factor; \unitless}
|
|
31
45
|
* @endsymtable
|
|
32
|
-
* @details Water density is calculated using Tanaka et al. (2001) empirical formula, then converted to lb/gal. The formula multiplies flow rate (GPM), minutes per hour, water density, temperature rise, and correction factor to obtain total heat loss.
|
|
33
46
|
*/
|
|
34
47
|
|
|
35
48
|
/**
|
|
36
49
|
* @defgroup water_density_formula Water Density Calculation Formula
|
|
37
50
|
* @ingroup water_cooling_heat_loss_calculator
|
|
51
|
+
* @brief Temperature-dependent water density calculation.
|
|
52
|
+
* @details This formula from Tanaka et al. (2001) calculates the density of water as a function of temperature.
|
|
53
|
+
* The base density of 1000 kg/m³ (see @ref physics::si::kWaterDensityBase) is adjusted by a temperature-dependent
|
|
54
|
+
* correction factor. The result is converted to lb/gal using @ref physics::conversions::kKgPerM3ToLbPerGal.
|
|
55
|
+
*
|
|
38
56
|
* @formula{water-density-tanaka; \rho_w = 1000 \left[1 - \frac{(T_C + 288.9414)}{508929.2 (T_C + 68.12963)} (T_C - 3.9863)^2 \right]}
|
|
57
|
+
*
|
|
39
58
|
* @subheading{Symbols}
|
|
40
59
|
* @symtable
|
|
41
60
|
* @symrow{\rho_w; Water density; \kilogram\per\meter\cubed}
|
|
42
61
|
* @symrow{T_C; Average water temperature; \degreeCelsius}
|
|
62
|
+
* @symrow{1000; Base water density - see @ref physics::si::kWaterDensityBase; \kilogram\per\meter\cubed}
|
|
43
63
|
* @endsymtable
|
|
44
|
-
* @details This formula is from Tanaka et al. (2001) and is used to calculate the density of water as a function of temperature in degrees Celsius.
|
|
45
64
|
*/
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @defgroup physics_constants Physics Constants
|
|
3
|
+
* @ingroup physics
|
|
4
|
+
* @brief Physical constants used in process heating and thermodynamic calculations.
|
|
5
|
+
* @details
|
|
6
|
+
* This page documents the fundamental physical constants used throughout the MEASUR Tools Suite for heat transfer,
|
|
7
|
+
* thermodynamic, and energy calculations. Constants are provided in both SI (Standard International) and
|
|
8
|
+
* U.S. Customary units to support various engineering applications.
|
|
9
|
+
*
|
|
10
|
+
* The constants are organized by unit system and include:
|
|
11
|
+
* - **Radiation Constants:** Stefan-Boltzmann constant for thermal radiation calculations
|
|
12
|
+
* - **Water Properties:** Specific heat, latent heat, boiling point, and density
|
|
13
|
+
* - **Temperature Conversions:** Offsets and conversion factors between unit systems
|
|
14
|
+
* - **Energy Conversions:** Kilowatt to BTU/hr and other power unit conversions
|
|
15
|
+
*
|
|
16
|
+
* All constants are defined with appropriate units and source references where applicable.
|
|
17
|
+
*
|
|
18
|
+
* @heading{SI Unit System Constants}
|
|
19
|
+
* The following constants are defined in Standard International (SI) units:
|
|
20
|
+
*
|
|
21
|
+
* | Constant Name | Symbol | Value | Unit | Description |
|
|
22
|
+
* |------------------------------------|--------|-----------------|--------------------------------------|-------------|
|
|
23
|
+
* | Stefan-Boltzmann constant | @math{\sigma} | @qty{5.670374419e-8; \watt\per\meter\squared\kelvin\tothe{4}} | physics::si::kStefanBoltzmann | Radiation heat transfer constant |
|
|
24
|
+
* | Standard water density at 4°C | @math{\rho_w} | @qty{1000.0; \kilogram\per\meter\cubed} | physics::si::kWaterDensityBase | Base density for water property calculations |
|
|
25
|
+
*
|
|
26
|
+
* @heading{U.S. Customary Unit System Constants}
|
|
27
|
+
* The following constants are defined in U.S. Customary units:
|
|
28
|
+
*
|
|
29
|
+
* | Constant Name | Symbol | Value | Unit | Description |
|
|
30
|
+
* |------------------------------------|--------|-----------------|--------------------------------------|-------------|
|
|
31
|
+
* | Stefan-Boltzmann constant | @math{\sigma} | @qty{1.713441e-9; \btu\per\hour\foot\squared\degreeRankine\tothe{4}} | physics::us::kStefanBoltzmann | Radiation heat transfer constant (see @cite capehart2007guide) |
|
|
32
|
+
* | Water boiling point | @math{T_{boil}} | @qty{212.0; \degreeFahrenheit} | physics::us::kWaterBoilingPointF | Standard atmospheric pressure boiling point |
|
|
33
|
+
* | Specific heat of water vapor | @math{C_{p,vapor}} | @qty{0.481; \btu\per\pound\degreeFahrenheit} | physics::us::kSpecificHeatWaterVapor | Specific heat capacity of water vapor |
|
|
34
|
+
* | Latent heat of evaporation | @math{H_{evap}} | @qty{970.0; \btu\per\pound} | physics::us::kWaterEvaporation | Heat required for water phase change |
|
|
35
|
+
* | Standard gas temperature | @math{T_{std}} | @qty{520.0; \degreeRankine} | physics::us::kStandardGasTemperatureR | Reference temperature (60°F + 460) for gas calculations |
|
|
36
|
+
* | Ambient reference temperature | @math{T_{amb}} | @qty{60.0; \degreeFahrenheit} | physics::us::kAmbientTemperatureF | Standard ambient temperature for calculations |
|
|
37
|
+
* | Base specific heat of air | @math{C_{p,air,base}} | @qty{0.017828518; \btu\per\pound\degreeFahrenheit} | physics::us::kSpecificHeatAirBase | Base value for exhaust gas calculations |
|
|
38
|
+
* | Specific heat temperature coefficient | @math{C_{p,air,coeff}} | @qty{0.000002556; \btu\per\pound\degreeFahrenheit\per\degreeFahrenheit} | physics::us::kSpecificHeatAirCoeff | Temperature-dependent coefficient |
|
|
39
|
+
* | Air correction base | - | @qty{-1.078913827; \btu\per\pound} | physics::us::kAirCorrectionBase | Correction term for exhaust gas calculations |
|
|
40
|
+
*
|
|
41
|
+
* @heading{Unit Conversion Constants}
|
|
42
|
+
* The following constants are used for converting between different unit systems:
|
|
43
|
+
*
|
|
44
|
+
* | Constant Name | Symbol | Value | Unit | Description |
|
|
45
|
+
* |------------------------------------|--------|-----------------|--------------------------------------|-------------|
|
|
46
|
+
* | Fahrenheit to Rankine offset | - | @qty{459.67; \degreeRankine} | physics::conversions::kFahrenheitToRankineOffset | Add to °F to get °R |
|
|
47
|
+
* | Hours per day | - | 24.0 | @unitb{\unitless} | physics::conversions::kHoursPerDay | Time conversion factor |
|
|
48
|
+
* | Minutes per hour | - | 60.0 | @unitb{\unitless} | physics::conversions::kMinutesPerHour | Time conversion factor |
|
|
49
|
+
* | Kilowatt to BTU/hr | - | @qty{3412.136247820839; \btu\per\hour\per\kilowatt} | physics::conversions::kKilowattToBtuPerHour | Energy conversion factor |
|
|
50
|
+
* | kg/m³ to lb/gal | - | @qty{0.0083454; \pound\per\gallon\per\kilogram\per\meter\cubed} | physics::conversions::kKgPerM3ToLbPerGal | Density conversion factor |
|
|
51
|
+
*
|
|
52
|
+
* @heading{Temperature Conversion Formulas}
|
|
53
|
+
* @subheading{Fahrenheit to Rankine}
|
|
54
|
+
* @formula{fahrenheit-to-rankine-const; T_R = T_F + 459.67}
|
|
55
|
+
* @subheading{Fahrenheit to Celsius}
|
|
56
|
+
* @formula{fahrenheit-to-celsius-const; T_C = \frac{5}{9}(T_F - 32)}
|
|
57
|
+
*
|
|
58
|
+
* @par Symbol Definitions
|
|
59
|
+
* @symtable
|
|
60
|
+
* @symrow{T_R; Temperature in degrees Rankine; \degreeRankine}
|
|
61
|
+
* @symrow{T_F; Temperature in degrees Fahrenheit; \degreeFahrenheit}
|
|
62
|
+
* @symrow{T_C; Temperature in degrees Celsius; \degreeCelsius}
|
|
63
|
+
* @endsymtable
|
|
64
|
+
*
|
|
65
|
+
* @note All constants are inline constexpr in C++ for compile-time optimization.
|
|
66
|
+
* @see physics::si Namespace for SI unit constants
|
|
67
|
+
* @see physics::us Namespace for U.S. Customary unit constants
|
|
68
|
+
* @see physics::conversions Namespace for unit conversion constants
|
|
69
|
+
* @see gas_constants for thermodynamic and stoichiometric constants
|
|
70
|
+
*/
|