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

Public Types

enum class  Method { General , DedicatedStorage , MeteredStorage , BridgingCompressorReactionDelay }
 

Public Member Functions

 ReceiverTank (Method method, double airDemand, double allowablePressureDrop, double atmosphericPressure)
 
 ReceiverTank (Method method, double lengthOfDemandOrDistanceToCompressorRoom, double airFlowRequirementOrSpeedOfAir, double atmosphericPressure, double initialTankPressureOrAirDemand, double finalTankPressureOrAllowablePressureDrop)
 
 ReceiverTank (Method method, double lengthOfDemand, double airFlowRequirement, double atmosphericPressure, double initialTankPressure, double finalTankPressure, double meteredFlowControl)
 
double calculateUsableCapacity (const double tankSize, const double airPressureIn, const double airPressureOut)
 
double calculateSize ()
 
double calculateRefillTime ()
 

Private Attributes

Method method
 
double airDemand
 
double allowablePressureDrop
 
double atmosphericPressure
 
double lengthOfDemandOrDistanceToCompressorRoom
 
double airFlowRequirementOrSpeedOfAir
 
double initialTankPressureOrAirDemand
 
double finalTankPressureOrAllowablePressureDrop
 
double meteredFlowControl
 

Detailed Description

Definition at line 18 of file ReceiverTank.h.

Member Enumeration Documentation

◆ Method

enum class ReceiverTank::Method
strong

Definition at line 20 of file ReceiverTank.h.

Constructor & Destructor Documentation

◆ ReceiverTank() [1/3]

ReceiverTank::ReceiverTank ( Method  method,
double  airDemand,
double  allowablePressureDrop,
double  atmosphericPressure 
)
inline

Constructor for ReceiverTank - This is required when we need to order a receiver tank to meet our compressed air requirements. This calculator computes the quantity of compressed air that is actually available for use. When air receivers are installed, the system’s pressure profile and lack of storage limit the effectiveness of compressed air energy storage. Hence this calculator proves useful in such a context.

Parameters
methodReceiverTank::Method, Calculation Method, in this case it must be General
airDemandconst double, Amount of air needed, which comes out of the receiver tank - cubic ft
allowablePressureDropconst double, This decides the pressure drop inside the receiver tank that we can tolerate - psi
atmosphericPressureconst double, This is generally 14.7 psi. In case the receiver tank is at higher altitude location, the respective atmospheric pressure at that location can be given - psi

Definition at line 36 of file ReceiverTank.h.

◆ ReceiverTank() [2/3]

ReceiverTank::ReceiverTank ( Method  method,
double  lengthOfDemandOrDistanceToCompressorRoom,
double  airFlowRequirementOrSpeedOfAir,
double  atmosphericPressure,
double  initialTankPressureOrAirDemand,
double  finalTankPressureOrAllowablePressureDrop 
)
inline

Constructor for ReceiverTank - This is required when we need to order a receiver tank to meet our compressed air requirements. This calculator computes the quantity of compressed air that is actually available for use. When air receivers are installed, the system’s pressure profile and lack of storage limit the effectiveness of compressed air energy storage. Hence this calculator proves useful in such a context.

Parameters
methodReceiverTank::Method, Calculation Method, in this case it must be DedicatedStorageMethod OR BridgingCompressorReactionDelay due to a C++ overloading limitation
lengthOfDemandOrDistanceToCompressorRoomconst double, Time duration for which the compressed air is needed OR Distance of the event, that is removing the air, from the compressor room - minutes OR feet
airFlowRequirementOrSpeedOfAirconst double, The quantity of air needed OR Flow rate of air from the tank
  • cfm OR ft/sec
atmosphericPressureconst double, This is generally 14.7 psi. In case the receiver tank is at higher altitude location, the respective atmospheric pressure at that location can be given - psi
initialTankPressureOrAirDemandconst double, Tank pressure before release of air OR Amount of air needed, which comes out of the receiver tank - psi OR cubic ft
finalTankPressureOrAllowablePressureDropconst double, Tank pressure after release of air OR This decides the pressure drop inside the receiver tank that we can tolerate - psi

