measur-tools-suite 1.2.5-beta.3 → 1.2.5-beta.4
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
package/ts_def/client.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ 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";
|
|
37
38
|
export * from "./ts_def_modules/motorDriven/pump/pump_valve_power_loss";
|
|
38
39
|
|
|
39
40
|
export * from "./ts_def_modules/motorDriven/pumpFan/pumpFan";
|
|
@@ -145,6 +146,7 @@ export type MeasurToolsSuite =
|
|
|
145
146
|
import("./ts_def_modules/motorDriven/motor/motor").MotorModule &
|
|
146
147
|
// motorDriven/pump
|
|
147
148
|
import("./ts_def_modules/motorDriven/pump/pump").PumpModule &
|
|
149
|
+
import("./ts_def_modules/motorDriven/pump/positive_displacement_pump").PositiveDisplacementPumpModule &
|
|
148
150
|
import("./ts_def_modules/motorDriven/pump/pump_valve_power_loss").PumpValvePowerLossModule &
|
|
149
151
|
// motorDriven/pumpFan
|
|
150
152
|
import("./ts_def_modules/motorDriven/pumpFan/pumpFan").PumpFanModule &
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
};
|