Contains the declaration of MotorPowerFactor class including the getters and setters as well as the calculators. for motor efficiency. calculateThermalResistance(): Calculates the motor power factor.
More...
#include <MotorPowerFactor.h>
|
| | MotorPowerFactor (double motorRatedPower, double loadFactor, double motorCurrent, double motorEfficiency, double ratedVoltage) |
| |
| | MotorPowerFactor (Motor::LineFrequency lineFrequency, double motorRpm, Motor::EfficiencyClass efficiencyClass, double specifiedEfficiency, double motorRatedPower, double loadFactor, double motorCurrent, double motorEfficiency, double ratedVoltage) |
| |
| double | calculate () |
| |
| Motor::LineFrequency | getLineFrequency () const |
| |
| void | setLineFrequency (Motor::LineFrequency lineFrequency) |
| |
| double | getMotorRpm () const |
| |
| void | setMotorRpm (double motorRpm) |
| |
| Motor::EfficiencyClass | getEfficiencyClass () const |
| |
| void | setEfficiencyClass (Motor::EfficiencyClass efficiencyClass) |
| |
- Author
- Subhankar Mishra (mishras)
- Bug:
- No known bugs.
Definition at line 14 of file MotorPowerFactor.h.
◆ MotorPowerFactor() [1/2]
| MotorPowerFactor::MotorPowerFactor |
( |
double |
motorRatedPower, |
|
|
double |
loadFactor, |
|
|
double |
motorCurrent, |
|
|
double |
motorEfficiency, |
|
|
double |
ratedVoltage |
|
) |
| |
|
inline |
Constructor
- Parameters
-
| motorRatedPower | double, Rated Power of motor in hp |
| loadFactor | double, load factor - unitless |
| motorCurrent | double, current of motor in A |
| motorEfficiency | double, motor efficiency as % |
| ratedVoltage | double, rated voltage as V |
Definition at line 24 of file MotorPowerFactor.h.
◆ MotorPowerFactor() [2/2]
| MotorPowerFactor::MotorPowerFactor |
( |
Motor::LineFrequency |
lineFrequency, |
|
|
double |
motorRpm, |
|
|
Motor::EfficiencyClass |
efficiencyClass, |
|
|
double |
specifiedEfficiency, |
|
|
double |
motorRatedPower, |
|
|
double |
loadFactor, |
|
|
double |
motorCurrent, |
|
|
double |
motorEfficiency, |
|
|
double |
ratedVoltage |
|
) |
| |
|
inline |
Constructor when the load factor is 0. When the load factor is zero, you need to calculateThermalResistance the efficiency 0.25 load factor, hence the extra parameters.
- Parameters
-
| lineFrequency | Motor::LineFrequency, classification of line frequency in Hz |
| motorRpm | double, RPM of motor |
| efficiencyClass | Motor::EfficiencyClass, efficiency class of motor |
| specifiedEfficiency | double, specified efficiency as defined by fraction |
| motorRatedPower | Rated Power of motor in hp |
| loadFactor | double, load factor - unitless |
| motorCurrent | double, motor current in A |
| motorEfficiency | double, motor efficiency as % |
| ratedVoltage | double, rated voltage in V |
Definition at line 44 of file MotorPowerFactor.h.
◆ calculate()
| double MotorPowerFactor::calculate |
( |
| ) |
|
Calculates the motor power factor
- Returns
- double, power factor - unitless
◆ getEfficiencyClass()
| Motor::EfficiencyClass MotorPowerFactor::getEfficiencyClass |
( |
| ) |
const |
|
inline |
Gets the efficiency class
- Returns
- Motor::EfficiencyClass, efficiency class of motor
Definition at line 85 of file MotorPowerFactor.h.
◆ getLineFrequency()
| Motor::LineFrequency MotorPowerFactor::getLineFrequency |
( |
| ) |
const |
|
inline |
Gets the line frequency
- Returns
- Motor::LineFrequency, classification of line frequency in Hz
Definition at line 61 of file MotorPowerFactor.h.
◆ getMotorRpm()
| double MotorPowerFactor::getMotorRpm |
( |
| ) |
const |
|
inline |
◆ setEfficiencyClass()
| void MotorPowerFactor::setEfficiencyClass |
( |
Motor::EfficiencyClass |
efficiencyClass | ) |
|
|
inline |
Sets the efficiency class of motor
- Parameters
-
| efficiencyClass | Motor::EfficiencyClass, efficiency class of motor |
Definition at line 91 of file MotorPowerFactor.h.
◆ setLineFrequency()
| void MotorPowerFactor::setLineFrequency |
( |
Motor::LineFrequency |
lineFrequency | ) |
|
|
inline |
Sets the line frequency
- Parameters
-
| lineFrequency | Motor::LineFrequency, classification of line frequency in Hz |
Definition at line 67 of file MotorPowerFactor.h.
◆ setMotorRpm()
| void MotorPowerFactor::setMotorRpm |
( |
double |
motorRpm | ) |
|
|
inline |
Sets the motor RPM
- Parameters
-
| motorRpm | double, RPM of motor |
Definition at line 79 of file MotorPowerFactor.h.
◆ efficiencyClass
| Motor::EfficiencyClass MotorPowerFactor::efficiencyClass |
|
private |
◆ lineFrequency
| Motor::LineFrequency MotorPowerFactor::lineFrequency |
|
private |
◆ loadFactor
| double MotorPowerFactor::loadFactor |
|
private |
◆ motorCurrent
| double MotorPowerFactor::motorCurrent |
|
private |
◆ motorEfficiency
| double MotorPowerFactor::motorEfficiency |
|
private |
◆ motorkVA
| double MotorPowerFactor::motorkVA = 0.0 |
|
private |
◆ motorKwInput
| double MotorPowerFactor::motorKwInput = 0.0 |
|
private |
◆ motorRatedPower
| double MotorPowerFactor::motorRatedPower |
|
private |
◆ motorRpm
| double MotorPowerFactor::motorRpm |
|
private |
◆ ratedVoltage
| double MotorPowerFactor::ratedVoltage |
|
private |
◆ specifiedEfficiency
| double MotorPowerFactor::specifiedEfficiency |
|
private |
The documentation for this class was generated from the following file: