Вы находитесь на странице: 1из 7

Proceedings of IDETC/CIE 2006

ASME 2006 International Design Engineering Technical Conferences &


Computers and Information in Engineering Conference
September 10-13, 2006, Philadelphia, Pennsylvania, USA

DETC 2006-99562

A GENERAL EXCEL/VBA COMPUTER CODE FOR RAPID CALCULATION OF


TEMPERATURE AND PRODUCT SPECIES WITH C-H-O-N-S FUELS

David G. Lilley
Lilley & Associates
7221 Idlewild Acres
Stillwater, Oklahoma 74074

ABSTRACT in a chemically reacting system. However,


experimentation to determine this is very delicate,
A general calculation procedure has being costly, and time consuming. For this reason,
developed that permits very rapid calculation of theoretical calculations are preferred, where results of
general fuel-air combustion with many parameter calculations from a model can be checked against a
variations. The program calculations are via limited set of experimental data. Then extrapolations
Excel/VBA with immediate graphics of the parameter can be made to other conditions of interest. The
effects on the results. Thus, an extensive range of effect of each parameter on the results may then be
parameter effects may be quickly investigated and deduced theoretically. However, the theoretical
assessed. The very-general fuel is specified by way prediction of temperature and product species
of its C-H-O-N-S content and additional water amounts are neither easy nor quick, and available
content and the "air" by way of the volume percent of computer codes usually do not have the ease and
oxygen, and the other component of "air" (nitrogen range of application desired. Standard undergraduate
and/or carbon dioxide), each specified by the user. thermodynamics courses present chemical reaction
The temperature of each inlet (fuel and "air") is expressions and apply energy balance methods. Both
specified by the user. The methodology and dissociated and nondissociated product species are
computer code takes as input also the equivalence also considered. Techniques are generally presented
ratio. Then, results of adiabatic flame temperature which permit the deduction of the flame temperature
are calculated along with the equilibrium product and the relative amounts of the individual species in
species both with and without dissociation. the reaction products. But, the methods used by and
Alternatively, the products temperature may be large require ‘trial and error’ iterative hand
specified and the heat transfer in the combustor is calculations, with student interpolation of values
then calculated. The computer code is very user from thermodynamic tables and/or the assumption of
friendly, with automatic nested loops for parameter known constant specific heats.
variation and automatic generation of graphs, which
are particularly useful in assessing the particular Several well-known methods are available for
process under consideration. this type of calculation, and they are reviewed
elsewhere (1-5). These other methods generally
INTRODUCTION present the ideas of chemical reactions, dissociation,
flame temperature, and product species; but the
It is often necessary to know the maximum flame techniques given are often in a manner that is not
temperature and corresponding product composition computerizable and/or generalizable for applied

1 Copyright © 2006 by ASME

Downloaded From: http://proceedings.asmedigitalcollection.asme.org/pdfaccess.ashx?url=/data/conferences/idetc/cie2006/71388/ on 03/17/2017 Terms of Use: http://www.asme.o


