Prode Properties
Multi phase vapor liquid solid hydrate formation software

Title : Multi phase equilibria, vapor liquid solid hydrate formation with Excel, Matlab, Mathcad, software

Download Prode Properties
Documentation, includes software installation and detailed description with application examples
Contact Prode
Do you need assistance or wish to discuss applications ?
Contact Prode

Excel application example : multiphase vapor liquid solid hydrate equilibria

With the base version of Prode Properties you can calculate multiphase vapor liquid solid hydrate equilibria cases, this Excel application example shows how to use Properties to solve the multiphase flash operation and get the results directly in Excel pages.

First step: define the stream (components, compositions etc.)

Properties includes a Stream editor which permits to access all informations (as compositions, operating conditions, models, options) for all streams which you need to define, to access the Stream editor from Excel Properties menu select Edit Properties

PPP

The Stream editor includes several pages, from the first page you can select a stream (Properties can store all the streams required to define a medium size plant) solve a series of flash operations and see the resulting compositions in the different phases, in this page select the stream you wish to define, for example the first.

PPP

In the second page you can define a new composition or modify an existing composition, in this example we define C1 0.7 CO2 0.15 H2S 0.15 as molar fractions

PPP

In the third page you can define the package (thermodynamic models and related options) , here we define API Soave Redlick Kwong.

PPP

The fourth page provides access to BIP (Binary Interaction Parameters) for the different models, you can enter specific values or click on "Load BIPs" button to get the predefined BIPs from databank.

PPP

Finally we must save the new data, in the first page click on "Save" button, note that you can redefine the name of the stream as you wish (editing the cell near the button "Save"), you can define / modify many streams following the procedure described.
Once defined the stream you may wish to define the units which we wish to utilize in our problem, in stream editor go then to the "Units" dialog

PPP

here you can select the units which you need for a specific problem, in this example for the pressure (first row) select Bar.a , notice that unit for temperature is K (but you can set the units which you prefer) then click on Ok button to accept new values and leave the Properties editor.
Now you are ready to use Properties for calculating all the properties which you need, however there is still a last thing to do if you do not wish to lose all data when leaving a Excel page, precisely to save data to a file, to save data to a file from Excel Properties menu select "Save a Archive"

PPP

then select the file "def.ppp" if you wish that Properties utilizes this data as default (this is the normal , recommended option), differently set a different name (you can for example define different names for different projects) but you will need to load that specific Archive before to make calcs for that project and since Excel reloads Properties with any new page this may result tedious...
Properties saves on the file also the units of measurement so you can define different streams and different units in different projects.

PPP

Now you can calculate all the properties which you need with the units which you prefer for all the streams defined in that project.

Second step: calculate multiphase equilibria.

Multiphase analysis permits to discover instabilities and formation of new phases where the standard procedure fails, we start by examining the results of the standard two-phases flash procedure, from the Stream editor in Stream->Operating select the first stream (which we defined with composition C1 0.7 CO2 0.15 H2S 0.15 and API SRK as model) then in Stream->Models you see that as default Multiphase equilibria was set to "No multiphase, only two-phases" (this is the default because multiphase is much slower)

PPP

In Stream->Operating you can solve a series of predefined operations, select the first stream as Feed and Operation and TP-VL as flash operation, then enter 150 K and 10 Bar.a as specifications, then click on the button "Compute", as result the procedure detects one liquid phase, notice that you see the results of flash operations directly in the stream's editor, you can set different specifications and get immediately the results.

PPP

To perform a multiphase vapor-liquid flash select the TP-VLL operation, set as before the specifications as 150 K and 10 Bar.a and click on Compute, now the procedure detects three liquid phases.

PPP

You can obtain the same results directly in Excel by loading the file "multiphase.xls" (distributed with Properties) and following the same procedure, to instruct Prode Properties to perform a multiphase flash (the default is the two phases flash) go in Stream->Models and change the option for multiphase to Multiphase vapor-liquid and the Multiphase initialization to Extended tests, then in Stream->Operating Save the stream (remember to click on "Save" button when you change something in the stream).

PPP

Third step: calculate multiphase equilibria with solids (hydrate formation).

With Prode Properties you can solve a multiphase flash operation including one or more solid phases such as hydrate, ice, solid solitions etc. from the Stream editor in Stream->Operating select the stream 6 (there are two lists, in first row of first and second window)

PPP

In Stream->Operating you can solve a series of predefined operations, select TP-VLSH as flash operation, then enter 277 K and 15 Bar.a as specifications, then click on the button "Compute", as result the procedure detects the formation of a hydrate phase
You can easily verify how the addition of a small amount of methanol (inhibitor) can increase the formation pressure for hydrate phase, in the example we recalculate phase equilibria with a 0.002 fraction of methahol, as result the calculated formation pressure for hydrate is about 70 Bar
To improve the accuracy of phase equilibria in presence of inhibitors it is recommended to adopt specific BIPs calculated from SLE data points (you may contact Prode for assistance)

PPP

As for previous example you can obtain the same results directly in Excel in multiphase.xls page, in Properties Editor Operating page, select stream 6, then in Models page select Multiphase vapor-liquid-solid-hydrate, back in Operating page click on Save button and click Ok to leave the Properties Editor, in Excel page input the specified temperature, pressure and stream (6), click on compute isotheraml flash to see the results

PPP

Calculate properties in Matlab.

From Matlab command line you can call the methods in Prode Properties by typing the names, for example to obtain the different phase fractions calculated by procedure
>> = StrPf(1,1)
>> ans = 0.8036
>> = StrPf(1,2)
>> ans = 0.1258
in Matlab (as In Excel) you can access the Properties editor from menu associated with the figure.

PPP

Herebelow a short list of the properties which you can calculate with Prode Properties, read the operating manual for additional information.

Technical features overview (Windows version)

Typical applications