MEASUR-Tools-Suite v1.0.11
The MEASUR Tools Suite is a collection of industrial efficiency calculations written in C++ and with bindings for compilation to WebAssembly.
Loading...
Searching...
No Matches
PumpResult.h
Go to the documentation of this file.
1#pragma once
2
16#include "motorDriven/pump/Pump.h"
17
25 public:
34 PumpResult(Pump::Input pumpInput, Motor motor, Pump::FieldData fieldData, double operatingHours, double unitCost)
35 : pumpInput(pumpInput), motor(motor), fieldData(fieldData), operatingHours(operatingHours),
36 unitCost(unitCost) {};
37
41 struct Output {
42
44 double motorEfficiency, double motorPowerFactor, double motorCurrent, double motorPower,
45 double annualEnergy, double annualCost, double loadFactor, double driveEfficiency,
46 double estimatedFLA = 0)
50 loadFactor(loadFactor), driveEfficiency(driveEfficiency), estimatedFLA(estimatedFLA) {}
51 Output() = default;
52
73 double
83 double motorCurrent;
87 double motorPower;
91 double annualEnergy;
97 double annualCost;
101 double loadFactor;
102 double driveEfficiency;
106 };
107
112 double getAnnualSavingsPotential() { return annualSavingsPotential; }
113
118 double getOptimizationRating() const { return optimizationRating; }
119
120 Output calculateExisting();
121
122 Output calculateModified();
123
124 private:
125 // Out values
126 Output existing, modified;
127 double annualSavingsPotential = 0.0;
128 double optimizationRating = 0.0;
129 // In values
130 Pump::Input pumpInput;
131 Motor motor;
132 Pump::FieldData fieldData;
133 double operatingHours, unitCost;
134};
135
double getOptimizationRating() const
Definition PumpResult.h:118
PumpResult(Pump::Input pumpInput, Motor motor, Pump::FieldData fieldData, double operatingHours, double unitCost)
Definition PumpResult.h:34
double getAnnualSavingsPotential()
Definition PumpResult.h:112
double motorRatedPower
Optimal: This is the nameplate motor rated power for an optimally sized pump.
Definition PumpResult.h:57
double motorPowerFactor
Definition PumpResult.h:77