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
14#ifndef TOOLS_SUITE_PUMPRESULT_H
15#define TOOLS_SUITE_PUMPRESULT_H
16
17#include "motorDriven/pump/Pump.h"
18
26 public:
35 PumpResult(Pump::Input pumpInput, Motor motor, Pump::FieldData fieldData, double operatingHours, double unitCost)
36 : pumpInput(pumpInput), motor(motor), fieldData(fieldData), operatingHours(operatingHours),
37 unitCost(unitCost) {};
38
42 struct Output {
43
45 double motorEfficiency, double motorPowerFactor, double motorCurrent, double motorPower,
46 double annualEnergy, double annualCost, double loadFactor, double driveEfficiency,
47 double estimatedFLA = 0)
51 loadFactor(loadFactor), driveEfficiency(driveEfficiency), estimatedFLA(estimatedFLA) {}
52 Output() = default;
53
74 double
84 double motorCurrent;
88 double motorPower;
92 double annualEnergy;
98 double annualCost;
102 double loadFactor;
103 double driveEfficiency;
107 };
108
113 double getAnnualSavingsPotential() { return annualSavingsPotential; }
114
119 double getOptimizationRating() const { return optimizationRating; }
120
121 Output calculateExisting();
122
123 Output calculateModified();
124
125 private:
126 // Out values
127 Output existing, modified;
128 double annualSavingsPotential = 0.0;
129 double optimizationRating = 0.0;
130 // In values
131 Pump::Input pumpInput;
132 Motor motor;
133 Pump::FieldData fieldData;
134 double operatingHours, unitCost;
135};
136
137#endif // TOOLS_SUITE_PUMPRESULT_H
double getOptimizationRating() const
Definition PumpResult.h:119
PumpResult(Pump::Input pumpInput, Motor motor, Pump::FieldData fieldData, double operatingHours, double unitCost)
Definition PumpResult.h:35
double getAnnualSavingsPotential()
Definition PumpResult.h:113
double motorRatedPower
Optimal: This is the nameplate motor rated power for an optimally sized pump.
Definition PumpResult.h:58
double motorPowerFactor
Definition PumpResult.h:78