Header file for OptimalMotorShaftPower class.
More...
#include <OptimalMotorShaftPower.h>
This contains the prototypes of OptimalMotorShaftPower calculator including getters and setters for the important fields.
- Author
- Subhankar Mishra (mishras)
-
Gina Accawi (accawigk)
- Bug:
- No known bugs.
Definition at line 17 of file OptimalMotorShaftPower.h.
◆ OptimalMotorShaftPower()
| OptimalMotorShaftPower::OptimalMotorShaftPower |
( |
double |
pumpShaftPower, |
|
|
Motor::Drive |
drive, |
|
|
double |
specifiedEfficiency |
|
) |
| |
|
inline |
Constructor
- Parameters
-
| pumpShaftPower | double, Pump shaft power as defined in hp |
| drive | Pump::Drive, Type of drive the pump uses from either direct or belt drive. |
Definition at line 31 of file OptimalMotorShaftPower.h.
◆ calculate()
| Output OptimalMotorShaftPower::calculate |
( |
| ) |
|
Calculates the optimal motor shaft power
- Returns
- double, optimal motor shaft power in hp
◆ getDrive()
| Motor::Drive OptimalMotorShaftPower::getDrive |
( |
| ) |
const |
|
inline |
Gets the type of drive the pump uses from either direct or belt drive
- Returns
- Motor::Drive, type of drive
Definition at line 56 of file OptimalMotorShaftPower.h.
◆ getPumpShaftPower()
| double OptimalMotorShaftPower::getPumpShaftPower |
( |
| ) |
const |
|
inline |
◆ getSpecifiedEfficiency()
| double OptimalMotorShaftPower::getSpecifiedEfficiency |
( |
| ) |
const |
|
inline |
◆ setDrive()
| void OptimalMotorShaftPower::setDrive |
( |
Motor::Drive |
drive | ) |
|
|
inline |
Sets the type of drive the pump uses from either direct or belt drive
- Parameters
-
| drive | Motor::Drive, type of drive |
Definition at line 62 of file OptimalMotorShaftPower.h.
◆ setPumpShaftPower()
| void OptimalMotorShaftPower::setPumpShaftPower |
( |
double |
pumpShaftPower | ) |
|
|
inline |
Sets the pump shaft power
- Parameters
-
| pumpShaftPower | double, pump shaft power in hp |
Definition at line 50 of file OptimalMotorShaftPower.h.
◆ setSpecifiedEfficiency()
| void OptimalMotorShaftPower::setSpecifiedEfficiency |
( |
double |
specifiedEfficiency | ) |
|
|
inline |
◆ drive
| Motor::Drive OptimalMotorShaftPower::drive |
|
private |
◆ pumpShaftPower
| double OptimalMotorShaftPower::pumpShaftPower |
|
private |
◆ specifiedEfficiency
| double OptimalMotorShaftPower::specifiedEfficiency |
|
private |
The documentation for this class was generated from the following file: