measur-tools-suite 1.0.14-beta.192 → 1.0.14-beta.199

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.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-beta.192",
3
+ "version": "1.0.14-beta.199",
4
4
  "engines": {
5
5
  "node": "20.19.4",
6
6
  "npm": "10.8.2"
@@ -35,6 +35,7 @@
35
35
  /**
36
36
  * @defgroup liquid_load_charge_material_sensible_heat_cpp_formula Sensible Heat (Below Vaporizing Temp) Formula
37
37
  * @ingroup liquid_load_charge_material_heat_required_calculator
38
+ * @details The total heat required when discharge temperature is below vaporizing temperature.
38
39
  * @formula{liquid-load-charge-material-sensible-heat-cpp; Q_{liq} = m_{feed} \cdot C_{p,liq} \cdot (T_{discharge} - T_{initial})}
39
40
  * @subheading{Symbols}
40
41
  * @symtable
@@ -49,23 +50,14 @@
49
50
  /**
50
51
  * @defgroup liquid_load_charge_material_full_heat_cpp_formula Full Heating (Above Vaporizing Temp) Formula
51
52
  * @ingroup liquid_load_charge_material_heat_required_calculator
52
- * @details The total heat required when discharge temperature is above vaporizing temperature is calculated in multiple steps:
53
+ * @details The total heat required when discharge temperature is above vaporizing temperature.
53
54
  *
54
- * Step 1: Sensible heat to vaporizing temperature:
55
+ * @formula{liquid-load-charge-material-full-heat-cpp; Q_{liq} = Q_{sens,liq} + Q_{vap} + Q_{sens,vapor} + Q_{sens,remliq}}
55
56
  * @formula{liquid-load-charge-material-sensible-heat-to-vaporizing-cpp; Q_{sens,liq} = m_{feed} \cdot C_{p,liq} \cdot (T_{vaporizing} - T_{initial})}
56
- *
57
- * Step 2: Vaporization heat for vaporized fraction:
58
57
  * @formula{liquid-load-charge-material-vaporization-heat-cpp; Q_{vap} = m_{feed} \cdot f_{vaporized} \cdot H_{latent}}
59
- *
60
- * Step 3: Sensible heat for vaporized fraction (vapor):
61
58
  * @formula{liquid-load-charge-material-sensible-heat-vapor-cpp; Q_{sens,vapor} = m_{feed} \cdot f_{vaporized} \cdot C_{p,vapor} \cdot (T_{discharge} - T_{vaporizing})}
62
- *
63
- * Step 4: Sensible heat for remaining liquid fraction:
64
59
  * @formula{liquid-load-charge-material-sensible-heat-remaining-liq-cpp; Q_{sens,remliq} = m_{feed} \cdot (1-f_{vaporized}) \cdot C_{p,liq} \cdot (T_{discharge} - T_{vaporizing})}
65
60
  *
66
- * Step 5: Sum all heat contributions:
67
- * @formula{liquid-load-charge-material-full-heat-cpp; Q_{liq} = Q_{sens,liq} + Q_{vap} + Q_{sens,vapor} + Q_{sens,remliq}}
68
- *
69
61
  * @subheading{Symbols}
70
62
  * @symtable
71
63
  * @symrow{Q_{liq}; Heat required for liquid heating/vaporization; \btu\per\hour}
@@ -0,0 +1,156 @@
1
+ /**
2
+ * @defgroup solid_load_charge_material_heat_required_calculator Solid Load Charge Material Heat Required Calculator
3
+ * @ingroup heat_loss_calculators
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, including sensible heat, latent heat, vaporization, reaction heat, and additional heat. Each step is documented with its own formula and symbol table.
6
+ *
7
+ * @heading{Total Heat Required}
8
+ * @copydoc solid_load_charge_material_total_heat_required_cpp_formula
9
+ *
10
+ * @heading{Moisture Removal (Below boiling point)}
11
+ * @copydoc solid_load_charge_material_moisture_removal_cpp_formula
12
+ *
13
+ * @heading{Moisture Removal (Above boiling point)}
14
+ * @copydoc solid_load_charge_material_moisture_removal_above_boiling_cpp_formula
15
+ *
16
+ * @heading{Heat for Remaining Moisture}
17
+ * @copydoc solid_load_charge_material_remaining_moisture_cpp_formula
18
+ *
19
+ * @heading{Solid Heating (Below melting point)}
20
+ * @copydoc solid_load_charge_material_sensible_heat_cpp_formula
21
+ *
22
+ * @heading{Solid Heating (Above melting point)}
23
+ * @copydoc solid_load_charge_material_full_heat_cpp_formula
24
+ *
25
+ * @heading{Heat of Reaction}
26
+ * @copydoc solid_load_charge_material_heat_of_reaction_cpp_formula
27
+ *
28
+ * @see solid_load_charge_material_data_database
29
+ */
30
+
31
+ /**
32
+ * @defgroup solid_load_charge_material_total_heat_required_cpp_formula Total Heat Required Formula
33
+ * @ingroup solid_load_charge_material_heat_required_calculator
34
+ * @formula{solid-load-charge-material-total-heat-required-cpp; Q_{total} = Q_{moisture} + Q_{solid} + Q_{reaction} + Q_{additional}}
35
+ * @subheading{Symbols}
36
+ * @symtable
37
+ * @symrow{Q_{total}; Total heat required; \btu\per\hour}
38
+ * @symrow{Q_{moisture}; Heat required for moisture removal; \btu\per\hour}
39
+ * @symrow{Q_{solid}; Heat required for solid heating/melting; \btu\per\hour}
40
+ * @symrow{Q_{reaction}; Heat of reaction; \btu\per\hour}
41
+ * @symrow{Q_{additional}; Additional heat required; \btu\per\hour}
42
+ * @endsymtable
43
+ */
44
+
45
+ /**
46
+ * @defgroup solid_load_charge_material_moisture_removal_cpp_formula Moisture Removal (Below boiling point) Formula
47
+ * @ingroup solid_load_charge_material_heat_required_calculator
48
+ * @details The total heat required when water vapor discharge temperature is below boiling point.
49
+ * @formula{solid-load-charge-material-moisture-removal-cpp; Q_{moisture} = m_{feed} \cdot f_{charged} \cdot (T_{vapor,discharge} - T_{initial})}
50
+ * @subheading{Symbols}
51
+ * @symtable
52
+ * @symrow{Q_{moisture}; Heat required for moisture removal; \btu\per\hour}
53
+ * @symrow{m_{feed}; Charge feed rate; \pound\per\hour}
54
+ * @symrow{f_{charged}; Fraction of water charged; \unitless}
55
+ * @symrow{T_{vapor,discharge}; Water vapor discharge temperature; \degreeFahrenheit}
56
+ * @symrow{T_{initial}; Initial temperature; \degreeFahrenheit}
57
+ * @endsymtable
58
+ */
59
+
60
+ /**
61
+ * @defgroup solid_load_charge_material_moisture_removal_above_boiling_cpp_formula Moisture Removal (Above boiling point) Formula
62
+ * @ingroup solid_load_charge_material_heat_required_calculator
63
+ * @details The total heat required when water vapor discharge temperature is above boiling point.
64
+ * @formula{solid-load-charge-material-moisture-removal-above-boiling-cpp; Q_{moisture} = Q_{sens,boil} + Q_{vap} + Q_{sens,vapor}}
65
+ * @formula{solid-load-charge-material-sensible-heat-to-boiling-cpp; Q_{sens,boil} = m_{feed} \cdot f_{charged} \cdot (T_{boil} - T_{initial})}
66
+ * @formula{solid-load-charge-material-vaporization-heat-cpp; Q_{vap} = m_{feed} \cdot (f_{charged} - f_{discharged}) \cdot H_{evap}}
67
+ * @formula{solid-load-charge-material-sensible-heat-vapor-cpp; Q_{sens,vapor} = m_{feed} \cdot (f_{charged} - f_{discharged}) \cdot C_{p,vapor} \cdot (T_{vapor,discharge} - T_{boil})}
68
+ * @subheading{Symbols}
69
+ * @symtable
70
+ * @symrow{Q_{moisture}; Heat required for moisture removal; \btu\per\hour}
71
+ * @symrow{Q_{sens,boil}; Sensible heat to boiling point; \btu\per\hour}
72
+ * @symrow{Q_{vap}; Vaporization heat; \btu\per\hour}
73
+ * @symrow{Q_{sens,vapor}; Sensible heat for vapor above boiling; \btu\per\hour}
74
+ * @symrow{m_{feed}; Charge feed rate; \pound\per\hour}
75
+ * @symrow{f_{charged}; Fraction of water charged; \unitless}
76
+ * @symrow{f_{discharged}; Fraction of water discharged; \unitless}
77
+ * @symrow{H_{evap}; Latent heat of evaporation; \btu\per\pound}
78
+ * @symrow{C_{p,vapor}; Specific heat of water vapor; \btu\per\pound\degreeFahrenheit}
79
+ * @symrow{T_{vapor,discharge}; Water vapor discharge temperature; \degreeFahrenheit}
80
+ * @symrow{T_{boil}; Boiling point of water; \degreeFahrenheit}
81
+ * @symrow{T_{initial}; Initial temperature; \degreeFahrenheit}
82
+ * @endsymtable
83
+ */
84
+
85
+ /**
86
+ * @defgroup solid_load_charge_material_remaining_moisture_cpp_formula Heat for Remaining Moisture Formula
87
+ * @ingroup solid_load_charge_material_heat_required_calculator
88
+ * @details Heat required for moisture remaining in the solid after discharge.
89
+ * @formula{solid-load-charge-material-remaining-moisture-cpp; Q_{moisture,rem} = m_{feed} \cdot f_{discharged} \cdot (T_{vapor,discharge} - T_{boil})}
90
+ * @subheading{Symbols}
91
+ * @symtable
92
+ * @symrow{Q_{moisture,rem}; Heat for remaining moisture; \btu\per\hour}
93
+ * @symrow{m_{feed}; Charge feed rate; \pound\per\hour}
94
+ * @symrow{f_{discharged}; Fraction of water discharged; \unitless}
95
+ * @symrow{T_{vapor,discharge}; Water vapor discharge temperature; \degreeFahrenheit}
96
+ * @symrow{T_{boil}; Boiling point; \degreeFahrenheit}
97
+ * @endsymtable
98
+ */
99
+
100
+ /**
101
+ * @defgroup solid_load_charge_material_sensible_heat_cpp_formula Solid Heating (Below melting point) Formula
102
+ * @ingroup solid_load_charge_material_heat_required_calculator
103
+ * @details The total heat required when discharge temperature is below melting point.
104
+ * @formula{solid-load-charge-material-sensible-heat-cpp; Q_{solid} = m_{feed} \cdot (1 - f_{charged}) \cdot C_{p,solid} \cdot (T_{discharge} - T_{initial})}
105
+ * @subheading{Symbols}
106
+ * @symtable
107
+ * @symrow{Q_{solid}; Heat required for solid heating; \btu\per\hour}
108
+ * @symrow{m_{feed}; Charge feed rate; \pound\per\hour}
109
+ * @symrow{f_{charged}; Fraction of water charged; \unitless}
110
+ * @symrow{C_{p,solid}; Specific heat of solid; \btu\per\pound\degreeFahrenheit}
111
+ * @symrow{T_{discharge}; Discharge temperature; \degreeFahrenheit}
112
+ * @symrow{T_{initial}; Initial temperature; \degreeFahrenheit}
113
+ * @endsymtable
114
+ */
115
+
116
+ /**
117
+ * @defgroup solid_load_charge_material_full_heat_cpp_formula Solid Heating (Above melting point) Formula
118
+ * @ingroup solid_load_charge_material_heat_required_calculator
119
+ * @details The total heat required when discharge temperature is above melting point.
120
+ * @formula{solid-load-charge-material-full-heat-cpp; Q_{solid} = Q_{sens,solid} + Q_{melt} + Q_{sens,liquid} + Q_{sens,remaining}}
121
+ * @formula{solid-load-charge-material-sensible-heat-to-melting-cpp; Q_{sens,solid} = m_{feed} \cdot (1 - f_{charged}) \cdot C_{p,solid} \cdot (T_{melt} - T_{initial})}
122
+ * @formula{solid-load-charge-material-melting-heat-cpp; Q_{melt} = m_{feed} \cdot (1 - f_{charged}) \cdot f_{melted} \cdot H_{latent}}
123
+ * @formula{solid-load-charge-material-sensible-heat-liquid-cpp; Q_{sens,liquid} = m_{feed} \cdot (1 - f_{charged}) \cdot f_{melted} \cdot C_{p,liquid} \cdot (T_{discharge} - T_{melt})}
124
+ * @formula{solid-load-charge-material-sensible-heat-remaining-cpp; Q_{sens,remaining} = m_{feed} \cdot (1 - f_{charged}) \cdot (1 - f_{melted}) \cdot C_{p,solid} \cdot (T_{discharge} - T_{melt})}
125
+ * @subheading{Symbols}
126
+ * @symtable
127
+ * @symrow{Q_{solid}; Heat required for solid heating/melting; \btu\per\hour}
128
+ * @symrow{Q_{sens,solid}; Sensible heat to melting point; \btu\per\hour}
129
+ * @symrow{Q_{melt}; Melting heat; \btu\per\hour}
130
+ * @symrow{Q_{sens,liquid}; Sensible heat for melted fraction; \btu\per\hour}
131
+ * @symrow{m_{feed}; Charge feed rate; \pound\per\hour}
132
+ * @symrow{f_{melted}; Fraction of charge melted; \unitless}
133
+ * @symrow{C_{p,solid}; Specific heat of solid; \btu\per\pound\degreeFahrenheit}
134
+ * @symrow{C_{p,liquid}; Specific heat of liquid; \btu\per\pound\degreeFahrenheit}
135
+ * @symrow{H_{latent}; Latent heat of melting; \btu\per\pound}
136
+ * @symrow{T_{discharge}; Discharge temperature; \degreeFahrenheit}
137
+ * @symrow{T_{melt}; Melting point; \degreeFahrenheit}
138
+ * @symrow{T_{initial}; Initial temperature; \degreeFahrenheit}
139
+ * @endsymtable
140
+ */
141
+
142
+ /**
143
+ * @defgroup solid_load_charge_material_heat_of_reaction_cpp_formula Heat of Reaction Formula
144
+ * @ingroup solid_load_charge_material_heat_required_calculator
145
+ * @details Heat required for endothermic reaction.
146
+ * @formula{solid-load-charge-material-heat-of-reaction-cpp; Q_{reaction} = m_{feed} \cdot (1 - f_{charged}) \cdot f_{reacted} \cdot H_{reaction}}
147
+ * @subheading{Symbols}
148
+ * @symtable
149
+ * @symrow{Q_{reaction}; Heat of reaction; \btu\per\hour}
150
+ * @symrow{m_{feed}; Charge feed rate; \pound\per\hour}
151
+ * @symrow{f_{charged}; Fraction of water charged; \unitless}
152
+ * @symrow{(1 - f_{charged}); Fraction of dry charge; \unitless}
153
+ * @symrow{f_{reacted}; Fraction of dry charge reacted; \unitless}
154
+ * @symrow{H_{reaction}; Heat of reaction; \btu\per\pound}
155
+ * @endsymtable
156
+ */
@@ -0,0 +1,62 @@
1
+ /**
2
+ * @defgroup solid_load_charge_material_data_database Solid Load Charge Material Database
3
+ * @ingroup databases
4
+ * @brief Contains default data for solid load/charge materials used in heat loss calculations.
5
+ * @details This database provides default values for the specific heat (solid and liquid), latent heat, and melting point for common solid load/charge materials. The data is used in heat loss calculations for process heating systems.
6
+ *
7
+ * @heading{Default Solid Load/Charge Material Data}
8
+ * @copydoc solid_load_charge_material_data
9
+ */
10
+
11
+ /**
12
+ * @defgroup solid_load_charge_material_data Default Solid Load/Charge Material Data
13
+ * @ingroup solid_load_charge_material_data_database
14
+ * The following table lists the default substances and their properties:
15
+ *
16
+ * | Substance | Specific Heat (Solid) @unitb{\btu\per\pound\degreeFahrenheit} | Latent Heat @unitb{\btu\per\pound} | Specific Heat (Liquid) @unitb{\btu\per\pound\degreeFahrenheit} | Melting point @unitb{\degreeFahrenheit} |
17
+ * |-------------------------------|---------------------------------------------------------------|--------------------------------------|-------------------------------------------------------------------|-----------------------------------------|
18
+ * | Aluminum | 0.247910198232625 | 169 | 0.2601 | 1215 |
19
+ * | Babbitt, Lead Base | 0.0389300214951039 | 26.2 | 0.038 | 462 |
20
+ * | Babbitt, Tin Base | 0.0709338428469071 | 34.1 | 0.0631 | 464 |
21
+ * | Bismuth | 0.0329591593026033 | 18.5 | 0.0351 | 518 |
22
+ * | Brass, Muntz Metal | 0.105087174588011 | 69 | 0.1249 | 1630 |
23
+ * | Brass, Red | 0.10389300214951 | 86.5 | 0.1151 | 1952 |
24
+ * | Brass, Yellow | 0.105087174588011 | 71 | 0.123 | 1688 |
25
+ * | Bronze, Bearing | 0.0950561261046095 | 79.9 | 0.1089 | 1832 |
26
+ * | Bronze, Aluminum | 0.126104609505613 | 98.6 | 0.1249 | 1922 |
27
+ * | Bronze, Bell Metal | 0.10007165034631 | 76.3 | 0.1189 | 1634 |
28
+ * | Bronze, Gun Metal | 0.106997850489611 | 84.2 | 0.106 | 1850 |
29
+ * | Bronze, Tobin | 0.106997850489611 | 73.5 | 0.124 | 1625 |
30
+ * | Carbon Steel | 0.16 | 60 | 0.175 | 2800 |
31
+ * | Copper | 0.10389300214951 | 91 | 0.1111 | 1982 |
32
+ * | Die Casting Metal (Aluminum Alloy) | 0.235968473847624 | 163 | 0.241 | 1150 |
33
+ * | Die Casting Metal (Lead Alloy) | 0.0379746835443038 | 17.5 | 0.037 | 600 |
34
+ * | Die Casting Metal (Tin Alloy) | 0.069978504896107 | 30.2 | 0.0621 | 450 |
35
+ * | Die Casting Metal (Zinc Alloy) | 0.10293766419871 | 48 | 0.138 | 780 |
36
+ * | German Silver | 0.108908526391211 | 86.2 | 0.123 | 1850 |
37
+ * | Gold | 0.0329591593026033 | 28.5 | 0.0339 | 1945 |
38
+ * | Inconel - 600 | 0.139957009792214 | 50 | 0.155 | 2500 |
39
+ * | Iron, Cast, Gray | 0.190112252209219 | 41.4 | 0.2051 | 2246 |
40
+ * | Iron, Cast, White | 0.180081203725818 | 60.3 | 0.1951 | 2102 |
41
+ * | Iron, Pig | 0.153092906615715 | 83.6 | 0.1681 | 2012 |
42
+ * | Iron, Pure | 0.167900644853117 | 117 | 0.15 | 2802 |
43
+ * | Lead | 0.0320038213518032 | 10 | 0.0339 | 621 |
44
+ * | Linotype | 0.0360640076427036 | 21.5 | 0.0361 | 486 |
45
+ * | Magnesium | 0.272032481490327 | 83.7 | 0.2661 | 1204 |
46
+ * | Manganese | 0.171005493193217 | 66 | 0.192 | 2246 |
47
+ * | Monel Metal | 0.128970623358013 | 117.4 | 0.139 | 2415 |
48
+ * | Nickel 60 to 2644 Degrees F | 0.133986147599713 | 131.5 | 0.133 | 2644 |
49
+ * | Silver | 0.0630523047528063 | 46.8 | 0.07 | 1762 |
50
+ * | Solder, Bismuth | 0.039885359445904 | 16.4 | 0.0389 | 232 |
51
+ * | Solder, Plumbers | 0.0511105803678051 | 23 | 0.049 | 414 |
52
+ * | Stainless Steel - 300 Series | 0.139957009792214 | 117.15 | 0.16 | 2550 |
53
+ * | Stainless Steel - 410 | 0.12 | 48 | 0.14 | 2800 |
54
+ * | Tin | 0.0690231669453069 | 25 | 0.0638 | 450 |
55
+ * | Zinc | 0.106997850489611 | 48 | 0.1459 | 786 |
56
+ * | Refractory | 0.250059708621925 | 425 | 0.26 | 5000 |
57
+ * | Ladle Refractory | 0.250059708621925 | 425 | 0.26 | 5000 |
58
+ *
59
+ * @note Values are representative and may vary with pressure and temperature.
60
+ *
61
+ * @see solid_load_charge_material_heat_required_calculator
62
+ */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "measur-tools-suite",
3
- "version": "1.0.14-beta.192",
3
+ "version": "1.0.14-beta.199",
4
4
  "engines": {
5
5
  "node": "20.19.4",
6
6
  "npm": "10.8.2"