|
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.
|
Represents a fuel gas mixture and its properties for process heat calculations. More...
#include <gas_composition.h>
Public Member Functions | |
| GasComposition (const std::string substance, double ch4_percent, double c2h6_percent, double n2_percent, double h2_percent, double c3h8_percent, double c4h10_cnh2n_percent, double h2o_percent, double co_percent, double co2_percent, double so2_percent, double o2_percent) | |
| double | excessAirFromO2 (double flue_gas_o2_percentage) |
| Calculates excess air percentage from flue gas oxygen percentage. | |
| double | o2PercentageFromExcessAir (double excess_air) |
| Calculates flue gas oxygen percentage from excess air percentage. | |
| double | estimateExcessAirFromO2 (double flue_gas_o2_percentage) |
| Estimates excess air percentage from flue gas oxygen percentage. | |
| double | calculateEnthalpyAtSaturation (double partial_pressure_water_vapor) |
| Calculates enthalpy at saturation for a given partial pressure of water vapor. | |
| double | calculateSaturationTemperature (double partial_pressure_water_vapor) |
| Calculates saturation temperature for a given partial pressure of water vapor. | |
| std::array< GasProperties *, 11 > | getConstituents () |
| double | adjustedFlueGasO2ForCalcError (double excess_air, double flue_gas_o2) |
| Iteratively adjusts calculated flue gas O2 to minimize error with target excess air. | |
Public Attributes | |
| std::string | substance |
| GasProperties | ch4 |
| GasProperties | c2h6 |
| GasProperties | n2 |
| GasProperties | h2 |
| GasProperties | c3h8 |
| GasProperties | c4h10_cnh2n |
| GasProperties | h2o |
| GasProperties | co |
| GasProperties | co2 |
| GasProperties | so2 |
| GasProperties | o2 |
| double | total_composition_weight |
| double | heating_value |
| double | heating_value_volume |
| double | specific_gravity |
| double | stoichometric_air |
Private Member Functions | |
| void | setCH4 (double composition_percent, double composition_by_volume) |
| void | setC2H6 (double composition_percent, double composition_by_volume) |
| void | setN2 (double composition_percent, double composition_by_volume) |
| void | setH2 (double composition_percent, double composition_by_volume) |
| void | setC3H8 (double composition_percent, double composition_by_volume) |
| void | setC4H10CnH2n (double composition_percent, double composition_by_volume) |
| void | setH2O (double composition_percent, double composition_by_volume) |
| void | setCO (double composition_percent, double composition_by_volume) |
| void | setCO2 (double composition_percent, double composition_by_volume) |
| void | setSO2 (double composition_percent, double composition_by_volume) |
| void | setO2 (double composition_percent, double composition_by_volume) |
| void | setTotalCompositionWeight () |
| void | setHeatingValue () |
| void | setHeatingValueVolume () |
| void | setSpecificGravity () |
| void | setStoichometricAir () |
| GasFlueGasComponents | getMassFlueGasComponents (double excess_air) |
Stores the composition and calculated properties for a fuel gas mixture, including constituent gases and derived values.
| [in] | substance | Name of the fuel gas mixture |
| [in] | ch4_percent | Methane (CH4) percent by volume \([\unit{\percent}]\) |
| [in] | c2h6_percent | Ethane (C2H6) percent by volume \([\unit{\percent}]\) |
| [in] | n2_percent | Nitrogen (N2) percent by volume \([\unit{\percent}]\) |
| [in] | h2_percent | Hydrogen (H2) percent by volume \([\unit{\percent}]\) |
| [in] | c3h8_percent | Propane (C3H8) percent by volume \([\unit{\percent}]\) |
| [in] | c4h10_cnh2n_percent | Butane/Paraffins (C4H10/CnH2n) percent by volume \([\unit{\percent}]\) |
| [in] | h2o_percent | Water vapor (H2O) percent by volume \([\unit{\percent}]\) |
| [in] | co_percent | Carbon monoxide (CO) percent by volume \([\unit{\percent}]\) |
| [in] | co2_percent | Carbon dioxide (CO2) percent by volume \([\unit{\percent}]\) |
| [in] | so2_percent | Sulphur dioxide (SO2) percent by volume \([\unit{\percent}]\) |
| [in] | o2_percent | Oxygen (O2) percent by volume \([\unit{\percent}]\) |
Definition at line 69 of file gas_composition.h.
|
inline |
Definition at line 88 of file gas_composition.h.
|
inline |
Definition at line 163 of file gas_composition.h.
|
inlineprivate |
Definition at line 184 of file gas_composition.h.
|
inlineprivate |
Definition at line 201 of file gas_composition.h.
|
inlineprivate |
Definition at line 207 of file gas_composition.h.
|
inlineprivate |
Definition at line 178 of file gas_composition.h.
|
inlineprivate |
Definition at line 219 of file gas_composition.h.
|
inlineprivate |
Definition at line 225 of file gas_composition.h.
|
inlineprivate |
Definition at line 195 of file gas_composition.h.
|
inlineprivate |
Definition at line 214 of file gas_composition.h.
|
inlineprivate |
Definition at line 190 of file gas_composition.h.
|
inlineprivate |
Definition at line 235 of file gas_composition.h.
|
inlineprivate |
Definition at line 230 of file gas_composition.h.
| GasProperties gas_composition::GasComposition::c2h6 |
Definition at line 73 of file gas_composition.h.
| GasProperties gas_composition::GasComposition::c3h8 |
Definition at line 76 of file gas_composition.h.
| GasProperties gas_composition::GasComposition::c4h10_cnh2n |
Definition at line 77 of file gas_composition.h.
| GasProperties gas_composition::GasComposition::ch4 |
Definition at line 72 of file gas_composition.h.
| GasProperties gas_composition::GasComposition::co |
Definition at line 79 of file gas_composition.h.
| GasProperties gas_composition::GasComposition::co2 |
Definition at line 80 of file gas_composition.h.
| GasProperties gas_composition::GasComposition::h2 |
Definition at line 75 of file gas_composition.h.
| GasProperties gas_composition::GasComposition::h2o |
Definition at line 78 of file gas_composition.h.
| double gas_composition::GasComposition::heating_value |
Definition at line 84 of file gas_composition.h.
| double gas_composition::GasComposition::heating_value_volume |
Definition at line 85 of file gas_composition.h.
| GasProperties gas_composition::GasComposition::n2 |
Definition at line 74 of file gas_composition.h.
| GasProperties gas_composition::GasComposition::o2 |
Definition at line 82 of file gas_composition.h.
| GasProperties gas_composition::GasComposition::so2 |
Definition at line 81 of file gas_composition.h.
| double gas_composition::GasComposition::specific_gravity |
Definition at line 86 of file gas_composition.h.
| double gas_composition::GasComposition::stoichometric_air |
Definition at line 87 of file gas_composition.h.
| std::string gas_composition::GasComposition::substance |
Definition at line 71 of file gas_composition.h.
| double gas_composition::GasComposition::total_composition_weight |
Definition at line 83 of file gas_composition.h.