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
include
motorDriven
pump
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
25
class
PumpResult
{
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
44
Output
(
double
pumpEfficiency
,
double
motorRatedPower
,
double
motorShaftPower
,
double
moverShaftPower
,
45
double
motorEfficiency
,
double
motorPowerFactor
,
double
motorCurrent
,
double
motorPower
,
46
double
annualEnergy
,
double
annualCost
,
double
loadFactor,
double
driveEfficiency,
47
double
estimatedFLA
= 0)
48
:
pumpEfficiency
(
pumpEfficiency
),
motorRatedPower
(
motorRatedPower
),
motorShaftPower
(
motorShaftPower
),
49
moverShaftPower
(
moverShaftPower
),
motorEfficiency
(
motorEfficiency
),
motorPowerFactor
(
motorPowerFactor
),
50
motorCurrent
(
motorCurrent
),
motorPower
(
motorPower
),
annualEnergy
(
annualEnergy
),
annualCost
(
annualCost
),
51
loadFactor(loadFactor), driveEfficiency(driveEfficiency),
estimatedFLA
(
estimatedFLA
) {}
52
Output
() =
default
;
53
54
double
pumpEfficiency
;
58
double
motorRatedPower
;
61
double
motorShaftPower
;
68
double
moverShaftPower
;
74
double
75
motorEfficiency
;
78
double
motorPowerFactor
;
84
double
motorCurrent
;
88
double
motorPower
;
92
double
annualEnergy
;
98
double
annualCost
;
102
double
loadFactor;
103
double
driveEfficiency;
104
double
estimatedFLA
;
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
PumpResult
Definition
PumpResult.h:25
PumpResult::getOptimizationRating
double getOptimizationRating() const
Definition
PumpResult.h:119
PumpResult::PumpResult
PumpResult(Pump::Input pumpInput, Motor motor, Pump::FieldData fieldData, double operatingHours, double unitCost)
Definition
PumpResult.h:35
PumpResult::getAnnualSavingsPotential
double getAnnualSavingsPotential()
Definition
PumpResult.h:113
Motor
Definition
MotorData.h:6
PumpResult::Output
Definition
PumpResult.h:42
PumpResult::Output::motorRatedPower
double motorRatedPower
Optimal: This is the nameplate motor rated power for an optimally sized pump.
Definition
PumpResult.h:58
PumpResult::Output::motorPowerFactor
double motorPowerFactor
Definition
PumpResult.h:78
PumpResult::Output::motorShaftPower
double motorShaftPower
Definition
PumpResult.h:61
PumpResult::Output::moverShaftPower
double moverShaftPower
Definition
PumpResult.h:68
PumpResult::Output::estimatedFLA
double estimatedFLA
Definition
PumpResult.h:104
PumpResult::Output::motorCurrent
double motorCurrent
Definition
PumpResult.h:84
PumpResult::Output::annualCost
double annualCost
Definition
PumpResult.h:98
PumpResult::Output::motorEfficiency
double motorEfficiency
Definition
PumpResult.h:75
PumpResult::Output::annualEnergy
double annualEnergy
Definition
PumpResult.h:92
PumpResult::Output::motorPower
double motorPower
Definition
PumpResult.h:88
PumpResult::Output::pumpEfficiency
double pumpEfficiency
Definition
PumpResult.h:54
Pump::FieldData
Definition
Pump.h:26
Pump::Input
Definition
Pump.h:46
Generated by
1.9.8