FermCalc - Blending Calculator

Introduction

The Blending Calculator determines the resulting property and volume of a blend of two liquids given the properties and volumes of the liquids being blended.  It can also determine the volumes of the two liquids required to achieve desired values of the blend's property and volume.  Three calculation options are offered:

  1. Solve for Property and Volume of Blend – Given the properties and volumes of liquids 1 and 2, the property and volume of the blend will be calculated.
  2. Solve for Volumes of Liquid 2 and Blend – Given the property and volume of liquid 1, the property of liquid 2, and the desired property of the blend, the volumes of liquid 2 and the blend will be calculated.
  3. Solve for Volumes of Both Liquids – Given the properties of liquids 1 and 2, and the desired property and volume of the blend, the volumes of liquids 1 and 2 will be calculated.

In Standard mode, the Blending Calculator employs an ideal, volume-weighted mixing rule to calculate the resulting properties and volume of a blend from the properties of the constituent liquids being blended.  This is equivalent to a Pearson's Square calculation.  This calculation will yield accurate results for just about any concentration that is expressed in terms of mass per unit volume or volume per unit volume, such as specific gravity, alcohol content, acidity, residual sugar, etc.  However, it does not work for pH because pH is the negative log of a concentration, and it must be converted to a concentration prior to making the calculation.  It will also not work well for properties expressed as mass per unit mass, such as Brix, in which case mass balance equations must be used.

In Advanced mode, the calculation depends on the type of property being calculated.  The calculator currently offers three property types:  Concentration, pH, and Specific Gravity/Density.

Input Field Definitions

Standard, Advanced – Select between Standard and Advanced mode.  In Standard mode, a standard "Pearson's Square" calculation is performed regardless of the property type.  In Advanced mode, the calculation depends on the property type:  concentration calculations are the same as those used in Standard mode; pH is first converted to a concentration before performing the calculation; and SG / Density calculations are performed using a separate set of mass balance equations.

Property Type – Select from Concentration, pH, or Specific Gravity / Density. Required only in Advanced mode.

SG Units – Select the units for which SG will be entered and output. Required only in Advanced mode when Specific Gravity / Density is chosen as the property type.

Solve For – Select which two values will be calculated.

Liquid 1 & 2 Property – The properties (SG, acidity, etc.) of the two liquids being blended.

Liquid 1 & 2 Volume – The volumes of the two liquids being blended.  These fields can be either input fields or output fields depending on the calculation option selected.

Blend Property – The property of the blend of the two liquids.  This field can be either an input field or an output field depending on the calculation option selected.

Blend Volume – The volume of the blend of the two liquids.  This field can be either an input field or an output field depending on the calculation option selected.

Back to top

Calculation Details

Standard Mode

In Standard mode, the Blending Calculator employs what amounts to an ideal, volume-weighted mixing rule to calculate the resulting properties and volume of a blend from the properties of the constituent liquids being blended, or

pb = Σpivi / Σvi (1)
vb = Σvi (2)

where

pb = property of blend
pi = property of liquid i
vb = volume of blend, liters
vi = volume of liquid i, liters

This approach works reasonably well for properties such as concentrations or properties that are expressed in terms of mass per unit volume or volume per unit volume, such as titratable acidity (g/L) and alcohol content (vol/vol).  Other properties require special consideration as will be discussed later.

For a system of two liquids, equations (1) and (2) can be re-written as

pb = (p1v1 + p2v2) / (v1 + v2) (3)
vb = v1 + v2 (4)

Equations (3) and (4) are equivalent to the Pearson's Square approach.  Given equations (3) and (4) above, we can do some simple algebra and solve for any two unknowns provided that all of the other quantities are known.  FermCalc provides three options:

  1. Solve for the Property and Volume of the Blend.
  2. Solve for the Volumes of Liquid 2 and the Blend.
  3. Solve for the Volumes of Both Liquids.

For cases 2 and 3, the property value of the blend must be between the property values of the two liquids.  If this is not the case, output fields are highlighted in red and an error message is displayed.

Back to top

Case 1: Solve for the Property and Volume of the Blend

For this case we specify the properties and volumes of both liquids, and we simply need to apply equations (3) and (4) above to calculate the property and volume of the blend.

Back to top

Cases 2: Solve for the Volumes of Liquid 2 and the Blend

