Aspen Plus & Matlab (command to deactivate/activate a transfer block?)
Mostrar comentarios más antiguos
Hi everyone, I have a model in Aspen Plus that I launch with Matlab to vary some parameters. I want to deactivate a block and then re-activate it (because it helps to reach the convergence). How can I do that?(which is the code) Do you know where I can find a list of useful commands for Matlab-Aspen? Thank you very much.
2 comentarios
WILLIAN
el 30 de Ag. de 2024
Hello, did you find the information anywhere?
Angelica Liponi
el 12 de Sept. de 2024
Editada: Angelica Liponi
el 12 de Sept. de 2024
Respuestas (1)
Anagha Mittal
el 12 de Sept. de 2024
0 votos
Hi Angelica,
You may use the COM interface to interact with Aspen Plus using MATLAB. The block properties can be accessed using this interface. To create a COM server, "actxserver" functiona can be used. For more details, please refer to the following link:
The functions to activate and deactivate a block can be found in the example mentioned in the "Functions" section of the following File Exchange link:
Hope this helps!
1 comentario
Angelica Liponi
el 12 de Sept. de 2024
Categorías
Más información sobre Installing Products en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!