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.
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
MotorPowerFactor Class Reference

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>

Public Member Functions

 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)
 

Private Attributes

Motor::LineFrequency lineFrequency
 
double motorRpm
 
Motor::EfficiencyClass efficiencyClass
 
double specifiedEfficiency
 
double motorKwInput = 0.0
 
double motorkVA = 0.0
 
double motorRatedPower
 
double loadFactor
 
double motorCurrent
 
double motorEfficiency
 
double ratedVoltage
 

Detailed Description

Author
Subhankar Mishra (mishras)
Bug:
No known bugs.

Definition at line 15 of file MotorPowerFactor.h.

Constructor & Destructor Documentation

◆ MotorPowerFactor() [1/2]

MotorPowerFactor::MotorPowerFactor ( double  motorRatedPower,
double  loadFactor,
double  motorCurrent,
double  motorEfficiency,
double  ratedVoltage 
)
inline

Constructor

Parameters
motorRatedPowerdouble, Rated Power of motor in hp
loadFactordouble, load factor - unitless
motorCurrentdouble, current of motor in A
motorEfficiencydouble, motor efficiency as %
ratedVoltagedouble, rated voltage as V

Definition at line 25 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
lineFrequencyMotor::LineFrequency, classification of line frequency in Hz
motorRpmdouble, RPM of motor
efficiencyClassMotor::EfficiencyClass, efficiency class of motor
specifiedEfficiencydouble, specified efficiency as defined by fraction
motorRatedPowerRated Power of motor in hp
loadFactordouble, load factor - unitless
motorCurrentdouble, motor current in A
motorEfficiencydouble, motor efficiency as %
ratedVoltagedouble, rated voltage in V

Definition at line 45 of file MotorPowerFactor.h.

Member Function Documentation

◆ 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 86 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 62 of file MotorPowerFactor.h.

◆ getMotorRpm()

double MotorPowerFactor::getMotorRpm ( ) const
inline

Gets the motor RPM

Returns
double, motor RPM

Definition at line 74 of file MotorPowerFactor.h.

◆ setEfficiencyClass()

void MotorPowerFactor::setEfficiencyClass ( Motor::EfficiencyClass  efficiencyClass)
inline

Sets the efficiency class of motor

Parameters
efficiencyClassMotor::EfficiencyClass, efficiency class of motor

Definition at line 92 of file MotorPowerFactor.h.

◆ setLineFrequency()

void MotorPowerFactor::setLineFrequency ( Motor::LineFrequency  lineFrequency)
inline

Sets the line frequency

Parameters
lineFrequencyMotor::LineFrequency, classification of line frequency in Hz

Definition at line 68 of file MotorPowerFactor.h.

◆ setMotorRpm()

void MotorPowerFactor::setMotorRpm ( double  motorRpm)
inline

Sets the motor RPM

Parameters
motorRpmdouble, RPM of motor

Definition at line 80 of file MotorPowerFactor.h.

Member Data Documentation

◆ efficiencyClass

Motor::EfficiencyClass MotorPowerFactor::efficiencyClass
private

Definition at line 97 of file MotorPowerFactor.h.

◆ lineFrequency

Motor::LineFrequency MotorPowerFactor::lineFrequency
private

Definition at line 95 of file MotorPowerFactor.h.

◆ loadFactor

double MotorPowerFactor::loadFactor
private

Definition at line 103 of file MotorPowerFactor.h.

◆ motorCurrent

double MotorPowerFactor::motorCurrent
private

Definition at line 104 of file MotorPowerFactor.h.

◆ motorEfficiency

double MotorPowerFactor::motorEfficiency
private

Definition at line 105 of file MotorPowerFactor.h.

◆ motorkVA

double MotorPowerFactor::motorkVA = 0.0
private

Definition at line 100 of file MotorPowerFactor.h.

◆ motorKwInput

double MotorPowerFactor::motorKwInput = 0.0
private

Definition at line 99 of file MotorPowerFactor.h.

◆ motorRatedPower

double MotorPowerFactor::motorRatedPower
private

Definition at line 102 of file MotorPowerFactor.h.

◆ motorRpm

double MotorPowerFactor::motorRpm
private

Definition at line 96 of file MotorPowerFactor.h.

◆ ratedVoltage

double MotorPowerFactor::ratedVoltage
private

Definition at line 106 of file MotorPowerFactor.h.

◆ specifiedEfficiency

double MotorPowerFactor::specifiedEfficiency
private

Definition at line 98 of file MotorPowerFactor.h.


The documentation for this class was generated from the following file: