measur-tools-suite 1.2.0 → 1.2.1-beta.1

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 (155) hide show
  1. package/BUILD.md +17 -0
  2. package/bin/client.d.ts +93 -0
  3. package/bin/client.js +1 -1
  4. package/bin/client.wasm +0 -0
  5. package/bin/package.json +1 -1
  6. package/bin/ts_def_modules/binding/registered_vectors.d.ts +180 -0
  7. package/bin/ts_def_modules/compressedAir/compressedAir.d.ts +156 -0
  8. package/bin/ts_def_modules/compressedAir/compressed_air_utils.d.ts +28 -0
  9. package/bin/ts_def_modules/compressedAir/compressorsCalc.d.ts +1061 -0
  10. package/bin/ts_def_modules/compressedAir/dryer_operating_cost.d.ts +243 -0
  11. package/bin/ts_def_modules/compressedAir/leak_survey/bag_method.d.ts +51 -0
  12. package/bin/ts_def_modules/compressedAir/leak_survey/compressed_air_leak_survey.d.ts +105 -0
  13. package/bin/ts_def_modules/compressedAir/leak_survey/decibels_method.d.ts +71 -0
  14. package/bin/ts_def_modules/compressedAir/leak_survey/estimate_method.d.ts +47 -0
  15. package/bin/ts_def_modules/compressedAir/leak_survey/orifice_method.d.ts +69 -0
  16. package/bin/ts_def_modules/compressedAir/operating_cost.d.ts +63 -0
  17. package/bin/ts_def_modules/compressedAir/pipe_sizing.d.ts +53 -0
  18. package/bin/ts_def_modules/compressedAir/pneumatic_air_requirement.d.ts +86 -0
  19. package/bin/ts_def_modules/compressedAir/pneumatic_valve.d.ts +87 -0
  20. package/bin/ts_def_modules/compressedAir/receiver_tank.d.ts +217 -0
  21. package/bin/ts_def_modules/databases/default_data.d.ts +239 -0
  22. package/bin/ts_def_modules/motorDriven/fans/fan.d.ts +611 -0
  23. package/bin/ts_def_modules/motorDriven/fans/fanEnum.d.ts +68 -0
  24. package/bin/ts_def_modules/motorDriven/fans/fan_affinity_laws.d.ts +156 -0
  25. package/bin/ts_def_modules/motorDriven/motor/motor.d.ts +380 -0
  26. package/bin/ts_def_modules/motorDriven/motor/motorEnum.d.ts +49 -0
  27. package/bin/ts_def_modules/motorDriven/pump/pump.d.ts +303 -0
  28. package/bin/ts_def_modules/motorDriven/pump/pump_valve_power_loss.d.ts +73 -0
  29. package/bin/ts_def_modules/motorDriven/pumpFan/pumpFan.d.ts +164 -0
  30. package/bin/ts_def_modules/other/chp.d.ts +121 -0
  31. package/bin/ts_def_modules/other/lighting_data.d.ts +117 -0
  32. package/bin/ts_def_modules/other/powerFactor.d.ts +110 -0
  33. package/bin/ts_def_modules/physics/gas_compositions.d.ts +81 -0
  34. package/bin/ts_def_modules/processCooling/chillers.d.ts +365 -0
  35. package/bin/ts_def_modules/processCooling/process_cooling.d.ts +500 -0
  36. package/bin/ts_def_modules/processHeat/air_heating_using_exhaust.d.ts +102 -0
  37. package/bin/ts_def_modules/processHeat/cascade_heat_high_to_low.d.ts +106 -0
  38. package/bin/ts_def_modules/processHeat/energy_equivalency.d.ts +48 -0
  39. package/bin/ts_def_modules/processHeat/flow_calculations_energy_use.d.ts +58 -0
  40. package/bin/ts_def_modules/processHeat/losses/atmosphere_heat_loss.d.ts +28 -0
  41. package/bin/ts_def_modules/processHeat/losses/auxiliary_power_used.d.ts +32 -0
  42. package/bin/ts_def_modules/processHeat/losses/energy_input_electric_arc_furnace.d.ts +50 -0
  43. package/bin/ts_def_modules/processHeat/losses/energy_input_exhaust_gas_heat_loss.d.ts +95 -0
  44. package/bin/ts_def_modules/processHeat/losses/exhaust_gas_heat_loss_electric_arc_furnace.d.ts +35 -0
  45. package/bin/ts_def_modules/processHeat/losses/fixture_heat_loss.d.ts +35 -0
  46. package/bin/ts_def_modules/processHeat/losses/gas_cooling_heat_loss.d.ts +35 -0
  47. package/bin/ts_def_modules/processHeat/losses/gas_flue_gas_material.d.ts +85 -0
  48. package/bin/ts_def_modules/processHeat/losses/gas_load_charge_material_heat_required.d.ts +45 -0
  49. package/bin/ts_def_modules/processHeat/losses/leakage_heat_loss.d.ts +39 -0
  50. package/bin/ts_def_modules/processHeat/losses/liquid_cooling_heat_loss.d.ts +35 -0
  51. package/bin/ts_def_modules/processHeat/losses/liquid_load_charge_material_heat_required.d.ts +50 -0
  52. package/bin/ts_def_modules/processHeat/losses/load_charge_material.d.ts +19 -0
  53. package/bin/ts_def_modules/processHeat/losses/opening_heat_loss.d.ts +84 -0
  54. package/bin/ts_def_modules/processHeat/losses/slag_other_material_heat_loss.d.ts +35 -0
  55. package/bin/ts_def_modules/processHeat/losses/solid_liquid_flue_gas_material.d.ts +152 -0
  56. package/bin/ts_def_modules/processHeat/losses/solid_load_charge_material_heat_required.d.ts +59 -0
  57. package/bin/ts_def_modules/processHeat/losses/wall_heat_loss.d.ts +77 -0
  58. package/bin/ts_def_modules/processHeat/losses/water_cooling_heat_loss.d.ts +31 -0
  59. package/bin/ts_def_modules/processHeat/o2_enrichment.d.ts +99 -0
  60. package/bin/ts_def_modules/processHeat/water_heating_using_exhaust.d.ts +60 -0
  61. package/bin/ts_def_modules/steam/air_water_cooling_using_flue.d.ts +82 -0
  62. package/bin/ts_def_modules/steam/steam_leak_survey.d.ts +222 -0
  63. package/bin/ts_def_modules/steam/water_heating_using_flue.d.ts +126 -0
  64. package/bin/ts_def_modules/steam/water_heating_using_steam.d.ts +87 -0
  65. package/bin/ts_def_modules/steamModeler/ssmt.d.ts +738 -0
  66. package/bin/ts_def_modules/steamModeler/ssmtEnum.d.ts +81 -0
  67. package/bin/ts_def_modules/steamModeler/ssmtModeler.d.ts +700 -0
  68. package/bin/ts_def_modules/treasureHunt/compressed_air_pressure_reduction.d.ts +82 -0
  69. package/bin/ts_def_modules/treasureHunt/compressed_air_reduction.d.ts +304 -0
  70. package/bin/ts_def_modules/treasureHunt/electricity_reduction.d.ts +297 -0
  71. package/bin/ts_def_modules/treasureHunt/insulated_pipe_reduction.d.ts +255 -0
  72. package/bin/ts_def_modules/treasureHunt/insulated_tank_reduction.d.ts +168 -0
  73. package/bin/ts_def_modules/treasureHunt/natural_gas_reduction.d.ts +328 -0
  74. package/bin/ts_def_modules/treasureHunt/steam_reduction.d.ts +259 -0
  75. package/bin/ts_def_modules/treasureHunt/water_reduction.d.ts +259 -0
  76. package/bin/ts_def_modules/wasteWater/svi.d.ts +123 -0
  77. package/bin/ts_def_modules/wasteWater/wasteWater.d.ts +262 -0
  78. package/bin/ts_def_modules/water/waterAssessment.d.ts +220 -0
  79. package/build-wasm/bin/client.js +1 -1
  80. package/build-wasm/bin/client.wasm +0 -0
  81. package/package.json +1 -1
  82. package/ts_def/client.d.ts +93 -0
  83. package/ts_def/ts_def_modules/binding/registered_vectors.d.ts +180 -0
  84. package/ts_def/ts_def_modules/compressedAir/compressedAir.d.ts +156 -0
  85. package/ts_def/ts_def_modules/compressedAir/compressed_air_utils.d.ts +28 -0
  86. package/ts_def/ts_def_modules/compressedAir/compressorsCalc.d.ts +1061 -0
  87. package/ts_def/ts_def_modules/compressedAir/dryer_operating_cost.d.ts +243 -0
  88. package/ts_def/ts_def_modules/compressedAir/leak_survey/bag_method.d.ts +51 -0
  89. package/ts_def/ts_def_modules/compressedAir/leak_survey/compressed_air_leak_survey.d.ts +105 -0
  90. package/ts_def/ts_def_modules/compressedAir/leak_survey/decibels_method.d.ts +71 -0
  91. package/ts_def/ts_def_modules/compressedAir/leak_survey/estimate_method.d.ts +47 -0
  92. package/ts_def/ts_def_modules/compressedAir/leak_survey/orifice_method.d.ts +69 -0
  93. package/ts_def/ts_def_modules/compressedAir/operating_cost.d.ts +63 -0
  94. package/ts_def/ts_def_modules/compressedAir/pipe_sizing.d.ts +53 -0
  95. package/ts_def/ts_def_modules/compressedAir/pneumatic_air_requirement.d.ts +86 -0
  96. package/ts_def/ts_def_modules/compressedAir/pneumatic_valve.d.ts +87 -0
  97. package/ts_def/ts_def_modules/compressedAir/receiver_tank.d.ts +217 -0
  98. package/ts_def/ts_def_modules/databases/default_data.d.ts +239 -0
  99. package/ts_def/ts_def_modules/motorDriven/fans/fan.d.ts +611 -0
  100. package/ts_def/ts_def_modules/motorDriven/fans/fanEnum.d.ts +68 -0
  101. package/ts_def/ts_def_modules/motorDriven/fans/fan_affinity_laws.d.ts +156 -0
  102. package/ts_def/ts_def_modules/motorDriven/motor/motor.d.ts +380 -0
  103. package/ts_def/ts_def_modules/motorDriven/motor/motorEnum.d.ts +49 -0
  104. package/ts_def/ts_def_modules/motorDriven/pump/pump.d.ts +303 -0
  105. package/ts_def/ts_def_modules/motorDriven/pump/pump_valve_power_loss.d.ts +73 -0
  106. package/ts_def/ts_def_modules/motorDriven/pumpFan/pumpFan.d.ts +164 -0
  107. package/ts_def/ts_def_modules/other/chp.d.ts +121 -0
  108. package/ts_def/ts_def_modules/other/lighting_data.d.ts +117 -0
  109. package/ts_def/ts_def_modules/other/powerFactor.d.ts +110 -0
  110. package/ts_def/ts_def_modules/physics/gas_compositions.d.ts +81 -0
  111. package/ts_def/ts_def_modules/processCooling/chillers.d.ts +365 -0
  112. package/ts_def/ts_def_modules/processCooling/process_cooling.d.ts +500 -0
  113. package/ts_def/ts_def_modules/processHeat/air_heating_using_exhaust.d.ts +102 -0
  114. package/ts_def/ts_def_modules/processHeat/cascade_heat_high_to_low.d.ts +106 -0
  115. package/ts_def/ts_def_modules/processHeat/energy_equivalency.d.ts +48 -0
  116. package/ts_def/ts_def_modules/processHeat/flow_calculations_energy_use.d.ts +58 -0
  117. package/ts_def/ts_def_modules/processHeat/losses/atmosphere_heat_loss.d.ts +28 -0
  118. package/ts_def/ts_def_modules/processHeat/losses/auxiliary_power_used.d.ts +32 -0
  119. package/ts_def/ts_def_modules/processHeat/losses/energy_input_electric_arc_furnace.d.ts +50 -0
  120. package/ts_def/ts_def_modules/processHeat/losses/energy_input_exhaust_gas_heat_loss.d.ts +95 -0
  121. package/ts_def/ts_def_modules/processHeat/losses/exhaust_gas_heat_loss_electric_arc_furnace.d.ts +35 -0
  122. package/ts_def/ts_def_modules/processHeat/losses/fixture_heat_loss.d.ts +35 -0
  123. package/ts_def/ts_def_modules/processHeat/losses/gas_cooling_heat_loss.d.ts +35 -0
  124. package/ts_def/ts_def_modules/processHeat/losses/gas_flue_gas_material.d.ts +85 -0
  125. package/ts_def/ts_def_modules/processHeat/losses/gas_load_charge_material_heat_required.d.ts +45 -0
  126. package/ts_def/ts_def_modules/processHeat/losses/leakage_heat_loss.d.ts +39 -0
  127. package/ts_def/ts_def_modules/processHeat/losses/liquid_cooling_heat_loss.d.ts +35 -0
  128. package/ts_def/ts_def_modules/processHeat/losses/liquid_load_charge_material_heat_required.d.ts +50 -0
  129. package/ts_def/ts_def_modules/processHeat/losses/load_charge_material.d.ts +19 -0
  130. package/ts_def/ts_def_modules/processHeat/losses/opening_heat_loss.d.ts +84 -0
  131. package/ts_def/ts_def_modules/processHeat/losses/slag_other_material_heat_loss.d.ts +35 -0
  132. package/ts_def/ts_def_modules/processHeat/losses/solid_liquid_flue_gas_material.d.ts +152 -0
  133. package/ts_def/ts_def_modules/processHeat/losses/solid_load_charge_material_heat_required.d.ts +59 -0
  134. package/ts_def/ts_def_modules/processHeat/losses/wall_heat_loss.d.ts +77 -0
  135. package/ts_def/ts_def_modules/processHeat/losses/water_cooling_heat_loss.d.ts +31 -0
  136. package/ts_def/ts_def_modules/processHeat/o2_enrichment.d.ts +99 -0
  137. package/ts_def/ts_def_modules/processHeat/water_heating_using_exhaust.d.ts +60 -0
  138. package/ts_def/ts_def_modules/steam/air_water_cooling_using_flue.d.ts +82 -0
  139. package/ts_def/ts_def_modules/steam/steam_leak_survey.d.ts +222 -0
  140. package/ts_def/ts_def_modules/steam/water_heating_using_flue.d.ts +126 -0
  141. package/ts_def/ts_def_modules/steam/water_heating_using_steam.d.ts +87 -0
  142. package/ts_def/ts_def_modules/steamModeler/ssmt.d.ts +738 -0
  143. package/ts_def/ts_def_modules/steamModeler/ssmtEnum.d.ts +81 -0
  144. package/ts_def/ts_def_modules/steamModeler/ssmtModeler.d.ts +700 -0
  145. package/ts_def/ts_def_modules/treasureHunt/compressed_air_pressure_reduction.d.ts +82 -0
  146. package/ts_def/ts_def_modules/treasureHunt/compressed_air_reduction.d.ts +304 -0
  147. package/ts_def/ts_def_modules/treasureHunt/electricity_reduction.d.ts +297 -0
  148. package/ts_def/ts_def_modules/treasureHunt/insulated_pipe_reduction.d.ts +255 -0
  149. package/ts_def/ts_def_modules/treasureHunt/insulated_tank_reduction.d.ts +168 -0
  150. package/ts_def/ts_def_modules/treasureHunt/natural_gas_reduction.d.ts +328 -0
  151. package/ts_def/ts_def_modules/treasureHunt/steam_reduction.d.ts +259 -0
  152. package/ts_def/ts_def_modules/treasureHunt/water_reduction.d.ts +259 -0
  153. package/ts_def/ts_def_modules/wasteWater/svi.d.ts +123 -0
  154. package/ts_def/ts_def_modules/wasteWater/wasteWater.d.ts +262 -0
  155. package/ts_def/ts_def_modules/water/waterAssessment.d.ts +220 -0
