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
bag_method.h
Go to the documentation of this file.
1#pragma once
2
27namespace bag_method {
28
29// ============================================================
30// Bag Method
31// ============================================================
32
38struct Input {
39 double operating_time = 0.0;
40 double bag_fill_time = 0.0;
41 double bag_volume = 0.0;
42};
43
49struct Result {
50 double flow_rate = 0.0;
51 double annual_consumption = 0.0;
52};
53
94Result calculate(const Input& input);
95
96} // namespace bag_method
Compressed air leak flow estimation using the bag fill-time method.
Result calculate(const Input &input)
Estimates compressed air leak flow rate and annual consumption using the bag method.
Input parameters for the bag method compressed air leak calculation.
Definition bag_method.h:38
double operating_time
Annual system operating time .
Definition bag_method.h:39
double bag_fill_time
Time for the measurement bag to fill with leaked air .
Definition bag_method.h:40
double bag_volume
Pre-measured volume of the measurement bag .
Definition bag_method.h:41
Result of the bag method leak flow rate calculation.
Definition bag_method.h:49
double flow_rate
Measured compressed air leak flow rate .
Definition bag_method.h:50
double annual_consumption
Estimated annual air loss from the leak .
Definition bag_method.h:51