<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by AsandiWanigathunga on Medium]]></title>
        <description><![CDATA[Stories by AsandiWanigathunga on Medium]]></description>
        <link>https://medium.com/@asandiwanigathunga?source=rss-f3e987ed427------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by AsandiWanigathunga on Medium</title>
            <link>https://medium.com/@asandiwanigathunga?source=rss-f3e987ed427------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 05:09:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@asandiwanigathunga/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Chemical Engineering Behind Your Beer]]></title>
            <link>https://medium.com/@asandiwanigathunga/the-chemical-engineering-behind-your-beer-68d3e429659f?source=rss-f3e987ed427------2</link>
            <guid isPermaLink="false">https://medium.com/p/68d3e429659f</guid>
            <dc:creator><![CDATA[AsandiWanigathunga]]></dc:creator>
            <pubDate>Mon, 20 Apr 2026 17:29:41 GMT</pubDate>
            <atom:updated>2026-04-20T17:29:41.734Z</atom:updated>
            <content:encoded><![CDATA[<p>Behind your beer, there is a carefully engineered sequence of heat transfer, biochemical reactions, and separation processes. Simply put, brewing is a miniature biochemical refinery. Here I`ll walk through main stages of brewing which are mashing, lautering, boiling, fermentation, and conditioning and chemical engineering behind these stages.</p><p><strong>Mashing</strong></p><p>Mashing is the first crucial step of brewing. It is simply mixing crushed grains (usually barley malt) with hot water and letting it sit. But underneath this simple action, lies a complex piece of biochemical engineering.</p><p>What actually happens at the molecular level is, those grains are packed with long-chain starch molecules. Yeast cannot eat these long chains directly. Therefore first we have to break those chains down into simple, fermentable sugars like maltose and glucose. This process is not done with acid or mechanical force, but with enzymes.</p><p>The malted barley contains two key enzymes, which are <strong>α-amylase</strong> and <strong>β-amylase</strong>. These enzymes are waiting to be activated. When you add water at exactly the right temperature, they wake up and start chopping those starch chains into sugar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*YGpTpEu7Nzcr2YDucVDhrA.png" /></figure><p>In enzyme activities controlling temperature is essential. This is where chemical engineering becomes critical. Each enzyme has a specific temperature window where it works best which is the optimum temperature for that enzyme.</p><p>For <strong>β-amylase</strong> optimum temperature is around 60–65°C. <strong>β-amylase</strong> produces small, highly fermentable sugars. This leads to a drier, stronger beer with more alcohol.</p><p>For <strong>α-amylase</strong> optimum temperature is around 68–72°C. It produces larger, less fermentable sugars. This leaves more body and sweetness in the final beer.</p><p>If the water is too cold (below 60°C), very slow starch conversion occurs. The enzymes work so slowly that it would take hours to get enough sugar. If the water is too hot (above 75°C), the enzymes denature (are permanently destroyed). Without enzymes there will be no sugar. No sugar means no fermentation. No fermentation means no beer.</p><p>Basically, the grain and water are the reactants while the enzymes are the catalysts. Heat is the energy input. And the reaction product is a sugary liquid called <strong>wort</strong>.</p><p>In a lab scale, we can test whether the starches are still present or have been converted by using a drop of iodine with a drop of the liquid. If the mixture turns black, starches are still present. If it stays brownish-yellow, the conversion is complete.</p><p><strong>Lautering</strong></p><p>After mashing, there is a thick porridge-like mixture called the mash. It contains the sweet liquid (the wort) and the solid grain husks. Then we have to separate the wort from the solid grain husks.</p><p>This step of separation is called <strong>lautering</strong> (from the German word <em>läutern</em>, meaning “to purify” or “to clarify”).</p><p>Simply, lautering is draining the wort from the grain bed while rinsing the grains with hot water to capture every last bit of sugar. But from an engineering perspective, this is a classic solid-liquid separation operation. Specifically, a form of filtration combined with leaching.</p><p>This process typically has two phases. They are <strong>recirculation</strong> and <strong>sparging</strong>.</p><p><strong>1. Recirculation (setting the grain bed)</strong></p><p>At first, the wort that comes out is cloudy with fine grain particles. The cloudiness must not in the final product. By recirculating the mixture through the grain bed, small particles get trapped. The grain bed itself becomes the filter medium. After a few recirculations, the wort runs clear.</p><p><strong>2. Sparging (rinsing the grains)</strong></p><p>Once the grain bed is set and the wort is running clear, collect the wort in a boiling kettle. But the grains are still holding onto a lot of sugar. Draining them just once will leave behind significant yield</p><p>Therefore, draining from the bottom must have done by slowly pouring hot water (around 75–77°C) over the top of the grain bed. This is called sparging. The hot water rinses the remaining sugars out of the grains and carries them down into the kettle.</p><p>The grain bed acts as a depth<strong> </strong>filter. The wort passes through a packed bed of grain husks, which trap solid particles while allowing liquid to flow through. This is exactly the same principle as a sand filter in a water treatment plant.</p><p>Grain crush, bed depth, and flow rate are the factors affect filtration performance. If the grains are crushed too fine, the bed compacts and flow slows to a trickle. If too coarse, there will be some sugar left behind. A deeper bed filters more effectively but creates more resistance to flow. Draining too fast collapses the bed while draining too slowly wastes time.</p><p>Sparging is a leaching operation. In chemical engineering, leaching is the process of extracting a soluble component from a solid using a liquid solvent. Here, the soluble component is sugar, the solid is the spent grain, and the solvent is hot water.</p><p>Think of it like brewing coffee or tea. The first cup is strong. If you pour more hot water over the same grounds, you get a weaker cup. But you’re still extracting something. The goal is to extract as much sugar as possible without extracting unwanted tannins (bitter compounds) from the grain husks.</p><p>The sparging has to be stopped when the wort gravity drops below a certain point (usually around 1.008–1.010) or when the targeted volume has collected. Beyond that, it`s just diluting the wort.</p><p>In an industrial chemical plant,</p><ul><li>A <strong>rotary vacuum filter</strong> for dewatering slurries</li><li>A <strong>belt filter press</strong> for continuous solid-liquid separation</li><li>A <strong>counter-current decantation</strong> system for leaching minerals from ore</li></ul><p>can be seen.</p><p><strong>Boiling</strong></p><p>After lautering, the clear, sugary wort is left. But this liquid is not yet beer. In fact, it is a dangerous environment for any brewer. The wort is packed with sugar and nutrients. It is the perfect breeding ground for unwanted bacteria and wild yeast. If it is left as it is, it would end up with sour, spoiled liquid instead of beer.</p><p>This is where boiling becomes essential.</p><p>Boiling is not just about applying heat. It serves three critical engineering functions which are <strong>sterilization</strong>, <strong>chemical reaction</strong>, and <strong>concentration</strong>.</p><p><strong>1.</strong> <strong>Sterilization</strong></p><p>The first and most urgent job of the boil is to kill any unwanted microbes that may have entered the wort during mashing or lautering.</p><p>From an engineering perspective, this is a thermal sterilization process. It is the same principle used in, pasteurizing milk, sterilization medical equipment and treating wastewater.</p><p>At 100°C (boiling temperature at sea level), most bacteria and wild yeast cannot survive. The heat denatures their proteins and destroys their cell structures. After a 60-minute boil, the wort is effectively sterile.</p><p>This step is essential because a single contaminated batch is a total loss. Sterilization is only useful if you maintain sterility until the yeast takes over.</p><p><strong>2.</strong> <strong>Chemical Reaction</strong></p><p>The second function of boiling is to extract bitterness and flavor from hops.</p><p>Hops are the flowers of the hop plant (<em>Humulus lupulus</em>). They contain <strong>alpha acids</strong> — compounds that are not bitter at all in their natural state. But when heated in boiling wort, these alpha acids undergo a chemical transformation called <strong>isomerization</strong>.</p><p>Isomerization changes the molecular structure of the alpha acids into <strong>iso-alpha acids</strong>, which are intensely bitter. This is the bitterness that balances the sweetness of the malt in beer.</p><p>This is a chemical<strong> </strong>reaction driven by heat. The reaction rate depends on:</p><ul><li><strong>Temperature:</strong> Higher temperature speeds up isomerization</li><li><strong>Time:</strong> Longer boiling = more bitterness extracted</li><li><strong>pH:</strong> Slightly acidic wort (pH 5.0–5.5) optimizes isomerization</li></ul><p>Hops are added at different times during the boil to achieve different effects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*WqI1ZbASCQW00M-ukJxvbA.png" /></figure><p>This timing-based approach is a classic example of reaction<strong> </strong>engineering, controlling reaction time to achieve a specific product profile.</p><p><strong>3.</strong> <strong>Concentration</strong></p><p>The third function of boiling is concentration. As the wort boils vigorously, water evaporates. The sugars remain behind, so the sugar concentration increases.</p><p>This is a simple evaporation operation. In engineering terms, removing solvent (water) to increase the concentration of solute (sugar).</p><p>By measuring the specific gravity before and after boiling, we can identify how much water evaporated,</p><p>Pre-boil gravity: Typically, lower (e.g., 1.035)</p><p>Post-boil gravity: Higher (e.g., 1.066)</p><p>The difference tells how much water evaporated. A typical boil evaporates 10–15% of the total volume.</p><p>The post-boil gravity determines the final alcohol content of the beer. If it is evaporated too little, the beer will be weak. If evaporated too much, the beer will be too strong and potentially unbalanced.</p><p>Once the 60 minutes are up, the boil is complete. But the wort is still at 100°C. Far too hot for yeast. Yeast dies above about 40°C.</p><p>So the next step is cooling. The wort is needed to bring down to the fermentation temperature (15–22°C for ale yeast) as quickly as possible. Rapid cooling also helps proteins coagulate and settle, improving clarity.</p><p>This is a heat<strong> </strong>transfer operation.</p><p>In an industrial brewery, they use plate heat exchangers or shell-and-tube heat exchangers — exactly the same equipment you would find in a chemical plant.</p><p><strong>Fermentation</strong></p><p>After boiling and cooling, the wort is finally ready for the most magical step of all: fermentation. This is where yeast transforms sweet liquid into alcoholic beer.</p><p>Fermentation is simple in concept: Yeast is added to the cooled wort, and the yeast consumes sugar and produces alcohol and carbon dioxide.</p><p>But underneath that simple description lies a complex biochemical<strong> </strong>reaction<strong> </strong>engineering process. The yeast cells are living biocatalysts. They take in sugar (the substrate) and convert it into ethanol (the primary product), CO₂ (the byproduct), and dozens of flavor compounds.</p><p>The simplified chemical equation is:</p><p><strong>C₆H₁₂O₆ (glucose) → 2 C₂H₅OH (ethanol) + 2 CO₂ (carbon dioxide)</strong></p><p>This is an anaerobic process which means it happens without oxygen. In fact, oxygen is harmful to fermentation after the yeast has started working.</p><p>Yeast fermentation follows a typical kinetic<strong> </strong>profile that any biochemical engineer would recognize.</p><p><strong>Phase 1: Lag Phase</strong></p><p>The yeast is adapting to its new environment. It is not producing alcohol yet. Instead, it is absorbing oxygen (if any remains) and building sterols for healthy cell membranes. This is why aerating the wort before pitching yeast is beneficial — but only before fermentation starts.</p><p><strong>Phase 2: Exponential Growth Phase</strong></p><p>This is the most active period. The yeast population explodes. Sugar consumption is rapid. Alcohol content rises quickly. This phase is where most of the sugar is converted.</p><p><strong>Phase 3: Stationary Phase</strong></p><p>Sugar becomes scarce. The yeast slows down. Some yeast cells begin to flocculate (clump together and settle to the bottom). The yeast now starts cleaning up byproducts like diacetyl (buttery off-flavor) and acetaldehyde (green apple flavor).</p><p><strong>Phase 4: Death Phase</strong></p><p>Active fermentation is complete. The yeast settles out, leaving clear beer above. The remaining yeast slowly works on any remaining sugars and continues to clean up off-flavors. This is where the beer matures and becomes smooth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T1SYO4LiPQyPZwocHjhYkw.jpeg" /><figcaption>Culture Growth Phases</figcaption></figure><p>Temperature control during fermentation is arguably the most important factor in producing good beer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*M3S0HJBkiOO0n_6kAQYmFA.png" /></figure><p><strong>Conditioning and Packaging</strong></p><p>When fermentation is complete, the beer is technically alcoholic. But it is not ready to drink. It needs to mature, clarify, and carbonate. That final step is called conditioning, and it involves separation, sedimentation, and gas-liquid equilibrium.</p><p><strong>1.</strong> <strong>Sedimentation — Clarifying the Beer</strong></p><p>During fermentation, the beer is cloudy with suspended yeast cells, protein particles, and hop residues. These need to be removed before packaging.</p><p>Flocculation is the process where yeast cells clump together and settle to the bottom of the fermenter. As fermentation slows and sugar becomes scarce, yeast cells change their surface properties. They stick to one another, forming large clumps that are heavy enough to overcome Brownian motion and gravity pulls them down.</p><p>This is a solid-liquid<strong> </strong>separation process — specifically, gravity<strong> </strong>sedimentation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/917/1*m_gngNREegw-46ojo1w58Q.png" /></figure><p>In an industrial brewery, they use:</p><ul><li><strong>Centrifuges</strong> for rapid clarification</li><li><strong>Plate-and-frame filters</strong> for polishing</li><li><strong>Diatomaceous earth filtration</strong> for brilliant clarity</li></ul><p><strong>2.</strong> <strong>Aging — Flavor Maturation</strong></p><p>Even after the yeast has settled, the beer is not at its best. Young beer often has off-flavors that need time to disappear.</p><p>During conditioning, the remaining yeast (still suspended in small numbers) continues to work. It cleans up unwanted byproducts produced during active fermentation.</p><p>This is why patience matters. A beer that tastes harsh and unpleasant after one week in the fermenter can be smooth and delicious after three weeks. The yeast needs time to complete its work.</p><p><strong>3.</strong> <strong>Carbonation — Gas-liquid Equilibrium</strong></p><p>Flat beer is not enjoyable. Carbonation adds the refreshing mouthfeel and helps carry aroma compounds to your nose.</p><p>There are two ways to carbonate beer: <strong>natural carbonation</strong> (bottle conditioning) and <strong>forced carbonation</strong> (kegging).</p><p><strong>Natural Carbonation (Bottle Conditioning)</strong></p><p>Before bottling, Calculate and add a precise amount of <strong>priming sugar</strong> (usually dextrose or table sugar) to the flat beer. The remaining yeast in suspension consumes this sugar inside the sealed bottle, producing CO₂. Because the bottle is sealed, the CO₂ cannot escape. It dissolves into the beer.</p><p>This follows Henry’s<strong> </strong>Law: The amount of gas that dissolves in a liquid is proportional to the partial pressure of that gas above the liquid.</p><p>Too much priming sugar creates <strong>over-carbonation</strong> — gushing bottles or, in extreme cases, bottle bombs. Too little sugar produces flat beer.</p><p><strong>Forced Carbonation (Kegging)</strong></p><p>In a kegging system, CO₂ is applied from a cylinder at a set pressure. The beer absorbs CO₂ until equilibrium is reached. This is faster and more precise than bottle conditioning.</p><p>From an engineering perspective, this is a <strong>gas absorption</strong> operation.</p><p><strong>Packaging</strong></p><p>Packaging is the final unit operation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*fDnIxqBhBWE8JEekrP42nA.png" /></figure><p>Once you learn to see the unit operations, you cannot unsee them. Coffee makers are extraction columns. Ovens are heat transfer equipment. Ovens are heat transfer equipment. And beer? Beer is just a really tasty chemical plant.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68d3e429659f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>