can some one tell me how to do the aspen plus excel matlab link ??

6 views (last 30 days)
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....

Answers (1)

Prasanna
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:
Hope this helps!

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!