measur-tools-suite 1.2.5-beta.4 → 1.2.5-beta.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "measur-tools-suite",
3
- "version": "1.2.5-beta.4",
3
+ "version": "1.2.5-beta.5",
4
4
  "engines": {
5
5
  "node": "20.19.4",
6
6
  "npm": "10.8.2"
@@ -34,7 +34,6 @@ export * from "./ts_def_modules/motorDriven/motor/motor";
34
34
  export * from "./ts_def_modules/motorDriven/motor/motorEnum";
35
35
 
36
36
  export * from "./ts_def_modules/motorDriven/pump/pump";
37
- export * from "./ts_def_modules/motorDriven/pump/positive_displacement_pump";
38
37
  export * from "./ts_def_modules/motorDriven/pump/pump_valve_power_loss";
39
38
 
40
39
  export * from "./ts_def_modules/motorDriven/pumpFan/pumpFan";
@@ -146,7 +145,6 @@ export type MeasurToolsSuite =
146
145
  import("./ts_def_modules/motorDriven/motor/motor").MotorModule &
147
146
  // motorDriven/pump
148
147
  import("./ts_def_modules/motorDriven/pump/pump").PumpModule &
149
- import("./ts_def_modules/motorDriven/pump/positive_displacement_pump").PositiveDisplacementPumpModule &
150
148
  import("./ts_def_modules/motorDriven/pump/pump_valve_power_loss").PumpValvePowerLossModule &
151
149
  // motorDriven/pumpFan
152
150
  import("./ts_def_modules/motorDriven/pumpFan/pumpFan").PumpFanModule &
@@ -156,6 +156,31 @@ export declare class PumpResultInput {
156
156
  specifiedEfficiency: number
157
157
  );
158
158
 
159
+ /**
160
+ * @param style PumpStyle, pump style selector
161
+ * @param pumpEfficiency double, pump efficiency, dimensionless
162
+ * @param rpm double, pump speed in RPM
163
+ * @param drive Drive enum, drive type
164
+ * @param kviscosity Kinematic viscosity, units cSt.
165
+ * @param specificGravity double, specific gravity, dimensionless
166
+ * @param stageCount Pump stage count.
167
+ * @param speed SpecificSpeed, pump specific speed selector
168
+ * @param specifiedEfficiency Specified optimal efficiency, dimensionless fraction.
169
+ * @param differentialPressurePsi Differential pressure for positive-displacement pumps, units psi.
170
+ */
171
+ constructor(
172
+ style: PumpStyle,
173
+ pumpEfficiency: number,
174
+ rpm: number,
175
+ drive: Drive,
176
+ kviscosity: number,
177
+ specificGravity: number,
178
+ stageCount: number,
179
+ speed: SpecificSpeed,
180
+ specifiedEfficiency: number,
181
+ differentialPressurePsi: number
182
+ );
183
+
159
184
  /** Frees the underlying resource; must be called when finished with the instance */
160
185
  delete(): void;
161
186
  }
@@ -22,7 +22,8 @@ export enum PumpStyle {
22
22
  DOUBLE_SUCTION = 8,
23
23
  VERTICAL_TURBINE = 9,
24
24
  LARGE_END_SUCTION = 10,
25
- SPECIFIED_OPTIMAL_EFFICIENCY = 11
25
+ SPECIFIED_OPTIMAL_EFFICIENCY = 11,
26
+ POSITIVE_DISPLACEMENT = 12
26
27
  }
27
28
 
28
29
  /**
@@ -1,58 +0,0 @@
1
- /**
2
- * Positive displacement pump calculations.
3
- *
4
- * Calculates pump power and annual energy use from flow rate, differential
5
- * pressure, pump efficiency, and operating hours.
6
- */
7
-
8
- /**
9
- * Result object returned by {@link PositiveDisplacementPump.calculate}.
10
- */
11
- export declare class PositiveDisplacementPumpOutput {
12
- /**
13
- * Constructor for PositiveDisplacementPumpOutput.
14
- * @param power Pump power, units kW.
15
- * @param energy Annual energy use, units kWh/year.
16
- */
17
- constructor(power: number, energy: number);
18
-
19
- /** Pump power, units kW. */
20
- power: number;
21
- /** Annual energy use, units kWh/year. */
22
- energy: number;
23
-
24
- /** Frees the underlying resource; must be called when finished with the instance. */
25
- delete(): void;
26
- }
27
-
28
- /**
29
- * Calculates positive displacement pump power and annual energy use.
30
- */
31
- export declare class PositiveDisplacementPump {
32
- /**
33
- * @param flowRate Volumetric flow rate, units gpm.
34
- * @param differentialPressure Pump differential pressure, units psi.
35
- * @param pumpEfficiency Pump efficiency, dimensionless fraction.
36
- * @param operatingHours Annual operating hours, units hr/year.
37
- */
38
- constructor(
39
- flowRate: number,
40
- differentialPressure: number,
41
- pumpEfficiency: number,
42
- operatingHours: number
43
- );
44
-
45
- /**
46
- * Calculate pump power and annual energy use.
47
- * @returns {@link PositiveDisplacementPumpOutput}
48
- */
49
- calculate(): PositiveDisplacementPumpOutput;
50
-
51
- /** Frees the underlying resource; must be called when finished with the instance. */
52
- delete(): void;
53
- }
54
-
55
- export type PositiveDisplacementPumpModule = {
56
- PositiveDisplacementPump: typeof PositiveDisplacementPump;
57
- PositiveDisplacementPumpOutput: typeof PositiveDisplacementPumpOutput;
58
- };