In order to simulate this equipment in the commercial software aspen plus v7. For the first save operation select save or save as from file menu and save your work. Aspen plus additional software requirements requirements notes intel fortran 9101112 standard or professional, with a linker required for customer development of fortran models. But,after compiling using this silver frost software,the codes wouldnt run on aspen plus. Aspen plus user subroutine using intel visual fortran. Kinetic subroutine for aspen plus kinetic subroutine for aspen plus. Therefore, this work is focused on the development of an input. Modulef over 3000 mathematical functions and operators, mostly related to materials science. Dll was built with no linker errors, but the aspen plus software is trying. Use of aspen plus and this manual this manual is intended as a guide to using aspen plus process modeling software. Does someone has any experience to write fortran subroutines to customize aspen plus, especially kinetics subroutine. It is a user model that is supposed to calculate the viscosity of a compound. The reaction kinetics have been implemented in user kinetics fortran subroutines of the rplug model. More precisely how to configure aspen plus for intel fortran compiler with microsoft visual studio as linker.
The codes that i needed to recompile in intel fortran,which is compatible with aspen was previously compiled using silver frost fortran 95. From aspen plus, you can access this file by selecting view history. This command will open the history file with a text editor and it can be saved using the text editor. Article aspen plus modelling of airsteam gasification of biomass wi. A subroutine subprogram must have a subroutine statement as the first statement. I also noticed that i have to keep the aspen plus file and the fortran object file in the same working directory. Aspen plus user guide the threevolume aspen plus user guide provides stepbystep procedures for developing and using an aspen plus process simulation model. The above issues may apply if you are using intel fortran version 10 or later, but the read and write statements will work in this case. Stresses, thermal analysis, elasticity, linear system solvers, eigenproblems, etc. Fortran subroutines to customize aspen plus, especially kinetics subroutine. Use the reactions form to define the reaction stoichiometry and kinetics parameters for these models. An aspen plus user model consists of one or more fortran subroutines. The guide is taskoriented to help you accomplish the engineering work you need to do, using the powerful capabilities of aspen plus. It was just few days ago i learnt this can never work on aspen plus,hence the need to install the compatible software.
H all, i want to write a fortran subroutine to insert a reaction kinetic to aspen plus, because the kinetic i have is not in the form as in aspen plus kinetics. Reactions models or through a userdefined fortran subroutine. How to use fortran subroutines in aspen plus for coal gasification. The fixed bed model is constructed using aspen plus, process modeling software, coupled with a fortran user kinetic subroutine. This manual is intended as a guide to using aspen plus process modeling software. A subroutine can have any other statements, except a block data, function, program, or another subroutine statement sub is the name of a subroutine and is a global name, and must not be the same as any other global name such as a common block name or a. This guide is designed for advanced users of aspen plus who have. Flowsheet analysis jordan university of science and.
As with any other complex software application it is a good practice to save your work frequently. The summary file toolkit is a set of fortran subroutines that you can use to build a program to extract results from an aspen plus summary file. Thank you very much for your answer, yes i meant external subroutine. This guide assumes that you have installed aspen plus, fortran development software, visual basic development software, and microsoft excel on. This documentation contains aspentech proprietary and confidential information and may not be disclosed, used, or copied without the prior consent of aspentech or as set forth in the applicable license agreement. The emphasis in this course is to learn how to program rather than to learn fortran. This fortran study guide is a hands on introduction to programming using fortran. To account for the reverse rate, you must enter it as a separate reaction. Mielke at colorado state fortran 77 source plus ms dos 16bit exe files. Home forums intel software development products intel fortran compiler. The tutorial is done to know the general method, the method of linking subroutines written in fortran with aspen plus. This manual is especially useful to aspen plus site administrators and system managers.
The function rads converts the value of the argument, degrees, to radians notice that we must declare the data type of the function both in the main program, and in the function itself as if it were a variable functions return one value. Aspen plus user subroutine using intel visual fortran aspen plus user subroutine using intel visual fortran. Of course, you need to have a fortran compiler on your computer. An aspen plus fortran user model consists of one or more subroutines that you write yourself to extend the capabilities of aspen plus. My experience is that most people who need to write computer programs know several languages, and often these are self taught.
The fortran subroutines are refkin, drate, and kformc. The tutorials in this guide illustrate key features of this capability by building a simulation based on an external membrane model and performing the model calculations using either an excel file or a fortran subroutine. The largest challenge so far has been attempting to get the system correctly modeled in aspen plus v. This document is intended as a guide to using aspentechs software. The remaining excel sheet, sheet1, contains the unit operation model equations.
You need to decide and start learning that specific software and keep trying to. The example seems to call a user subroutine known as usura. Microsoft visual studio 2003, 2005, 2008, 2010, or 2012. Mielkesoftware a repository of free statistical software provided by paul w.
Even though i can set the working directory in aspen on the hard drive, if i open an. Once an opening parentheses is entered, the index is searched for likely function and subroutine definitions, and the defining statement is. A detailed methodology or steps would be highly appreciated. I am using aspen plus v10, intel fortran compiler 18 and visual studio 2017. Nat was right that aspen doesnt care as long as your compiler can produce a dll from the fortran 90 code which most do. To input a code in aspen plus, you need to leave 6 spaces, before you the first character the first space is left for. However, i found that the aspen files that need to be included in most user models are written in fixed format the formatting style used back with fortran 77.
Current updraft gasification models created in aspen plus have limited predictive capabilities and must be tuned to reflect a generalized gas composition as specified in literature or by the gasifier manufacturer. Or i need to have a main program which contains these subroutines. Can fortran 90 be used with aspen plus, or only fortran 77. The aspen plus formalism allows for specification of irreversible reactions only. In general, the syntax for fortran is similar to other programming languages. I need to calculate fluxm and fluxs in user kinetics subroutine. In the ryield reactor, a compiled fortran subroutine.
Fortran kinetic subroutine in aspen plus fortran engtips. Aspen plus will also save a history file if you save the. Go to start menu programsaspen tech aspen eng suit aspen plus 2006. Overview of the book learn aspen plus in 24 hours 3.
Aspen plus additional software requirements requirements. Updraft fixed bed gasification aspen plus model software. This value, when calculated, is assigned to the name of the function as if it were a variable. The symbolic debugger will only work if aspen plus and the user fortran code are compiled with the same version of the compiler. But aspen is which compiles and does linking functions. Fortran is a programming language widely used for scientific calculations.
Aspen plus user models parameter computer programming. While editing fortran source code, simply fortran can display function and subroutine definitions while typing calls. Stack overflow for teams is a private, secure spot for you and your coworkers to find and share information. Instead of going to aspen user interface, you go to aspen simulation engine and use the doslike command aspcomp ramtbe. I have many fortran codes in the form of subroutines. Experienced aspen plus users with a knowledge of fortran programming find user models a very powerful tool for customizing process models. Subroutines refkin and kformc are interface routines necessary to interface the aspen plus rplug model with drate, the fortran kinetics subroutine developed by mok 19824. Fortran user models this section describes how to write and compile fortran user models, and how to specify the location of the fortran user models to use during aspen plus runs. How to compile fortran code many subroutines in ms. Kinetic subroutine aspen plus posted in chemical process simulation. This guide assumes that you have installed aspen plus, fortran development software, visual basic development software, and microsoft excel on your computer.
200 984 655 445 1173 331 1107 511 1382 884 852 485 884 358 444 672 117 1420 159 1026 979 1024 1458 1506 499 335 1282 380 740 1194 158 370 1003 389 1401