I'm trying to make a user model for a unit operation on my own. I would be glad if some one tells me how do I link Aspen plus with visual studio and other programming languages.
The most recent versions of Aspen Plus include the ability to create a linked spreadsheet in Microsoft Excel which can be shared with others who do not have access to the Aspen software: they state, "With Aspen Simulation Workbook, you can automate conceptual design and improve plant decision-making by creating user interfaces for your process models in Microsoft® Excel" .
Below is a link to a recent webinar from Aspen Tech on this subject. (You may need to create a user account with Aspen to view this - there is no cost associated with such accounts). I hope this is helpful!
Fontalvo, J., “Using user models in Matlab® within the Aspen Plus® interface with an Excel® link,” Ingenieria e Investigacion, vol. 34, 2014, pp. 39–43.
You don't need to link via excel. You can add to .net project as an COM reference. I don't remember exact reference name but it shoul be similar to aspenhelper or something.
There is a new complement to link Aspen Plus with Excel. You can also, however, link Aspen Plus with Microsoft Excel manually using a set of macros. You just need to know ho you will import and export data to Aspen plus. Attached you fill find an Excel file linked to a simulation I performed modeling the combustion of biomass. In the Excel file you can change the red cells (in the "Combustion" and "Constants" sheets) as their values will be exported to Aspen Plus. In this file you can also check the macro. What the macro does is to export the data to Aspen Plus, run the simulation, and finally import just the desired data (electricity generated, air emissions, potential heat, and water requirements). After downloading the file please, unzip it, move the "Simulation" folder to your desktop or wherever you want, and do not change the names or the locations of the files within the "Simulation" folder so that the macro can work properly. I recommend you to open the "biomass combustion.bkp" file (located in the "Biomass Combustion" folder) before running the macro in Excel; otherwise it will take too long for the simulation to start. Notice that these files are just a merely academic exercise to show how you could link Aspen Plus to Microsoft Excel, so there are no restrictions in the values you can include in the red cells. Maybe we could work together to improve these files for academic purposes. In the biomass features spreadsheet you will find some data regarding different types of biomass.
I hope the simulation and the Excel file work properly. Let me know your comments.
Dears... Currently, I'm working on the valorization of biomass, specifically in the valorization of hemicelluloses to production of furfural. The kinetic model was implemented in Aspen plus, however, this did not work, therefore, I donde in MatLab, then, I'm trying to link the results of matlab (previously send to excel) to Aspen, nevertheless until now, I don't know how to do
I went through all your comments and I clearly understand why you would like to couple excel, Matlab or python (my personal preference) to use special modules or solvers. I have tried it before and it's time consuming. I also think more work needs to be placed in improving the Aspen Simulation Workbook in Excel since it still does not work as expected. One suggestion, if you do not want to dedicate time to learn Fortran, which is not a big difference from Matlab or Python, you can create correlations for your solutions obtained in other software and implement them as calculator blocks in Fortran. That is the fastest way. I hope this helps.