package/BUILD.md CHANGED
@@ -190,6 +190,23 @@ const toolsSuiteModule = await moduleFactory({
190
190
  const totalHeatLoss = toolsSuiteModule.wallTotalHeatLoss(
191
191
  500, 80, 225, 10, 0.9, 1.394, 1
192
192
  );
193
+ // Alternatively, using the module type for better type safety
194
+ import type * as MeasurToolsSuiteModule from '/path/to/client';
195
+ const totalHeatLoss = toolsSuiteModule as MeasurToolsSuiteModule.WallHeatLossModule;
196
+ const wthl = totalHeatLoss.wallTotalHeatLoss(500, 80, 225, 10, 0.9, 1.394, 1);
197
+
198
+ // Example 2 usage of DryerOperatingCost module
199
+ const docRes = new toolsSuiteModule.DryerOperatingCost(1752, 50, 100, 24, 7, 52, 0.08, 0.2, 0.25).calculate(ToolsSuiteModule.DryerType.Heatless);
200
+ console.log("DryerOperatingCost calculation => Water Removed:", docRes.waterRemoved);
201
+ docRes.delete();
202
+ // Alternatively, using the module type for better type safety
203
+ const dryerOperatingCostModule = toolsSuiteModule as MeasurToolsSuiteModule.DryerOperatingCostModule;
204
+ let doc = new dryerOperatingCostModule.DryerOperatingCost(1752, 50, 100, 24, 7, 52, 0.08, 0.2, 0.25);
205
+ let res = doc.calculate(dryerOperatingCostModule.DryerType.Heatless);
206
+ let wr = res.waterRemoved;
207
+ console.log("DryerOperatingCost calculation => Water removed:", wr);
208
+ res.delete();
209
+ doc.delete();
193
210
  ```
194
211
 
195
212
  ### 6.6 WebAssembly Tests (Browser)
@@ -0,0 +1,93 @@
1
+ export * from "./ts_def_modules/binding/registered_vectors";
2
+
3
+ export * from "./ts_def_modules/compressedAir/compressedAir";
4
+ export * from "./ts_def_modules/compressedAir/compressed_air_utils";
5
+ export * from "./ts_def_modules/compressedAir/compressorsCalc";
6
+ export * from "./ts_def_modules/compressedAir/dryer_operating_cost";
7
+ export * from "./ts_def_modules/compressedAir/operating_cost";
8
+ export * from "./ts_def_modules/compressedAir/pipe_sizing";
9
+ export * from "./ts_def_modules/compressedAir/pneumatic_air_requirement";
10
+ export * from "./ts_def_modules/compressedAir/pneumatic_valve";
11
+ export * from "./ts_def_modules/compressedAir/receiver_tank";
12
+
13
+ export * from "./ts_def_modules/compressedAir/leak_survey/bag_method";
14
+ export * from "./ts_def_modules/compressedAir/leak_survey/compressed_air_leak_survey";
15
+ export * from "./ts_def_modules/compressedAir/leak_survey/decibels_method";
16
+ export * from "./ts_def_modules/compressedAir/leak_survey/estimate_method";
17
+ export * from "./ts_def_modules/compressedAir/leak_survey/orifice_method";
18
+
19
+ export * from "./ts_def_modules/databases/default_data";
20
+
21
+ export * from "./ts_def_modules/motorDriven/fans/fan";
22
+ export * from "./ts_def_modules/motorDriven/fans/fanEnum";
23
+ export * from "./ts_def_modules/motorDriven/fans/fan_affinity_laws";
24
+
25
+ export * from "./ts_def_modules/motorDriven/motor/motor";
26
+ export * from "./ts_def_modules/motorDriven/motor/motorEnum";
27
+
28
+ export * from "./ts_def_modules/motorDriven/pump/pump";
29
+ export * from "./ts_def_modules/motorDriven/pump/pump_valve_power_loss";
30
+
31
+ export * from "./ts_def_modules/motorDriven/pumpFan/pumpFan";
32
+
33
+ export * from "./ts_def_modules/other/chp";
34
+ export * from "./ts_def_modules/other/lighting_data";
35
+ export * from "./ts_def_modules/other/powerFactor";
36
+
37
+ export * from "./ts_def_modules/physics/gas_compositions";
38
+
39
+ export * from "./ts_def_modules/processCooling/chillers";
40
+ export * from "./ts_def_modules/processCooling/process_cooling";
41
+
42
+ export * from "./ts_def_modules/processHeat/air_heating_using_exhaust";
43
+ export * from "./ts_def_modules/processHeat/cascade_heat_high_to_low";
44
+ export * from "./ts_def_modules/processHeat/energy_equivalency";
45
+ export * from "./ts_def_modules/processHeat/flow_calculations_energy_use";
46
+ export * from "./ts_def_modules/processHeat/o2_enrichment";
47
+ export * from "./ts_def_modules/processHeat/water_heating_using_exhaust";
48
+
49
+ export * from "./ts_def_modules/processHeat/losses/atmosphere_heat_loss";
50
+ export * from "./ts_def_modules/processHeat/losses/auxiliary_power_used";
51
+ export * from "./ts_def_modules/processHeat/losses/energy_input_electric_arc_furnace";
52
+ export * from "./ts_def_modules/processHeat/losses/energy_input_exhaust_gas_heat_loss";
53
+ export * from "./ts_def_modules/processHeat/losses/exhaust_gas_heat_loss_electric_arc_furnace";
54
+ export * from "./ts_def_modules/processHeat/losses/fixture_heat_loss";
55
+ export * from "./ts_def_modules/processHeat/losses/gas_cooling_heat_loss";
56
+ export * from "./ts_def_modules/processHeat/losses/gas_flue_gas_material";
57
+ export * from "./ts_def_modules/processHeat/losses/gas_load_charge_material_heat_required";
58
+ export * from "./ts_def_modules/processHeat/losses/leakage_heat_loss";
59
+ export * from "./ts_def_modules/processHeat/losses/liquid_cooling_heat_loss";
60
+ export * from "./ts_def_modules/processHeat/losses/liquid_load_charge_material_heat_required";
61
+ export * from "./ts_def_modules/processHeat/losses/load_charge_material";
62
+ export * from "./ts_def_modules/processHeat/losses/opening_heat_loss";
63
+ export * from "./ts_def_modules/processHeat/losses/slag_other_material_heat_loss";
64
+ export * from "./ts_def_modules/processHeat/losses/solid_liquid_flue_gas_material";
65
+ export * from "./ts_def_modules/processHeat/losses/solid_load_charge_material_heat_required";
66
+ export * from "./ts_def_modules/processHeat/losses/wall_heat_loss";
67
+ export * from "./ts_def_modules/processHeat/losses/water_cooling_heat_loss";
68
+
69
+ export * from "./ts_def_modules/steam/air_water_cooling_using_flue";
70
+ export * from "./ts_def_modules/steam/steam_leak_survey";
71
+ export * from "./ts_def_modules/steam/water_heating_using_flue";
72
+ export * from "./ts_def_modules/steam/water_heating_using_steam";
73
+
74
+ export * from "./ts_def_modules/steamModeler/ssmt";
75
+ export * from "./ts_def_modules/steamModeler/ssmtEnum";
76
+ export * from "./ts_def_modules/steamModeler/ssmtModeler";
77
+
78
+ export * from "./ts_def_modules/treasureHunt/compressed_air_pressure_reduction";
79
+ export * from "./ts_def_modules/treasureHunt/compressed_air_reduction";
80
+ export * from "./ts_def_modules/treasureHunt/electricity_reduction";
81
+ export * from "./ts_def_modules/treasureHunt/insulated_pipe_reduction";
82
+ export * from "./ts_def_modules/treasureHunt/insulated_tank_reduction";
83
+ export * from "./ts_def_modules/treasureHunt/natural_gas_reduction";
84
+ export * from "./ts_def_modules/treasureHunt/steam_reduction";
85
+ export * from "./ts_def_modules/treasureHunt/water_reduction";
86
+
87
+ export * from "./ts_def_modules/wasteWater/svi";
88
+ export * from "./ts_def_modules/wasteWater/wasteWater";
89
+
90
+ export * from "./ts_def_modules/water/waterAssessment";
91
+
92
+ declare const _default: (moduleArg?: Record<string, unknown>) => Promise<unknown>;
93
+ export default _default;