MEASUR-Tools-Suite v1.2.4
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
air_system_capacity.h
Go to the documentation of this file.
1#pragma once
2
13#include <vector>
14
16
23namespace air_system_capacity {
24
26inline constexpr double kGallonsPerCubicFoot = 7.480515625;
27
33struct Input {
35 std::vector<double> receivers;
36};
37
50
56Output calculate(const Input& input);
57
58} // namespace air_system_capacity
Compressed air system capacity calculator.
constexpr double kGallonsPerCubicFoot
Existing receiver conversion factor .
Output calculate(const Input &input)
Calculates total compressed air system capacity.
Shared pipe-size data shape for compressed air capacity and velocity calculations.
Input parameters for the air system capacity calculation.
pipe_data::PipeData pipe_lengths
Pipe data constructed from pipe lengths; stored values are volumes .
std::vector< double > receivers
Receiver capacities .
Result of the air system capacity calculation.
double total_capacity_of_compressed_air_system
Total system capacity .
double total_pipe_volume
Total pipe volume .
std::vector< double > receiver_capacities
Receiver capacities converted to .
double total_receiver_volume
Total receiver volume .
pipe_data::PipeData pipe_lengths
Per-size pipe volumes .
Per-size values for standard compressed air pipe sizes.
Definition pipe_data.h:31