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
receiver_tank.h
Go to the documentation of this file.
1#pragma once
2
13#include "physics/constants.h"
14
37namespace receiver_tank {
38
40inline constexpr double kGallonsPerCubicFoot = 7.48;
41
43inline constexpr double kCubicFeetPerGallon = 0.133681;
44
45// ============================================================
46// Usable Air Capacity
47// ============================================================
48
55 double tank_size = 0.0;
56 double air_pressure_in = 0.0;
57 double air_pressure_out = 0.0;
58};
59
66 double usable_capacity = 0.0;
67};
68
95
96// ============================================================
97// General Method
98// ============================================================
99
110
117 double tank_size = 0.0;
118};
119
145
146// ============================================================
147// Dedicated Storage Method
148// ============================================================
149
162
190
191// ============================================================
192// Metered Storage Method
193// ============================================================
194
208
215 double tank_size = 0.0;
216 double refill_time = 0.0;
217};
218
258
259// ============================================================
260// Bridging Compressor Reaction Delay Method
261// ============================================================
262
275
307
308// ============================================================
309// Compressor Cycle Method
310// ============================================================
311
325
332 double tank_size = 0.0;
333 double effective_capacity = 0.0;
334 double pressure_change = 0.0;
335 double volume_cf = 0.0;
336};
337
375
376} // namespace receiver_tank
Defines physical constants and unit conversions.
constexpr double kAtmosphericPressurePsi
Standard atmospheric pressure at sea level .
Definition constants.h:68
Compressed air receiver tank sizing and usable capacity calculations.
UsableCapacityResult calculateUsableCapacity(const UsableCapacityInput &input)
Calculates the usable air capacity of a receiver tank.
SizeResult calculateGeneralSize(const GeneralInput &input)
Calculates receiver tank size using the General method.
SizeResult calculateDedicatedStorageSize(const DedicatedStorageInput &input)
Calculates receiver tank size using the Dedicated Storage method.
CompressorCycleResult calculateCompressorCycleSize(const CompressorCycleInput &input)
Calculates receiver tank size from the compressor duty cycle and pressure band.
MeteredStorageResult calculateMeteredStorageSize(const MeteredStorageInput &input)
Calculates receiver tank size and refill time using the Metered Storage method.
constexpr double kGallonsPerCubicFoot
U.S. customary conversion: gallons per cubic foot .
SizeResult calculateBridgingSize(const BridgingInput &input)
Calculates receiver tank size using the Bridging Compressor Reaction Delay method.
constexpr double kCubicFeetPerGallon
U.S. customary conversion: cubic feet per gallon .
Input parameters for the Bridging Compressor Reaction Delay sizing method.
double allowable_pressure_drop
Tolerable pressure drop at the event .
double distance_to_compressor_room
Distance from demand event to compressor room .
double air_demand_cfm
Air demand at the event location .
double atmospheric_pressure
Local atmospheric pressure .
double speed_of_air
Speed of compressed air in the distribution piping .
Input parameters for the Compressor Cycle sizing method.
double unload_pressure
Pressure at which the compressor unloads .
double full_load_pressure
Pressure at which the compressor fully loads .
double atmospheric_pressure
Local atmospheric pressure .
double unload_time
Compressor unloaded time per cycle .
double load_time
Compressor loaded time per cycle .
double compressor_capacity
Rated compressor output at full load .
Result of the Compressor Cycle sizing calculation.
double pressure_change
Pressure band width ( ) .
double tank_size
Required receiver tank size (liquid storage volume) .
double effective_capacity
Effective net compressor capacity over a full cycle .
double volume_cf
Required storage volume (area storage volume) .
Input parameters for the Dedicated Storage sizing method.
double initial_tank_pressure
Tank pressure before releasing air .
double air_flow_requirement
Required air flow during the demand event .
double final_tank_pressure
Tank pressure after releasing air .
double atmospheric_pressure
Local atmospheric pressure .
double length_of_demand
Duration of the air demand event .
Input parameters for the General sizing method.
double air_demand
Air demand drawn from the tank .
double allowable_pressure_drop
Tolerable pressure drop across the tank .
double atmospheric_pressure
Local atmospheric pressure .
Input parameters for the Metered Storage sizing method.
double metered_flow_control
Metering valve (needle valve) flow rate .
double length_of_demand
Duration of the air demand event .
double initial_tank_pressure
Tank pressure before releasing air .
double final_tank_pressure
Tank pressure after releasing air .
double atmospheric_pressure
Local atmospheric pressure .
double air_flow_requirement
Required air flow during the demand event .
Result of the Metered Storage sizing calculation.
double tank_size
Required receiver tank size .
double refill_time
Time to refill the tank after a demand event .
Tank size result shared by the General, Dedicated Storage, and Bridging methods.
double tank_size
Required receiver tank size .
Input parameters for the usable air capacity calculation.
double air_pressure_out
Outlet (cut-out) pressure .
double air_pressure_in
Inlet (charging) pressure .
Result of the usable air capacity calculation.
double usable_capacity
Usable air storage capacity .