For this case, we specify the properties of both liquids, the desired property of the blend, and the volume of one of the liquids.  We first need to re-arrange equation (3) to solve for the volume of liquid 2.  The resulting equation is:

v2 = v1(pb - p1) / (p2 - pb) (5)

The blend volume is then calculated from equation (4).

Back to top

Case 3: Solve for the Volumes of Both Liquids

For this case, we specify the properties of both liquids and the desired property and volume of the blend.  Substituting and re-arranging equations (3) and (4) again we get:

v1 = (vbpb - vbp2) / (p1 - p2) (6)

The volume of liquid 2 is then calculated by re-arranging equation (4) as

v2 = vb - v1 (7)

Advanced Mode

Concentration

The standard Pearson's Square equations are valid for concentrations, which are properties expressed in terms of mass per unit volume or volume per unit volume, such as specific gravity, alcohol content, acidity, and residual sugar.  Therefore, when Concentration is selected as the property type, the calculations are performed using the equations above for Standard Mode.

pH

pH is not a concentration, but is the negative log of the hydronium ion concentration:

pH = -log[H3O+] (8)

Pambianchi (2010) showed that considerable error can result from using pH values directly in Pearson's Square calculations.  Because of this, pH values should not be used directly for blending calculations.  Instead we need to first convert pH to a concentration.  Calculating the hydronium ion concentration from pH we get:

[H3O+] = 10-pH (9)

Now that we've converted pH to a concentration, we can apply the equations developed above in the Standard Mode section.  For example, equation (3) above becomes:

[H3O+]b = ([H3O+]1v1 + [H3O+]2v2) / (v1 + v2) (10)

where:

[H3O+]b = hydronium ion concentration of blend
[H3O+]1 = hydronium ion concentration of liquid 1
[H3O+]2 = hydronium ion concentration of liquid 2

After calculating the hydronium ion concentration of the blend, we can then convert it back to pH using equation (8).

Specific Gravity / Density

Under certain circumstances, the standard Pearson's Square formulas can result in significant error if used for chaptalization and dilution calculations.  This is particularly true when units of
°Brix are used directly in the calculation, and when the difference is large between the Brix levels of the liquids being blended.  For example, let's say we want to dilute honey at 80°Brix with water (0°Brix) to yield 10 liters of 24°Brix must.  A standard Pearson's Square calculation would say you need 3 liters of honey and 7 liters of water.  However, if we use more rigorous mass balance equations we would calculate volumes of 2.3 liters of honey and 7.7 liters of water.  Quite a difference!  If the Brix levels were expressed as SG or density, the results would agree much more closely.  Even more so if they were expressed as g/L sugar.

The mass balance equations used for the Specific Gravity / Density blending calculations are based on those used in the Chaptalization & Dilution Calculator and yield the same results regardless of which SG unit is chosen.  The total mass balance equation is:

vbsgb = v1sg1 + v2sg2 (11)

The sugar mass balance equation is:

vbsgbBb = v1sg1B1 + v2sg2B2 (12)

where:

sgb = specific gravity of blend
sg1 = specific gravity of liquid 1
sg2 = specific gravity of liquid 2
Bb = Brix of blend
B1 = Brix of liquid 1
B2 = Brix of liquid 2

For the first calculation option, where we're calculating the SG and volume of the blend, we need to substitute equation (11) into equation (12) to eliminate vb, and then rearrange to solve for Bb:

Bb = (v1sg1B1 + v2sg2B2) / (v1sg1 + v2sg2) (13)

Now that we know Bb, we can determine sgb using the Brix conversion equation.  Then we just need to re-arrange equation (11) to solve for vb:

vb = (v1sg1 + v2sg2) / sgb (14)

For the second calculation option, where we're calculating the volumes of liquid 2 and the blend, we again need to eliminate vb, but this time solve for v2:

v2 = [v1sg1(B1 - Bb)] / [sg2(Bb - B2)] (15)

Then we can solve equation (14) for vb.

For the third calculation option, where we're calculating the volumes of both liquids, we need to substitute equation (11) into equation (12) to eliminate v2, and then solve for v1:

v1 = [vbsgb(Bb - B2)] / [sg1(B1 - B2)] (16)

Then we can solve equation (11) for v2:

v2 = (vbsgb - v1sg1) / sg2 (17)
Back to top

© 2007-2021 Steve Gross
Last updated 11 September 2021.