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
MotorPower Class Reference

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
 

Detailed Description

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

Definition at line 14 of file MotorPower.h.

Constructor & Destructor Documentation

◆ MotorPower()

MotorPower::MotorPower ( double  ratedVoltage,
double  motorCurrent,
double  powerFactor 
)
inline

Constructor

Parameters
ratedVoltagedouble, Rated voltage of motor in volts
motorCurrentdouble, Motor current as defined in amps.
powerFactordouble, Power factor - unitless

Definition at line 22 of file MotorPower.h.

Member Function Documentation

◆ calculate()

double MotorPower::calculate ( )

Calculates the motor power

Returns
double, motor power in hp

Member Data Documentation

◆ motorCurrent

double MotorPower::motorCurrent
private

Motor current in amps

Definition at line 39 of file MotorPower.h.

◆ powerFactor

double MotorPower::powerFactor
private

Power factor of motor

Definition at line 43 of file MotorPower.h.

◆ ratedVoltage

double MotorPower::ratedVoltage
private

Rated voltage of motor in volts

Definition at line 35 of file MotorPower.h.


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