<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
This sounds like a flash calculation more than a distillation
calculation and is directly performed by thermodynamic servers made
available via CAPE-OPEN. <br>
<br>
Implementing such an algorithm in a stable and efficient manner from
scratch is not straight forward and has been the subject of many
publications in literature. If you are restricted to two phases
(vapor and liquid) and you are sure to be between the dew and the
bubble point (so that you are sure that both exist) it becomes a lot
easier. There are literally dozens of algorithms that do this. <br>
<br>
Phase equilibrium conditions at specified T and P are such that<br>
<br>
- all fugacities of all compounds in the two phases are equal<br>
- the vapor compositions add up to unity<br>
- the liquid compositions add up to unity<br>
- the amount of any compounds in the vapor added to the amount of
the same compound in the liquid must equal the overall amount of the
compound (compound balances, aka phase summation equation)<br>
<br>
You can use simply a Rachford-Rice approach
(<a class="moz-txt-link-freetext" href="https://en.wikipedia.org/wiki/Flash_evaporation">https://en.wikipedia.org/wiki/Flash_evaporation</a>), or the approach
sketched by Michael Michelsen, "The isothermal flash problem, part
II, phase split calculation" (Fluid Phase Equilibria 9 (1982), pp
21-40). If you are sure you need to track over a constant
temperature line between a dew point and bubble point, a
continuation method comes to mind.<br>
<br>
But you will still need to have the (log) fugacity coefficients of
all compounds for the vapor and the liquid phase. <br>
<br>
Best wishes,<br>
<br>
Jasper.<br>
<br>
<br>
<div class="moz-cite-prefix">On 8/1/2013 09:51, Dang, Christophe
wrote:<br>
</div>
<blockquote
cite="mid:3B5FFC67498DFF49AE7271A584867D16F31E9C1CC9@301EX00100.sidel.com"
type="cite">
<pre wrap="">Hello,
the following message was sent to me, so I post it back on the list so it can find the right audience.
Regards
%%%%%%%%%% Original message %%%%%%%%%%
The variation of flash vapor/liquid composition for various temperatures chosen between the dew point and bubble point temperature of the liquid feed.
-----Original Message-----
From: "Dang, Christophe" <a class="moz-txt-link-rfc2396E" href="mailto:Christophe.Dang@sidel.com"><Christophe.Dang@sidel.com></a>
Date: Wed, 31 Jul 2013 18:06:43
To: <a class="moz-txt-link-abbreviated" href="mailto:sandy_eze@yahoo.com">sandy_eze@yahoo.com</a><a class="moz-txt-link-rfc2396E" href="mailto:sandy_eze@yahoo.com"><sandy_eze@yahoo.com></a>; International users mailing list for Scilab.<a class="moz-txt-link-rfc2396E" href="mailto:users@lists.scilab.org"><users@lists.scilab.org></a>
Subject: RE: [Scilab-users] (no subject)
Hello,
</pre>
<blockquote type="cite">
<pre wrap="">De la part de Eze-Okoli Ifeoma Sandra
Envoyé : mardi 30 juillet 2013 17:36
Good day, i would like to know how to design a multi-component flash
distillation system using scilab
</pre>
</blockquote>
<pre wrap="">
This seems to be a physical/chemical engineering problem.
Scilab performs calculations, but you decide which calculations.
So, first decide what you have to calculate and how, and then we might be able to help you.
Best regards
--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
______________________________________________________________________
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
______________________________________________________________________
_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>