11#ifndef TOOLS_SUITE_PUMPEFFICIENCY_H
12#define TOOLS_SUITE_PUMPEFFICIENCY_H
14#include "FluidPower.h"
26 MoverEfficiency(
double const specificGravity,
double const flowRate,
double const head,
27 double const moverShaftPower)
28 : specificGravity(specificGravity), head(head), flowRate(flowRate), moverShaftPower(moverShaftPower),
40 MoverEfficiency(
double const flowRate,
double const fanShaftPower,
double const inletPressure,
41 double const outletPressure,
double const compressibilityFactor,
double const velocityPressure)
42 : flowRate(flowRate), moverShaftPower(fanShaftPower), inletPressure(inletPressure),
43 outletPressure(outletPressure), compressibilityFactor(compressibilityFactor), isPump(false),
44 velocityPressure(velocityPressure) {}
75 void setFlowRate(
double flowRate) { this->flowRate = flowRate; }
87 void setHead(
double head) { this->head = head; }
102 double specificGravity = 0, head = 0;
103 double flowRate, moverShaftPower;
104 double inletPressure = 0, outletPressure = 0, compressibilityFactor = 0;
106 double velocityPressure = 0;
Header file for PumpEfficiency class.
MoverEfficiency(double const flowRate, double const fanShaftPower, double const inletPressure, double const outletPressure, double const compressibilityFactor, double const velocityPressure)
void setHead(double head)
void setFlowRate(double flowRate)
double getFlowRate() const
double getSpecificGravity() const
MoverEfficiency(double const specificGravity, double const flowRate, double const head, double const moverShaftPower)
void setMoverShaftPower(double moverShaftPower)
double getMoverShaftPower() const
void setSpecificGravity(double specificGravity)