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

Header file for OptimalPrePumpEff class. More...

#include <OptimalPrePumpEff.h>

Public Member Functions

 OptimalPrePumpEff (const Pump::Style style, const double flowRate)
 
double calculate ()
 

Private Attributes

const Pump::Style style
 
const double flowRate
 

Detailed Description

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

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

Definition at line 16 of file OptimalPrePumpEff.h.

Constructor & Destructor Documentation

◆ OptimalPrePumpEff()

OptimalPrePumpEff::OptimalPrePumpEff ( const Pump::Style  style,
const double  flowRate 
)
inline

Constructor

Parameters
stylePump::Style, style of pump being used.
flowRatedouble, measured or required flow rate in gpm

Definition at line 23 of file OptimalPrePumpEff.h.

Member Function Documentation

◆ calculate()

double OptimalPrePumpEff::calculate ( )

Calculates the optimal prepump efficiency

Returns
double, optimal prepump efficiency as %

Member Data Documentation

◆ flowRate

const double OptimalPrePumpEff::flowRate
private

Definition at line 33 of file OptimalPrePumpEff.h.

◆ style

const Pump::Style OptimalPrePumpEff::style
private

Definition at line 32 of file OptimalPrePumpEff.h.


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