Mass Balancing McGill PDF

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 20

MIME 442: Module 2 Mass balancing and data adjustment

Module 2: Mass balancing and data reconciliation


This section is prepared using the reference by Morrison, R. (Mass Balancing Flotation
Data in Flotation Plant Optimization, Ed. C.J. Greet, AusIMM, Spectrum 16, 2010;
and Wills, B.A. and Napier-Munn, T.J. Mineral Processing Technology, 2006,
Elsevier, Amsterdam, Chapter 3).

1. A single separation unit (single node)


1.1 Mass balancing

This is a common situation: it could be a single device such as a flotation cell or a


cyclone or a group of devices such as bank of flotation cells or the entire plant. This is
referred to as a single node. A general representation is given in Figure 1.

A C

B
Figure 1 General arrangement for a single node

1.1.1 No error in the measurement

The global and component mass balances are:


A * B* C * (1)
A a B b C c
* *
i
* *
i
* *
i (2)
where the upper case letters A, B and C are solid flow rates and lower case letters a, b, c
are components such as metal assays and size-by-size fraction for i components from 1
to n; and superscript * stands for the true value (measured with no error).

Dividing equation (1) by A* we have:


B* C*
1 (3)
A* A*

Defining the split factor as the ratio:
B*
* (4)
A*
Then, a generalized mass balance equation is obtained:
a *i * b*i (1 * ) c*i (5)
In the ideal case the split factor can be calculated using any set of component i
a *i c*i
* (6)
b*i c*i
The above equation is an example of what is known as a two product formulae.

1
MIME 442: Module 2 Mass balancing and data adjustment

1.1.2 Measurements with error

In reality measurements contain errors and equation (5) does not hold, i.e.,
a i - b i (1 ) c i 0 (7)
In general, we have:
a i - b i (1 ) ci i (8)
where i are the errors obtained when evaluating equation (5) for each component i.

Equation (8) can be expressed as follows:


(a i - ci ) - (b i ci ) i (9)

It is evident that equation (8) is linear with respect to and it forms a linear system of
equations with 1 unknown () and n equations (n components).
a 1 c1 b1 c1 1
a c
2 2 b 2 c 2 2 (10)


a n c n b n c n n
The estimation of can be cast as an optimization problem, where the objective is to
find the best ,i.e., the value that minimizes the sum of the squared errors, i.e.,
n n 2

minimize

a
i
2
i
i
i c i b i c i (11)

This problem is the Least Squares Estimation and has the following analytical solution:
n

b i - c i a i - c i
i (12)
b - cj
n
2
j
j

Superscript ^ stands for optimal estimate in the sense of least squares.

You may note this has some similarities to the solution for the 1 coefficient in section
7.1 simple linear regression of Module 1. Indeed the problem can be formulated as a
linear regression problem.

Instead of Eq 9 we could write

(13)
(a i - c i ) (b i c i ) i

You should satisfy yourself that the solution to this form, i.e., no 0 intercept term, i.e.,
the linear fit is forced through the origin, is the same as Eq 12. Thus a plot of (ai ci)
vs. (bi ci) should be a straight line through the origin and the slope estimated by linear
^
regression should be .

2
MIME 442: Module 2 Mass balancing and data adjustment

Lets do a couple of example mass balances to illustrate what we have learned thus far.

Example 1: Mass balance around a section of a flotation circuit using metal assays
(taken from Morrison, 2010)

In Table 1 we have metal assay data from a section of flotation circuit where A is feed,
B Cu concentrate and C tailings. Well examine three solutions.

Solution 1: Using Eq 6

The solution is included in Table 1.

Table 1 Metal assays around a flotation section; balance solved using Eq 6


Metal ai bi ci ai-ci bi-ci (ai-ci)/(bi-ci)
Pb(%) 4.02 4.07 4.04 -0.02 0.03 -0.667
Zn(%) 15.8 7.8 15.5 0.3 -7.7 -0.039
Cu(%) 0.43 22.4 0.2 0.23 22.2 0.010
Fe(%) 14.3 16.1 13.5 0.8 2.6 0.308

