Connecting Aspen Plus to MATLAB / Simulink

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 71

  • @ParagPatilChemEngg
    @ParagPatilChemEngg  4 года назад

    Most of the people got confused because the version is different: For the people with newer version of Aspen :
    please follow these steps: sites.google.com/view/aspen-simulink-connect-tut
    Thanks

  • @udaykumardupati9679
    @udaykumardupati9679 4 года назад

    Thank you very very much. Finally, I got to know the process of integrating MATLAB with ASPEN.

  • @chemicalengineeringfriends217
    @chemicalengineeringfriends217 4 года назад

    Great video Parag!

  • @MTauhaA
    @MTauhaA 4 года назад +1

    Starting from V11, aspen is 64-bit. So 32-bit requirement is not valid from V11 onward (verified by following the steps of this video in 64bit MATLAB). thanks for the simple Simulink MATLAB video. Aspen-MATLAB link video will also be beneficial.

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  4 года назад

      Thanks alot for this information! I wasnt aware of it!

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  4 года назад +1

      I checked it : sites.google.com/view/aspen-simulink-connect-tut

    • @MTauhaA
      @MTauhaA 4 года назад

      @@ParagPatilChemEngg can we do simple matlab m-file linking with aspen instead of using the dynamic mode? For example write a custom model in matlab and make aspen to interact with the m file using user model unit of operation or similar.
      There is a paper from fontalvo 2014 in which excel is used as the middle man to achieve this. Matlab can talk with aspen using the activex server but I don't know if aspen can do the same.

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  4 года назад

      @@MTauhaA yes. Surely , we can connect Aspen Plus with excel and then with matlab.
      I'm going to do a video connecting excel with Aspen , a basic one.
      Thanks

    • @haidersultan5637
      @haidersultan5637 4 года назад

      @@ParagPatilChemEngg Thank You. It will be quite helpful if you can make a video on this topic.

  • @sivabalankaniapan6275
    @sivabalankaniapan6275 2 года назад

    Amazing sir.Tq.

  • @서채영-p6d
    @서채영-p6d 3 года назад

    I cannot find AMSimulink anywhere. Should I install something new?

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  2 года назад

      Sorry for late reply. I think you should see if Aspen is installed properly

  • @zhenghu802
    @zhenghu802 4 года назад

    Thank you very much, I want to ask if we can call Aspen EDR with MATLAB?

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  4 года назад

      I think no.
      Infact , when we convert rigorous heat exchangers into dynamic, they become simple

  • @javadjeddizahed1967
    @javadjeddizahed1967 2 года назад

    Tnx for ur contribution. Would you please tell me whether it's possible to link Aspen Plus with Python ? and share any resources if applicable?

  • @bilalkazmi6764
    @bilalkazmi6764 4 года назад

    I have a crack version of aspen plus v10 but it is not opening dynamics mode
    Any particular help in this regard

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  4 года назад

      Hi, I am not aware of cracked version. Please visit your nearest university.
      Or, nearest consultancy using AspenOne

    • @olfayahya1535
      @olfayahya1535 3 года назад

      Hi, I have aspen plus v10 but it is not opening dynamics mode? Did you find a solution for this problem please?

  • @Syszzz999
    @Syszzz999 4 года назад

    Thank you. Can we do sensitivity analysis and optimization in MATLAB after integrating?? If yes, can I know how?

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  4 года назад

      I guess so ! Once integrated, it is like a simple simulink block ! I would suggest you to please read a book called 'Stochastic Process Optimization using Aspen Plus®' by Juan Gabriel Segovia-Hernández and Fernando Israel Gómez-Castro
      They have done what you are thinking of already !
      I'm sorry for late reply !

  • @musaddiquemahfuzahmed39
    @musaddiquemahfuzahmed39 3 года назад +1

    sir, can you make a video on how to connect FORTRAN to aspen plus?

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  3 года назад

      Hi Musaddique. Indeed its helpful but I will not be able to make videos before next few months. I am sorry for this.
      But its on my list!

  • @pietrotullii7608
    @pietrotullii7608 4 года назад

    Hello, very useful video, anyway I should connect Aspen Dynamic used on a remote desktop with Matlab on my PC. I tried to export the aspen model on my PC but it does not work. Any suggestion?

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  4 года назад

      I think it is difficult. if , your PC does not have license. The other PC might have it.
      I think, the working directories should be same (But I am not sure if I can help in this)

  • @akashnv7836
    @akashnv7836 3 года назад

    Haii
    I have a question, when i select the pressure driven or pressure check option while switching to dynamic simulation, Aspen Plus crashes or does not respond..
    What might be the issue. I checked with the process it was correct. But didn't find the solution for the issue..
    Please help..

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  3 года назад

      Sorry for late reply. But it must be due to bad-installation. You must reinstall it. Also, use genuine Aspen license. If you are using cracked, it most likely will fail. Thanks

  • @sebastianp8006
    @sebastianp8006 2 года назад

    Thank you for the tutorial. When I want to connect the Aspen modeler block with my .dynf file I always get "AMSimulation Error: 263 A new document could not be created". Do anyone know how to deal with this issue? I use Aspen Plus V12.1 and Matlab R2022a

    • @afrinainani9021
      @afrinainani9021 2 года назад

      I had the same problem. Have resolved this?

    • @williamsantos1640
      @williamsantos1640 8 месяцев назад

      i'm having the same problem. did you solved?

  • @kevintok8023
    @kevintok8023 4 года назад

    may i ask why the response is also in step? what if I want to know the real response (curved)?

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  4 года назад

      its about time-constant. If time constant is small, then the response will look like step too... it is obvious !

  • @mernaayman7784
    @mernaayman7784 4 года назад

    I have matlab 2017a, is there any way to make it work, or I have to have a 32 bit version? I don't have a source for a 32 bit version. Also thank you so much for this informative video 🙏

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  4 года назад +1

      Hi. Actually, I did try with 64 bit version. And I could not do it.
      Appropriate answers for your questions from my side are as follows:
      1. I think you have to have 32 bit because Aspen Plus Dynamics is itself a 32 bit version. I tried with 64 bit but it did not work
      2. If you are a student , then you may get the older version of MATLAB by registering on mathworks . I found this at the following link:
      in.mathworks.com/matlabcentral/answers/99265-how-do-i-download-an-older-release-of-matlab
      And , you are welcomed. Please stay tuned. As I will make more videos of such kind.

    • @mernaayman7784
      @mernaayman7784 4 года назад

      @@ParagPatilChemEngg an example in which you control a dynamic case by a PID control in simulink would be great 🙏 thank you so much for your reply

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  4 года назад

      Sure. I will do it in due course. Thanks

    • @fraburgo
      @fraburgo 4 года назад +1

      To use a 64 bit version of MATLAB you need to use Aspen V10 or 11. Then it works :)

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  4 года назад

      Thanks..My institute is under process for this !

  • @carlosmarquez3082
    @carlosmarquez3082 4 года назад

    Hello, I have a problem, when I want to import dynamic file to simulink block appears the next: Error evaluating 'OpenFcn' callback of M- S-Function block 'AMSimulink/Aspen Modeler Block'. Callback string is 'SetupGUI=actxserver('AMSimulation.Setup'); NewParam=invoke........ Server Creation Failed: Class not registred

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  4 года назад

      Follow these steps carefully : sites.google.com/view/aspen-simulink-connect-tut

    • @carlosmarquez3082
      @carlosmarquez3082 4 года назад

      @@ParagPatilChemEngg my problem occurs when I double click on AMSimulink block, right after creating the new file and pasting that block

    • @carlosmarquez3082
      @carlosmarquez3082 4 года назад

      @@ParagPatilChemEngg I have aspen 8.4 and matlab 19b

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  4 года назад

      @@carlosmarquez3082 Where is your block file? Can you tell me the path?

    • @carlosmarquez3082
      @carlosmarquez3082 4 года назад

      @@ParagPatilChemEngg my problem is at 5:20 min (your video), I follow all steps, and I open the file from C:\Program Files (x86)\AspenTech\AMSystem V8.4\Bin, I create a new file in simulink and copy the block, after that I double click on it and the error appears

  • @rahuljain245
    @rahuljain245 3 года назад

    can i connect hysys with simulink

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  3 года назад

      Hello , I have not tried it recently (due to my laptop issue ( :) ) . However, I suggest you to please see the discussion : www.researchgate.net/post/How-to-interface-Aspen-HYSYS-v10-and-Matlab-for-creating-for-loop
      Thanks

  • @kokyuhui1790
    @kokyuhui1790 4 года назад

    Hi, may I ask for aspen v10 should I use matlab 64 or 32bit?
    I'm trying to connect aspen v10 with matlab 2018, but I couldn't manage to import dynamic file in simulink (caused by: Server Creation Failed: Class not registered).
    I would very appreciate you if you answer my question !! thank you for the awesome video =)

  • @kaushikchettiar5648
    @kaushikchettiar5648 3 года назад

    Hii can you please help me to connect Aspen EDR with Matlab, I have V12 of EDR.
    I need to connect EDR with optimization code in Matlab, can you please let me know if that would be possible.
    I would be greatly obliged..

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  3 года назад

      It will be great to try to see optimum geometry to minimize energy consumption ( or many other things). But I am not sure if we can connect Aspen EDR and MATLAB. I think you will have to code heat exchanger on your own.
      (I have read such several articles : Optimization of HEX geometry ) , but unfortunately, when Aspen dynamics connects to MATLAB, the heat exchanger becomes shortcut-one !
      I was reading a book ( did not complete) named 'Stochastic Process Optimization using Aspen Plus'. Please see if you get clue there.
      Thanks !

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  3 года назад

      Link of book : www.taylorfrancis.com/books/stochastic-process-optimization-using-aspen-plus%C2%AE-juan-gabriel-segovia-hern%C3%A1ndez-fernando-israel-g%C3%B3mez-castro/10.1201/9781315155739

    • @kaushikchettiar5648
      @kaushikchettiar5648 3 года назад

      @@ParagPatilChemEngg Thank you very much for the help, can you please give me the book as a pdf, actually I am not able to access..

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  3 года назад

      Hi. I do not have th copy of book right now. I search for it but did not get.i misplaced it

  • @jasneetkaurpala3876
    @jasneetkaurpala3876 4 года назад

    Can I link Matlab with Aspen Plus V8.8

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  4 года назад

      Yes. You have to have Matlab with 32 bit version (preferred: 2014b) .

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  4 года назад

      If you have new version please follow these steps : sites.google.com/view/aspen-simulink-connect-tut

  • @bilalkazmi6764
    @bilalkazmi6764 4 года назад

    Add some examples of membrane formation on aspen plus

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  4 года назад

      I am not aware, If membrane formation can be done in Aspen Plus. But I will try finding it.

    • @bilalkazmi6764
      @bilalkazmi6764 4 года назад

      Yes it can model membrane but the procedure is quite abrupt

  • @kenlai9557
    @kenlai9557 4 года назад

    Nice

    • @ParagPatilChemEngg
      @ParagPatilChemEngg  4 года назад

      Thanks Ken. Please let me know If you want to have more of such illustrations related to Aspen Plus

  • @서채영-p6d
    @서채영-p6d 3 года назад

    When I get the flow driven file, I get this error message.
    "Only the CONVEN stream class is supported in dynamic simulations.
    The following flowsheet sections do not use the CONVEN stream class:
    GLOBAL
    FATAL ERROR: Translation halted. "
    What should I do?