deanmc16
Chemical
- Mar 23, 2011
- 4
Hi,
I have had only a few hours experience with Fortran. Despite this, I wish to run an Aspen Plus simulation using user-defined kinetics in Fortran. I have used the usrkin.f template supplied by Aspen Plus to create my own kinetics subroutine. The result is a Fortran file called ESKIN.for. I downloaded a FORTRAN editor/compiler called Plato to do this.
According to the Aspen Plus User Guide, the next steps involved in applying a Fortran user model to a simulation are as follows:
• Compile the user models using the aspcomp procedure
• Link the user models into a Fortran shared library using the asplink
procedure (optional)
• Supply the object files or shared library to the Aspen Plus system
I would greatly appreciate any assistance you can provide on how to actually perform the above steps.
For example, how and where (in Aspen Plus, in the compiler?) do I type the command aspcomp?
If anyone has an example simulation that uses a user kinetic model that they are willing to share, I would be grateful.
Thanks for your time,
Dean
I have had only a few hours experience with Fortran. Despite this, I wish to run an Aspen Plus simulation using user-defined kinetics in Fortran. I have used the usrkin.f template supplied by Aspen Plus to create my own kinetics subroutine. The result is a Fortran file called ESKIN.for. I downloaded a FORTRAN editor/compiler called Plato to do this.
According to the Aspen Plus User Guide, the next steps involved in applying a Fortran user model to a simulation are as follows:
• Compile the user models using the aspcomp procedure
• Link the user models into a Fortran shared library using the asplink
procedure (optional)
• Supply the object files or shared library to the Aspen Plus system
I would greatly appreciate any assistance you can provide on how to actually perform the above steps.
For example, how and where (in Aspen Plus, in the compiler?) do I type the command aspcomp?
If anyone has an example simulation that uses a user kinetic model that they are willing to share, I would be grateful.
Thanks for your time,
Dean