You are on page 1of 2

KWAME NKRUMAH UNIVERSITY OF SCIENCE AND TECHNOLOGY

COLLEGE OF ENGINEERING
DEPARTMENT OF CHEMICAL ENGINEERING
COMPUTER APPLICATIONS FOR ENGINEERS
SEMESTER PROJECT 1
The stoichiometric reactor is used in the performance of black box calculations of a reacting system.
The inputs of this reactor include:
1. A balanced chemical reaction
2. The composition of the feed into the reactor
3. The conversion of the limiting reagent
As a group, you are tasked to develop a script for a stoichiometric reactor able to compute a mole
balance involving the following species:𝐶𝑋 𝐻𝑌 , 𝑂2 , 𝐶𝑂2 , 𝐶𝑂, 𝐻2 , 𝐻2 𝑂
Your reactor must have the following features
a. Prompt users if they make faulty entries like wrong compound name, out of range values,
leaves empty spaces
b. The ability to verify the validity of the balance chemical reaction provided by the user
Illustration, for every balanced equation, the total mass on the left-hand side, equals the total mass
of the right-hand side
i.e., For a reaction 𝑎𝐴 + 𝑏𝐵 → 𝑐𝐶 + 𝑐𝐷
Where a, b, c and d are the stoichiometric coefficients of species A, B, C and D respectively
And Mwa, Mwb, Mwc and Mwd are the molecular weights of species A, B, C and D respectively.
𝑎 ∗ 𝑀𝑤𝑎 + 𝑏 ∗ 𝑀𝑤𝑏 = 𝑐 ∗ 𝑀𝑤𝑐 + 𝑑 ∗ 𝑀𝑤𝑑
For example
𝐶𝐻4 + 𝐻2 𝑂 → 𝐶𝑂 + 3𝐻2
16 + 18 = 28 + 3 ∗ 2 = 34

c. The ability to verify the feasibility of the conversion stated by the user
Note
For a species i

𝑛𝑖𝑂𝑢𝑡 = 𝑛𝑖𝐼𝑛 + 𝑣𝑖 𝜀

Where 𝑛𝑖𝑂𝑢𝑡 is the number of moles of species i flowing out of the reactor

Where 𝑛𝑖𝐼𝑛 is the number of moles of species i flowing into the reactor

𝑣𝑖 is the stoichiometric coefficient of the species i in the reaction


𝜀 is the extent of the reaction
Group number 𝐶𝑋 𝐻𝑌 Group number 𝐶𝑋 𝐻𝑌
1 𝐶7 𝐻8 19 𝐶6 𝐻6
2 𝐶2 𝐻6 20 𝐶2 𝐻4
3 𝐶3 𝐻8 21 𝐶3 𝐻6
5 𝐶4 𝐻10 22 𝐶4 𝐻8
6 𝐶5 𝐻12 23 𝐶5 𝐻10
7 𝐶6 𝐻14 24 𝐶6 𝐻12
8 𝐶7 𝐻16 25 𝐶7 𝐻14
9 𝐶8 𝐻18 26 𝐶8 𝐻16
10 𝐶9 𝐻20 27 𝐶9 𝐻18
11 𝐶10 𝐻22 28 𝐶10 𝐻20
12 𝐶12 𝐻26 29 𝐶12 𝐻24
13 𝐶11 𝐻24 30 𝐶11 𝐻22
14 𝐶13 𝐻28 31 𝐶13 𝐻26
15 𝐶14 𝐻30 32 𝐶14 𝐻28
16 𝐶15 𝐻30 33 𝐶15 𝐻32
17 𝐶16 𝐻32 34 𝐶16 𝐻34
18 𝐶17 𝐻34 35 𝐶17 𝐻36

You might also like