summaryrefslogtreecommitdiff
path: root/2762/CH13/EX13.4.2/13_4_2.sce
blob: 853ed9d001506d19142a99c22fbfe579d7ce7c2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//Transport Processes and Seperation Process Principles
//Chapter 13
//Example 13.4-2
//Membrane Seperation Processes
//given data
theta=0.2;//fraction cut
p1=19;//pressure selected for use
ph=190;//pressure selectred for use
alphas=10
a1=theta+(p1/ph)-(theta*(p1/ph))-(alphas*theta)-(alphas*(p1/ph))+(alphas*(p1/ph)*theta);
xf=0.209;//feed composition
b1=1-theta-xf-(p1/ph)+(theta*(p1/ph))+(alphas*theta)+(alphas*(p1/ph))-(alphas*(p1/ph)*theta)+alphas*xf;
c1= -alphas*xf;
yp=(-b1+sqrt(b1*b1-4*a1*c1))/(2*a1);//permeate composition
x0=(xf-theta*yp)/(1-theta);//outlet reject composition
qf=1000000;//feed rate
Pad=500e-10;
t=2.54e-3;
Am=(theta*qf*yp)/((Pad/t)*(ph*x0-p1*yp));//area of membrane
mprintf("the permeate composition= %f ",yp)
mprintf("outlet reject composition= %f ",x0)
mprintf("area of membrane= %f cm2",Am)