How do I export MATLAB code to Aspen Plus

25 ビュー (過去 30 日間)
NURUL AINA SYAHIRAH
NURUL AINA SYAHIRAH 2024 年 2 月 5 日
回答済み: Kothuri 2024 年 9 月 23 日
I was creating a membrane reactor (MR) model in MATLAB and has successfully run the code. Now I would lile to export the code in MATLAB to Aspen Plus, so that I can model MR in Aspen Plus.
May I know is there any ways to export the code to Aspen Plus and is it possible?
Appreciate if you could help and give me any suggestions. Thank you.
  1 件のコメント
mohammad
mohammad 2024 年 7 月 16 日
Hi,
Please see the link below regarding how to link Aspen plus to Matlab.
I have a task and i need to model membrane reactor (MR) in MATLAB. Could you please guide me how to start and/or what kind of parameters are important to focus on.
Thanks

サインインしてコメントする。

回答 (1 件)

Kothuri
Kothuri 2024 年 9 月 23 日
I understand that you want to export the code for Membrane reactor (MR) model created in MATLAB to Aspen Plus.
There is no direct way of exporting MATLAB code to Aspen Plus. Here are the few methods you can try:
  • You can use Aspen Custom Modeler (ACM) to create a custom unit operation that incorporates your MATLAB code and you may need to rewrite your MATLAB code using the ACM's modelling language.
  • You can use MATLAB's COM interface to automate and control Aspen Plus from MATLAB. This allows you to run simulations in Aspen Plus and use MATLAB for pre- or post-processing of data.
  • You can use Excel as an intermediary to exchange data between MATLAB and Aspen Plus. You can export results from MATLAB to Excel and then import them into Aspen Plus, or vice versa.
  • You can perform co-simulation between MATLAB and Aspen Plus for design optimization by modelling the controller in MATLAB and Membrane Reactor in Aspen Plus.
You can refer the below link for more info

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by