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

Header file for OptimalMotorSize class. More...

#include <OptimalMotorSize.h>

Public Member Functions

 OptimalMotorSize (double optimalMotorShaftPower, double sizeMargin)
 
double calculate ()
 

Private Attributes

double optimalMotorShaftPower
 
double sizeMargin
 
double optimalMotorRatedPower
 

Detailed Description

This contains the prototypes of OptimalMotorSize calculator including getters and setters for the important fields.

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

Definition at line 15 of file OptimalMotorSize.h.

Constructor & Destructor Documentation

◆ OptimalMotorSize()

OptimalMotorSize::OptimalMotorSize ( double  optimalMotorShaftPower,
double  sizeMargin 
)
inline

Constructor

Parameters
optimalMotorShaftPowerdouble, optimal motor shaft power in hp
sizeMargindouble, size margin as %

Definition at line 22 of file OptimalMotorSize.h.

Member Function Documentation

◆ calculate()

double OptimalMotorSize::calculate ( )

Calculates the optimal motor size

Returns
double, optimal motor size in hp

Member Data Documentation

◆ optimalMotorRatedPower

double OptimalMotorSize::optimalMotorRatedPower
private

Definition at line 34 of file OptimalMotorSize.h.

◆ optimalMotorShaftPower

double OptimalMotorSize::optimalMotorShaftPower
private

Definition at line 32 of file OptimalMotorSize.h.

◆ sizeMargin

double OptimalMotorSize::sizeMargin
private

Definition at line 33 of file OptimalMotorSize.h.


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