Difference between revisions of "Importing OLI Model in Aspen PLUS"

From wiki.olisystems.com
Jump to: navigation, search
(Importing an Aspen Simulation in OLI generated bkp file)
(Chemistry model generation using OLI chemistry wizard)
Line 14: Line 14:
 
==Chemistry model generation using OLI chemistry wizard==
 
==Chemistry model generation using OLI chemistry wizard==
  
In this section we will talk about generating an electrolyte Multiple Solvent model ( MSE) which uses Hydronium ion for calculations. Build a chemistry with Water, HCL, NaOH using OLI chemistry wizard for Aspen Plus 8.4.  
+
In this section we will talk about generating an electrolyte Multiple Solvent model ( MSE) which uses Hydronium ion for calculations. Build a chemistry with '''''Water, HCL, NaOH''''' using OLI chemistry wizard for Aspen Plus 8.4.  
 
Open Chemistry Wizard from the location shown in the above image. Following screen should pop up.
 
Open Chemistry Wizard from the location shown in the above image. Following screen should pop up.
  

Revision as of 09:02, 25 August 2014

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.4

Aspen plus engine.png

There are two possibilities for the import scenario between ASPEN and OLI. First is where there is no chemistry model built for the ASPEN simulation created by the user and they entirely need to use OLI chemistry. And second is when users have ASPEN chemistry for the simulation they have built and need OLI chemistry for certain sections ( subflowsheet) or certain blocks.

Let us begin with the first possibility when the simulation contains no chemistry inbuilt on the ASPEN side.

Chemistry model generation using OLI chemistry wizard

In this section we will talk about generating an electrolyte Multiple Solvent model ( MSE) which uses Hydronium ion for calculations. Build a chemistry with Water, HCL, NaOH using OLI chemistry wizard for Aspen Plus 8.4. Open Chemistry Wizard from the location shown in the above image. Following screen should pop up.

Figure chemistry wizard model build.PNG

If your focus is not how the Hydrogen ion is treated then AQ or MSE either model should work, depending on what chemistry you are working with.

Figure 3AQvs MSE.PNG


Next is selecting components from the list.


Figure3 aspen import.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.


Figure 5 aspen ID screens.PNG


The next screen you will see is the generation of bkp files screen.

Figure 5generation of bkp.PNG


Next screen will give a summary of file generation. Please click "Generate Files Now" and then click Finish.


Figure7 generate files now.PNG

This completes the chemistry model generation step.

Generating a simulation in Aspen Plus

Go to the simulation environment in Aspen Plus 8.4 and add a Mixer and a Separator.

Add two input streams to the mixer and two output streams from the separator. Your flowsheet should look like below:


Figure8 aspen plus flowsheet.PNG

Go to the Properties Sectionand add an Elec-NRTL model.

In the Methods-> Specifications, you will see Chemistry ID to be Global. Let that be so for now.

Figure 9 property methods.PNG


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

Save this file as Simulation1.bkp in the same location and same folder as the chemwiz.bkp file.

Importing an Aspen Simulation in OLI generated bkp file

Please open the chemwiz.bkp file using Aspen Plus 8.4. Go to Property Section and make sure the Selected method is OLI. The Simulation section will be blank.

Figure 10 property section for chemwiz bkp file.PNG