Header file for OptimalMotorSize class.
More...
#include <OptimalMotorSize.h>
This contains the prototypes of OptimalMotorSize calculator including getters and setters for the important fields.
- Author
- Subhankar Mishra (mishras)
-
Gina Accawi (accawigk)
- Bug:
- No known bugs.
Definition at line 15 of file OptimalMotorSize.h.
◆ OptimalMotorSize()
OptimalMotorSize::OptimalMotorSize |
( |
double |
optimalMotorShaftPower, |
|
|
double |
sizeMargin |
|
) |
| |
|
inline |
Constructor
- Parameters
-
optimalMotorShaftPower | double, optimal motor shaft power in hp |
sizeMargin | double, size margin as % |
Definition at line 22 of file OptimalMotorSize.h.
◆ calculate()
double OptimalMotorSize::calculate |
( |
| ) |
|
Calculates the optimal motor size
- Returns
- double, optimal motor size in hp
◆ optimalMotorRatedPower
double OptimalMotorSize::optimalMotorRatedPower |
|
private |
◆ optimalMotorShaftPower
double OptimalMotorSize::optimalMotorShaftPower |
|
private |
◆ sizeMargin
double OptimalMotorSize::sizeMargin |
|
private |
The documentation for this class was generated from the following file: