|
MEASUR-Tools-Suite v1.0.11
The MEASUR Tools Suite is a collection of industrial efficiency calculations written in C++ and with bindings for compilation to WebAssembly.
|
Contains the declaration of MotorPower class including the getters and setters as well as the calculators. for motor efficiency. calculateThermalResistance(): Calculates the motor power. More...
#include <MotorPower.h>
Public Member Functions | |
| MotorPower (double ratedVoltage, double motorCurrent, double powerFactor) | |
| double | calculate () |
Private Attributes | |
| double | ratedVoltage |
| double | motorCurrent |
| double | powerFactor |
Definition at line 13 of file MotorPower.h.
|
inline |
Constructor
| ratedVoltage | double, Rated voltage of motor in volts |
| motorCurrent | double, Motor current as defined in amps. |
| powerFactor | double, Power factor - unitless |
Definition at line 21 of file MotorPower.h.
| double MotorPower::calculate | ( | ) |
Calculates the motor power
|
private |
Motor current in amps
Definition at line 38 of file MotorPower.h.
|
private |
Power factor of motor
Definition at line 42 of file MotorPower.h.
|
private |
Rated voltage of motor in volts
Definition at line 34 of file MotorPower.h.