03.04.2013 Views

Maple Solutions to the Chemical Engineering Problem Set

Maple Solutions to the Chemical Engineering Problem Set

Maple Solutions to the Chemical Engineering Problem Set

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Material Balances for Col2<br />

Material Balances for Col3<br />

F x = F x + F x<br />

1 S, 1 2 S, 2 3 S, 3<br />

F x =<br />

1 T, 1<br />

F x =<br />

1 B, 1<br />

F x =<br />

2 X, 2<br />

F x =<br />

2 S, 2<br />

F x =<br />

2 T, 2<br />

F x =<br />

2 B, 2<br />

F x =<br />

3 X, 3<br />

F x =<br />

3 S, 3<br />

F x =<br />

3 T, 3<br />

F x =<br />

3 B, 3<br />

F x + F x<br />

2 T, 2 3 T, 3<br />

F x + F x<br />

2 B, 2 3 B, 3<br />

F x + F x<br />

4 X, 4 5 X, 5<br />

F x + F x<br />

4 S, 4 5 S, 5<br />

F x + F x<br />

4 T, 4 5 T, 5<br />

F x + F x<br />

4 B, 4 5 B, 5<br />

F x + F x<br />

6 X, 6 7 X, 7<br />

F x + F x<br />

6 S, 6 7 S, 7<br />

F x + F x<br />

6 T, 6 7 T, 7<br />

F x + F x<br />

6 B, 6 7 B, 7<br />

In <strong>the</strong> above <strong>Maple</strong> construction we have created <strong>the</strong> component material balances for each component<br />

(<strong>the</strong> inner loop) and for each process unit (<strong>the</strong> outer loop).<br />

The <strong>to</strong>tal molar flows are given <strong>the</strong> symbol F and x refers <strong>to</strong> <strong>the</strong> mole fraction of some component.<br />

The first index of <strong>the</strong> component mole fraction identifies <strong>the</strong> component in question, <strong>the</strong> second<br />

associates that quantity with a particular process stream. This double loop will work with all simple<br />

material balances regardless of complexity provided we have identified <strong>the</strong> components, <strong>the</strong> units and<br />

<strong>the</strong> inputand output streams associated with each unit.<br />

The mole fraction summation equations can be created as follows:<br />

> SumEqn:='SumEqn': i:='i':<br />

for j in Streams do<br />

SumEqn[j]:=add(x[i,j],i=components)=1;<br />

print(SumEqn[j]);<br />

od:<br />

x + x + x + x = 1<br />

X, 1 S, 1 T, 1 B, 1<br />

x + x + x + x = 1<br />

X, 2 S, 2 T, 2 B, 2<br />

x + x + x + x = 1<br />

X, 3 S, 3 T, 3 B, 3<br />

x + x + x + x = 1<br />

X, 4 S, 4 T, 4 B, 4<br />

x + x + x + x = 1<br />

X, 5 S, 5 T, 5 B, 5<br />

x + x + x + x = 1<br />

X, 6 S, 6 T, 6 B, 6<br />

x + x + x + x = 1<br />

X, 7 S, 7 T, 7 B, 7<br />

The component material balances and <strong>the</strong> mole fraction summation equations comprise <strong>the</strong> complete<br />

Page 10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!