P. 1
Code

Code

|Views: 7|Likes:
Published by Ishan Sharma
Code for Aspen Adsim
Code for Aspen Adsim

More info:

Published by: Ishan Sharma on May 22, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less

05/22/2013

pdf

text

original

CONSTRAINTS

// Flowsheet variables and equations...
Within Bed1.Layer(1)
If Equilibrium_.IAST_(1).PureIsothermType("C1") == "User Defined" Then
Equilibrium_.IAST_(1).Pi0("C1",0).Value(0)=9.209285*Equilibrium_.IAST_(1
).Qi0("C1",0).Value(0)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("C1",0).Value(0)-7
5010*Equilibrium_.IAST_(1).Qi0("C1",0).Value(0)*Equilibrium_.IAST_(1).Qi0("C1",0
).Value(0));
Equilibrium_.IAST_(1).Pi0("C1",0).Value(1)=9.209285*Equilibrium_.IAST_(1
).Qi0("C1",0).Value(1)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("C1",0).Value(1)-7
5010*Equilibrium_.IAST_(1).Qi0("C1",0).Value(1)*Equilibrium_.IAST_(1).Qi0("C1",0
).Value(1));
Equilibrium_.IAST_(1).Pi0("C1",0).Value(2)=9.209285*Equilibrium_.IAST_(1
).Qi0("C1",0).Value(2)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("C1",0).Value(2)-7
5010*Equilibrium_.IAST_(1).Qi0("C1",0).Value(2)*Equilibrium_.IAST_(1).Qi0("C1",0
).Value(2));
Equilibrium_.IAST_(1).Pi0("C1",0).Value(3)=9.209285*Equilibrium_.IAST_(1
).Qi0("C1",0).Value(3)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("C1",0).Value(3)-7
5010*Equilibrium_.IAST_(1).Qi0("C1",0).Value(3)*Equilibrium_.IAST_(1).Qi0("C1",0
).Value(3));
Equilibrium_.IAST_(1).Pi0("C1",0).Value(4)=9.209285*Equilibrium_.IAST_(1
).Qi0("C1",0).Value(4)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("C1",0).Value(4)-7
5010*Equilibrium_.IAST_(1).Qi0("C1",0).Value(4)*Equilibrium_.IAST_(1).Qi0("C1",0
).Value(4));
Equilibrium_.IAST_(1).Pi0("C1",0).Value(5)=9.209285*Equilibrium_.IAST_(1
).Qi0("C1",0).Value(5)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("C1",0).Value(5)-7
5010*Equilibrium_.IAST_(1).Qi0("C1",0).Value(5)*Equilibrium_.IAST_(1).Qi0("C1",0
).Value(5));
Equilibrium_.IAST_(1).Pi0("C1",0).Value(6)=9.209285*Equilibrium_.IAST_(1
).Qi0("C1",0).Value(6)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("C1",0).Value(6)-7
5010*Equilibrium_.IAST_(1).Qi0("C1",0).Value(6)*Equilibrium_.IAST_(1).Qi0("C1",0
).Value(6));
Equilibrium_.IAST_(1).Pi0("C1",0).Value(7)=9.209285*Equilibrium_.IAST_(1
).Qi0("C1",0).Value(7)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("C1",0).Value(7)-7
5010*Equilibrium_.IAST_(1).Qi0("C1",0).Value(7)*Equilibrium_.IAST_(1).Qi0("C1",0
).Value(7));
Equilibrium_.IAST_(1).Pi0("C1",0).Value(8)=9.209285*Equilibrium_.IAST_(1
).Qi0("C1",0).Value(8)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("C1",0).Value(8)-7
5010*Equilibrium_.IAST_(1).Qi0("C1",0).Value(8)*Equilibrium_.IAST_(1).Qi0("C1",0
).Value(8));
Equilibrium_.IAST_(1).Pi0("C1",0).Value(9)=9.209285*Equilibrium_.IAST_(1
).Qi0("C1",0).Value(9)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("C1",0).Value(9)-7
5010*Equilibrium_.IAST_(1).Qi0("C1",0).Value(9)*Equilibrium_.IAST_(1).Qi0("C1",0
).Value(9));
Equilibrium_.IAST_(1).Pi0("C1",0).Value(10)=9.209285*Equilibrium_.IAST_(
1).Qi0("C1",0).Value(10)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("C1",0).Value(10
)-75010*Equilibrium_.IAST_(1).Qi0("C1",0).Value(10)*Equilibrium_.IAST_(1).Qi0("C
1",0).Value(10));
Equilibrium_.IAST_(1).Pi0("C1",0).Value(11)=9.209285*Equilibrium_.IAST_(
1).Qi0("C1",0).Value(11)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("C1",0).Value(11
)-75010*Equilibrium_.IAST_(1).Qi0("C1",0).Value(11)*Equilibrium_.IAST_(1).Qi0("C
1",0).Value(11));
Equilibrium_.IAST_(1).Pi0("C1",0).Value(12)=9.209285*Equilibrium_.IAST_(
1).Qi0("C1",0).Value(12)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("C1",0).Value(12
)-75010*Equilibrium_.IAST_(1).Qi0("C1",0).Value(12)*Equilibrium_.IAST_(1).Qi0("C
1",0).Value(12));
Equilibrium_.IAST_(1).Pi0("C1",0).Value(13)=9.209285*Equilibrium_.IAST_(
1).Qi0("C1",0).Value(13)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("C1",0).Value(13
)-75010*Equilibrium_.IAST_(1).Qi0("C1",0).Value(13)*Equilibrium_.IAST_(1).Qi0("C
1",0).Value(13));
Equilibrium_.IAST_(1).Pi0("C1",0).Value(14)=9.209285*Equilibrium_.IAST_(
1).Qi0("C1",0).Value(14)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("C1",0).Value(14
)-75010*Equilibrium_.IAST_(1).Qi0("C1",0).Value(14)*Equilibrium_.IAST_(1).Qi0("C
1",0).Value(14));
Equilibrium_.IAST_(1).Pi0("C1",0).Value(15)=9.209285*Equilibrium_.IAST_(
1).Qi0("C1",0).Value(15)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("C1",0).Value(15
)-75010*Equilibrium_.IAST_(1).Qi0("C1",0).Value(15)*Equilibrium_.IAST_(1).Qi0("C
1",0).Value(15));
EndIf
If Equilibrium_.IAST_(1).PureIsothermType("CO") == "User Defined" Then
Equilibrium_.IAST_(1).Pi0("CO",0).Value(0)=9.209285*Equilibrium_.IAST_(1
).Qi0("CO",0).Value(0)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO",0).Value(0)-7
5010*Equilibrium_.IAST_(1).Qi0("CO",0).Value(0)*Equilibrium_.IAST_(1).Qi0("CO",0
).Value(0));
Equilibrium_.IAST_(1).Pi0("CO",0).Value(1)=9.209285*Equilibrium_.IAST_(1
).Qi0("CO",0).Value(1)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO",0).Value(1)-7
5010*Equilibrium_.IAST_(1).Qi0("CO",0).Value(1)*Equilibrium_.IAST_(1).Qi0("CO",0
).Value(1));
Equilibrium_.IAST_(1).Pi0("CO",0).Value(2)=9.209285*Equilibrium_.IAST_(1
).Qi0("CO",0).Value(2)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO",0).Value(2)-7
5010*Equilibrium_.IAST_(1).Qi0("CO",0).Value(2)*Equilibrium_.IAST_(1).Qi0("CO",0
).Value(2));
Equilibrium_.IAST_(1).Pi0("CO",0).Value(3)=9.209285*Equilibrium_.IAST_(1
).Qi0("CO",0).Value(3)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO",0).Value(3)-7
5010*Equilibrium_.IAST_(1).Qi0("CO",0).Value(3)*Equilibrium_.IAST_(1).Qi0("CO",0
).Value(3));
Equilibrium_.IAST_(1).Pi0("CO",0).Value(4)=9.209285*Equilibrium_.IAST_(1
).Qi0("CO",0).Value(4)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO",0).Value(4)-7
5010*Equilibrium_.IAST_(1).Qi0("CO",0).Value(4)*Equilibrium_.IAST_(1).Qi0("CO",0
).Value(4));
Equilibrium_.IAST_(1).Pi0("CO",0).Value(5)=9.209285*Equilibrium_.IAST_(1
).Qi0("CO",0).Value(5)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO",0).Value(5)-7
5010*Equilibrium_.IAST_(1).Qi0("CO",0).Value(5)*Equilibrium_.IAST_(1).Qi0("CO",0
).Value(5));
Equilibrium_.IAST_(1).Pi0("CO",0).Value(6)=9.209285*Equilibrium_.IAST_(1
).Qi0("CO",0).Value(6)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO",0).Value(6)-7
5010*Equilibrium_.IAST_(1).Qi0("CO",0).Value(6)*Equilibrium_.IAST_(1).Qi0("CO",0
).Value(6));
Equilibrium_.IAST_(1).Pi0("CO",0).Value(7)=9.209285*Equilibrium_.IAST_(1
).Qi0("CO",0).Value(7)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO",0).Value(7)-7
5010*Equilibrium_.IAST_(1).Qi0("CO",0).Value(7)*Equilibrium_.IAST_(1).Qi0("CO",0
).Value(7));
Equilibrium_.IAST_(1).Pi0("CO",0).Value(8)=9.209285*Equilibrium_.IAST_(1
).Qi0("CO",0).Value(8)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO",0).Value(8)-7
5010*Equilibrium_.IAST_(1).Qi0("CO",0).Value(8)*Equilibrium_.IAST_(1).Qi0("CO",0
).Value(8));
Equilibrium_.IAST_(1).Pi0("CO",0).Value(9)=9.209285*Equilibrium_.IAST_(1
).Qi0("CO",0).Value(9)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO",0).Value(9)-7
5010*Equilibrium_.IAST_(1).Qi0("CO",0).Value(9)*Equilibrium_.IAST_(1).Qi0("CO",0
).Value(9));
Equilibrium_.IAST_(1).Pi0("CO",0).Value(10)=9.209285*Equilibrium_.IAST_(
1).Qi0("CO",0).Value(10)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO",0).Value(10
)-75010*Equilibrium_.IAST_(1).Qi0("CO",0).Value(10)*Equilibrium_.IAST_(1).Qi0("C
O",0).Value(10));
Equilibrium_.IAST_(1).Pi0("CO",0).Value(11)=9.209285*Equilibrium_.IAST_(
1).Qi0("CO",0).Value(11)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO",0).Value(11
)-75010*Equilibrium_.IAST_(1).Qi0("CO",0).Value(11)*Equilibrium_.IAST_(1).Qi0("C
O",0).Value(11));
Equilibrium_.IAST_(1).Pi0("CO",0).Value(12)=9.209285*Equilibrium_.IAST_(
1).Qi0("CO",0).Value(12)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO",0).Value(12
)-75010*Equilibrium_.IAST_(1).Qi0("CO",0).Value(12)*Equilibrium_.IAST_(1).Qi0("C
O",0).Value(12));
Equilibrium_.IAST_(1).Pi0("CO",0).Value(13)=9.209285*Equilibrium_.IAST_(
1).Qi0("CO",0).Value(13)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO",0).Value(13
)-75010*Equilibrium_.IAST_(1).Qi0("CO",0).Value(13)*Equilibrium_.IAST_(1).Qi0("C
O",0).Value(13));
Equilibrium_.IAST_(1).Pi0("CO",0).Value(14)=9.209285*Equilibrium_.IAST_(
1).Qi0("CO",0).Value(14)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO",0).Value(14
)-75010*Equilibrium_.IAST_(1).Qi0("CO",0).Value(14)*Equilibrium_.IAST_(1).Qi0("C
O",0).Value(14));
Equilibrium_.IAST_(1).Pi0("CO",0).Value(15)=9.209285*Equilibrium_.IAST_(
1).Qi0("CO",0).Value(15)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO",0).Value(15
)-75010*Equilibrium_.IAST_(1).Qi0("CO",0).Value(15)*Equilibrium_.IAST_(1).Qi0("C
O",0).Value(15));
EndIf
If Equilibrium_.IAST_(1).PureIsothermType("CO2") == "User Defined" Then
Equilibrium_.IAST_(1).Pi0("CO2",0).Value(0)=9.209285*Equilibrium_.IAST_(
1).Qi0("CO2",0).Value(0)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(0
)-75010*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(0)*Equilibrium_.IAST_(1).Qi0("C
O2",0).Value(0));
Equilibrium_.IAST_(1).Pi0("CO2",0).Value(1)=9.209285*Equilibrium_.IAST_(
1).Qi0("CO2",0).Value(1)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(1
)-75010*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(1)*Equilibrium_.IAST_(1).Qi0("C
O2",0).Value(1));
Equilibrium_.IAST_(1).Pi0("CO2",0).Value(2)=9.209285*Equilibrium_.IAST_(
1).Qi0("CO2",0).Value(2)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(2
)-75010*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(2)*Equilibrium_.IAST_(1).Qi0("C
O2",0).Value(2));
Equilibrium_.IAST_(1).Pi0("CO2",0).Value(3)=9.209285*Equilibrium_.IAST_(
1).Qi0("CO2",0).Value(3)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(3
)-75010*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(3)*Equilibrium_.IAST_(1).Qi0("C
O2",0).Value(3));
Equilibrium_.IAST_(1).Pi0("CO2",0).Value(4)=9.209285*Equilibrium_.IAST_(
1).Qi0("CO2",0).Value(4)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(4
)-75010*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(4)*Equilibrium_.IAST_(1).Qi0("C
O2",0).Value(4));
Equilibrium_.IAST_(1).Pi0("CO2",0).Value(5)=9.209285*Equilibrium_.IAST_(
1).Qi0("CO2",0).Value(5)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(5
)-75010*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(5)*Equilibrium_.IAST_(1).Qi0("C
O2",0).Value(5));
Equilibrium_.IAST_(1).Pi0("CO2",0).Value(6)=9.209285*Equilibrium_.IAST_(
1).Qi0("CO2",0).Value(6)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(6
)-75010*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(6)*Equilibrium_.IAST_(1).Qi0("C
O2",0).Value(6));
Equilibrium_.IAST_(1).Pi0("CO2",0).Value(7)=9.209285*Equilibrium_.IAST_(
1).Qi0("CO2",0).Value(7)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(7
)-75010*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(7)*Equilibrium_.IAST_(1).Qi0("C
O2",0).Value(7));
Equilibrium_.IAST_(1).Pi0("CO2",0).Value(8)=9.209285*Equilibrium_.IAST_(
1).Qi0("CO2",0).Value(8)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(8
)-75010*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(8)*Equilibrium_.IAST_(1).Qi0("C
O2",0).Value(8));
Equilibrium_.IAST_(1).Pi0("CO2",0).Value(9)=9.209285*Equilibrium_.IAST_(
1).Qi0("CO2",0).Value(9)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(9
)-75010*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(9)*Equilibrium_.IAST_(1).Qi0("C
O2",0).Value(9));
Equilibrium_.IAST_(1).Pi0("CO2",0).Value(10)=9.209285*Equilibrium_.IAST_
(1).Qi0("CO2",0).Value(10)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO2",0).Value
(10)-75010*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(10)*Equilibrium_.IAST_(1).Qi
0("CO2",0).Value(10));
Equilibrium_.IAST_(1).Pi0("CO2",0).Value(11)=9.209285*Equilibrium_.IAST_
(1).Qi0("CO2",0).Value(11)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO2",0).Value
(11)-75010*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(11)*Equilibrium_.IAST_(1).Qi
0("CO2",0).Value(11));
Equilibrium_.IAST_(1).Pi0("CO2",0).Value(12)=9.209285*Equilibrium_.IAST_
(1).Qi0("CO2",0).Value(12)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO2",0).Value
(12)-75010*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(12)*Equilibrium_.IAST_(1).Qi
0("CO2",0).Value(12));
Equilibrium_.IAST_(1).Pi0("CO2",0).Value(13)=9.209285*Equilibrium_.IAST_
(1).Qi0("CO2",0).Value(13)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO2",0).Value
(13)-75010*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(13)*Equilibrium_.IAST_(1).Qi
0("CO2",0).Value(13));
Equilibrium_.IAST_(1).Pi0("CO2",0).Value(14)=9.209285*Equilibrium_.IAST_
(1).Qi0("CO2",0).Value(14)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO2",0).Value
(14)-75010*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(14)*Equilibrium_.IAST_(1).Qi
0("CO2",0).Value(14));
Equilibrium_.IAST_(1).Pi0("CO2",0).Value(15)=9.209285*Equilibrium_.IAST_
(1).Qi0("CO2",0).Value(15)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("CO2",0).Value
(15)-75010*Equilibrium_.IAST_(1).Qi0("CO2",0).Value(15)*Equilibrium_.IAST_(1).Qi
0("CO2",0).Value(15));
EndIf
If Equilibrium_.IAST_(1).PureIsothermType("H2") == "User Defined" Then
Equilibrium_.IAST_(1).Pi0("H2",0).Value(0)=9.209285*Equilibrium_.IAST_(1
).Qi0("H2",0).Value(0)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("H2",0).Value(0)-7
5010*Equilibrium_.IAST_(1).Qi0("H2",0).Value(0)*Equilibrium_.IAST_(1).Qi0("H2",0
).Value(0));
Equilibrium_.IAST_(1).Pi0("H2",0).Value(1)=9.209285*Equilibrium_.IAST_(1
).Qi0("H2",0).Value(1)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("H2",0).Value(1)-7
5010*Equilibrium_.IAST_(1).Qi0("H2",0).Value(1)*Equilibrium_.IAST_(1).Qi0("H2",0
).Value(1));
Equilibrium_.IAST_(1).Pi0("H2",0).Value(2)=9.209285*Equilibrium_.IAST_(1
).Qi0("H2",0).Value(2)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("H2",0).Value(2)-7
5010*Equilibrium_.IAST_(1).Qi0("H2",0).Value(2)*Equilibrium_.IAST_(1).Qi0("H2",0
).Value(2));
Equilibrium_.IAST_(1).Pi0("H2",0).Value(3)=9.209285*Equilibrium_.IAST_(1
).Qi0("H2",0).Value(3)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("H2",0).Value(3)-7
5010*Equilibrium_.IAST_(1).Qi0("H2",0).Value(3)*Equilibrium_.IAST_(1).Qi0("H2",0
).Value(3));
Equilibrium_.IAST_(1).Pi0("H2",0).Value(4)=9.209285*Equilibrium_.IAST_(1
).Qi0("H2",0).Value(4)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("H2",0).Value(4)-7
5010*Equilibrium_.IAST_(1).Qi0("H2",0).Value(4)*Equilibrium_.IAST_(1).Qi0("H2",0
).Value(4));
Equilibrium_.IAST_(1).Pi0("H2",0).Value(5)=9.209285*Equilibrium_.IAST_(1
).Qi0("H2",0).Value(5)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("H2",0).Value(5)-7
5010*Equilibrium_.IAST_(1).Qi0("H2",0).Value(5)*Equilibrium_.IAST_(1).Qi0("H2",0
).Value(5));
Equilibrium_.IAST_(1).Pi0("H2",0).Value(6)=9.209285*Equilibrium_.IAST_(1
).Qi0("H2",0).Value(6)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("H2",0).Value(6)-7
5010*Equilibrium_.IAST_(1).Qi0("H2",0).Value(6)*Equilibrium_.IAST_(1).Qi0("H2",0
).Value(6));
Equilibrium_.IAST_(1).Pi0("H2",0).Value(7)=9.209285*Equilibrium_.IAST_(1
).Qi0("H2",0).Value(7)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("H2",0).Value(7)-7
5010*Equilibrium_.IAST_(1).Qi0("H2",0).Value(7)*Equilibrium_.IAST_(1).Qi0("H2",0
).Value(7));
Equilibrium_.IAST_(1).Pi0("H2",0).Value(8)=9.209285*Equilibrium_.IAST_(1
).Qi0("H2",0).Value(8)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("H2",0).Value(8)-7
5010*Equilibrium_.IAST_(1).Qi0("H2",0).Value(8)*Equilibrium_.IAST_(1).Qi0("H2",0
).Value(8));
Equilibrium_.IAST_(1).Pi0("H2",0).Value(9)=9.209285*Equilibrium_.IAST_(1
).Qi0("H2",0).Value(9)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("H2",0).Value(9)-7
5010*Equilibrium_.IAST_(1).Qi0("H2",0).Value(9)*Equilibrium_.IAST_(1).Qi0("H2",0
).Value(9));
Equilibrium_.IAST_(1).Pi0("H2",0).Value(10)=9.209285*Equilibrium_.IAST_(
1).Qi0("H2",0).Value(10)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("H2",0).Value(10
)-75010*Equilibrium_.IAST_(1).Qi0("H2",0).Value(10)*Equilibrium_.IAST_(1).Qi0("H
2",0).Value(10));
Equilibrium_.IAST_(1).Pi0("H2",0).Value(11)=9.209285*Equilibrium_.IAST_(
1).Qi0("H2",0).Value(11)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("H2",0).Value(11
)-75010*Equilibrium_.IAST_(1).Qi0("H2",0).Value(11)*Equilibrium_.IAST_(1).Qi0("H
2",0).Value(11));
Equilibrium_.IAST_(1).Pi0("H2",0).Value(12)=9.209285*Equilibrium_.IAST_(
1).Qi0("H2",0).Value(12)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("H2",0).Value(12
)-75010*Equilibrium_.IAST_(1).Qi0("H2",0).Value(12)*Equilibrium_.IAST_(1).Qi0("H
2",0).Value(12));
Equilibrium_.IAST_(1).Pi0("H2",0).Value(13)=9.209285*Equilibrium_.IAST_(
1).Qi0("H2",0).Value(13)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("H2",0).Value(13
)-75010*Equilibrium_.IAST_(1).Qi0("H2",0).Value(13)*Equilibrium_.IAST_(1).Qi0("H
2",0).Value(13));
Equilibrium_.IAST_(1).Pi0("H2",0).Value(14)=9.209285*Equilibrium_.IAST_(
1).Qi0("H2",0).Value(14)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("H2",0).Value(14
)-75010*Equilibrium_.IAST_(1).Qi0("H2",0).Value(14)*Equilibrium_.IAST_(1).Qi0("H
2",0).Value(14));
Equilibrium_.IAST_(1).Pi0("H2",0).Value(15)=9.209285*Equilibrium_.IAST_(
1).Qi0("H2",0).Value(15)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("H2",0).Value(15
)-75010*Equilibrium_.IAST_(1).Qi0("H2",0).Value(15)*Equilibrium_.IAST_(1).Qi0("H
2",0).Value(15));
EndIf
If Equilibrium_.IAST_(1).PureIsothermType("H2") == "User Defined" Then
Equilibrium_.IAST_(1).Pi0("N2",0).Value(0)=9.209285*Equilibrium_.IAST_(1
).Qi0("N2",0).Value(0)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("N2",0).Value(0)-7
5010*Equilibrium_.IAST_(1).Qi0("N2",0).Value(0)*Equilibrium_.IAST_(1).Qi0("N2",0
).Value(0));
Equilibrium_.IAST_(1).Pi0("N2",0).Value(1)=9.209285*Equilibrium_.IAST_(1
).Qi0("N2",0).Value(1)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("N2",0).Value(1)-7
5010*Equilibrium_.IAST_(1).Qi0("N2",0).Value(1)*Equilibrium_.IAST_(1).Qi0("N2",0
).Value(1));
Equilibrium_.IAST_(1).Pi0("N2",0).Value(2)=9.209285*Equilibrium_.IAST_(1
).Qi0("N2",0).Value(2)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("N2",0).Value(2)-7
5010*Equilibrium_.IAST_(1).Qi0("N2",0).Value(2)*Equilibrium_.IAST_(1).Qi0("N2",0
).Value(2));
Equilibrium_.IAST_(1).Pi0("N2",0).Value(3)=9.209285*Equilibrium_.IAST_(1
).Qi0("N2",0).Value(3)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("N2",0).Value(3)-7
5010*Equilibrium_.IAST_(1).Qi0("N2",0).Value(3)*Equilibrium_.IAST_(1).Qi0("N2",0
).Value(3));
Equilibrium_.IAST_(1).Pi0("N2",0).Value(4)=9.209285*Equilibrium_.IAST_(1
).Qi0("N2",0).Value(4)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("N2",0).Value(4)-7
5010*Equilibrium_.IAST_(1).Qi0("N2",0).Value(4)*Equilibrium_.IAST_(1).Qi0("N2",0
).Value(4));
Equilibrium_.IAST_(1).Pi0("N2",0).Value(5)=9.209285*Equilibrium_.IAST_(1
).Qi0("N2",0).Value(5)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("N2",0).Value(5)-7
5010*Equilibrium_.IAST_(1).Qi0("N2",0).Value(5)*Equilibrium_.IAST_(1).Qi0("N2",0
).Value(5));
Equilibrium_.IAST_(1).Pi0("N2",0).Value(6)=9.209285*Equilibrium_.IAST_(1
).Qi0("N2",0).Value(6)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("N2",0).Value(6)-7
5010*Equilibrium_.IAST_(1).Qi0("N2",0).Value(6)*Equilibrium_.IAST_(1).Qi0("N2",0
).Value(6));
Equilibrium_.IAST_(1).Pi0("N2",0).Value(7)=9.209285*Equilibrium_.IAST_(1
).Qi0("N2",0).Value(7)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("N2",0).Value(7)-7
5010*Equilibrium_.IAST_(1).Qi0("N2",0).Value(7)*Equilibrium_.IAST_(1).Qi0("N2",0
).Value(7));
Equilibrium_.IAST_(1).Pi0("N2",0).Value(8)=9.209285*Equilibrium_.IAST_(1
).Qi0("N2",0).Value(8)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("N2",0).Value(8)-7
5010*Equilibrium_.IAST_(1).Qi0("N2",0).Value(8)*Equilibrium_.IAST_(1).Qi0("N2",0
).Value(8));
Equilibrium_.IAST_(1).Pi0("N2",0).Value(9)=9.209285*Equilibrium_.IAST_(1
).Qi0("N2",0).Value(9)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("N2",0).Value(9)-7
5010*Equilibrium_.IAST_(1).Qi0("N2",0).Value(9)*Equilibrium_.IAST_(1).Qi0("N2",0
).Value(9));
Equilibrium_.IAST_(1).Pi0("N2",0).Value(10)=9.209285*Equilibrium_.IAST_(
1).Qi0("N2",0).Value(10)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("N2",0).Value(10
)-75010*Equilibrium_.IAST_(1).Qi0("N2",0).Value(10)*Equilibrium_.IAST_(1).Qi0("N
2",0).Value(10));
Equilibrium_.IAST_(1).Pi0("N2",0).Value(11)=9.209285*Equilibrium_.IAST_(
1).Qi0("N2",0).Value(11)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("N2",0).Value(11
)-75010*Equilibrium_.IAST_(1).Qi0("N2",0).Value(11)*Equilibrium_.IAST_(1).Qi0("N
2",0).Value(11));
Equilibrium_.IAST_(1).Pi0("N2",0).Value(12)=9.209285*Equilibrium_.IAST_(
1).Qi0("N2",0).Value(12)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("N2",0).Value(12
)-75010*Equilibrium_.IAST_(1).Qi0("N2",0).Value(12)*Equilibrium_.IAST_(1).Qi0("N
2",0).Value(12));
Equilibrium_.IAST_(1).Pi0("N2",0).Value(13)=9.209285*Equilibrium_.IAST_(
1).Qi0("N2",0).Value(13)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("N2",0).Value(13
)-75010*Equilibrium_.IAST_(1).Qi0("N2",0).Value(13)*Equilibrium_.IAST_(1).Qi0("N
2",0).Value(13));
Equilibrium_.IAST_(1).Pi0("N2",0).Value(14)=9.209285*Equilibrium_.IAST_(
1).Qi0("N2",0).Value(14)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("N2",0).Value(14
)-75010*Equilibrium_.IAST_(1).Qi0("N2",0).Value(14)*Equilibrium_.IAST_(1).Qi0("N
2",0).Value(14));
Equilibrium_.IAST_(1).Pi0("N2",0).Value(15)=9.209285*Equilibrium_.IAST_(
1).Qi0("N2",0).Value(15)*exp(686.8158*Equilibrium_.IAST_(1).Qi0("N2",0).Value(15
)-75010*Equilibrium_.IAST_(1).Qi0("N2",0).Value(15)*Equilibrium_.IAST_(1).Qi0("N
2",0).Value(15));
EndIf

EndWithin
END

0).IAST_(1).Qi0("CO".IAST_(1).0).IAST_( 1). Equilibrium_.IAST_(1 ). Equilibrium_.IAST_(1 ).Pi0("CO".0).PureIsothermType("CO") == "User Defined" Then Equilibrium_.0).Qi0("CO".IAST_(1).Qi0("CO".0). Equilibrium_.IAST_(1).Value(1)*Equilibrium_. Equilibrium_.Pi0("CO".Value(0)*Equilibrium_.Value(9)*exp(686.Qi0("CO".0). Equilibrium_.Value(4)*Equilibrium_.Value(14 )-75010*Equilibrium_.IAST_(1).Value(2)-7 5010*Equilibrium_.Value(1)*exp(686.Value(1)=9.IAST_(1 ).Value(10)=9.0).Qi0("CO".8158*Equilibrium_.0).0 ).Qi0("CO". Equilibrium_.Qi0("CO".Qi0("CO".Qi0("C O".IAST_(1).Pi0("CO".Qi0("CO".Value(2)*exp(686.0).0 ).Qi0("CO".Value(2)=9.IAST_(1).Value(2)).Qi0("CO".8158*Equilibrium_.Pi0("CO".Qi0("CO".0).IAST_(1).Qi0("CO".209285*Equilibrium_.IAST_(1).Value(3)*Equilibrium_. EndIf If Equilibrium_.IAST_(1).Value(5)-7 5010*Equilibrium_.8158*Equilibrium_.IAST_(1).IAST_(1).8158*Equilibrium_.IAST_(1).0).0).Qi0("C 1".IAST_(1).0).Qi0("C1".IAST_(1).Qi0("CO".IAST_(1 ).8158*Equilibrium_.IAST_(1).0).Qi0("CO".IAST_(1).Value(9)-7 5010*Equilibrium_.8158*Equilibrium_. Equilibrium_.Value(3)*exp(686.IAST_(1).0).Pi0("CO".Value(14)).0).Value(0)).IAST_(1 ).0).0).0).IAST_(1).0 ).Value(10)*Equilibrium_.Qi0("CO".Qi0("CO".0 ).0).Pi0("CO".Value(1)-7 5010*Equilibrium_.Qi0("CO".Pi0("C1".0).Value(7)).8158*Equilibrium_.Pi0("CO".Value(4)*exp(686.0).Qi0("CO".Qi0("CO".0).209285*Equilibrium_.Qi0("C1".0).IAST_( 1).0).IAST_(1).Value(8)-7 5010*Equilibrium_.Value(4)).Qi0("C O".0).IAST_(1).IAST_(1).Value(15)=9.209285*Equilibrium_.8158*Equilibrium_.Value(5)*exp(686.Qi0("C1".0).Value(11)*Equilibrium_.Value(3)).Qi0("CO".Qi0("CO".IAST_(1).Value(15)*exp(686. Equilibrium_.IAST_(1).Value(8)).Value(14)*exp(686.209285*Equilibrium_.Value(7)=9.Pi0("CO".Value(4)-7 5010*Equilibrium_.8158*Equilibrium_.0).0).Value(11)).0).IAST_(1).IAST_(1).Qi0("CO".Qi0("CO".Value(6)).Pi0("C1".Qi0("CO".Qi0("C 1".IAST_(1).Qi0("CO".IAST_(1 ).0 ).8158*Equilibrium_.IAST_(1).Qi0("C1".Value(10)).0).Value(8)*Equilibrium_.Qi0("CO".Pi0("CO".IAST_(1).Qi0("CO".209285*Equilibrium_.8158*Equilibrium_.Value(14)*Equilibrium_.IAST_(1). Equilibrium_.Pi0("CO".Value(2)*Equilibrium_.Qi0("CO".Value(1)).IAST_(1).Value(9)*Equilibrium_.Qi0("CO".Value(15 )-75010*Equilibrium_.0 ).0).Qi0("CO".Value(6)*Equilibrium_.209285*Equilibrium_.IAST_(1 ).Qi0("CO".0).209285*Equilibrium_.Value(6)=9.Pi0("CO".209285*Equilibrium_.IAST_(1).Equilibrium_.0).Value(4)=9.IAST_(1).Value(10)*exp(686.0).Value(7)*exp(686.Value(11)=9.IAST_( 1).Value(3)-7 5010*Equilibrium_.0).209285*Equilibrium_.IAST_(1).IAST_(1).209285*Equilibrium_.8158*Equilibrium_.Value(10 )-75010*Equilibrium_.209285*Equilibrium_.Qi0("CO".Value(15)*Equilibrium_.Value(7)*Equilibrium_.Pi0("CO".Value(11)*exp(686.0).0).IAST_(1).0).Qi0("CO".0 ).Qi0("CO".IAST_(1).Value(8)*exp(686.209285*Equilibrium_. Equilibrium_.0).IAST_(1).0).Value(6)*exp(686.0).Value(7)-7 5010*Equilibrium_.0).IAST_(1 ).0).Value(5)=9. Equilibrium_.Value(0)-7 5010*Equilibrium_.Value(15)).Qi0("CO".0).209285*Equilibrium_.8158*Equilibrium_.0).Value(6)-7 5010*Equilibrium_.Qi0("CO".Qi0("CO".IAST_(1).0).0).0).Qi0("CO".IAST_(1).Value(8)=9.IAST_(1).IAST_(1).8158*Equilibrium_.0).Value(11 )-75010*Equilibrium_.Qi0("CO".Qi0("CO".IAST_(1).IAST_(1). Equilibrium_.Qi0("CO".0).0).Pi0("CO".IAST_(1).0).Value(0)=9.Value(9)=9.209285*Equilibrium_. Equilibrium_.IAST_( 1).IAST_(1).IAST_(1).0).IAST_(1).Value(9)).209285*Equilibrium_.0 ).IAST_(1).IAST_(1).Qi0("C1".0 ).0 ).0).Qi0("C1".0).Value(5)*Equilibrium_.IAST_(1).0).IAST_(1).Value(3)=9.Value(12)=9.IAST_(1).IAST_(1 ).IAST_(1).0).Value(0)*exp(686.0).Value(5)).Qi0("CO".IAST_(1).Value(14)=9.IAST_(1).IAST_(1 ).IAST_(1).Qi0("CO".0).Qi0("CO".IAST_( .IAST_(1).0).Qi0("CO".

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->