Definition at line 62 of file ReceiverTank.h.

◆ ReceiverTank() [3/3]

ReceiverTank::ReceiverTank ( Method  method,
double  lengthOfDemand,
double  airFlowRequirement,
double  atmosphericPressure,
double  initialTankPressure,
double  finalTankPressure,
double  meteredFlowControl 
)
inline

Constructor for ReceiverTank - This is required when we need to order a receiver tank to meet our compressed air requirements. This calculator computes the quantity of compressed air that is actually available for use. When air receivers are installed, the system’s pressure profile and lack of storage limit the effectiveness of compressed air energy storage. Hence this calculator proves useful in such a context.

Parameters
methodReceiverTank::Method, Calculation Method, in this case it must be MeteredStorage
lengthOfDemandconst double, Time duration for which the compressed air is needed - minutes
airFlowRequirementconst double, The quantity of air needed - cfm
atmosphericPressureconst double, This is generally 14.7 psi. In case the receiver tank is at higher altitude location, the respective atmospheric pressure at that location can be given - psi
initialTankPressureconst double, Tank pressure before release of air - psi
finalTankPressureconst double, Tank pressure after release of air - psi
meteredFlowControlconst double, Rate of flow through the metering valve (needle valve) - cfm

Definition at line 91 of file ReceiverTank.h.

Member Function Documentation

◆ calculateRefillTime()

double ReceiverTank::calculateRefillTime ( )
inline
   Calculates and returns refill time (seconds) for receiver tanks using metered stored method

T = Vcf X (P1 - P2) / (R x Pa)

Returns
double, refill size - seconds

Definition at line 142 of file ReceiverTank.h.

◆ calculateSize()

double ReceiverTank::calculateSize ( )
inline

Calculates and returns receiver tank usable air capacity

Returns
double, receiver size - gallons

Definition at line 117 of file ReceiverTank.h.

◆ calculateUsableCapacity()

double ReceiverTank::calculateUsableCapacity ( const double  tankSize,
const double  airPressureIn,
const double  airPressureOut 
)
inline

Calculates and returns receiver tank usable air capacity

Parameters
tankSizedouble, Quantity of air it can hold - gallons
airPressureIndouble, Pressure of air entering the Tank - psi
airPressureOutdouble, a. Pressure of air leaving the Tank - psi
Returns
double, usable air storage capacity - scf

Definition at line 109 of file ReceiverTank.h.

Member Data Documentation

◆ airDemand

double ReceiverTank::airDemand
private

Definition at line 153 of file ReceiverTank.h.

◆ airFlowRequirementOrSpeedOfAir

double ReceiverTank::airFlowRequirementOrSpeedOfAir
private

Definition at line 155 of file ReceiverTank.h.

◆ allowablePressureDrop

double ReceiverTank::allowablePressureDrop
private

Definition at line 153 of file ReceiverTank.h.

◆ atmosphericPressure

double ReceiverTank::atmosphericPressure
private

Definition at line 153 of file ReceiverTank.h.

◆ finalTankPressureOrAllowablePressureDrop

double ReceiverTank::finalTankPressureOrAllowablePressureDrop
private

Definition at line 156 of file ReceiverTank.h.

◆ initialTankPressureOrAirDemand

double ReceiverTank::initialTankPressureOrAirDemand
private

Definition at line 155 of file ReceiverTank.h.

◆ lengthOfDemandOrDistanceToCompressorRoom

double ReceiverTank::lengthOfDemandOrDistanceToCompressorRoom
private

Definition at line 155 of file ReceiverTank.h.

◆ meteredFlowControl

double ReceiverTank::meteredFlowControl
private

Definition at line 158 of file ReceiverTank.h.

◆ method

Method ReceiverTank::method
private

Definition at line 152 of file ReceiverTank.h.


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