0% found this document useful (0 votes)
7 views

Solution For Flowsheet and Algorithm

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Solution For Flowsheet and Algorithm

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Q1

Start

1. Start
Input R; 2. Read the input of R and d
Input d
3. Check if d<R. If yes, calculate 𝑉
1
= 𝜋𝑑3 , and go to step 7. If no,
yes 1
3
d<R 𝑉 = 𝜋𝑑 3 go to step 4
3

No 4. Check if d=R. If yes, calculate 𝑉


1
d=R
yes
𝑉=
1 3
𝜋𝑅
= 𝜋𝑅3 , and go to step 7. If
3 3
Stop no, go to step 5
No
5. Check if d≤3R. If yes, calculate
yes 1
d≤3R
1
𝑉 = 𝜋𝑅3 + 𝜋𝑅2 (𝑑 − 𝑅)
3
𝑉 = 𝜋𝑅3 + 𝜋𝑅2 (𝑑 − 𝑅) , and
3
go to step 7. If no, go to step 6
yes 6. Print “Error”
Print “Error”
7. Stop
Q2
Start

Told=75, k=0.02,Ta=20,
Time=2

1. Start
Tnew=Told
Time = Time+2 2. Set Told=75, k=0.02,Ta=20,Time=2
3. Calculate Tnew=Told-2k(Told-Ta);
Tnew=Told-2k(Told-Ta); 4. Check if Tnew<25. If yes, go to step 6.
If no, go to step 5
5. Set Tnew=Told; Set Time = Time+2. Go
No
to step 3.
Tnew<25 6. Print “The final temperature of coffee is
xx degree, after xx min” Tnew, Time
yes 7. Stop
Print “
The final temperature of coffee is xx
degree, after xx min”
Tnew, Time

Stop
Q3
Start

T=25+273
𝑃°max = 1000mmHg 1. Start
A=18.3036, 2. Set T=25+273;𝑃°max = 1000mmHg;
B=3816.44, C= - 46.13
A=18.3036, B=3816.44, C= - 46.13
T=T+1 3. Calculate 𝑃°(𝑚𝑚𝐻𝑔)=exp(𝐴−(𝐵/(𝑇(𝐾)+𝐶))
4. Check if 𝑃° > 𝑃°max. If yes, go to step 6. If
𝑃°(𝑚𝑚𝐻𝑔)=exp(𝐴−(𝐵/(𝑇(𝐾)+𝐶)) no, go to step 5
5. Set T=T+1. Go to step 3.
6. Compute T=T-1
7. Print “Print “𝑃° > 𝑃°max. The final
No temperature before exceeding the limit is xx”.
𝑃° > 𝑃°max T
8. Stop
yes
T=T-1

Print “𝑃° > 𝑃°max. The final


temperature before exceeding the
limit is XX” , T

Stop
Q4 START

m=300, T1=30,
T2=80

Input Gas
True
1. Start
Gas = a= 3.904*10^-2, 2. Set m=300, T1=30,T2=80
Sulfur b=-3.105*10^-5, 3. Input Gas
Dioxide c= 8.606*10^-9 4. Check if Gas = Sulfur Dioxide. If yes, a=
False 3.904*10^-2,b=-3.105*10^-5,c= 8.606*10^-9,
and go to step 9. If no, go to step 5
Gas = True a=9.188 *10^-2, 5. Check if Gas = Sulfur Trioxide. If yes,
Sulfur b=-8.540*10^-5, a=9.188 *10^-2,b=-8.540*10^-5,
Trioxide c=32.40*10^-9 c=32.40*10^-9, and go to step 9. If no, go to
Calculate Q, step 6.
𝑄 = 𝑚[𝑎 + 2𝑏(𝑇2 − 𝑇1 6. Check if Gas=Oxygen. If yes, a=1.158*10^-
False
) + 3𝑐(𝑇2 − 𝑇1 )^2 ]
2,b=-0.6076*10^-5,c=1.311*10^-9, and go to
True a=1.158*10^-2, step 9. If no, go to step 7.
Gas=
b=-0.6076*10^-5, 7. Check if Gas=Nitrogen. If yesa=0.2199*10^-
Oxygen
c=1.311*10^-9 2 ,b=-0.5723*10^-5 c=-2.871*10^-9 , and go
to step x. If no, go to step 9.
False 8. Print Warning, and go to step 11
True a=0.2199*10^-2 ,
Print Q 9. Calculate Q, 𝑄 = 𝑚[𝑎 + 2𝑏(𝑇2 − 𝑇1 ) + 3𝑐(𝑇2
Gas= b=-0.5723*10^-5 − 𝑇1 )^2 ]
Nitrogen c=-2.871*10^-9 10. Print Q
11. Stop
False
Print ‘Warning’ End
Q5 START

Read Gas Flow Rate, Fg


(ft^3/min)

yes
𝐶𝑝𝐶
DC =Cyclone
200 ≤Fg ≤ 100000 = exp[9.2227 − 0.7892 (ln 𝐹𝐺 Print DC, CpC
+ 0.08487 ln 𝐹𝐺 )]2

yes
DC =Venturi 𝐶𝑝𝑉𝑆
2000 ≤Fg ≤ 20000 scrubbers = exp[9.6155 − 0.3281 (ln 𝐹𝐺 Print DC, CpVS
+ 0.0500 ln 𝐹𝐺 )]2
No

yes 𝐶𝑝𝐵𝐹
5000 ≤Fg ≤ 200000 DC = Bag filter
= exp[10.258 − 0.4381(ln 𝐹𝐺
+ 0.05563 ln 𝐹𝐺 )]2 Print DC, CpBF

No

STOP
Q5

1. Start
2. Read Gas Flow Rate, Fg (ft^3/min)
3. Check if 200 ≤Fg ≤ 100000. If yes,DC=Cyclone, compute 𝐶𝑝𝐶
= exp[9.2227 − 0.7892 (ln 𝐹𝐺 + 0.08487 ln 𝐹𝐺 )]2 , print DC and
Cpc, go to next step. If no, go to nex step.
4. Check if 2000 ≤Fg ≤ 20000. If yes, DC =Venturi scrubbers, compute
𝐶𝑝𝑉𝑆 = exp[9.6155 − 0.3281 (ln 𝐹𝐺 + 0.0500 ln 𝐹𝐺 )]2 , print DC and
CpVS, go to next step. If no, go to next step.
5. Check if 5000 ≤Fg ≤ 200000. If yes, DC =bag filter, compute 𝐶𝑝𝐵𝐹 =
= exp[10.258 − 0.4381(ln 𝐹𝐺 + 0.05563 ln 𝐹𝐺 )]2 , print DC and
CpBF, go to next step. If no, go to next step.
6. Stop

You might also like