Good stuff coke. It’s made by baking coal in a retort, which drives off impurities leaving almost pure carbon behind. How pure the Carbon is depends on the coal, the qualities of which vary enormously. Much depends on the type of plants that grew, how deep the layer is, how quickly and hard the vegetable matter was pressurised, what else Mother Nature dropped in the mix, and how long the fossilization process has been running.
Generally, very old hard coals are the good stuff, whilst Brown coal is young, very impure, and has a low heat value. Most of the world’s coal is Brown, and near the surface so it can be strip mined economically, but it’s not worth coking. Most of it is burned to make electricity. Doing so generates a lot of pollution and Carbon Dioxide for the energy obtained, but Brown coal is literally dirt cheap. At present rate of consumption, about 300 years before it’s all gone.
Most coke is used to make steel, which depends on pure Carbon. Steel coke is made from older hard coals, which tend to be found deep underground and are expensive to recover.
When good hard coal is baked, many of the impurities turn out to be valuable by products, so making coke can be highly profitable. Unfortunately, the coal used has to be suitable and the cheapest most common coals aren’t.
Brown coal is coked on a smaller scale to make smokeless fuels. Rather than allowing millions of open grates to create smog, making coke with it captures most of the muck with a centralised industrial process. The resulting fuel doesn’t have as much heat value as a hard coal, but it doesn’t fill the air with Sulphuric Acid as Brown coal is prone to do.
Early locomotives burnt coke because coal in a basic firebox makes incredibly dirty smoke. Mostly fixed by the invention of the fire arch, a brick structure inside the firebox that glows red-hot and ignites partly combusted smoke by swirling it at high temperature before it reaches the tubes. More heat is gained from the fire and what goes up the chimney is much cleaner. Locomotive engine smoke can never be clean, but coal and a fire-arch are as good as a coke fire, and cheaper.
I don’t think there’s much to be gained from burning coke in a locomotive. A better answer is to electrify the line, and generate the power by burning coal efficiently in a modern power station fitted with Carbon capture. Then, if the wind happens to be blowing, or the sun shining, the power station can save fuel when the train is propelled by renewable electricity.
Anyone remember ‘Nutty Slack’. This I think was the worst coal product ever sold to an unsuspecting public. Low heat, highly polluting, difficult to ignite, useless in furnaces, and filthy to handle.
Dave