RB Solutions

Mass and energy balance methodology: from control volume to reconciled stream table

Every equipment size, chemical consumption and utility load in a process design derives from the mass and energy balance. This note sets out a method that produces balances which close, can be audited and survive independent checking. It covers conservation laws, degrees of freedom, recycle, reaction, energy, reconciliation of plant data and propagation of uncertainty.

Technical note, RB Solutions Ltd, 22 October 2026

Conservation laws and the general balance equation

For any conserved or generated quantity and any defined control volume, the general balance applies [1][2]:

dMdt=∑inm˙j−∑outm˙j+Rgen−Rconswhere M is the inventory of the quantity within the control volume (kg), t is time (s), ṁj are mass flows crossing the boundary (kg s−1), and Rgen and Rcons are rates of generation and consumption by reaction (kg s−1).

Total mass and the mass of each element are conserved in non-nuclear processes, so the reaction terms vanish for them. Chemical species are generally not conserved: a species balance requires the reaction terms. Moles are not conserved through reaction unless the stoichiometry is equimolar. Volume is not conserved at all, and volumetric "balances" are valid only as an approximation for dilute aqueous streams of near-constant density. Even then, the density basis has to be stated.

Control volumes

The control volume is chosen to make the unknown of interest appear in as few equations as possible. Typical choices are the overall plant boundary, which gives the external flows independent of internal recycles; a single unit; a mixing or splitting node; and a boundary drawn to cut a recycle stream. Each boundary is drawn on the block flow diagram before any calculation, and every stream crossing it is listed.

Steady-state and dynamic balances

At steady state dM/dt = 0, and the balance becomes algebraic. A dynamic balance is required where inventory changes matter to the design: batch and sequencing operations, equalisation and buffer tanks, start-up, and the response of pH or level to a disturbance. A steady-state balance on a batch process must be expressed over a complete cycle, and the cycle-average flows must then be distinguished from the instantaneous peak flows that size pumps and pipework.

Degrees of freedom analysis

Before solving, the problem is confirmed to be correctly specified [1]:

NDoF=Nunknowns−Nindependentequationswhere NDoF is the number of degrees of freedom (dimensionless count). The independent equations comprise material balances (one per component per unit, or total plus components less one), specified ratios, split fractions, equilibrium relations and performance specifications.

If NDoF = 0 the problem is fully specified. If it is positive, design variables remain to be fixed. If it is negative, the problem is over-specified and the data are either redundant or inconsistent. The analysis is carried out per unit and for the whole flowsheet. A common error is counting a total balance and all component balances as independent equations when only C of the C + 1 are independent. Over-specification is not a fault in plant data analysis. It provides the redundancy that data reconciliation exploits.

Recycle, bypass and purge

Recycle streams couple units so that the flowsheet must be solved simultaneously or by iteration on a tear stream. The overall balance, drawn around the plant boundary and excluding the recycle, normally yields the fresh feed and product flows directly. Unit balances then resolve the recycle. A purge is required wherever a component enters with the feed but has no other exit, such as an inert in a gas loop or dissolved salts in a water recycle. Without one, that component accumulates without limit. At steady state with a purge fraction P of the recycle loop flow, the inert balance gives:

n˙I,feed=PxI,loopn˙loop⇒xI,loop=n˙I,feedPn˙loopwhere ṅI,feed is the inert entering with fresh feed (mol s−1), P is the purge fraction of the loop flow (dimensionless), xI,loop is the inert mole fraction in the loop (dimensionless) and ṅloop is the loop flow at the purge point (mol s−1).

The same relationship governs concentration factors in water recycle systems such as filter backwash recovery and cooling circuits. Halving the purge doubles the loop concentration of every non-removed solute.

Water and solids balance closure

In water and effluent treatment, two balances must close at every separation step: the water balance and the dry solids balance. For a clarifier or thickener with feed F, overflow O and underflow U:

QF=QO+QU,QFXF=QOXO+QUXUwhere Q is volumetric flow (m3 h−1) and X is suspended solids concentration (kg m−3); for concentrated underflows the balance is written on mass flow with slurry density stated.

