#include <gas_flue_gas_material.h>
|
| | GasCompositions (std::string substance, const double CH4, const double C2H6, const double N2, const double H2, const double C3H8, const double C4H10_CnH2n, const double H2O, const double CO, const double CO2, const double SO2, const double O2) |
| |
| double | getGasByVol (const std::string &gasName) const |
| |
| double | getHeatingValue () const |
| |
| double | getHeatingValueVolume () const |
| |
| double | getSpecificGravity () const |
| |
| double | getStoichometricAir () const |
| |
| double | getSaturationTemperature (const double ppH2O) const |
| |
| double | getEnthalpyAtSaturation (const double ppH2O) const |
| |
| ProcessHeatPropertiesResults | getProcessHeatProperties (const double flueGasTempF, const double flueGasO2, const double combAirTemperatureF, const double fuelTempF=60, const double ambientAirTempF=60, const double combAirMoisturePerc=0, const double excessAir=0) |
| |
|
double | calculateExcessAir (double flueGasO2) |
| |
|
double | calculateO2 (double excessAir) |
| |
| std::string | getSubstance () const |
| |
| int | getID () const |
| |
| void | setID (const int id) |
| |
|
|
double | calculateSpecificGravity () |
| |
|
double | calculateStoichometricAir () |
| |
|
void | calculateCompByWeight () |
| |
|
double | calculateSensibleHeat (double combustionAirTemp) |
| |
|
double | calculateHeatCombustionAir (double combustionAirTemp, double excessAir) |
| |
|
void | calculateMassFlueGasComponents (double excessAir) |
| |
|
double | calculateHeatingValueFuel () |
| |
|
double | calculateHeatingValueFuelVolume () |
| |
|
void | calculateEnthalpy () |
| |
|
double | calculateTotalHeatContentFlueGas (double flueGasTemperature) |
| |
| | GasCompositions (std::string substance, const double CH4, const double C2H6, const double N2, const double H2, const double C3H8, const double C4H10_CnH2n, const double H2O, const double CO, const double CO2, const double SO2, const double O2, const double heatingValue, const double heatingValueVolume, const double specificGravity, const double stoichometricAir=0) |
| |
| double | getExcessAir (const double flueGasO2) const |
| |
|
void | flueGasO2AdjustForCalcError (const double excessAir, double &flueO2) const |
| |
Gas Compositions class Contains the gas compositions of a gas mixture.
Definition at line 66 of file gas_flue_gas_material.h.
◆ GasCompositions() [1/2]
| GasCompositions::GasCompositions |
( |
std::string |
substance, |
|
|
const double |
CH4, |
|
|
const double |
C2H6, |
|
|
const double |
N2, |
|
|
const double |
H2, |
|
|
const double |
C3H8, |
|
|
const double |
C4H10_CnH2n, |
|
|
const double |
H2O, |
|
|
const double |
CO, |
|
|
const double |
CO2, |
|
|
const double |
SO2, |
|
|
const double |
O2 |
|
) |
| |
|
inline |
Constructor for GasCompositions with which flue gas losses will be calculated. All molecule parameters are the percentage of that molecule present in the fuel
- Parameters
-
| substance | name - string |
| CH4 | % - double |
| C2H6 | % - double |
| N2 | % - double |
| H2 | % - double |
| C3H8 | % - double |
| C4H10_CnH2n | % - double |
| H2O | % - double |
| CO | % - double |
| CO2 | % - double |
| SO2 | % - double |
| O2 | % - double |
Definition at line 97 of file gas_flue_gas_material.h.
◆ GasCompositions() [2/2]
| GasCompositions::GasCompositions |
( |
std::string |
substance, |
|
|
const double |
CH4, |
|
|
const double |
C2H6, |
|
|
const double |
N2, |
|
|
const double |
H2, |
|
|
const double |
C3H8, |
|
|
const double |
C4H10_CnH2n, |
|
|
const double |
H2O, |
|
|
const double |
CO, |
|
|
const double |
CO2, |
|
|
const double |
SO2, |
|
|
const double |
O2, |
|
|
const double |
heatingValue, |
|
|
const double |
heatingValueVolume, |
|
|
const double |
specificGravity, |
|
|
const double |
stoichometricAir = 0 |
|
) |
| |
|
inlineprivate |
◆ getEnthalpyAtSaturation()
| double GasCompositions::getEnthalpyAtSaturation |
( |
const double |
ppH2O | ) |
const |
◆ getExcessAir()
| double GasCompositions::getExcessAir |
( |
const double |
flueGasO2 | ) |
const |
|
private |
◆ getGasByVol()
| double GasCompositions::getGasByVol |
( |
const std::string & |
gasName | ) |
const |
|
inline |
Gets the gas by its name
- Parameters
-
| gasName | const string, name of gas |
- Returns
- double, composition by volume as %
Definition at line 154 of file gas_flue_gas_material.h.
◆ getHeatingValue()
| double GasCompositions::getHeatingValue |
( |
| ) |
const |
|
inline |
◆ getHeatingValueVolume()
| double GasCompositions::getHeatingValueVolume |
( |
| ) |
const |
|
inline |
◆ getID()
| int GasCompositions::getID |
( |
| ) |
const |
|
inline |
◆ getProcessHeatProperties()
| ProcessHeatPropertiesResults GasCompositions::getProcessHeatProperties |
( |
const double |
flueGasTempF, |
|
|
const double |
flueGasO2, |
|
|
const double |
combAirTemperatureF, |
|
|
const double |
fuelTempF = 60, |
|
|
const double |
ambientAirTempF = 60, |
|
|
const double |
combAirMoisturePerc = 0, |
|
|
const double |
excessAir = 0 |
|
) |
| |
- Parameters
-
| flueGasTempF | double, units F |
| flueGasO2 | double, percentage / fraction |
| combAirTemperatureF | double, units F |
| fuelTempF | double, units F, default value 60 |
| ambientAirTempF | double, units F, default value 60 |
| combAirMoisturePerc | double, percentage / fraction, default value 0 |
| excessAir | double, percentage / fraction |
- Returns
- Parameters
-
| stoichAir | double |
| excessAir | double, percentage / fraction |
| availableHeat | double, percentage / fraction |
| specificHeat | double, units Btu/(# F) |
| density | double, units # / cu.ft |
| heatValueFuel | double, units Btu / cu.ft |
| flueGasO2 | double, percentage / fraction |
◆ getSaturationTemperature()
| double GasCompositions::getSaturationTemperature |
( |
const double |
ppH2O | ) |
const |
◆ getSpecificGravity()
| double GasCompositions::getSpecificGravity |
( |
| ) |
const |
|
inline |
◆ getStoichometricAir()
| double GasCompositions::getStoichometricAir |
( |
| ) |
const |
|
inline |
◆ getSubstance()
| std::string GasCompositions::getSubstance |
( |
| ) |
const |
Gets the name of substance
- Returns
- string, name of substance
◆ setID()
| void GasCompositions::setID |
( |
const int |
id | ) |
|
|
inline |
◆ DefaultData
◆ GasFlueGasMaterial
◆ C2H6
◆ C3H8
◆ C4H10_CnH2n
◆ CH4
◆ CO
◆ CO2
◆ gasses
| std::unordered_map<std::string, std::shared_ptr<GasProperties> > GasCompositions::gasses |
|
private |
◆ H2
◆ H2O
◆ heatingValue
| double GasCompositions::heatingValue = 0 |
|
private |
◆ heatingValueVolume
| double GasCompositions::heatingValueVolume = 0 |
|
private |
◆ hH2Osat
| double GasCompositions::hH2Osat = 0 |
|
private |
◆ id
| int GasCompositions::id = 0 |
|
private |
◆ mCO2
| double GasCompositions::mCO2 = 0 |
|
private |
◆ mH2O
| double GasCompositions::mH2O = 0 |
|
private |
◆ mN2
| double GasCompositions::mN2 = 0 |
|
private |
◆ mO2
| double GasCompositions::mO2 = 0 |
|
private |
◆ mSO2
| double GasCompositions::mSO2 = 0 |
|
private |
◆ N2
◆ O2
◆ SO2
◆ specificGravity
| double GasCompositions::specificGravity = 0 |
|
private |
◆ stoichometricAir
| double GasCompositions::stoichometricAir = 0 |
|
private |
◆ substance
| std::string GasCompositions::substance |
|
private |
◆ tH2Osat
| double GasCompositions::tH2Osat = 0 |
|
private |
◆ totalPercent
| double GasCompositions::totalPercent |
|
private |
The documentation for this class was generated from the following file: