AMO-Tools-Suite  v.0.9.0
Set of tools for calculating energy efficiency in industrial equipment
All Classes Namespaces Files Functions Variables Enumerations Friends Macros Pages
Classes | Public Member Functions | List of all members
PumpShaftPower Class Reference

Header file for PumpShaftPower class. More...

#include <PumpShaftPower.h>

Classes

struct  Output
 

Public Member Functions

 PumpShaftPower (double motorShaftPower, Motor::Drive drive, double specifiedEfficiency)
 
Output calculate ()
 
double getMotorShaftPower () const
 
void setMotorShaftPower (double motorShaftPower)
 
Motor::Drive getDrive () const
 
void setDrive (Motor::Drive drive)
 
double getSpecifiedEfficiency () const
 
void setSpecifiedEfficiency (double specifiedEfficiency)
 
 PumpShaftPower (double motorShaftPower, Motor::Drive drive, double specifiedEfficiency)
 
Output calculate ()
 
double getMotorShaftPower () const
 
void setMotorShaftPower (double motorShaftPower)
 
Motor::Drive getDrive () const
 
void setDrive (Motor::Drive drive)
 
double getSpecifiedEfficiency () const
 
void setSpecifiedEfficiency (double specifiedEfficiency)
 
 PumpShaftPower (double motorShaftPower, Motor::Drive drive, double specifiedEfficiency)
 
Output calculate ()
 
double getMotorShaftPower () const
 
void setMotorShaftPower (double motorShaftPower)
 
Motor::Drive getDrive () const
 
void setDrive (Motor::Drive drive)
 
double getSpecifiedEfficiency () const
 
void setSpecifiedEfficiency (double specifiedEfficiency)
 

Detailed Description

Header file for PumpShaftPower class.

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

Author
Gina Accawi (accawigk)
Allie Ledbetter (Aeledbetter)

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

Author
Gina Accawi (accawigk)
Allie Ledbetter (Aeledbetter)

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

Author
Gina Accawi (accawigk)
Allie Ledbetter (Aeledbetter)

Definition at line 17 of file PumpShaftPower.h.

Constructor & Destructor Documentation

◆ PumpShaftPower() [1/3]

PumpShaftPower::PumpShaftPower ( double  motorShaftPower,
Motor::Drive  drive,
double  specifiedEfficiency 
)
inline

Constructor

Parameters
motorShaftPowerdouble, motor shaft power as defined in hp
driveMotor::Drive, type of drive the pump uses from either direct or belt drive.

Definition at line 37 of file PumpShaftPower.h.

◆ PumpShaftPower() [2/3]

PumpShaftPower::PumpShaftPower ( double  motorShaftPower,
Motor::Drive  drive,
double  specifiedEfficiency 
)
inline

Constructor

Parameters
motorShaftPowerdouble, motor shaft power as defined in hp
driveMotor::Drive, type of drive the pump uses from either direct or belt drive.

Definition at line 37 of file PumpShaftPower.h.

◆ PumpShaftPower() [3/3]

PumpShaftPower::PumpShaftPower ( double  motorShaftPower,
Motor::Drive  drive,
double  specifiedEfficiency 
)
inline

Constructor

Parameters
motorShaftPowerdouble, motor shaft power as defined in hp
driveMotor::Drive, type of drive the pump uses from either direct or belt drive.

Definition at line 37 of file PumpShaftPower.h.

Member Function Documentation

◆ calculate() [1/3]

PumpShaftPower::Output PumpShaftPower::calculate ( )

Calculates the pump shaft power

Returns
double, pump shaft power in hp

Definition at line 8 of file PumpShaftPower.cpp.

◆ calculate() [2/3]

Output PumpShaftPower::calculate ( )

Calculates the pump shaft power

Returns
double, pump shaft power in hp

◆ calculate() [3/3]

Output PumpShaftPower::calculate ( )

Calculates the pump shaft power

Returns
double, pump shaft power in hp

◆ getDrive() [1/3]

Motor::Drive PumpShaftPower::getDrive ( ) const
inline

Gets the type of drive the pump uses from either direct or belt drive

Returns
Pump:Drive, type of drive

Definition at line 73 of file PumpShaftPower.h.

◆ getDrive() [2/3]

Motor::Drive PumpShaftPower::getDrive ( ) const
inline

Gets the type of drive the pump uses from either direct or belt drive