Observations: There is an obvious problem: the ratios in the last column are the
estimates of (Eq. 6), which should be a unique value independent of which component
is used in the calculation. Clearly the ratios show significant variation, with some
physically impossible negative ratios. We do learn valuable lessons, however.
Considering the table and the analytical solution, Eq 12, it is evident that if there is no
difference between two of the assays, viz. ai bi or bi ci , then there is no solution.
There are two corollaries:
1. The closer are the assays the less reliable is the estimate of . For example,
the Pb assays are the least useful.
2. It is always advisable to use a component that is separated in the unit. In this
case the Cu is the target component to be separated and thus makes the logical
choice to solve the balance.

We could use these lessons to eliminate some values, for example all except the based
on the Cu assays ( = 0.010) and this notion should always be kept in mind but
there is an argument that the there is something beneficial to estimating the best by
using all the data.

Solution 2: Using the analytical solution, Eq 12

Table 2 gives the result using the analytical solution.

Table 2 Solution using Eq 12


ai bi ci ai-ci bi-ci (bi-ci)*(ai-ci) (bi-ci)^2
Pb(%) 4.02 4.07 4.04 -0.02 0.03 -0.0006 0.0009
Zn(%) 15.8 7.8 15.5 0.3 -7.7 -2.31 59.29
Cu(%) 0.43 22.4 0.2 0.23 22.2 5.106 492.84
Fe(%) 14.3 16.1 13.5 0.8 2.6 2.08 6.76
Sum 4.8754 558.8909
Beta 0.00872

3
MIME 442: Module 2 Mass balancing and data adjustment

Observations: We now have a single value, 0.0087; i.e., the best estimate is that 0.87%
of the feed solids (mass) reports to the B stream, i.e., the Cu concentrate, or, its
complement, 99.13% reports to the C steam (tailings)). (From the process perspective
obviously the amount of concentrate is small as the low Cu feed assay implies.)

Note that the result is closest to that given in Table 1 by the Cu component. Given
corollary 2 above, it appears that the Cu component actually does have the strongest
impact. We can judge this from Table 2 where the largest contribution to both the
numerator and denominator sums in Eq 12 is from the Cu component. In this regard the
Cu component carries the most weight.

Solution 3: Using linear regression, Eq 13

Equation 13 expresses the linear regression solution and the plot ai ci vs. bi ci is
shown in Figure 2. In this case we force the solution through the origin, as Eq 13
requires (i.e., same solution as Eq 12). The plot hardly encourages the straight line
notion but the regression model faithfully returns the slope 0.0087; i.e., the same
^
solution for as the analytical solution, as must be the case. The lack of agreement
simply reflects the scatter shown in Table 1 for the ratio in the last column.

1
0.8
0.6
(ai-ci)

0.4
0.2 y = 0.0087x
0
-10 -0.2 0 10 20 30

(bi-ci)

Figure 2 Linear regression result with forcing through the origin

^
Another approach is to use Solver to search for that minimizes the sum of squares, Eq
11. We will return to that method of solution in section 1.2 when we introduce
uncertainty in the measurements. Before we do that, however, lets consider another
common mass balance, one based on size analysis.

Example 2: Mass balance around a hydrocyclone using particle size distribution data

Table 2 shows data collected around a hydrocyclone where A is feed, B underflow


(coarse product) and C overflow (fine product). Given this unit is designed to separate
on the basis of particle size this is the best component to use in the mass balance.

4
MIME 442: Module 2 Mass balancing and data adjustment

Size, um % in size class


ai bi ci ai-ci bi-ci (ai-ci)/(bi-ci)
>208 26.09 39.3 3.66 22.43 35.64 0.6293
208-74 36.3 38.93 32.7 3.6 6.23 0.5778
74-37 15.46 10.51 24.37 -8.91 -13.86 0.6429
<37 22.15 11.26 39.27 -17.12 -28.01 0.6112