Chemical additions such as coagulant, polymer and the precipitated hydroxide or carbonate solids they produce must enter the solids balance as generated mass. Omitting them is the most frequent cause of undersized sludge handling. A closure check is computed and reported for every node: (Σin − Σout − accumulation)/Σin. It should equal zero to the arithmetic precision of the calculation. A design balance that closes only to a few per cent contains an error, not an uncertainty.

Component balances with reaction

Where reaction occurs, the extent of reaction ξ provides a compact formulation [1][3]:

n˙i,out=n˙i,in+∑rνi,rξ˙rwhere ṅi is the molar flow of species i (mol s−1), νi,r is its stoichiometric coefficient in reaction r (dimensionless, negative for reactants) and ξ̇r is the rate of extent of reaction r (mol s−1).

An element balance is the independent check on any reacting balance. Summing each element over all species in and out must close exactly, whatever the extents. In precipitation and neutralisation duties, a charge balance on each stream provides a further check that the ionic composition is physically possible.

Energy balance and heat of reaction

For an open steady-flow system with negligible kinetic and potential energy changes, the first law reduces to [1][2]:

Q˙−W˙s=∑outn˙iH^i−∑inn˙iH^iwhere Q̇ is heat added to the system (W), Ẇs is shaft work done by the system (W) and Ĥi is the molar enthalpy of species i relative to a stated reference state (J mol−1).

Using elements in their standard states at 25 °C as the reference, the heat of reaction appears automatically through the enthalpies of formation. With reacting species as the reference, it appears explicitly as ξ̇ ΔHr°. The standard heat of reaction follows from tabulated enthalpies of formation:

ΔHr°=∑iνiΔHf,i°where ΔHr° is the standard enthalpy of reaction (J mol−1 of extent) and ΔHf,i° are standard enthalpies of formation (J mol−1).

For neutralisation, H+(aq) + OH−(aq) → H2O(l), the NBS tables give ΔHf° = −285.83 kJ mol−1 for liquid water, −229.99 kJ mol−1 for OH−(aq) and zero for H+(aq) by convention [4]. Hence ΔHr° = −285.83 − (−229.99) = −55.84 kJ mol−1. Neutralising 0.05 mol L−1 of hydroxide releases 2.79 kJ per litre. With a specific heat capacity of about 4.18 kJ kg−1 K−1 for dilute aqueous solution [2], this raises the temperature by roughly 0.67 K. That is negligible for dilute effluent, but significant for concentrated caustic or acid streams, where heat of dilution must also be included.

Data reconciliation by weighted least squares

Measured plant flows never satisfy the balance exactly. Where the system is over-determined, the measurements are adjusted by the minimum statistically weighted amount needed to satisfy the constraints [5]:

minx^(x^−x)TV−1(x^−x)subject toAx^=0where x is the vector of measurements, x̂ the reconciled estimates, V the measurement covariance matrix (diagonal with σj2 for independent errors, units of flow squared) and A the incidence (balance) matrix (dimensionless).

For linear constraints the solution is closed-form:

x^=x−VAT(AVAT)−1Axwhere Ax is the vector of balance residuals (units of flow) and AVAT its covariance (units of flow squared).

The normalised residual, each element of Ax divided by the square root of the corresponding diagonal element of AVAT, is approximately standard normal when only random error is present. A value outside ±1.96 indicates a gross error, such as a failed meter or an unmeasured stream, at the 5 % significance level [5]. A gross error must be located and removed before reconciliation, because least squares distributes it across all measurements.

Worked example: reconciling a three-stream split

Inputs. A splitter node has feed F1 and two outlets F2 and F3. Meter readings and standard uncertainties, taken from calibration certificates, are: F1 = 100.0 m3 h−1 (σ = 2.0), F2 = 62.0 m3 h−1 (σ = 1.5) and F3 = 41.0 m3 h−1 (σ = 1.0). The constraint is F1 − F2 − F3 = 0, so A = [1, −1, −1].