Returns
Pump:Drive, type of drive

Definition at line 73 of file PumpShaftPower.h.

◆ getDrive() [3/3]

Motor::Drive PumpShaftPower::getDrive ( ) const
inline

Gets the type of drive the pump uses from either direct or belt drive

Returns
Pump:Drive, type of drive

Definition at line 73 of file PumpShaftPower.h.

◆ getMotorShaftPower() [1/3]

double PumpShaftPower::getMotorShaftPower ( ) const
inline

Gets the motor shaft power

Returns
double, motor shaft power in hp

Definition at line 57 of file PumpShaftPower.h.

◆ getMotorShaftPower() [2/3]

double PumpShaftPower::getMotorShaftPower ( ) const
inline

Gets the motor shaft power

Returns
double, motor shaft power in hp

Definition at line 57 of file PumpShaftPower.h.

◆ getMotorShaftPower() [3/3]

double PumpShaftPower::getMotorShaftPower ( ) const
inline

Gets the motor shaft power

Returns
double, motor shaft power in hp

Definition at line 57 of file PumpShaftPower.h.

◆ getSpecifiedEfficiency() [1/3]

double PumpShaftPower::getSpecifiedEfficiency ( ) const
inline

Gets the specified efficiency

Returns
double, specifiedEfficiency

Definition at line 89 of file PumpShaftPower.h.

◆ getSpecifiedEfficiency() [2/3]

double PumpShaftPower::getSpecifiedEfficiency ( ) const
inline

Gets the specified efficiency

Returns
double, specifiedEfficiency

Definition at line 89 of file PumpShaftPower.h.

◆ getSpecifiedEfficiency() [3/3]

double PumpShaftPower::getSpecifiedEfficiency ( ) const
inline

Gets the specified efficiency

Returns
double, specifiedEfficiency

Definition at line 89 of file PumpShaftPower.h.

◆ setDrive() [1/3]

void PumpShaftPower::setDrive ( Motor::Drive  drive)
inline

Set the type of drive the pump uses from either direct or belt drive

Parameters
driveMotor:Drive, type of drive

Definition at line 81 of file PumpShaftPower.h.

◆ setDrive() [2/3]

void PumpShaftPower::setDrive ( Motor::Drive  drive)
inline

Set the type of drive the pump uses from either direct or belt drive

Parameters
driveMotor:Drive, type of drive

Definition at line 81 of file PumpShaftPower.h.

◆ setDrive() [3/3]

void PumpShaftPower::setDrive ( Motor::Drive  drive)
inline

Set the type of drive the pump uses from either direct or belt drive

Parameters
driveMotor:Drive, type of drive

Definition at line 81 of file PumpShaftPower.h.

◆ setMotorShaftPower() [1/3]

void PumpShaftPower::setMotorShaftPower ( double  motorShaftPower)
inline

Sets the motor shaft power

Parameters
motorShaftPowerdouble, motor shaft power in hp

Definition at line 65 of file PumpShaftPower.h.

◆ setMotorShaftPower() [2/3]

void PumpShaftPower::setMotorShaftPower ( double  motorShaftPower)
inline

Sets the motor shaft power

Parameters
motorShaftPowerdouble, motor shaft power in hp

Definition at line 65 of file PumpShaftPower.h.

◆ setMotorShaftPower() [3/3]

void PumpShaftPower::setMotorShaftPower ( double  motorShaftPower)
inline

Sets the motor shaft power

Parameters
motorShaftPowerdouble, motor shaft power in hp

Definition at line 65 of file PumpShaftPower.h.

◆ setSpecifiedEfficiency() [1/3]

void PumpShaftPower::setSpecifiedEfficiency ( double  specifiedEfficiency)
inline

Sets the specified efficiency

Parameters
specifiedEfficiencydouble

Definition at line 97 of file PumpShaftPower.h.

◆ setSpecifiedEfficiency() [2/3]

void PumpShaftPower::setSpecifiedEfficiency ( double  specifiedEfficiency)
inline

Sets the specified efficiency

Parameters
specifiedEfficiencydouble

Definition at line 97 of file PumpShaftPower.h.

◆ setSpecifiedEfficiency() [3/3]

void PumpShaftPower::setSpecifiedEfficiency ( double  specifiedEfficiency)
inline

Sets the specified efficiency

Parameters
specifiedEfficiencydouble

Definition at line 97 of file PumpShaftPower.h.


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