P. 1
Aspen-Getting Started Customizing Unit Operation Model

Aspen-Getting Started Customizing Unit Operation Model

|Views: 378|Likes:
Published by Surya Budi Widagdo

More info:

Published by: Surya Budi Widagdo on Jul 24, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/15/2013

pdf

text

original

1 Use a text editor such as Notepad to create a text file called
Membrane2_List_OBJs.opt.
2 Type the full path to Mem2.obj in the top line of the text file. For
example: D:\Program Files\ . . .\membrane\Mem2.obj.

3 Save the file and exit the text editor.
4 In the DOS window of the Aspen Plus Simulation Engine, type asplink
[dlopt membrane2_list_objs.opt] membrane2
.
A file called membrane2.dll is created. This is a Fortran shared library.
Using a shared library avoids the need for a linking step when Aspen Plus
runs. Once you have the shared library, it can be used with Aspen Plus
even if you don’t have a Fortran compiler available.

Note: If you simply type asplink membrane2 Aspen Plus will create
membrane2.dll using all the object files in the default directory.
5 Create another DLOPT text file called Membrane2_Loc_DLL.opt.
6 In the top line of this file type the full path to membrane2.dll.

7 Save the text file and exit the text editor.
8 Put a copy of the Membrane2_Loc_DLL.opt in your Aspen Plus Working
Directory. At run time, you will tell Aspen Plus the name of this file so that
the shared library will be available.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->