Electronics

Electronics

Topics related to HFSS, Maxwell, SIwave, Icepak, Electronics Enterprise and more.

Ansys-MATLAB Co-Simulation

    • gaurav.praja99
      Subscriber

      Dear Team,

      I am currently working on simulating a high-fidelity motor drive system. To achieve this, I am modeling and developing the power electronics and control algorithms in MATLAB. Simultaneously, I aiming to linking a high-fidelity motor model in Ansys to the simulation.
      Specifically, I aim to feed the motor windings in Ansys with the voltage generated by the converter in MATLAB, enabling real-time interaction between the two environments. My goal is to log and analyze key motor parameters such as temperature, torque, speed, and losses (copper and iron).
      Could you please assist me with setting up this simulation? It would be immensely helpful if you could provide any video tutorials, documentation, or guidance on configuring this simulation workflow.

      Thank you in advance for your support.

      Best regards,
      Gaurav

    • MirandaH
      Ansys Employee
      Hi, please search keyword "Matlab" in Maxwell Manual for more details.
    • gaurav.praja99
      Subscriber

      HI, @Mirandah,

      Thank you for the reply. 
      Yes i follow the instruction which is given in the Maxwell Manual for the MATLAB - Ansys Co simulation. 
      And it working well when i start simulation from the Ansys but when i start it from the MATLAB it throwing the error like: "

      Cannot setup Maxwell temporary directory! ".
      And i need to run simulation from the MATLAB so i can log the live data from the Ansys to the MATLAB simulink scope.
      Could you please assist me with this problem?
       

    • MirandaH
      Ansys Employee

      Hi, are all the directioreis local? Do both tools have access to the directory?

    • gaurav.praja99
      Subscriber

      Hi,
      In MATLAB set path i set :

      And in Ansys i set:


      This what you are asking?

      Thanks and regards,
      Gaurav

Viewing 4 reply threads
  • You must be logged in to reply to this topic.