20 Output(
const double motorShaftPower,
const double driveEfficiency)
21 : motorShaftPower(motorShaftPower), driveEfficiency(driveEfficiency) {}
23 const double motorShaftPower, driveEfficiency;
32 : pumpShaftPower(pumpShaftPower), drive(drive), specifiedEfficiency(specifiedEfficiency) {}
56 Motor::Drive
getDrive()
const {
return drive; }
62 void setDrive(Motor::Drive drive) { this->drive = drive; }
77 double pumpShaftPower;
81 double specifiedEfficiency;
Header file for OptimalMotorShaftPower class.
Motor::Drive getDrive() const
double getSpecifiedEfficiency() const
void setDrive(Motor::Drive drive)
void setSpecifiedEfficiency(double specifiedEfficiency)
void setPumpShaftPower(double pumpShaftPower)
double getPumpShaftPower() const
OptimalMotorShaftPower(double pumpShaftPower, Motor::Drive drive, double specifiedEfficiency)