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
compressors_data.h
1#pragma once
2
10#include <string>
11
13public:
45 CompressorsData(int id_comp_type, std::string model, double hp,
46 double rated_capacity, double rated_pressure, double max_fll_flow_pressure, int id_control_type,
47 double unload_point, double min_ul_sump_pressure, double blowdown_time, double unload_steps,
48 double modulating_press_range, double power_fl_bhp, double tot_package_input_power,
49 double spec_package_power, double no_load_power_fm, double no_load_power_ul,
50 double max_surge_pressure, double max_press_surge_flow, double min_stonewall_pressure,
51 double min_press_stonewall_flow, double design_surge_flow, double design_in_temp,
52 double design_in_pressure, double amps_fl, double eff_fl) :
53 id_comp_type_(id_comp_type), model_(std::move(model)), hp_(hp),
54 rated_capacity_(rated_capacity), rated_pressure_(rated_pressure), max_fll_flow_pressure_(max_fll_flow_pressure), id_control_type_(id_control_type),
55 unload_point_(unload_point), min_ul_sump_pressure_(min_ul_sump_pressure), blowdown_time_(blowdown_time), unload_steps_(unload_steps),
56 modulating_press_range_(modulating_press_range), power_fl_bhp_(power_fl_bhp), tot_package_input_power_(tot_package_input_power),
57 spec_package_power_(spec_package_power), no_load_power_fm_(no_load_power_fm), no_load_power_ul_(no_load_power_ul),
58 max_surge_pressure_(max_surge_pressure), max_press_surge_flow_(max_press_surge_flow), min_stonewall_pressure_(min_stonewall_pressure),
59 min_press_stonewall_flow_(min_press_stonewall_flow), design_surge_flow_(design_surge_flow), design_in_temp_(design_in_temp),
60 design_in_pressure_(design_in_pressure), amps_fl_(amps_fl), eff_fl_(eff_fl) { this->id_ = 0;}
61
67 void setID(int id) { this->id_ = id; }
68
73 int ID() const { return this->id_; }
74
79 int idCompType() const { return this->id_comp_type_; }
80
85 std::string model() const { return this->model_; }
86
91 double hp() const { return this->hp_; }
92
97 double ratedCapacity() const { return this->rated_capacity_; }
98
103 double ratedPressure() const { return this->rated_pressure_; }
104
109 double maxFullFlowPressure() const { return this->max_fll_flow_pressure_; }
110
115 int idControlType() const { return this->id_control_type_; }
116
121 double unloadPoint() const { return this->unload_point_; }
122
127 double minULSumpPressure() const { return this->min_ul_sump_pressure_; }
128
133 double blowdownTime() const { return this->blowdown_time_; }
134
139 double unloadSteps() const { return this->unload_steps_; }
140
145 double modulatingPressRange() const { return this->modulating_press_range_; }
146
151 double powerFLBHP() const { return this->power_fl_bhp_; }
152
157 double totPackageInputPower() const { return this->tot_package_input_power_; }
158
163 double specPackagePower() const { return this->spec_package_power_; }
164
169 double noLoadPowerFM() const { return this->no_load_power_fm_; }
170
175 double noLoadPowerUL() const { return this->no_load_power_ul_; }
176
181 double maxSurgePressure() const { return this->max_surge_pressure_; }
182
187 double maxPressSurgeFlow() const { return this->max_press_surge_flow_; }
188
193 double minStonewallPressure() const { return this->min_stonewall_pressure_; }
194
199 double minPressStonewallFlow() const { return this->min_press_stonewall_flow_; }
200
205 double designSurgeFlow() const { return this->design_surge_flow_; }
206
211 double designInTemp() const { return this->design_in_temp_; }
212
217 double designInPressure() const { return this->design_in_pressure_; }
218
223 double ampsFL() const { return this->amps_fl_; }
224
229 double effFL() const { return this->eff_fl_; }
230
231private:
232 int id_;
233
234 int id_comp_type_;
235 std::string model_;
236 double hp_;
237 double rated_capacity_;
238 double rated_pressure_;
239 double max_fll_flow_pressure_;
240 int id_control_type_;
241 double unload_point_;
242 double min_ul_sump_pressure_;
243 double blowdown_time_;
244 double unload_steps_;
245 double modulating_press_range_;
246 double power_fl_bhp_;
247 double tot_package_input_power_;
248 double spec_package_power_;
249 double no_load_power_fm_;
250 double no_load_power_ul_;
251 double max_surge_pressure_;
252 double max_press_surge_flow_;
253 double min_stonewall_pressure_;
254 double min_press_stonewall_flow_;
255 double design_surge_flow_;
256 double design_in_temp_;
257 double design_in_pressure_;
258 double amps_fl_;
259 double eff_fl_;
260
261 friend class DefaultData;
262};
263
int idCompType() const
Gets the ID Comp Type for the compressor as integer.
double specPackagePower() const
Gets the Spec Package Power for the compressor.
double powerFLBHP() const
Gets the Power FL BHP for the compressor.
double unloadSteps() const
Gets the Unload Steps for the compressor.
double designInTemp() const
Gets the Design In Temp for the compressor.
double minULSumpPressure() const
Gets the Min UL Sump Pressure for the compressor.
double modulatingPressRange() const
Gets the Modulating Press Range for the compressor.
double effFL() const
Gets the Eff FL for the compressor.
double unloadPoint() const
Gets the Unload Point for the compressor.
double maxSurgePressure() const
Gets the Max Surge Pressure for the compressor.
double ratedPressure() const
Gets the Rated Pressure for the compressor.
double minPressStonewallFlow() const
Gets the Min Press Stonewall Flow for the compressor.
void setID(int id)
Sequential ID of the compressors default data.
double blowdownTime() const
Gets the Blowdown Time for the compressor.
double hp() const
Gets the hp for the compressor.
double totPackageInputPower() const
Gets the Total Package Input Power for the compressor.
double noLoadPowerFM() const
Gets the No Load Power FM for the compressor.
double ampsFL() const
Gets the Amps FL for the compressor.
double minStonewallPressure() const
Gets the Min Stonewall Pressure for the compressor.
double maxPressSurgeFlow() const
Gets the Max Press Surge Flow for the compressor.
int ID() const
Gets the data sequential ID of the compressors default data.
double designSurgeFlow() const
Gets the Design Surge Flow for the compressor.
double ratedCapacity() const
Gets the Rated Capacity for the compressor.
std::string model() const
Gets the model of the compressor.
int idControlType() const
Gets the ID Control Type for the compressor.
CompressorsData(int id_comp_type, std::string model, double hp, double rated_capacity, double rated_pressure, double max_fll_flow_pressure, int id_control_type, double unload_point, double min_ul_sump_pressure, double blowdown_time, double unload_steps, double modulating_press_range, double power_fl_bhp, double tot_package_input_power, double spec_package_power, double no_load_power_fm, double no_load_power_ul, double max_surge_pressure, double max_press_surge_flow, double min_stonewall_pressure, double min_press_stonewall_flow, double design_surge_flow, double design_in_temp, double design_in_pressure, double amps_fl, double eff_fl)
Constructs a compressor's data record with specified parameters.
double noLoadPowerUL() const
Gets the No Load Power UL for the compressor.
double designInPressure() const
Gets the Design In Pressure for the compressor.
double maxFullFlowPressure() const
Gets the Max Full Flow Pressure for the compressor.