Professional Documents
Culture Documents
Aspen Custom Modeler Fun! - Membrane Reactor (Intermediate)
Aspen Custom Modeler Fun! - Membrane Reactor (Intermediate)
Sub Modelist
Membrane Reactor (Intermediate)
View my complete profile
This is a simple membrane reactor model described in a textbook.
Blog Archive
H. Scott Fogler (2010), Section 6.4 Membrane Reactors,
Essentials of Chemical Reaction Engineering, p.p. 217-225 ►
► 2021 (2)
▼
▼ 2015 (3)
In the textbook, specific components were not specified. ▼
▼ July (3)
So, I treated the reaction as propane dehydrogenation. Membrane Reactor (Intermediate)
Quadratic Equation (Beginner)
i.e. C3H8 (Propane) -> C3H6 (Propylene) + H2
Isenthalpic Pressure Drop (Basic)
Model MembReactor
Kc As RealVariable
(Description:"Equilibrium constant [mol/dm3]", Fixed, 0.05);
k As RealVariable
(Description:"Reaction rate constant [1/min]", Fixed, 0.7);
Cto As RealVariable
(Description:"Total molar concentration [mol/dm3]");
kc_ As RealVariable
(Description:"Transport coefficient [1/min]" , Fixed, 0.2);
V As LengthDomain (DiscretizationMethod:"OCFE4",
HighestOrderDerivative:1,
Length:500,
NumSections:2,
SpacingPreference:5,
Section(2).Location:100,
Section(2).SpacingPreference:20);
Fa As Distribution1D(XDomain Is V, HighestOrderXDerivative:1)
Of RealVariable(0); // [mol/min]
Fb As Distribution1D(XDomain Is V, HighestOrderXDerivative:1)
Of RealVariable(0); // [mol/min]
Fc As Distribution1D(XDomain Is V, HighestOrderXDerivative:1)
Of RealVariable(0); // [mol/min]
T As temperature;
P As pressure;
Q As enthflow;
submodelist.blogspot.com/2015/07/membrane-reactor-level-2.html 1/5
7/19/23, 6:19 AM Aspen Custom Modeler Fun!: Membrane Reactor (Intermediate)
// Inlet variables
Fin As RealVariable; // [mol/min]
zin(Componentlist) As molefraction;
hin As enth_mol;
Vin As vol_mol;
MWin As molweight;
// Retentate variables
Fret As RealVariable; // [mol/min]
zret(Componentlist) As molefraction;
hret As enth_mol;
rhoVret As dens_mol;
Vret As vol_mol;
MWret As molweight;
// Permeate variables
Fper As RealVariable; // [mol/min]
zper(Componentlist) As molefraction;
hper As enth_mol;
rhoVper As dens_mol;
Vper As vol_mol;
MWper As molweight;
// Ports
PortIn As Input MaterialPort;
PortRet As Output MaterialPort;
PortPer As Output MaterialPort;
// Inlet condition
PortIn.F = Fin / 1000 * 60 ;
PortIn.T = T ;
PortIn.P = P ;
PortIn.z = zin ;
PortIn.h = hin ;
PortIn.V = Vin ;
Cto = 1 / Vin ;
// Boundary condition (Inlet)
Fa(0) = Fin * zin("A") ;
Fb(0) = Fin * zin("B") ;
Fc(0) = Fin * zin("C") ;
// Mass Balance
Fin * MWin = Fret * MWret + Fper * MWper ;
// Heat Balance
Fin * hin + Q * 1000 / 60 = Fret * hret + Fper * hper ;
submodelist.blogspot.com/2015/07/membrane-reactor-level-2.html 2/5
7/19/23, 6:19 AM Aspen Custom Modeler Fun!: Membrane Reactor (Intermediate)
// Retentate condition
Fret = Ft(V.EndNode) ;
zret("A") = Fa(V.EndNode)/Ft(V.EndNode) ;
zret("B") = Fb(V.EndNode)/Ft(V.EndNode) ;
zret("C") = Fc(V.EndNode)/Ft(V.EndNode) ;
Vret = 1 / rhoVret ;
PortRet.F = Fret / 1000 * 60 ;
PortRet.T = T ;
PortRet.P = P ;
PortRet.z = zret ;
PortRet.h = hret ;
PortRet.V = Vret ;
PortRet.Av= 1 ;
// Permeate condition
zper("A") = 0 ;
zper("B") = 1 ;
zper("C") = 0 ;
Vper = 1 / rhoVper ;
PortPer.F = Fper / 1000 * 60 ;
PortPer.T = T ;
PortPer.P = P ;
PortPer.z = zper ;
PortPer.h = hper ;
PortPer.V = Vper ;
PortPer.Av= 1 ;
End
submodelist.blogspot.com/2015/07/membrane-reactor-level-2.html 3/5
7/19/23, 6:19 AM Aspen Custom Modeler Fun!: Membrane Reactor (Intermediate)
8 comments:
Reply
Hi, do you have the codes for a hollow fiber membrane (not a reactor) please, I have codes from
other source but it is not working with me
Reply
Replies
Hi did you get any help regarding this, if yes may you kindly help me out
hi, i am also looking for the codes for a pervaporation membrane. if you have them
please share, thanks.
Reply
hello sir, could you help me simulation of membrane to remove CO2 from natural gas? Thankyou!
Reply
submodelist.blogspot.com/2015/07/membrane-reactor-level-2.html 4/5
7/19/23, 6:19 AM Aspen Custom Modeler Fun!: Membrane Reactor (Intermediate)
Replies
Hi! I am trying to do the same. Did You get something? Could you help me?
Hi! I am trying to do the same. Did You get something? Could you help me?
Reply
submodelist.blogspot.com/2015/07/membrane-reactor-level-2.html 5/5