work. For the applied combustion professional (6- Dissociation reactions absorb thermal energy,
10) the methods, research and application work now thus lowering the product’s temperature. One of the
presented are very appealing. A straightforward simplest and most effective assumptions about
computer code has been developed and is now dissociation is that at high temperatures some of the
described which calculates the adiabatic flame CO2 in the product stream will dissociate into CO
temperature and product species amounts for general and O2 and some of the H2O in the product stream
CHONS fuels. It is useful for calculations within in a will dissociate into H2 and O2. These primary
computational fluid dynamics reacting flow reactions are represented by:
computation, and it is readily incorporated into
undergraduate and graduate course studies. It is
CO2 = CO + 1 O 2
based on the methods of Goodger (11) and Campbell 2
(12). The theoretical background and computational 1
H2O = H 2 + O 2
algorithms used in its development are presented. 2
The parameters used are: fuel type, equivalence ratio,
reactant temperatures and pressure, type of oxidant The degree of dissociation is dependent on both
and air composition, and inclusion of dissociation the combustion pressure and temperature, and is such
effects. This work builds on previous papers by the that the molar (volume) fractions obey the laws of
author (1-5), and results are given for a range of mass action.
input parameters so as to illustrate the versatility of
the computer program, and its relevance to the new The methodology for solution of these
technology of high temperature air combustion (10). equations for the adiabatic flame temperature and
product species, with and without this limited
THE SIMULATION dissociation, has already been described (1-5). Half
interval search procedures in nested loops are used
The standard expression for general fuel-air for both temperature and species calculations, using
combustion is: fitted curves for temperature variation of enthalpy
and partial pressure chemical equilibrium constants.
CxHyOzNuSv+ m (O2 + f N2 + g CO2 ) + h H2O Energy balance and species conservation checks
→ n1CO + n2CO2 + n3H2O + n4N2 ensure convergence of the AFTC code. Problem
specification, data input, and operation of the
+ n5O2 + n6H2 + n7SO2
computer code are therefore not further discussed
here.
The right hand side represents the major
Several additions to the core code have been
combustion product species. Without dissociation,
included in two versions of AFTC. The first, AFTC-
the ni-values are readily specified (the so-called
composite, creates a composite fuel by merging a list
"cold" products of combustion). With dissociation,
of user selected fuels. The program allows the user
the more detailed ni-values are deducible via a half-
to choose from an array of 200 fuels that are already
interval search technique at a given temperature.
on the spreadsheet with CHONS composition and
Additionally, more complex dissociated product
lower heating value. The chosen fuels are
species may occur, including O, H, OH, and NO.
automatically merged into a single fuel with correct
representation of its chemical formula and heating
For an oxidizer of standard dry air, f = 3.762.
value, and the flame temperature calculations ensue
This occurs as standard dry air consists of 21 percent
from this. In this way, the new fuel’s properties are
oxygen by volume, and nitrogen is reckoned to
the respective proportional sums from that of each
provide the other 79 percent. These values
component fuel.
correspond to 23.2 percent oxygen by mass and 76.8
percent nitrogen by mass. The value of m is
To aid in data generation, this computer
determined from the burning conditions (the amount
program includes additional nested loops for
of oxidant supplied relative to the amount of fuel
parameter variations. The inner loop runs the basic
supplied). It strongly controls the number of moles
AFTC code seven times, each time changing the
of product species (n1, n2…, n7) by restricting
reactant temperatures as per the user’s input.
complete fuel combustion of the fuel or by adding
Furthermore, the iterated steps are displayed on
extra oxidizer for dissociation.
succeeding pages within the spreadsheet, with each
page showing convergence for each case. The outer

2 Copyright © 2006 by ASME

Downloaded From: http://proceedings.asmedigitalcollection.asme.org/pdfaccess.ashx?url=/data/conferences/idetc/cie2006/71388/ on 03/17/2017 Terms of Use: http://www.asme.o


loop then runs each of these inner loops over a series course, each program may define convergence of its
of seven oxygen percentages in the air, by volume. numerical iterations differently.
In this way, forty-nine sets of data for a given
pressure and equivalence ratio may be generated Comparison of General HC Fuels
quickly and easily, with seven automatically
generated graphs. After the comparison with other computer
programs, AFTC was run for a variety of different
The other variation of AFTC, AFTC-multifuel, fuels and equivalence ratios, the results of which are
keeps the core loop structure of AFTC, and expands displayed at the end of this paper. For example,
upon it to handle many different fuels. The same fuel many fuels, grouped into acetylenes, paraffins, and
listing used in the Composite program is used in this olefins, are calculated for stoichiometric combustion.
variation. Temperature and products are calculated These results are given in Figure 1. The adiabatic
for each fuel in turn, allowing automatic, fast flame temperature is graphed against the carbon
generation of eight graphs and useful tables. These number of the fuel. Notice all the curves, each
permit immediate comparison of different fuels and representing a different class of fuels, converge to
properties, such as how the adiabatic flame one temperature as the carbon number increases.
temperature varies with the carbon number of a fuel, This is justification for the common practice in
equivalence ratio, inlet reactant temperatures, etc. industry of modeling complex fuels as composites of
simpler fuels.
RESULTS AND DISCUSSION
After these results were displayed, the
Comparison with Other Methods equivalence ratio was changed to fuel lean and fuel
rich conditions. From Figures 2 and 3, one finds the
Tabulated comparisons of these other programs temperatures are highest for nondissociated
with AFTC are given in Tables I and II. Table I combustion. As the equivalence ratio shifts from
displays the adiabatic flame temperature found by unity, the temperature decreases.
each program. Table II then recalculates the results of
Table I to give each program’s percent difference in Comparison of CHONS Fuels
temperature, relative to the present AFTC
calculations. In all cases where data was available, With AFTC run for basic HC fuels, the fuel
the percent difference in each work’s results is less listing was expanded to include fuels containing
than two percent. This corresponds to a temperature carbon and hydrogen, results of which are displayed
difference of approximately 30K, despite the in Figure 4. Once more, the dependency of the flame
different dissociation constraints. This covers the temperature, and thus dissociation, upon the carbon
range from the high temperature acetylene to the number is demonstrated. As the carbon number takes
relatively low temperature methane. Additionally, a larger fraction of the molecule, the flame
the oxygen bearing and nitrogen bearing fuels see an temperatures approach a single value. Notice that
extremely small temperature difference across the these fuels have lower heat release on a mass basis
different programs. Methanol has a maximum than the HC-only fuels.
difference of 0.63% and cyanogen has maximum
difference of only 0.29%. Finally, hydrogen and Summary of Results
carbon monoxide exhibit the greatest disparity across
the different programs, both on the order of 1.5%. Finally, after varying the equivalence ratio and
fuel type, the flame temperature’s dependence on the
There are three primary justifications for these pressure and oxidizer were explored. Figure 5
differences. Primarily, one must consider the number consists of two flame temperature curves, one for
of significant digits used in the calculation. For dissociation and one for no dissociation. The first
example, for standard air consisting of 21% oxygen, graph has a low pressure of half an atmosphere and
there are 3.762 moles of nitrogen for every mole of serves to illustrate the increased dissociation at below
oxygen in the air. However, this value is often average pressures. As the pressure is increased, the
shortened to 3.76 moles. This seemingly negligible temperatures increase correspondingly. Despite this
difference can result in several degrees difference in however, high pressures suppress dissociation, as can
the final temperature. Additionally, depending on the be seen in the 5atm and 10atm graphs. This is most
table used, different programs may use slightly clearly seen by noting that the high-pressure
different physical constants and curve fits. And of temperature curves are closer together than the low-

3 Copyright © 2006 by ASME

Downloaded From: http://proceedings.asmedigitalcollection.asme.org/pdfaccess.ashx?url=/data/conferences/idetc/cie2006/71388/ on 03/17/2017 Terms of Use: http://www.asme.o


pressure temperature curves. Furthermore, Paper ASME PWR2004-52100, Baltimore,
separation of the two curves is delayed until higher MD, Mar. 30-Apr. 1, 2004.
temperatures associated with increasing oxygen
percents in the “air” occur. 3. Olinger, D. S. and Lilley, D. G., “High
Temperature Low Oxygen Concentration
CONCLUSIONS Flame Calculations,” Paper AIAA-2004-
5773, Providence, RI, Aug. 16-19, 2004.
A computer code has been developed using
Excel/VBA to permit the rapid calculation of 4. Olinger, D. S. and Lilley, D. G., “Calculation
adiabatic flame temperatures and product species of Temperature and Product Species with
compositions for a large variety of easily specified General Fuel-Air Combustion,” Paper
fuel and air reactant conditions. An equilibrium AIAA-2005-0166, Reno, NV, Jan. 10-13,
combustion calculator such as AFTC can be a 2005.
powerful aid to the power generation industry.
Results are calculated immediately for the cases of 5. Olinger, D. S. and Lilley, D. G., “Flame
"air" (with specified oxygen volume percentage) as Calculations for High Temperature Air
the oxidant, with and without dissociation. Combustion,” Paper AIAA-2005-0171,
Alternatively, the product temperature may be Reno, NV, Jan. 10-13, 2005.
identified, and then the heat transfer in the combustor
is calculated. In the user input section, the reaction is 6. Gupta, A. K., and Lilley, D. G., “Flowfield
simply specified by way of the fuel’s CHONS Modeling and Diagnostics,” Abacus Press,
formula and its lower heating value, and the Tunbridge Wells, England, 1985.
oxidizer’s makeup. Once the equivalence ratio is set,
a variety of calculations are generated automatically, 7. Gupta, A. K., Lilley, D. G., and Syred, N.
covering a spectrum of initial parameters. “Swirl Flows,” Abacus Press, Tunbridge
Wells, England, 1984.
Despite the differences in dissociation complexity
and simulation methodology, there was very little 8. Borman, G. L., and Ragland, K. W.,
difference in the calculated adiabatic flame “Combustion Engineering,” McGraw-Hill,
temperature between the different methods. New York, 1998.
Additionally, flame temperature and product species
composition computations have been made for many 9. Turns, S. R., “An Introduction to
different fuels, varying equivalence ratios and Combustion,” 2nd Edition, McGraw-Hill,
pressures. Results showing the accuracy, robustness New York, 2001.
and versatility of the code have been given, and the
associated combustion trends were discussed. 10. Tsuji, H., Gupta, A. K., Hasegawa, T.,
Katsuki, M., Kishimoto, K. and Morita, M.,
REFERENCES “High Temperature Air Combustion," CRC
Press, Boca Raton, FL, 2003
1. Lilley, D. G., “Adiabatic Flame Temperature
Calculation: A Simple Approach for General 11. Goodger, E. M., “Combustion
CHONS Fuels,” Paper AIAA-2004-0817, Calculations,” MacMillan, London, 1977.
Reno, NV, Jan. 5-8, 2004.
12. Campbell, A. S., “Thermodynamic Analysis
2. Olinger, D. S. and Lilley, D. G., of Combustion Engines,” Wiley, New York,
“Temperature and Product Species with 1979.
Oxygen-Deficient “Air” Fuel Combustion,”

4 Copyright © 2006 by ASME

Downloaded From: http://proceedings.asmedigitalcollection.asme.org/pdfaccess.ashx?url=/data/conferences/idetc/cie2006/71388/ on 03/17/2017 Terms of Use: http://www.asme.o


Table I. Comparisons of the dissociated stoichiometric adiabatic flame temperature (K) as predicted
by AFTC, Goodger (1977), Turns (2001), Ferguson and Kirkpatrick (2001),
and Gordon and McBride (Glassman, 1987) in dry standard air

Comparison of Adiabatic Flame Temperatures (K)

Fuel Formula AFTC Goodger Turns F&K G&M


Methane CH4 2248 2247 2226 2227 2210

Propane C3H8 2274 2289 2267 2268 -

Heptane C7H16 2281 2298 2274 - 2290

Acetylene C2H2 2558 2583 2539 2540 -

Methanol CH3OH 2229 2243 2221 - -

Hydrogen H2 2419 2444 2382 2383 2400

Carbon Monoxide CO 2364 2399 2383 - 2400

Cyanogen C2N2 2588 - 2594 2596 -

Table II. Percent differences of the dissociated stoichiometric adiabatic flame temperature (K) as predicted
by AFTC, Goodger (1977), Turns (2001), Ferguson and Kirkpatrick (2001),
and Gordon and McBride (Glassman, 1987) in dry standard air

Percent Differences in Adiabatic Flame Temperature Calculations

Fuel Formula AFTC Goodger Turns F&K G&M


Methane CH4 0 -0.03 -0.97 -0.92 -1.68
Propane C3H8 0 0.67 -0.30 -0.26 -
Heptane C7H16 0 0.76 -0.30 - 0.40
Acetylene C2H2 0 0.99 -0.73 -0.69 -
Methanol CH3OH 0 0.63 -0.35 - -
Hydrogen H2 0 1.05 -1.52 -1.47 -0.77
Carbon Monoxide CO 0 1.46 0.78 - 1.50
Cyanogen C2N2 0 - 0.21 0.29 -

5 Copyright © 2006 by ASME

Downloaded From: http://proceedings.asmedigitalcollection.asme.org/pdfaccess.ashx?url=/data/conferences/idetc/cie2006/71388/ on 03/17/2017 Terms of Use: http://www.asme.o


Nondissociated Stoichiometric Dissociated Stoichiometric Combustion in
Combustion in Standard Air Standard Air
3000 3000 ACETYLENES (CxH2x-2)
ACETYLENES (CxH2x-2)
OLEFINS (CxH2x) OLEFINS (CxH2x)
2800

Temperature (K)
2800

Adiabatic Flame
Temperature (K)
Adiabatic Flame

PARAFFINS (CxH2x+2) PARAFFINS (CxH2x+2)

2600 2600

2400 2400

2200 2200

2000 2000
0 5 10 15 20 0 5 10 15 20
Carbon Number Carbon Number

Figure 1. Stoichiometric Adiabatic Flame Temperature as a Function of the Fuel Carbon Number

Nondissociated 20% Fuel Lean Dissociated 20% Fuel Lean Combustion in


Combustion in Standard Air Standard Air
3000 ACETYLENES (CxH2x-2)
3000 ACETYLENES (CxH2x-2)
OLEFINS (CxH2x) OLEFINS (CxH2x)
2800 Temperature (K) 2800
Adiabatic Flame
Temperature (K)
Adiabatic Flame

PARAFFINS (CxH2x+2) PARAFFINS (CxH2x+2)

2600 2600

2400 2400

2200 2200

2000 2000
0 5 10 15 20 0 5 10 15 20
Carbon Number Carbon Number

Figure 2. 20% Fuel Lean Adiabatic Flame Temperature as a Function of the Fuel Carbon Number

Nondissociated 20% Fuel Rich Dissociated 20% Fuel Rich Combustion in


Combustion in Standard Air Standard Air
3000 3000 ACETYLENES (CxH2x-2)
ACETYLENES (CxH2x-2)
OLEFINS (CxH2x) OLEFINS (CxH2x)
2800
Temperature (K)
Adiabatic Flame

2800
Temperature (K)
Adiabatic Flame

PARAFFINS (CxH2x+2) PARAFFINS (CxH2x+2)

2600 2600

2400 2400

2200 2200

2000 2000
0 5 10 15 20 0 5 10 15 20
Carbon Number Carbon Number

Figure 3. 20% Fuel Rich Adiabatic Flame Temperature as a Function of the Fuel Carbon Number

6 Copyright © 2006 by ASME

Downloaded From: http://proceedings.asmedigitalcollection.asme.org/pdfaccess.ashx?url=/data/conferences/idetc/cie2006/71388/ on 03/17/2017 Terms of Use: http://www.asme.o


Nondissociated Stoichiometric Dissociated Stoichiometric Combustion in
Combustion in Standard Air Standard Air
3000 AROMATICS 3000 AROMATICS
NAPHTHENES (CxH2x) NAPHTHENES (CxH2x)
2800 2800

Temperature (K)
Temperature (K)

Adiabatic Flame
Adiabatic Flame

PARAFFINS (CxH2x+2) PARAFFINS (CxH2x+2)


ALIPHATIC ALCOHOLS ALIPHATIC ALCOHOLS
2600 2600

2400 2400

2200 2200

2000 2000
0 5 10 15 0 5 10 15
Carbon Number Carbon Number

Figure 4. Stoichiometric Adiabatic Flame Temperature as a Function of the Fuel Carbon Number

Stoichiomtric Methane Combustion in Air with Varying Oxygen Stoichiomtric Methane Combustion in Air with Varying Oxygen
Percentages at 298K and Percentages at 298K and
0.5 Atm. Inlet Conditions 1 Atm. Inlet Conditions

4000 4000
Temperature (K)

Temperature (K)
Adiabatic Flame

Adiabatic Flame
3000 3000

2000 No Dissociation
2000 No Dissociation
Burning in Air Burning in Air
1000 With Dissociation 1000 With Dissociation
Burning in Air Burning in Air
0 0
0 10 20 30 40 0 10 20 30 40
Oxygen Percentage in Air Oxygen Percentage in Air

Stoichiomtric Methane Combustion in Air with Varying Oxygen Stoichiomtric Methane Combustion in Air with Varying Oxygen
Percentages at 298K and Percentages at 298K and
5 Atm. Inlet Conditions 10 Atm. Inlet Conditions

4000 4000
Temperature (K)

Temperature (K)
Adiabatic Flame

Adiabatic Flame

3000 3000

2000 No Dissociation
2000 No Dissociation
Burning in Air Burning in Air
1000 With Dissociation 1000 With Dissociation
Burning in Air Burning in Air
0 0
0 10 20 30 40 0 10 20 30 40
Oxygen Percentage in Air Oxygen Percentage in Air

Figure 5. Flame Temperature for Methane Burning in Stoichiometric "Air", as a Function of Oxygen Percentage
and for Varying Combustion Pressures

7 Copyright © 2006 by ASME

Downloaded From: http://proceedings.asmedigitalcollection.asme.org/pdfaccess.ashx?url=/data/conferences/idetc/cie2006/71388/ on 03/17/2017 Terms of Use: http://www.asme.o

Вам также может понравиться