13#include "FluidPower.h"
25 MoverEfficiency(
double const specificGravity,
double const flowRate,
double const head,
26 double const moverShaftPower)
27 : specificGravity(specificGravity), head(head), flowRate(flowRate), moverShaftPower(moverShaftPower),
39 MoverEfficiency(
double const flowRate,
double const fanShaftPower,
double const inletPressure,
40 double const outletPressure,
double const compressibilityFactor,
double const velocityPressure)
41 : flowRate(flowRate), moverShaftPower(fanShaftPower), inletPressure(inletPressure),
42 outletPressure(outletPressure), compressibilityFactor(compressibilityFactor), isPump(false),
43 velocityPressure(velocityPressure) {}
74 void setFlowRate(
double flowRate) { this->flowRate = flowRate; }
86 void setHead(
double head) { this->head = head; }
101 double specificGravity = 0, head = 0;
102 double flowRate, moverShaftPower;
103 double inletPressure = 0, outletPressure = 0, compressibilityFactor = 0;
105 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)