Header file for OptimalMotorPower class.
More...
#include <OptimalMotorPower.h>
This contains the prototypes of OptimalMotorPower 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 OptimalMotorPower.h.
◆ OptimalMotorPower()
OptimalMotorPower::OptimalMotorPower |
( |
double |
motorRatedPower, |
|
|
double |
motorRPM, |
|
|
Motor::LineFrequency |
lineFrequency, |
|
|
Motor::EfficiencyClass |
efficiencyClass, |
|
|
double |
specifiedEfficiency, |
|
|
double |
ratedVoltage, |
|
|
double |
fieldVoltage, |
|
|
double |
optimalMotorShaftPower |
|
) |
| |
|
inline |
Constructor
- Parameters
-
motorRatedPower | double, Rated Power of motor in hp |
motorRPM | double, RPM of motor |
lineFrequency | Motor::LineFrequency, classification of Line frequency of motor in Hz |
efficiencyClass | Motor::EfficiencyClass, Efficiency class of motor as % |
specifiedEfficiency | double, Specified Efficiency of motor, if efficiency class is SPECIFIED |
ratedVoltage | double, Rated voltage of the motor in V |
fullLoadAmps | double, Current at full load in A |
fieldVoltage | double, Field voltage in V |
optimalMotorShaftPower | double, Optimal shaft power as defined in hp |
Definition at line 46 of file OptimalMotorPower.h.
◆ calculate()
Output OptimalMotorPower::calculate |
( |
| ) |
|
Calculates the optimal motor power
◆ getOptimalMotorShaftPower()
double OptimalMotorPower::getOptimalMotorShaftPower |
( |
| ) |
const |
|
inline |
Gets the optimal motor shaft power
- Returns
- double, optimal motor shaft power in hp
Definition at line 62 of file OptimalMotorPower.h.
◆ setMotorShaftPower()
void OptimalMotorPower::setMotorShaftPower |
( |
double |
optimalMotorShaftPower | ) |
|
|
inline |
Sets the optimal motor shaft power
- Parameters
-
optimalMotorShaftPower | double, optimal motor shaft power in hp |
Definition at line 68 of file OptimalMotorPower.h.
◆ efficiencyClass
Motor::EfficiencyClass OptimalMotorPower::efficiencyClass |
|
private |
◆ fieldVoltage
double OptimalMotorPower::fieldVoltage |
|
private |
◆ lineFrequency
Motor::LineFrequency OptimalMotorPower::lineFrequency |
|
private |
◆ motorRatedPower
double OptimalMotorPower::motorRatedPower |
|
private |
◆ motorRPM
double OptimalMotorPower::motorRPM |
|
private |
◆ optimalMotorShaftPower
double OptimalMotorPower::optimalMotorShaftPower |
|
private |
◆ ratedVoltage
double OptimalMotorPower::ratedVoltage |
|
private |
◆ specifiedEfficiency
double OptimalMotorPower::specifiedEfficiency |
|
private |
The documentation for this class was generated from the following file: