Quote of the Day
With hard work, difficult material can be grasped. Step by step, incrementally, the novice can become the master.
— Joshua Waitzkin, World Tai Chi champion and subject of the book 'Searching for Bobby Fischer'. He is working with Khan Academy to promote learning through hard work.
Introduction
I had never seen coal until my first trip to China when I saw people on bicycles transporting coal to their homes for heat. I started to wonder just how much heat a given amount of coal would generate. I have seen numerous values for the heat content of the various types of coal. I recalled from primary school that there were three types of coal: anthracite, bituminous, and lignite. So I would have expected three values for the heat output of coal. When I actually looked, I found dozens of grades of three primary types of coal. Each of the different grades would generate different amounts of heat per kilogram. I thought I would take a closer look at how the heat output from coal could be modeled using regression and a simplified model based on chemical heats of formation.
I am currently taking an online statistics class and this exercise provided me some good R practice.
Background
Approach
My approach to this problem is simple:
- Scrape some coal data from the web (source).
- Perform a regression on the coal data.
- Compare the results of the regression to a simple model based on chemical heats of formation.
Definitions
- Standard Enthalpy of Formation (aka Heat of Formation)
- The standard enthalpy of formation of a compound is the change of enthalpy during the formation of 1 mole of the compound from its constituent elements, with all substances in their standard states at 1 atmosphere (1 atm or 101.3 kPa). Its symbol is ΔHf
Oor ΔfHO. - Coal Ash
- The waste left over after coal is burned to generate power, contains concentrated amounts of heavy metals, such as lead, mercury, arsenic, chromium, and selenium, which are hazardous to human health, and to wildlife.
- Proximate Analysis
- Proximate analysis entails first weighting a sample, then heating the sample of coal to a high enough temperature drive off the water from the sample. and then reweighing the sample. The weight loss divided by the initial weight gives the coal moisture content, M. The remaining material is then heated at a much higher temperature, in the absence of oxygen, for along enough time to drive off gases. The resulting weight-loss fraction gives the volatile matter content, VM, of the coal. The remainder of the sample is then burned in air until only noncombustibles remain. The weight loss gives the fixed carbon, FC, and the remaining material is identified as non-combustible mineral matter or ash, A. The proximate analysis may be reported as percentages (or fractions) of the four quantities: moisture, ash, volatile matter, and fixed carbon. This analysis has the advantage of being simple to perform, but it does not related the coal sample's heat of formation with the specific chemical contents. I will not be using proximate analysis for my modeling, but I mention it here because it is reports include it in discussions of coal grades.
- Ultimate Analysis
- A more sophisticated and useful analysis is the ultimate analysis, a chemical analysis that provides the elemental mass fractions of carbon (C), hydrogen (H2), nitrogen (N2), oxygen (O2), and sulfur (S), usually on a dry, ash-free basis. The ash content of the coal and heating value are sometimes provided also. I will be focusing on the results of ultimate analysis for my modeling.
Coal Constituents
For the discussion here, I will assume that coal is composed of the following elements. Different types of coal are are characterized by the constituent percentages of these elements. These elements are measured as part of the ultimate analysis of a coal product.
- Carbon (C)
Carbon reacts with atmospheric oxygen to produce the bulk of the heat generated by coal. The primary reaction produces CO2, but there is a secondary reaction that produces CO. I will ignore the heat generated by the CO reaction.
- Hydrogen (H2)
When hydrogen burns with oxygen it forms water (H2O). There are two heats of formation listed for H2 because the water formed is in the form of steam. The amount of heat realized depends on whether you let the water condense or you just let the steam escape into the atmosphere.
- Sulfur (S)
A source of heat and SO2, a major source of atmospheric pollution.
- Nitrogen (N2)
There a number of nitrogen reactions that produce some heat, but they are not dominant.
- Oxygen (O2)
The heat of formation of O2 is not a significant source of heat from coal.
- Ash
Ash is left over from burning coal and presence major disposal challenges because it contains unsafe compounds.
Analysis
Examination of the Data
Figure 2 shows a pair-wise plot of the coal data to help me determine which factors are significant (click on the Figure 2 to see the full-size plot). As I look at the plot, I see that C and H2 look the most significant. I should note that many papers include the energy from burning sulfur, but the data here does not show it to be significant.
Figure 3 shows my plot of the coal data from Appendix B. We can see that the data is fairly linear with respect to the C and H2 percentages. I have included my regression line, the coefficients for which I will generate in the following section.
Generate a Linear Model
I started my analysis of the data by performing linear regression assuming all the ultimate parametrics C and H2.
The regression of Figure 3 produces the following linear model (Equation 1) for the energy output in BTU for a pound-mass of coal.
Eq. 1 |
As you can see in Figure 3, the regression line fits the data well.
Chemical Models
I now want to compare my linear regression (Equation 1) with an approximate chemical model. The chemical model is approximate because I only deal with the dominant chemical reactions in burning coal. Equation 2 shows my simplified model. My chemical model has no intercept term.
Eq. 2 |
where
- is the heat of formation for H2O at STP.
- is the heat of formation for CO2 at STP.
- MWC is the molecular weight of carbon.
- MWH2 is the molecular weight of diatomic hydrogen.
- kC is the percentage of carbon in the coal grade in question.
- kH2 is the percentage of diatomic hydrogen in the coal grade in question.
We can estimate the heat output based on the heats of formation (Appendix A) for the dominant C, H2, and S chemical reactions, which I show in Figure 3.
We can substitute the values from Figure 3 into Equation 3 to see my estimate using the key heats of formation.
Eq. 3 |
You can see that the coefficients of Equation 3 is similar to those of Equation 2, so the models are consistent.
Conclusion
I was looking for a good multivariate R exercise and this coal data provided that exercise.
Appendix A: Heats of Formation for Key Coal Reactions.
Table 1 shows the assumed heats of formation for the various compounds associated with coal.
Substance | State | Molecular Weight |
Hf (kJ/mole) | Hf (kJ/kg) | Hf (Btu/lbm) |
---|---|---|---|---|---|
H2 | Gas | 2 | 0 | 0 | 0 |
H20 | Liquid | 18 | -285.83 | -15,866 | 6,835 |
H20 | Gas | 18 | -241.826 | -13,423 | 5,783 |
O2 | Gas | 32 | 0 | 0 | 0 |
N2 | Gas | 28 | 0 | 0 | 0 |
NO | Gas | 30 | 90.291 | 3,009 | 1,296 |
NO2 | Gas | 46 | 33.1 | 719 | 310 |
NO3 | Gas | 62 | 71.13 | 1,147 | 494 |
C | Solid | 12 | 0 | 0 | 0 |
CO | Gas | 28 | -110.53 | -3,946 | 1,700 |
CO2 | Gas | 44 | -393.522 | -8,942 | 3,852 |
CH4 | Gas | 16 | -74.873 | -4,667 | 2,011 |
S | Sol | 32 | 0 | 0 | 0 |
SO2 | Gas | 64 | -296.842 | -4,634 | -1,997 |
Appendix B: Examples of Coal Grades.
While Table 2 is a bit of an eye chart, it does provide some useful examples of the different grades of coal. There energy output per lb varies dramatically – from a maximum of 14,820 BTU per pound down to 4,918 BTU per pound. This is a dynamic range slightly over 3 to 1.
County and State | Geological Name | Type | Ash | VM | FC | C | H2 | O2 | N2 | S | Heating Value (BTU/lb) |
---|---|---|---|---|---|---|---|---|---|---|---|
Schuylkill, Pa. | Anthracite culm | Raw | 59.1 | 8.3 | 32.6 | 33.5 | 1.2 | 5.1 | 0.6 | 0.5 | 4918 |
Schuylkill, Pa. | Anthracite culm | Clean 1 | 10.6 | 11.1 | 78.3 | 79.9 | 2.7 | 5 | 0.9 | 0.9 | 12733 |
Schuylkill, Pa. | Anthracite culm | Clean 2 | 27.7 | 16.2 | 56 | 61.6 | 2.6 | 5.8 | 0.9 | 1.4 | 10135 |
Freestone, Tex. | Big brown lignite | Raw | 18.4 | 45.5 | 36.1 | 63.2 | 4.8 | 11.3 | 1.2 | 1.1 | 9954 |
Freestone, Tex. | Big brown lignite | Clean 1 | 9.1 | 47.1 | 43.8 | 64.8 | 4.7 | 19.1 | 1.2 | 1 | 11369 |
Freestone, Tex. | Big brown lignite | Clean 2 | 9.6 | 45.3 | 45.1 | 63.8 | 4.7 | 20.1 | 1 | 0.9 | 11222 |
Freestone, Tex. | Big brown lignite | Clean 3 | 14 | 44.3 | 41.7 | 66.3 | 4.9 | 12.7 | 1.2 | 0.9 | 10687 |
Freestone, Tex. | Big brown lignite | Clean 4 | 10.2 | 45.8 | 44 | 61.9 | 4.3 | 21.05 | 1.1 | 0.9 | 11159 |
Indiana, Pa. | Freeport (upper) | Raw | 31.7 | 22.3 | 46 | 57.1 | 3.5 | 4 | 1.7 | 1.9 | 10239 |
Indiana, Pa. | Freeport (upper) | Clean 1 | 16.4 | 26.2 | 57.3 | 71.7 | 4.3 | 4.2 | 1.9 | 1.4 | 12846 |
Indiana, Pa. | Freeport (upper) | Clean 2 | 20.4 | 26.4 | 53.2 | 67.6 | 4.1 | 5.2 | 0.8 | 1.8 | 12193 |
Clearfield, Pa. | Freeport (upper) | Raw | 12.3 | 24.8 | 62.9 | 76.3 | 4.5 | 3.4 | 1.8 | 1.7 | 13559 |
Clearfield, Pa. | Freeport (lower) | Clean 1 | 6.5 | 27.6 | 65.9 | 82.2 | 4.9 | 4 | 1.6 | 0.9 | 14541 |
Clearfield, Pa. | 50% of each | Clean 2 | 7 | 26.3 | 66.7 | 81.4 | 4.7 | 4.8 | 1.4 | 0.7 | 14476 |
Clearfield, Pa. | 50% of each | Clean 3 | 9.2 | 26.5 | 64.3 | 78.9 | 4.7 | 4.8 | 1.7 | 0.7 | 14187 |
Clearfield, Pa. | 50% of each | Clean 4 | 8.9 | 26.3 | 64.7 | 79.2 | 4.7 | 5.1 | 1.3 | 0.7 | 14168 |
Indiana, Pa. | Freeport (upper) | Raw | 33.6 | 19.4 | 47 | 54.3 | 3.3 | 3.8 | 1.2 | 3.8 | 9780 |
Indiana, Pa. | Kittanning (lower) | Clean 1 | 12.6 | 22.1 | 65.3 | 75.5 | 4.4 | 4 | 1.6 | 1.9 | 13563 |
Indiana, Pa. | 20% F, 80% K | Clean 2 | 17 | 22 | 61 | 71.8 | 4.2 | 3.2 | 1.1 | 2.7 | 12814 |
British Columbia, Canada | Hat Creek A zone | Raw | 40.8 | 31.9 | 27.3 | 32.7 | 2.8 | 22.3 | 0.6 | 0.8 | 6642 |
British Columbia, Canada | Hat Creek A zone | Clean 1 | 20.3 | 39 | 40.8 | 53.2 | 3.9 | 20.8 | 1 | 0.9 | 9496 |
Nova Scotia, Canada | Hub seam | Raw | 23.4 | 30.8 | 45.8 | 61.1 | 4.1 | 6.1 | 1.3 | 4 | 10994 |
Nova Scotia, Canada | Hub seam | Clean 1 | 2.1 | 40.5 | 57.4 | 79.3 | 5.4 | 9.9 | 1.5 | 1.7 | 14564 |
Nova Scotia, Canada | Hub seam | Clean 2 | 6.5 | 37.7 | 55.7 | 74.7 | 5 | 8.5 | 1.5 | 3.8 | 13770 |
Perry, III. | Illinois no. 6 | Raw | 18.5 | 36.7 | 44.7 | 61.6 | 4.2 | 9.7 | 1.3 | 4.6 | 11345 |
Perry, III. | Illinois no. 6 | Clean 1 | 11.1 | 40.8 | 48.1 | 70.5 | 4.8 | 9.1 | 1.4 | 3.1 | 12627 |
Perry, III. | Illinois no. 6 | Clean 2 | 8.6 | 41.9 | 49.5 | 72.4 | 5.1 | 9.8 | 1.2 | 2.9 | 13023 |
Perry, III. | Illinois no. 6 | Clean 3 | 10.5 | 39.5 | 50 | 71.1 | 4.8 | 9.1 | 1.4 | 3.1 | 12818 |
Perry, III. | Illinois no. 6 | Clean 4 | 9.5 | 39.7 | 50.8 | 70.6 | 6.2 | 9.5 | 1.3 | 3 | 12865 |
Perry, III. | Illinois no. 6 | Clean 5 | 8.8 | 40.4 | 50.8 | 72.3 | 5 | 9.5 | 1.4 | 3 | 13025 |
Muhlenberg, Ky. | Kentucky no. 9 | Raw | 16.1 | 36.3 | 47.5 | 64.8 | 4.5 | 9.2 | 1.5 | 3.9 | 11952 |
Muhlenberg, Ky. | Kentucky no. 9 | Clean 1 | 6.3 | 43.2 | 50.6 | 73.5 | 5.1 | 10.5 | 1.8 | 2.8 | 13536 |
Muhlenberg, Ky. | Kentucky no. 9 | Clean 2 | 7.3 | 42.6 | 50.1 | 72.4 | 5 | 10.4 | 1.8 | 3 | 13446 |
Muhlenberg, Ky. | Kentucky no. 9 | Clean 3 | 8.7 | 39.3 | 52 | 71 | 5 | 10.5 | 1.6 | 3.2 | 13107 |
Muhlenberg, Ky. | Kentucky no. 9 | Clean 4 | 7.9 | 40.7 | 51.3 | 72.4 | 5 | 10 | 1.6 | 2.9 | 13260 |
Union, Ky. | Kentucky no. 11 | Raw | 39.3 | 29.9 | 30.8 | 45.9 | 3.2 | 6.3 | 1.3 | 4 | 8117 |
Union, Ky. | Kentucky no. 11 | Clean 1 | 6.8 | 41.7 | 51.5 | 72.7 | 5 | 10.4 | 1.9 | 3.2 | 13254 |
Union, Ky. | Kentucky no. 11 | Clean 2 | 9 | 40.8 | 50.2 | 70.8 | 4.9 | 10 | 1.9 | 3.4 | 12856 |
Union, Ky. | Kentucky no. 11 | Clean 3 | 7.9 | 42 | 50.1 | 71.4 | 4.9 | 10.8 | 1.9 | 3.1 | 13085 |
Cambria, Pa. | Kittanning (lower) | Raw | 24.8 | 17.2 | 58 | 65.9 | 3.6 | 3.1 | 1.2 | 1.4 | 11510 |
Cambria, Pa. | Kittanning (lower) | Clean 1 | 9.7 | 19.1 | 71.2 | 80.5 | 4.3 | 2.7 | 1.8 | 1 | 14238 |
Cambria, Pa. | Kittanning (lower) | Clean 2 | 10 | 18.8 | 71.2 | 79.9 | 4.2 | 3.5 | 1.5 | 0.9 | 14069 |
Cambria, Pa. | Kittanning (lower) | Clean 3 | 5.8 | 19.9 | 74.3 | 84.7 | 4.5 | 2.5 | 1.7 | 0.8 | 14820 |
Cambria, Pa. | Kittanning (lower) | Clean 4 | 7.8 | 19.4 | 72.8 | 81.9 | 4.3 | 3.6 | 1.6 | 0.8 | 14467 |
Nicholas, W.Va. | Kittanning (upper) | Raw | 15.2 | 32.3 | 52.5 | 70.2 | 4.6 | 7.6 | 1.4 | 1.2 | 12704 |
Nicholas, W.Va. | Kittanning (upper) | Clean 1 | 6.3 | 36.5 | 57.2 | 79.1 | 5 | 6.5 | 2 | 1.2 | 14240 |
Nicholas, W.Va. | Kittanning (upper) | Clean 2 | 5.4 | 37.2 | 57.4 | 80 | 5.1 | 6.2 | 2.1 | 1.2 | 14401 |
Belmont, Ohio | Pittsburgh | Raw | 33 | 32.4 | 34.6 | 51.5 | 3.7 | 6.3 | 1 | 4.5 | 9493 |
Belmont, Ohio | Pittsburgh | Clean 1 | 6.2 | 43.2 | 50.6 | 75.5 | 5.3 | 8.3 | 1.3 | 3.4 | 13922 |
Belmont, Ohio | Pittsburgh | Clean 2 | 6.7 | 43.4 | 49.9 | 74.7 | 5.3 | 8.2 | 1.2 | 3.9 | 13820 |
Big Horn, Mon. | Robinson | Raw | 10.6 | 37.4 | 52 | 64.5 | 4 | 19 | 1 | 0.9 | 11280 |
Big Horn, Mon. | Robinson | Clean 1 | 6.3 | 37.7 | 56 | 65.9 | 4.2 | 22.3 | 0.9 | 0.4 | 11981 |
Big Horn, Mon. | Robinson | Clean 2 | 6.7 | 37.6 | 55.7 | 65.7 | 4.3 | 22.5 | 0.4 | 0.4 | 11833 |
Big Horn, Mon. | Robinson | Clean 3 | 8.2 | 37.8 | 54 | 65.8 | 4.3 | 20.3 | 1 | 0.4 | 11868 |
Greene, Pa. | Sewickley | Raw | 33.6 | 29.1 | 37.2 | 54.5 | 3.8 | 5.6 | 1.1 | 1.3 | 9786 |
Greene, Pa. | Sewickley | Clean 1 | 7.6 | 36.3 | 56.1 | 78.7 | 5.2 | 5.9 | 1.7 | 0.9 | 14021 |
Greene, Pa. | Sewickley | Clean 2 | 8.7 | 37 | 54.3 | 77.3 | 5.1 | 6.3 | 1.7 | 0.9 | 13805 |
Greene, Pa. | Sewickley | Clean 3 | 10.4 | 35.8 | 53.8 | 74.8 | 4.9 | 7.2 | 1.6 | 1 | 13531 |
Greene, Pa. | Sewickley | Clean 4 | 10.9 | 35.9 | 53.2 | 74.8 | 5 | 6.6 | 1.7 | 1.1 | 13442 |
Kanawha, W. Va. | Stockton-Lewiston | Raw | 40.4 | 24.2 | 35.4 | 48 | 3.3 | 6.7 | 1 | 0.6 | 8294 |
Kanawha, W. Va. | Stockton-Lewiston | Clean 1 | 17.5 | 31.9 | 50.6 | 68 | 4.5 | 8 | 1.3 | 0.7 | 12174 |
Belmont, Ohio | Washington (lower) | Raw | 23.8 | 34.1 | 42.1 | 59.1 | 4.1 | 7.9 | 1.3 | 3.8 | 11001 |
Belmont, Ohio | Washington (lower) | Clean 1 | 12.1 | 39.2 | 48.7 | 69.5 | 4.8 | 9.5 | 1.2 | 2.9 | 12807 |
Belmont, Ohio | Washington (upper) | Raw | 27.1 | 31.8 | 41.1 | 57.3 | 4 | 9 | 1 | 1.6 | 10423 |
Belmont, Ohio | Washington (upper) | Clean 1 | 22.3 | 37.3 | 40.4 | 63.4 | 4.3 | 8.2 | 1.3 | 1.4 | 11276 |
Belmont, Ohio | 20% Washington (I) | Raw | 25.6 | 32.6 | 41.8 | 58.6 | 4.1 | 7.9 | 1.2 | 2.6 | 10606 |
Belmont, Ohio | 38% Washington (u) | Clean 1 | 17.6 | 36.7 | 45.7 | 65.6 | 4.6 | 8.5 | 1.5 | 2.3 | 11881 |
Belmont, Ohio | 42% Waynesburg | Clean 2 | 17.5 | 36.1 | 46.4 | 66 | 4.6 | 8.6 | 1.1 | 2.1 | 11910 |
Belmont, Ohio | Waynesburg | Raw | 27.7 | 32.7 | 39.6 | 56 | 3.9 | 7 | 1.2 | 4.1 | 10315 |
Pingback: CO2 Generation By Fuel Per Million BTUs of Heat | Math Encounters Blog