can some one tell me how to do the aspen plus excel matlab link ??
6 views (last 30 days)
Show older comments
I need to use a user model subroutine in Aspen plus linked to Matlab and excel can some one tell me the procedure step by step please....
1 Comment
Guillaume
on 24 May 2016
I doubt many people here are familiar with AspenPlus, so you may be better off asking on their forum.
Answers (1)
Prasanna
on 16 Sep 2024
Hi Hamza,
To interact with a user model subroutine in Aspen Plus and link it with MATLAB and Excel, you can perform the following steps:
- Create the user model in MATLAB and prepare an Excel interface for the same.
- Set up a user block model in Aspen Plus and connect the necessary streams
- In the Aspen Plus block, specify the name of the excel workbook created, and enter the operating parameters.
- Use Excel’s VBA to call the MATLAB script and retrieve the output data.
- Run the simulation in Aspen plus. The data should flow from Aspen Plus to Excel, then to MATLAB, and back in the same order.
For more resources in connecting Aspen Plus, MATLAB and Excel, you can refer to the following links:
- Linking Aspen Plus User Model and MATLAB by Excel: https://www.youtube.com/watch?v=Jj33c0FImYE
- Using user models in MATLAB within the Aspen Plus Interface: https://revistas.unal.edu.co/index.php/ingeinv/article/view/41621
Hope this helps!
0 Comments
See Also
Categories
Find more on Thermal Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!