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
Classes | Public Member Functions | Private Attributes | List of all members
BagMethod Class Reference

Classes

struct  Output
 

Public Member Functions

 BagMethod (double operatingTime, double bagFillTime, double bagVolume, int numberOfUnits)
 
Output calculate ()
 

Private Attributes

double operatingTime
 
double bagFillTime
 
double bagVolume
 
double numberOfUnits
 

Detailed Description

Definition at line 18 of file BagMethod.h.

Constructor & Destructor Documentation

◆ BagMethod()

BagMethod::BagMethod ( double  operatingTime,
double  bagFillTime,
double  bagVolume,
int  numberOfUnits 
)
inline

Constructor for BagMethod - The bag method estimates the air flow using a trash bag by counting the time it takes to fill it. This is the second most accurate means of measuring compressed air consumption.

Parameters
operatingTimedouble, operating time of the system per year - hours
bagFillTimedouble, time that it takes for the bag to fill with air - seconds
bagVolumedouble, volume of the bag filler - cubic feet
numberOfUnitsint, number of trash bags
Returns
flowRate in scfm, annualConsumption in kscfm

Definition at line 36 of file BagMethod.h.

Member Function Documentation

◆ calculate()

Output BagMethod::calculate ( )
inline
Returns
BagMethod::Output,
Parameters
flowRatein scfm
annualConsumptionin kscf

Definition at line 44 of file BagMethod.h.

Member Data Documentation

◆ bagFillTime

double BagMethod::bagFillTime
private

Definition at line 50 of file BagMethod.h.

◆ bagVolume

double BagMethod::bagVolume
private

Definition at line 50 of file BagMethod.h.

◆ numberOfUnits

double BagMethod::numberOfUnits
private

Definition at line 50 of file BagMethod.h.

◆ operatingTime

double BagMethod::operatingTime
private

Definition at line 50 of file BagMethod.h.


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