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
#pragma once
2
16
#include "motorDriven/pump/Pump.h"
17
24
class
PumpResult
{
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
43
Output
(
double
pumpEfficiency
,
double
motorRatedPower
,
double
motorShaftPower
,
double
moverShaftPower
,
44
double
motorEfficiency
,
double
motorPowerFactor
,
double
motorCurrent
,
double
motorPower
,
45
double
annualEnergy
,
double
annualCost
,
double
loadFactor,
double
driveEfficiency,
46
double
estimatedFLA
= 0)
47
:
pumpEfficiency
(
pumpEfficiency
),
motorRatedPower
(
motorRatedPower
),
motorShaftPower
(
motorShaftPower
),
48
moverShaftPower
(
moverShaftPower
),
motorEfficiency
(
motorEfficiency
),
motorPowerFactor
(
motorPowerFactor
),
49
motorCurrent
(
motorCurrent
),
motorPower
(
motorPower
),
annualEnergy
(
annualEnergy
),
annualCost
(
annualCost
),
50
loadFactor(loadFactor), driveEfficiency(driveEfficiency),
estimatedFLA
(
estimatedFLA
) {}
51
Output
() =
default
;
52
53
double
pumpEfficiency
;
57
double
motorRatedPower
;
60
double
motorShaftPower
;
67
double
moverShaftPower
;
73
double
74
motorEfficiency
;
77
double
motorPowerFactor
;
83
double
motorCurrent
;
87
double
motorPower
;
91
double
annualEnergy
;
97
double
annualCost
;
101
double
loadFactor;
102
double
driveEfficiency;
103
double
estimatedFLA
;
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
PumpResult
Definition
PumpResult.h:24
PumpResult::getOptimizationRating
double getOptimizationRating() const
Definition
PumpResult.h:118
PumpResult::PumpResult
PumpResult(Pump::Input pumpInput, Motor motor, Pump::FieldData fieldData, double operatingHours, double unitCost)
Definition
PumpResult.h:34
PumpResult::getAnnualSavingsPotential
double getAnnualSavingsPotential()
Definition
PumpResult.h:112
Motor
Definition
MotorData.h:5
PumpResult::Output
Definition
PumpResult.h:41
PumpResult::Output::motorRatedPower
double motorRatedPower
Optimal: This is the nameplate motor rated power for an optimally sized pump.
Definition
PumpResult.h:57
PumpResult::Output::motorPowerFactor
double motorPowerFactor
Definition
PumpResult.h:77
PumpResult::Output::motorShaftPower
double motorShaftPower
Definition
PumpResult.h:60
PumpResult::Output::moverShaftPower
double moverShaftPower
Definition
PumpResult.h:67
PumpResult::Output::estimatedFLA
double estimatedFLA
Definition
PumpResult.h:103
PumpResult::Output::motorCurrent
double motorCurrent
Definition
PumpResult.h:83
PumpResult::Output::annualCost
double annualCost
Definition
PumpResult.h:97
PumpResult::Output::motorEfficiency
double motorEfficiency
Definition
PumpResult.h:74
PumpResult::Output::annualEnergy
double annualEnergy
Definition
PumpResult.h:91
PumpResult::Output::motorPower
double motorPower
Definition
PumpResult.h:87
PumpResult::Output::pumpEfficiency
double pumpEfficiency
Definition
PumpResult.h:53
Pump::FieldData
Definition
Pump.h:25
Pump::Input
Definition
Pump.h:45
Generated by
1.9.8