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
pumpFan
PumpEfficiency.h
1
9
#ifndef TOOLS_SUITE_PUMPEFFICIENCY_H
10
#define TOOLS_SUITE_PUMPEFFICIENCY_H
11
12
#include "
motorDriven/pump/PumpResult.h
"
13
14
class
PumpEfficiency
{
15
public
:
16
struct
Output
{
21
Output
(
const
double
average,
const
double
max) : average(average), max(max) {}
22
23
const
double
average, max;
24
};
35
PumpEfficiency
(Pump::Style style,
double
pumpEfficiency,
double
rpm,
double
kinematicViscosity,
double
stageCount,
36
double
flowRate,
double
head)
37
: style(style), pumpEfficiency(pumpEfficiency), rpm(rpm), kinematicViscosity(kinematicViscosity),
38
stageCount(stageCount), flowRate(flowRate), head(head) {};
39
43
Output
calculate
();
44
45
private
:
46
Pump::Style style;
47
double
pumpEfficiency;
48
double
rpm;
49
double
kinematicViscosity;
50
double
stageCount;
51
double
flowRate;
52
double
head;
53
};
54
55
#endif
// TOOLS_SUITE_PUMPEFFICIENCY_H
PumpResult.h
Function prototypes for the Pump result fields.
PumpEfficiency
TODO.
Definition
PumpEfficiency.h:14
PumpEfficiency::calculate
Output calculate()
PumpEfficiency::PumpEfficiency
PumpEfficiency(Pump::Style style, double pumpEfficiency, double rpm, double kinematicViscosity, double stageCount, double flowRate, double head)
Definition
PumpEfficiency.h:35
PumpEfficiency::Output
Definition
PumpEfficiency.h:16
PumpEfficiency::Output::Output
Output(const double average, const double max)
Definition
PumpEfficiency.h:21
Generated by
1.9.8