Getting Started with Aspen Plus(V.8.6) OLI

From wiki.olisystems.com
Jump to: navigation, search

Overview

We have created this example to help user better understand the use of OLI inside of Aspen PLUS. Please refer to the flow sheet of the example we are about to see

Figure8 aspen plus flowsheet.PNG

Now to activate OLI in Aspen PLUS , please make sure you have the correct OLI engine installed for your designated version. You can Confirm this at Programs-> All Programs-> OLI systems->OLI Engine in Aspen Plus 8.6

Aspen8 6tutorial1.png

Creating an OLI Model for Aspen Plus V8.6

Please click on the chemistry wizard to generate a bkp file containing the OLI chemistry model you want to use inside of Aspen.


Aspen8 6 tutorial2.png


Please note the Working Directory Path you set up for his file. That is going to be the location where the bkp file is stored. Click Next.


Aspen8 6tutorial3.png


You will get to a page headed "Databanks" and you can choose the Thermodynamic Framework. For the example, we will choose the MSE radio button. No other databank is selected.

Aspen8 6tutorial4.png


Aspen8 6 tutorial5.png

Keep pressing next till you see a message to create a *.bkp file. This is the file we will be using in Aspen for simulation.

You will see an Aspen ID screens, please make sure you write up all the Alias names.


Aspen8 6tutorial7.png


Aspen8 6tutorial6.png


Click Generate Files Now. The location is shown in the pop up message.


Aspen8 6 tutorial generate files.png


Aspen8 6tutorial8.png

Opening the OLI model bkp file

Open Aspen Plus V8.6. Open the file test1 using the Open function under File in Aspen toolbar.

Alternatively go to the location where the *bkp file test1 is saved. Double click to open it ( Use Open With to be specific about the version number if you have more than one version of Aspen installed)

You might see the following message, Click OK.


Aspen8 6tutorial11.png


Once you click OK, the OLI model is already loaded in the Properties Section. Please confirm it through following screen capture. The chemistry ID says TEST1.

Aspen8 6tutorial12.png

Creating an Aspen Simulation

Open Aspen Plus V8.6 and the bkp file test1.


Go to the simulation mode and create the flow-sheet shown in the introduction section of this article. It is a mixer and a separator.


Aspen8 6tutorial9.png


Aspen8 6tutorial15.png


Please make sure to save it as a *bkp file.

Make Sure to Save it at the same location where the OLI model from Chemistry Wizard is saved.

You will notice that the apwz file generates it's own folder which does not include the chemistry model file for OLI. For more information please also see Common Error Messages in Aspen PLUS.

Running a simulation with OLI model in Aspen Plus V8.6

Please use the conditions below to input the material stream values:

Stream Composition and Conditions
Stream 1: H20 10 kmol/hr Stream 2 : H20 10 kmol/hr
Stream 1:HCL 1 kmol/hr Stream 2 :NaOH 1.1 kmol/hr
Temperature 25 C Pressure 1 bar


Please input the stream values as above. The check marks before the stream numbers will be blue once you do that.

Aspen8 6tutorial13.png

Use the same Temperature and Pressure conditions for the Blocks.

Click on the Next button on the top toolbar to make sure you have input all the necessary information.


Aspen8 6tutorial14.png

Click OK to run the simulation.

Your simulation will be convereged and you should see the following message in the summary box:


Aspen8 6tutorial16.png