Steady State Material Balances on a Separation Train
We begin by creating a list of component identities. We could use numbers, chemical formulae, the component names; here we use the first letter of the component names.
Next, we create a list of units. This problem has three distillation columns which shall be identified as follows:
The streams will also have to be identified. Again, we could use any indexing method that is convenient. Here we number the streams
The number of streams is
The next step is to set up the material balances. To help us do this in a systematic way we create lists of the input streams to and output streams leaving each process unit. The streams entering and leaving the first distillation column are
The streams entering and leaving the second column are
and the streams entering and leaving the third column are
The component material balances for all units can now be created automatically as follows:
`Material Balances for `, Col1
`Material Balances for `, Col2
`Material Balances for `, Col3
In the above Maple construction we have created the component material balances for each component (the inner loop) and for each process unit (the outer loop). The total molar flows are given the symbol F and x refers to the mole fraction of some component. The first index of the component mole fraction identifies the component in question, the second associates that quantity with a particular process stream. This double loop will work with all simple material balances regardless of complexity provided we have identified the components, the units and the input and output streams associated with each unit.
The mole fraction summation equations can be created as follows:
The component material balances and the mole fraction summation equations comprise the complete set of independent equations for this kind of problem. Any other balance equation can be created from simple combinations of these equations.
We now create a set independent equations to describe the flowsheet
The list of variables appearing in these equations is easily found
and we can count them using the nops function:
The number of equations is computed in a similar way
The number of degrees of freedom is the difference between these two numbers
This is the number of variables that we must specify before we have a consistent set of equations that can be solved (numerically, at least).
We know the flow and composition of the feed stream (note that only three of the feed mole fractions are specified).
We need to specify another 12 variables and must look to the problem statement to find out what other specifications we may make.
In the problem as posed the composition of all final product streams is given. However, in view of the mole fraction summation equations we may only specify 3 from each stream; the choice of which to omit is arbitrary - we leave out the lowest mole fraction in most cases.
We now have the right number of specification equations which we combine in a set
We augment the set of equations with the specification equations
We check to see if the numbers of equations and variables are the same.
Now we can ask Maple to solve the equations.
We check the solution by substituting the result into the equations.
and we see that the result that Maple computed does indeed satisfy the equations.