Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Need help with Matlab: Adsorption isotherms are phase coexistence relationships that relate the partial pressure of a gas phase substance to the amount of gas
Need help with Matlab: Adsorption isotherms are phase coexistence relationships that relate the partial pressure of a gas phase substance to the amount of gas molecules adsorbed inside a porous material ie loading In thermodynamics, we have learned how to predict the properties of two coexisting phases, such as vaporliquid equilibria VLE If we replace the liquid phase with an adsorbed phase and treat the adsorbed phase using a formalism similar to Raoults law,
we have the ideal adsorbed solution theory IAST This assignment and the next will walk you through a few important coding concepts. At its completion, you will be able to make your own IAST predictions.
Complete Part Part for this assignment.
Use waterdata, ehtanoldata, and binarydata when referencing data used
Inspect the provided dataset by plotting the singlecomponent adsorption isotherms,
Nipi using the logarithmic scale for the horizontal axis. Use empty blue circles for
water i and empty red up triangles for ethanol i
Note: For this part, you need to search for the plotting command and read its docu
mentation to learn how to use it
Interpretation of the plot: If we flow water vapor at a given pressure, say p
Pa over silicalite, water molecules will be adsorbed per unit cell of
the zeolite sorbent at equilibrium.
For each of the two unary isotherms, write a function to implement Niln pi by fitting
to the given data points. You can either use a file or the anonymous function syntax
@x A user needs to be able to call your function via, eg isothermt with
the independent variable t ln pi pi can be any pressure not necessarily from the
provided data set.
Note: You may want to read the documentation of F griddedInterpolantx y
linear To use the returned object with fsolve in you can create a true
function isothermt@tFt
Find the roots ln p and ln p for the two isotherm functions using fsolve. In the
same figure of plot your fitted functions from ln pi to ln pimax, where pimax is
the largest pressure from the provided dataset.
In a binary adsorption experiment, we put the waterethanol mixture in contact with the
sorbent, and both molecules will adsorb. Of course, they will do so in different quantities,
resulting in preferential adsorption that can be used to separate the mixture. For a mixture
at given T and p the specification of its composition eg expressed in terms of the mole
fraction of ethanol, x then completely fixes the chemical potentials of water and ethanol,
which can be converted to equivalent partial pressures. The first two columns of the mixture
isotherm data give the partial pressures, p and p The last two columns give the measured
loadings for water N and ethanol N
In a new figure, plot both water and ethanol loadings as a function of p using the
same symbol conventions as in
The IAST equations for a Ccomponent mixture are as follows:
p
i zigamma i fi pi i C
Psi pi A
RT
Z ln p
ln p
Nln p d ln p
Z ln p
i
ln pi
Niln pi d ln pi i C
where A is the unkwown surface area of the sorbent material, R is the gas constant, and
T is temperature. Eqn. also defines spreading pressure pi and adsorption potential Psi
When using IAST to predict binary adsorption C from singlecomponent isotherms
Niln pi the partial pressures pi are specified, and adsorbedphase activity coefficients gamma i
are assumed to be unity. Using the three independent equations two of Eqn. and one of
Eqn. one can solve for the adsorbedphase composition, z and the two pressures, ln p
i
Using the two fitted isotherm functions, Niln pi write another two functions one for
water and the other for ethanol to compute the adsorption potential as a function of
ln p
i : Psi iln p
i R ln p
i
ln pi Niln pi d ln pi where the integration lower limit is what you
found in That is a user needs to be able to call ads pott where t ln p
i to
obtain the value of the integral.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started