Automation Glossary • In-Line Blending

What Is In-Line Gasoline Blending Control?

Merobix Engineering • • 8 min read

Finished gasoline and diesel are not made as single streams; they are recipes, blends of several refinery components mixed in the right proportions to hit octane, vapour pressure, and the other properties the product must meet. In-line blending makes that recipe on the fly by bringing all the components together at a blend header, metering each one at a controlled ratio to the total, so finished product forms continuously as it flows to tank or to a ship, rather than being mixed batch by batch in a tank. This guide explains how in-line blending combines components in fixed ratios at a header, why each component's flow is ratio-controlled to the total, and how a control system sequences the recipe, handles a wild stream, and starts and stops the blend against a target volume.

Back to Blog

In-Line Blending in one line: In-line blending combines several refinery components at a common blend header, metering each one so its flow stays at a set ratio of the total blend rate, so finished gasoline or diesel is produced continuously as the streams mix and flow onward to tank. It differs from batch tank blending, where components are added to a tank and mixed afterward, because the product is made to recipe in real time in the pipe. The control system holds each component at its recipe ratio, often runs one component as a wild stream that fills the balance, and sequences the start, ramp, and stop of the blend to deliver a target volume on specification.

Blending to Recipe at a Header, Not in a Tank

In-line blending is defined by where and when the mixing happens. Each component, such as reformate, alkylate, light naphtha, butane, and any additives, has its own metered line, and all those lines tie into a single blend header. As the streams meet at the header they combine into finished product, and that product flows on to a receiving tank or directly to a pipeline or vessel. The blend is created in the pipe, at the moment of mixing, which is why it is called in-line, and the finished stream leaving the header is already on recipe if the ratios are right.

The contrast is batch tank blending, where components are pumped into a tank in sequence or together and then mixed and recirculated in the tank until uniform, with quality checked and corrected afterward. Tank blending is flexible and forgiving because there is time to sample and adjust before the product leaves, but it ties up tankage, takes hours, and needs the tank and mixing equipment. In-line blending trades that after-the-fact flexibility for speed and efficiency: it makes product continuously, uses far less tankage, and can send finished blend straight to where it is going, which is why refineries and terminals lean on it for high-volume grades.

Because there is no tank stage to fix mistakes, in-line blending puts more weight on getting the ratios and the metering right the first time, and on trimming the recipe in real time from online quality measurements. The blend that leaves the header is what goes to the customer, so the whole point of the control system is to hold each component to the recipe and correct it continuously, which is a more demanding control task than filling a tank and mixing it later.

Ratio Flow Control of Each Component

The heart of in-line blending is ratio flow control. The blend recipe specifies what fraction of the total each component should be, so as the overall blend rate changes, each component's flow setpoint is scaled to keep its fraction constant. Every component line has its own flow meter and control valve, and its controller drives that valve so the measured flow tracks its ratio-derived setpoint. Speed up the total blend and every component speeds up in proportion; slow it down and they all fall together, so the recipe fractions hold steady across the whole run.

A common wrinkle is the wild stream, sometimes called the major or balance component. Rather than ratio-controlling every stream to a fixed fraction, one component is left to make up whatever total the others do not, so the blend rate is effectively set by the sum of the ratio-controlled streams plus this balance. Small, potent additives and property-trimming components such as butane are often the ones adjusted tightly, while a bulk component runs wild to fill out the volume. This arrangement makes it easier to set the total blend rate and to trim properties without every stream fighting every other.

The reason ratio control is preferred over just setting each flow to a fixed number is that the blend rate itself often varies, whether because the receiving side speeds up or slows down or because the operator ramps the blend. If component flows were fixed independently and the total drifted, the recipe fractions would drift with it and the product would go off spec. Tying each component to the total as a ratio keeps the recipe intact regardless of how fast the blend is running, which is exactly what a continuously made product needs.

Sequencing the Blend and Hitting Target Volume in SCADA

An in-line blend is not just steady ratio control; it is a sequenced operation with a beginning, a middle, and an end, and that is where the control system's batch logic comes in. Starting a blend means lining up the components, bringing pumps and valves in, and ramping the streams up together so the recipe holds even during the ramp rather than letting one component lead. Ending it means ramping down and stopping cleanly, and throughout the run the controller is counting the delivered volume so it can finish on a target quantity, trimming the streams and closing the blend as the target is reached.

A cloud SCADA platform such as Merobix fits this because a blend is a coordinated set of tags that must be watched together: total blend flow and accumulated volume, each component's flow and its ratio, the header pressure, and any online analysers reading properties such as octane or vapour pressure. Where a blend optimiser or property control sits on top, it feeds setpoints, adjusting the ratios in real time so the finished blend meets each property with only a small margin. Surfacing the recipe, the live ratios, the accumulated volume, and the analyser trends on one view lets an operator confirm the blend is tracking the recipe and heading for the right volume on spec.

For blends running at terminals or unmanned headers, remote monitoring through cloud SCADA turns sequencing into a supervised operation. Alarms on a component flow that cannot hold its ratio, on a valve running out of travel, on an analyser drifting toward a property limit, or on the accumulated volume nearing target let operators intervene before the blend is spoiled or overshoots its quantity. Because in-line blending makes finished product with no tank stage to catch errors, keeping the recipe, the ratio loops, the sequence state, and the delivered volume all visible remotely is what lets a blend run continuously with confidence that what leaves the header is on grade.

Frequently Asked Questions

How is in-line blending different from batch tank blending?

In-line blending meters all the components together at a blend header so finished product is made continuously in the pipe as they mix and flow onward, whereas batch tank blending adds components to a tank and mixes them afterward, with quality checked and corrected before the product leaves. Tank blending is more forgiving because there is time to sample and adjust, but it ties up tankage and takes hours. In-line blending is faster and uses far less tankage, so it is favoured for high-volume grades, at the cost of needing the recipe right in real time.

What is a wild stream in a blend?

A wild stream, also called the balance or major component, is the component left to make up whatever total the ratio-controlled streams do not, rather than being held to a fixed fraction itself. Tightly controlled components and property-trimming streams such as butane are ratio-controlled precisely, while a bulk component runs wild to fill out the volume. This makes it easier to set the overall blend rate and trim properties without every stream competing with every other for control of the total.

Why is each blend component controlled as a ratio of the total?

The blend rate often varies as the receiving side speeds up or slows down or as the operator ramps the run, and if each component's flow were fixed independently the recipe fractions would drift when the total changed and the product would go off spec. Tying each component's setpoint to the total as a ratio keeps its fraction constant no matter how fast the blend is running. That is what a continuously made product needs, since there is no tank stage afterward to correct a drifted recipe.

From Definitions to a Live Dashboard

Merobix reads your field devices into a cloud SCADA - the real thing behind these terms, live in days from any browser.

Request a Free Demo +1 (903) 307-7300
More in Automation Glossary
Octane Giveaway  •  Magnetostrictive level operation  •  Dual-float magnetostrictive interface  •  Nuclear level gauge operation  •  Nuclear source decay compensation  •  Nuclear density gauge  •  All Automation Glossary →
Free SCADA operator training
Merobix University - 70 video lessons & 261 quiz questions, from first login to compliance reporting. No demo call required.
Start free →