Home > Community > How do I write FORTRAN subroutine to simulate the kinetic of the...
Upvote

28

Downvote
+ Thermochemistry
Posted by
Alan Bloom

How do I write FORTRAN subroutine to simulate the kinetic of the...

Dan Lazuran  Follow

Take into account that you have to follow the guidelines that your current version of Aspen gives to you which include specific Fortran compiler to being used, file and in general string names, subroutine structure as well as location of Fortran module files.
That is because your user models are going to be used by Aspen so it can only do if they have an appropiate interface. I don't know which version do you have but you can look at page 9 and beyond of this document http://support.aspentech.com/Public/Documents/Engineering/Aspen%20Plus/V7.3/AspenPlusUserModelsV7_3-Ref.pdf.
Best Regards

More

Upvote

VOTE

Downvote
Anne Eastman  Follow

Since your question seems too open, let me answer in a general way:
Yo need to have a mathematical model of the process, which you probably already have. If the model is too complicated, you might as well divide it in pieces or "routines" to perform individual tasks (divide-an-conquer).  
This is good for Fortran and C and any language, as well as for retorting and econometrics, and whatnot.

More

Upvote

VOTE

Downvote
Alin Stefan  Follow

The main function for  FORTRAN subroutine in Aspen Plus simulation of oil shale pyrolysis is to control the reaction conversion rate, and the kinetics characters need to be emperimentally identifed.

More

Upvote

VOTE

Downvote
Mbanginu Aurelie Kfe  Follow

Thanks to Both for your guidance , Lius Cota and Nils Anderson. I am going to design Oil Shale Retorting Reactor in Aspen Plus. The Components of the Oil Shale are not defined in the Aspen Plus. So I have to define some of the components by myself. So this is the case for which I have to write FORTRAN code.
Regards

More

Upvote

VOTE

Downvote
Brian Lami  Follow

For structuring FORTRAN code I have found this book very helpful in the past:
https://books.google.ca/books/about/Classical_FORTRAN.html?id=qJmGnpKwPKAC&redir_esc=y
As for the kinetics of the pyrolysis you have to explain your problem in more detail.

More

Upvote

VOTE

Downvote