Route 1, closed form. The residual is Ax = 100.0 − 62.0 − 41.0 = −3.0 m3 h−1. Its variance is AVAT = 4.00 + 2.25 + 1.00 = 7.25 (m3 h−1)2, a standard deviation of 2.69 m3 h−1. The normalised residual is 3.0/2.69 = 1.11, which is inside ±1.96, so no gross error is indicated. The adjustments are VAT(−3.0/7.25):

The check 61.07 + 40.59 = 101.66 m3 h−1 closes exactly. The least-certain meter, F1, absorbs the largest adjustment.

Route 2, constrained substitution. Eliminating F1 = F2 + F3 and minimising the weighted sum of squares over the two free variables, by solving the 2 × 2 normal equations, returns the same three values, 101.66, 61.07 and 40.59 m3 h−1. The two routes agree to the precision reported.

Table 1. Measured and reconciled flows for the worked example
StreamMeasured (m3 h−1)σ (m3 h−1)Reconciled (m3 h−1)Adjustment / σ
F1 feed100.02.0101.66+0.83
F2 outlet62.01.561.07−0.62
F3 outlet41.01.040.59−0.41
Closure F1 − F2 − F3−3.02.690.00normalised residual 1.11

Uncertainty propagation

A balance result inherits uncertainty from its inputs. For a function y = f(x1, …, xn) of uncorrelated inputs, the first-order law of propagation of uncertainty is [6]:

uc2(y)=∑i=1n(∂f∂xi)2u2(xi)where uc(y) is the combined standard uncertainty of y and u(xi) the standard uncertainty of each input, both in the units of the respective quantity.

Two consequences are important in design. First, a quantity obtained as a small difference of two large measured flows, such as a filter backwash loss or an unmetered leak, has an uncertainty that can exceed the quantity itself. It should be measured directly or bracketed, not inferred. Second, design inputs that are assumptions rather than measurements, such as a future influent load, are carried as bracketed cases (low, design, high), and the balance is solved at each bracket. A single nominal case is not sufficient.

Stream tables on PFDs

The balance is communicated through the stream table on the process flow diagram. Each stream number on the drawing corresponds to one column, listing at minimum total mass flow, volumetric flow at stated conditions, temperature, pressure, phase and the concentrations of design components. Normal, design and, where relevant, minimum and maximum cases are given. The table is generated from the calculation, not typed, so that drawing and calculation cannot diverge. It carries the closure check for each unit as a row or note. Graphical conventions for the PFD itself are covered in the companion note on PFD and P&ID standards.

Verification by an independent second route

A balance is not complete until it has been verified by a method that does not share the error modes of the first. Effective second routes include the following:

Agreement within a stated tolerance is recorded with the method used. Disagreement is resolved, never averaged.

Table 2. Balance types and their independent checks
BalanceConserved?Independent check
Total massYesOverall boundary versus sum of units
ElementYesSpecies balances with reaction extents
Chemical speciesNo, with reactionElement and charge balance
VolumeNoMass balance with stated densities
EnergyYesHeat of reaction via formation enthalpies and via measured temperature rise
Dry solidsYes, including generated precipitateWater balance and underflow concentration

References

  1. Himmelblau, D.M. and Riggs, J.B. (2012) Basic Principles and Calculations in Chemical Engineering, 8th ed. Upper Saddle River: Prentice Hall.
  2. Green, D.W. and Southard, M.Z. (eds) (2019) Perry's Chemical Engineers' Handbook, 9th ed. New York: McGraw-Hill.
  3. Felder, R.M., Rousseau, R.W. and Bullard, L.G. (2016) Elementary Principles of Chemical Processes, 4th ed. Hoboken: Wiley.
  4. Wagman, D.D. et al. (1982) The NBS tables of chemical thermodynamic properties. Journal of Physical and Chemical Reference Data, 11, Supplement 2.
  5. Narasimhan, S. and Jordache, C. (2000) Data Reconciliation and Gross Error Detection. Houston: Gulf Publishing.
  6. JCGM 100:2008 Evaluation of measurement data: Guide to the expression of uncertainty in measurement. Joint Committee for Guides in Metrology. bipm.org

Related technical notes

RB Solutions Ltd prepares mass and energy balances, stream tables and reconciliation of plant data for water, effluent and process plants, each verified by an independent second route.

Discuss a project

Call us