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
operating_cost.h
Go to the documentation of this file.
1#pragma once
2
13#include "physics/constants.h"
14
32namespace operating_cost {
33
34// ============================================================
35// Input / Result
36// ============================================================
37
43struct Input {
44 double motor_bhp = 0.0;
45 double bhp_unloaded = 0.0;
47 double run_time_loaded = 0.0;
48 double efficiency_loaded = 0.0;
49 double efficiency_unloaded = 0.0;
50 double cost_of_electricity = 0.0;
51};
52
58struct Result {
59 double run_time_unloaded = 0.0;
60 double cost_for_loaded = 0.0;
61 double cost_for_unloaded = 0.0;
62 double total_annual_cost = 0.0;
63};
64
125
126} // namespace operating_cost
Defines physical constants and unit conversions.
Compressed air compressor annual operating cost calculations.
Result calculateOperatingCost(const Input &input)
Calculates the annual electricity cost for a compressor cycling between loaded and unloaded operation...
Input parameters for the annual compressor operating cost calculation.
double cost_of_electricity
Electricity unit cost .
double annual_operating_hours
Total compressor operating hours per year .
double run_time_loaded
Percentage of operating time the compressor runs loaded .
double efficiency_loaded
Motor efficiency in the loaded condition .
double motor_bhp
Full-load motor brake horsepower .
double efficiency_unloaded
Motor efficiency in the unloaded condition .
double bhp_unloaded
Percentage of full-load BHP consumed when unloaded .
Result of the annual compressor operating cost calculation.
double run_time_unloaded
Percentage of operating time the compressor runs unloaded .
double cost_for_unloaded
Annual electricity cost in the unloaded condition .
double cost_for_loaded
Annual electricity cost in the loaded condition .
double total_annual_cost
Total annual electricity cost .