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
compressed_air_leak_survey.h
Go to the documentation of this file.
1#pragma once
2
14#include <vector>
15
16#include "compressedAir/compressed_air_utils.h"
21
39
40// ============================================================
41// Enumerations
42// ============================================================
43
52enum class MeasurementMethod : int {
53 kEstimate = 0,
54 kDecibels = 1,
55 kBag = 2,
56 kOrifice = 3
57};
58
64enum class UtilityType : int {
65 kCompressedAir = 0,
66 kElectricity = 1
67};
68
69// ============================================================
70// Input / Result
71// ============================================================
72
101
115
116// ============================================================
117// Function
118// ============================================================
119
196Result calculate(const std::vector<Input>& inputs);
197
198} // namespace compressed_air_leak_survey
Declarations for the bag method compressed air leak flow rate measurement.
Declarations for the decibels method compressed air leak flow rate estimation.
Declarations for the estimate method compressed air leak annual consumption estimation.
Aggregated compressed air leak survey calculation.
Result calculate(const std::vector< Input > &inputs)
Calculates the aggregate energy cost and flow impact of a compressed air leak survey.
@ kElectricity
Cost basis: electricity rate .
@ kCompressedAir
Cost basis: compressed air utility rate .
@ kOrifice
Orifice pressure and geometry — see orifice_method.
@ kEstimate
Visual and audible leak estimate — see estimate_method.
@ kDecibels
Ultrasonic decibel measurement — see decibels_method.
@ kBag
Bag fill-time measurement — see bag_method.
Declarations for the orifice method compressed air leak flow rate estimation.
Input parameters for the bag method compressed air leak calculation.
Definition bag_method.h:38
Input parameters for one leak entry in a compressed air leak survey.
int hours_per_year
Annual compressed air system operating time .
orifice_method::Input orifice_input
Inputs for the orifice method (used when measurement_method = 3)
compressed_air_utils::CompressorElectricityData compressor_electricity_data
Compressor electricity parameters (used when utility_type = 1)
estimate_method::Input estimate_input
Inputs for the estimate method (used when measurement_method = 0)
int utility_type
Cost basis selector (see UtilityType) .
int measurement_method
Flow-rate measurement method selector (see MeasurementMethod) .
int units
Number of identical leak points represented by this entry .
bag_method::Input bag_input
Inputs for the bag method (used when measurement_method = 2)
double utility_cost
Utility rate — when utility_type = 0; when utility_type = 1.
decibels_method::Input decibels_input
Inputs for the decibels method (used when measurement_method = 1)
Aggregate result of a compressed air leak survey.
double annual_total_electricity_cost
Total annual utility cost of all leaks .
double total_flow_rate
Combined instantaneous flow rate of all leaks .
double annual_total_electricity
Total annual electrical energy consumed by all leaks .
double annual_total_flow_rate
Combined annual air volume lost to leaks .
Compressor electricity parameters used when the electricity utility type is selected.
Input parameters for the decibels method compressed air leak calculation.
Input parameters for the estimate method compressed air leak calculation.
Input parameters for the orifice method compressed air leak calculation.