Solution: The table includes the ratio to calculate . This time, compared to the metal
assay data in Table 1, the ratio is reasonably consistent. (From experience this
reasonable agreement with Eq 13 is often seen in hydrocyclone and other size
separation devices.) Figure 3 shows the linear regression plot and the model (this time
not forcing through the origin just to show that well behaved data do correspond to a
^
straight line through the origin (the intercept is 2x10-15). The best estimate of is 0.623;
that is, 62.3% of the solids report to (are recovered to) the underflow.

25
y = 0.6234x - 2E-15
20
15
10
5
(ai-ci)

0
-40 -30 -20 -10 -5 0 10 20 30 40

-10
-15
-20
(bi-ci)

Figure 3 Linear regression result (note, data are well-behaved and show the expected
straight line through the origin, in this case there is no need to use the force through the
origin option)

The two examples above illustrate cases where we have more than one component on
which to base a mass balance: in Example 1 we had four metal assays; in Example 2 we
had four size classes (or size intervals). In principle only one component is needed for
the balance so in these two examples the mass balance is said to be over-defined and
the extra components sometimes referred to as redundant data. In a mathematical
sense they are redundant but as you can already see they help derive a best estimate of
the mass split rather than relying on only one component to strike the balance, even
one based on the component that is most separated in the unit under question. The
description redundant is rather unfortunate in that regard.

Obviously we could have had more components, more metal assays (or related assays,
such as ash content in coal), or more size classes (or even metal assays of size classes,
as you will encounter in assignment 4/5). One component possibility common in both
examples would be % solids. Especially in the case of the hydrocyclone water recovery
to underflow is an important parameter in modeling the performance (efficiency) curve.
To estimate water recovery we need to % solids data. This is not too onerous as the

5
MIME 442: Module 2 Mass balancing and data adjustment

cyclone samples we collect will be slurry and thus a weigh, dry and weigh again
procedure will give us the % solids information. Using % solids we can approach the
mass balance problem in the same general manner as we did for sizes (or metal assays)
so long as we recognize we have shifted the base of reference to slurry. Well illustrate
a mass balance with % solids data collected around a hydrocyclone.
Example 3: Mass balance around a hydrocylone using % solids data

The data is shown in the Figure 5.

73.4
C
36.5

38.5
A
54.5 % - 74 m
% solids

22.8
B
70.4
Figure 5 Example % solids data around a hydrocyclone

The mass balances are set up as follows:

1. Using size data


solids : A BC
- 74 m : Aa Bb Cc
B a c 38.5 73.4
0.690
A b c 22.8 73.4

2. Using % solids
slurry : A BC
solids : Aa Bb Cc
A a c 54.5 36.5
0.531
B slurry b c 70.4 36.5
Bb 70.4
0.531 * 0.69
Aa solids 54.5

We see that the estimated solids mass split is the same using either component, as it
should be, but in the second case we had shifted the base to that of slurry (the symbols
are italic to remind we have shifted the base). Consequently the first mass split
calculated is that of slurry; i.e., 53.1% of the slurry in the cyclone feed reports to (is
recovered to) the underflow. From the slurry split we can calculated the solids mass
split (or solids recovery to underflow), as shown where Bb now is the solids mass flow
rate in the underflow and Aa the solids mass flow rate in the feed.

6
MIME 442: Module 2 Mass balancing and data adjustment

We noted that water recovery to underflow was important in modeling the cyclone
performance curve. We can calculate knowing the slurry mass split and the % solids
data as follows:

B 100 b 29.4 0.345


0.531 *
A 100 a water 45.5
That is, 34.5% of water in the feed reports to (is recovered to) the underflow. This
parameter is often given the symbol Rw.

1.1.3 Allowing for different levels of measurement error

The optimization problem formulated in Eq 11 assumes that all components in all


streams are measured with the same accuracy which is usually not the case. Depending
on circuit and equipment configuration it may be more difficult to sample one stream
compared to another and component assays may have different degrees of measurement
accuracy. We need a way to express measurement uncertainty in Eq 11.

The general solution is to weight the measurements in some fashion and minimize the
weighted errors; that is

n
minimize


i
i
2
i (14)

where i is the weighting factor that reflects the uncertainty associated with
measurements of the ith component. The is usually chosen to be the inverse of the
variance of the error associated with the ith component, i.e.

1
i 2 (15)
i

Then the optimization problem to solve is the following:

2

n
minimize i
i i

(16)
where (Eq 9)

i (a i ci ) (bi ci )

The inverse of the variance is used in order that measurements with high uncertainty
(high variance) have less impact on the solution; or, conversely, the measurements with
low uncertainty (low variance) have more weight in the minimization, i.e., are given
^
more weight in the estimation of .

7
MIME 442: Module 2 Mass balancing and data adjustment

The variance of the error i is a function of the errors in the measured compornents.
Thus, we need a way to propagate the uncertainty in the measurements to give 2i .
Recalling that the propagation of error for a function is sum of the product of the
variance of each input and the square of its partial derivative, then the solution applying
to our problem (Eq 8) is

2 2 2

i a2i i 2bi i c2i
2
i
a i b i c i (17)
1 -
2 2 2 2 2 2
i ai bi ci

Then, the problem to be solved is the following:

2
n
minimize i

i i


where: (18)
i (a i - ci ) - (bi ci )
2 i a2i 2 2bi 1 - c2i
2

Example: We will use example 1, the flotation data with metal assays introduced earlier

The error model will be:

total sampling
2
assaying
2

Experience has generated the following variances on the components for each stream:

Table 3 The relative sampling and assaying errors (standard deviations) associated
with data in Table 1
Feed Concentrate T ails
sampling assays %rel error sampling assays %rel error sampling assays %rel error
Pb 5.0 10.0 11.1803 1.0 2.0 2.2361 10.0 20.0 22.3607
Zn 5.0 5.0 7.07107 1.0 2.0 2.2361 10.0 10.0 14.1421
Cu 5.0 1.0 5.0990 1.0 0.5 1.1180 10.0 5.0 11.1803
Fe 5.0 0.1 5.0010 1.0 1.0 1.4142 10.0 7.0 12.2066

This generates the absolute standard deviation on the measurements:

Table 4 The absolute standard deviation applying error model


ai bi ci sigma ai sigma bi sigma ci
Pb(%) 4.02 4.07 4.04 0.449 0.091 0.903
Zn(%) 15.8 7.8 15.5 1.117 0.174 2.192
Cu(%) 0.43 22.4 0.2 0.022 0.250 0.022
Fe(%) 14.3 16.1 13.5 0.715 0.228 1.648

8
MIME 442: Module 2 Mass balancing and data adjustment

Now we can assemble the data to solve for .


2 i :
2 i a2i 2 2bi (1 ) 2 c2i
Table 5a Tabulating 2i
a i bi ci 2 i a2i 2 2bi (1 ) 2 c2i
0.449 0.091 0.903 0.2016 2 (0.0083) (1 ) 2 (0.8154)
1.117 0.174 2.192 1.2477 2 (0.0303) (1 ) 2 (4.8049)
0.022 0.250 0.022 0.0005 2 (0.0625) (1 ) 2 (0.0005)
0.715 0.228 1.684 0.5112 2 (0.0520) (1 ) 2 (2.7159)

i2 :
i2 [(a i c i ) (b i c i )]2
Table 5b Tabulating 2i
Metal ai bi ci 2i
Pb 4.02 4.07 4.04 [0.02 (0.03)]2
Zn 15.8 7.8 15.5 [0.30 (7.7)]2
Cu 0.43 22.4 0.20 [0.23 (22.2)]2
Fe 14.3 16.1 13.5 [0.80 (2.60)]2

The last steps in assembling the data are to determine the ratio i2 / 2 i and the
n
summation ( i2 / 2 i ) . All the steps are readily performed in Excel.
i
^
The solution is now to search for the value that minimizes the summation. This
search could be conducted manually (in Excel) but the obvious approach is to use the
Excel Solver tool.

^
To start Solver you need a first guess of ; we can use the 0.0087 calculated assuming
^
equal measurement errors. The answer from Solver is 0.0104 .

^
We consider 0.0104 is the best estimate as we have not only used all the components
but also taken into account our knowledge of the measurement errors due to sampling
and assaying. Interestingly, if you check Table 1 you will see that this best estimate is
close to mass split ( ) given by the Cu component, which we noted was the best one to
use as it is the component being separated.

As a note of caution, it is possible that the solution is sub-optimal, that is there may be
more than one minimum and we may not have found the smallest minimum. We could
validate by giving different starting guesses and checking if the solution remains the
same. This is not an issue with this set of data but it is a general warning when using

9
MIME 442: Module 2 Mass balancing and data adjustment

Solver to check as other situations may not be so obvious. If the answer does not look
right, and as an engineer you will often have a sense of what is realistic, check it.

1.2 Data reconciliation

1.2.1 Illustrating the need to reconcile data

Consider the metal assay data and calculation of recoveries (after all the estimation of
the mass split is just a step towards estimating this important process parameter among
others).

Example 4: Recovery to concentrate

The calculation can be achieved two ways, directly from the feed and concentrate assays
or from reconstituted feed (there is actually a third way which we will leave you to
contemplate). We will illustrate using the Cu data first:

Method 1: Direct from feed and concentrate

Bb ^ b (22.4)
R1 0.0104 * 0.5418 54.2%
Aa a (0.43)

Method 2: From reconstituted feed

The feed is reconstituted by adding the concentrate and tails in proportion to the mass
split:

^ ^
a b (1 )c 0.0104 * 22.4 0.9896 * 0.2 0.43

We see that the reconstituted feed assay is the same as the measured, as it should be but
Im sure you would not expect this to the case all the time given the errors in the
measurements. (The close agreement is anticipated recalling that the best estimate mass
split, 0.0104, is close to that given by the Cu data alone, 0.010.) Subsequent calculation
of recovery using the reconstituted feed approach is likewise not materially affected:

^
b 0.0104 * 22.4
R2 0.5407 54.1%
^ ^
b (1 )c 0.0104 * 22.4 0.9896 * 0.2

The result is essentially the same and thus the recovery calculation method, 1 or 2, does
not matter.

Now consider the Zn data.


Recovery of Zn to concentrate

7 .8
R 1 0.0104 * 0.51%
15.8

10
MIME 442: Module 2 Mass balancing and data adjustment

0.0104 * 7.8
R2 0.53%
0.0104 * 7.8 0.9896 * 15.5

^
While the difference is not large (one reason is because is small in this case) the two
calculation methods should yield the same result. The effect of this difference, i.e., the
effect of calculation choice, will likely magnify once we consider circuits and not just a
single node.

Some of you will have noticed an even more significant problem with the raw metal
assay data: in the example with Zn it is evident that the feed assay (15.8%) is higher
than either the concentrate (7.8%) or tails (15.5%) assay. This is also the case for Pb. A
moments thought will show that this is not physically possible, the fact that it occurs is
because of the measurement errors. This physically impossible situation does contribute
to the difference between calculation routes, but inspection of the better behaved
particle size data will show the same effect. For example, calculation of recovery to
underflow of the -74 + 37 m fraction gives R1 = 42.4% and R2 = 41.6%.

1.2.2 Reconstituted feed method

We have seen from the above examples that we can calculate recovery using the
reconstituted feed approach. This has some merit, as discussed by Morrison (2010):

i. It uses 2/3 of the original data (the concentrate and tails);


ii. The calculated recovery is constrained to 0-100% (using direct calculation
could produce R > 100%);
iii. It is computationally simple.

Prior to modern computing power the reconstituted feed method was virtually the only
way to avoid inconsistent recovery calculations. The method works well for single
nodes but is progressively harder to apply to combinations of nodes, i.e., circuits. A
preferable solution anyway is one that spreads the adjustment among all the
components and all the streams. We can do this based on the best estimate of
^
1.2.3 Data adjustment: using

We have found the best estimate of (at least as based on the raw data); the problem
now is to adjust the component values ai, bi, ci such that regardless of which component
is used the same mass balance is achieved and subsidiary calculations like recovery are
independent of the route taken.

Replacing the on the left side of Eq 8 will produce the smallest errors (in the sense of
least squares) on the right side of the same equation.

a i - b i (1 ) c i i (19)

We want to determine the reconciled component values a i , b i , c i that make Eq 19 equal


zero; i.e.

11
MIME 442: Module 2 Mass balancing and data adjustment

a i - bi (1 ) ci 0 (20)

We can write the measured component as the sum of the reconciled value plus an error.
a i a i a i
(21)
b i b i b i
ci ci ci
where ai, bi, ci are the errors or adjustments.

Substituting Eq 21 in Eq 19 we obtain (after a little manipulation):

a i - b i (1 ) ci i (22)

Then, the problem can be formulated as follows (keeping in mind we are using the
weighted sums of squares):

n a 2 b 2 c 2
minimize i i i
a i , b i , c i b c
i a i
i i (23)

with the constraint


^
a i - bi (1 ) ci i
^
and we want i 0

This is a constrained minimization problem as the values of a i etc must satisfy the
constraint. This problem is solved using the Lagrangian multiplier (see Appendix) i to
impose the constraint. The constraint is then

^ ^ ^
(24)
i a i bi (1 ) ci i 0

Adding Eq 24 to the sum of squares gives a modified sum of squares. The modified
sum of squares is (the 1/2 is introduced to enable a cancelation as you will see):

1 n a i b i c i

2 2 2

minimize J i a i - b i - (1 - )c i - i
a i ,bi ,ci ,i 2 i a i bi ci (24)

J a
2 i i 0 a i a2i i (25a)
a i a i
J b
2 i i 0 b i 2bi i (25b)
b i bi

12
MIME 442: Module 2 Mass balancing and data adjustment

J c

2 i i 1 - 0 c i c2i i 1 -
c i ci
(25c)

J
i

a i b i 1 c i i 0 (25d)

Replacing Eqs 25a, 25b and 25c in Eq 25d we obtain:

2
a2i i 2 2bi i 1 c2i i i (26)

From where we can isolate i:

i i
i (27)
a2i 2 2bi (1 2 ) c2i 2 i
^ ^ ^
The i is calculable from the known values of i (Eq 26, see Table 5b with known)
^
and 2i (Table 5a, with known). Then from (25a), (25b) and (25c) we can calculate
the adjustments:
a i a2i i
b i 2bi i (28)
c i (1 ) i
2
ci

And finally the reconciled (adjusted) values are calculated as follows:


a i a i a i (29)
bi b i b i
ci c i c i

Example: Continuing the same flotation data set

i :
i
i
2i

Pb:
^
ai bi ci i 2i
^
0.02 (0.03) 0.2016 2 (0.0083)
(1 ) 2 (0.8154)

4.02 4.07 4.04 -0.0203 1.0001

13
MIME 442: Module 2 Mass balancing and data adjustment

(0.0203)
Pb
(1.0001)
Pb 0.0203

Adjustments

ai :

a i a2i i (0.2016)(0.0203)
a i 0.0041
a i a i ai
a i 4.02 (0.0041)
a i 4.024

bi :
^
bi 2bi i (0.0083)(0.0203)(0.0104)
bi 1.75 * 10 6
b i b i bi
b i 4.07 (1.76 * 10 6 )
b i 4.070

ci :
^
ci c2i i (1 ) (0.8154)(0.0203)(1 0.0104)
ci 0.0164
c i c i ci
c i 4.04 (0.0164)
c i 4.024

Raw Adjusted
ai bi ci ai bi ci

Pb 4.02 4.07 4.04 4.024 4.070 4.024

^
You can check for yourself that i is zero (its actually -0.0005 but close enough without
carrying more decimal places).

The adjusted data now avoids the problem in the raw data, the impossibility of the feed
^
assay being lower than either of the other two (the fact that a i c i is because is so

14
MIME 442: Module 2 Mass balancing and data adjustment

small and we are restricting the number of decimal places). Below is the result from the
Excel spreadsheet for all the assays.

Table 6 Raw and adjusted data


Raw Balanced
ai bi ci ai bi ci
Pb 4.02 4.07 4.04 4.024 4.070 4.024
Zn 15.8 7.8 15.5 15.720 7.800 15.804
Cu 0.43 22.4 0.2 0.430 22.399 0.200
Fe 14.3 16.1 13.5 14.175 16.100 14.155

The adjusted data are all well behaved: for example, for each component feed assays
are between the concentrate and tails assays, as they must be; and regardless of recovery
calculation method (1 or 2) the same recovery will be calculated. Lets check the last
claim.

7.80
R 1 0.0104 * 0.52%
15.72
0.0104 * 7.80
R2 0.52%
0.0104 * 7.8 0.9896 * 15.80

Recall that before we had R1 = 0.51 and R2 = 0.53.

1.2.4 Analyzing the adjustments

The methodology assumes the errors in measurement are random. This may not be the
case. The adjustments might help reveal bias. One way is to plot the adjusted vs.
measured. We would expect that the adjustments would be distributed around the
equality line, some above some below. Figure 6 illustrates this plot for the Pb data. The
result is as expected for random errors: the adjustments are distributed above and below
the equality line. If the adjusted data were all above (or below) the line we would
suspect a bias in the measurement which would warrant trying to find the source. This is
akin to residual analysis and we could have plotted the difference (adj meas) vs. adj
and reached the same conclusion if the differences were all positive (or negative).

Pb

4.08
4.07
4.06
Adjusted

4.05
4.04
4.03
4.02
4.01
4.01 4.02 4.03 4.04 4.05 4.06 4.07 4.08
Measured

Figure 6 Adjusted vs. Measured for Zn data

Another indication of possible bias is if the adjustments are large, for example more
than 2 times the i for that measurement (i.e., an adjustment > 95% confidence interval

15
MIME 442: Module 2 Mass balancing and data adjustment

on the measurement). Mass balance software (see below) will flag adjustments using
this criterion drawing attention to possible biases.

1.2.2 Data reconciliation: a more general solution

^
The method described above first estimates from the raw data and uses this estimate
^
to adjust the measurements. We can ask if this is the best estimate. We could use it
as a first guess guess and renew our search to minimize the sum of squares of the
measurement adjustments:

(measik i adjik ) 2
minimize
i k ik2
(y ik y ik ) 2

(30)
minimize
i k ik2
where is the absolute variance in the measurement of component i in stream k. The
2
ik

solution is iterative each estimate of being substituted in the equivalent to Eq 23; i.e.,
the same matrix, search and Lagrangian mathematics is employed as already described.
Wills and Napier-Munn provide a comprehensive review of the method.

Commercial mass balancing software uses this general approach, including MinProBal
that you will use. The program uses a non-linear search algorithm to find the mass flow
splits and the Lagrange solution for measurement adjustments. The user manual
provides some more background.

^
The results for the two approaches, i.e., that based on from the raw data and the
general solution using Eq 30, will generally not yield the same result. For example, for
the flotation/metal assay data solving Eq 16 for the un-weighted case (solving Eq 12 or
^ ^
13) = 0.00870 whereas using un-weighted MinProBal = 0.00807. Which is better is
a not a particularly useful debate as we do not have a gold standard, some independent
way of measuring the true mass split. Most operations use mass balancing software and
consistent use of one software will produce data that is useful to identify trends in
performance (daily recoveries, for example), is a necessary first step to building models,
including from data mining. And, always check the adjustments as discussed in
section 1.2.4.

The mathematics has been described using a single separation unit, i.e., a single node.
To solve for circuits we need a way to describe them that the mass balance software can
read.

2. Circuits
2.1 Nodal diagrams

The mass balancing/data adjustment methodology described above is the basis for
solving for circuits. We need a way to represent a circuit, a network, such that the
software can read the information. We start with a single node.

16
MIME 442: Module 2 Mass balancing and data adjustment

2.1.1 Single node

Feed Tail

sampling point
Concentrate

Nodal diagram Coding


Stream Node
1 2 From To
1

1 0 1
Node no.
3 2 1 0
3 3 0

Where 0 means outside the block (see


dashed box around node)

2.1.2 Multiple nodes (Cu-Pb-Zn concentrator)

Cu-Pb (BULK) ROUGHER


Feed

Zn ROUGHER
Cu-Pb rougher conc Zn rougher tail
Water

Cu-Pb CLEANER

Zn rougher conc

Cu-Pb cleaner conc


Note: bulk is termed used when more than one component is concentrated

17
MIME 442: Module 2 Mass balancing and data adjustment

Nodal diagram Coding


Stream Node
1 From To
1 1 0 1
2
2 1 3
8
3 3 3 1 2
6 4 0 2
9
4
2 5 2 0
6 2 3
5 7 3 0
8 3 0

Note: the water is added to node 2 in the diagram as there is no sample taken between
water addition and node 2.

2.1.3 Example with grinding

When we have size reduction in the circuit we can still balance on solid flows and
overall metal assays as solids and metal units are conserved (in = out); but particle size
data, assay size-by-size and liberation data are not conserved. We need two nodal
diagrams to accommodate this.

Cu-Pb (BULK) ROUGHER


Feed

Zn ROUGHER
Water Zn rougher tail
REGRIND

Cu-Pb CLEANER
Zn rougher conc

Cu-Pb cleaner conc

18
MIME 442: Module 2 Mass balancing and data adjustment

A. Pulp streams and overall assays (the associated mass flows are conserved across regrind mill, node 2

1 Coding
1
Stream Node
2 From To
3 1 0 1
2 1 4
4 8
2 4 3 1 2
4 0 2
5 9
5 2 3
7 6 3 0
7 3 4
3 8 4 0
6
9 4 0

B. Particle size, size-by-size assays, liberation (these data are not conserved across the regrind mill, node omitted)

1 Coding
1
Stream
1 0Node 1
2 2 From
1 To
3
3 3 1 0
4 - -
4 8
3 5 0 2
6 2 0
5 9
7 2 3
7 8 3 0
9 3 0
2

2.2 Mass balance software.

There are several commercial packages, among the most common (in my experience)
are JKSimMet (JKTechnology) and Bilmat (Algosys); the one we will use is MinProBal
(C.R. Larsen), which has kindly been made available for teaching purposes.

References
Morrison, R. Mass balancing flotation data, on Flotation Plant Optimisation: A
Metallurgical Guide to Identifying and Solving Problems in Flotation Plants (Ed. C.J.
Greet) 2010, AusIMM The Minerals Institute, Spectrum Number 16, Chapter 3 pp. 65-
82

19
MIME 442: Module 2 Mass balancing and data adjustment

Wills, B.A. and Napier-Munn, T.J. Mineral Processing Technology: An Introduction to


the Practical Aspects of Ore Treatment and Mineral Recovery, 7th Edition, 2006,
Elsevier, Amsterdam, Chapter 3 (in particular pp. 65-89).

Appendix: Lagrange multipliers

Consider the following unconstrained optimization problem

min f ( x )
x
A simple way to find x that minimizes f(x) is to set the derivative of f(x) with respect to x to zero.
df ( x )
0
dx
Conditions on the second derivative must apply for x to be a minimum.

Now, considered the following constrained optimization problem


min f ( x )
x
subject to:
g(x)=0

In this case we need to find the value of x that not only minimizes f(x) but also satisfies the constraint
g(x) = 0. In this case we can not just to set the derivative of f with respect to x to zero to find the
optimal value of x. This can be solved by using the Lagrange multiplier, , to translate the constrained
optimization problem into an unconstrained optimization problem. In the present case the problem is to
find the values of x and that minimize the extended objective function:

min J ( x ) f ( x ) g ( x )
x ,
This is an unconstrained problem and we can solve by setting the derivatives to zero:

dJ ( x )
0
dx
dJ ( x)
0
d

20

You might also like