Matlab Simulink - Ansys Simplorer (Twin Builder) - Maxwell co-simulation
Vložit
- čas přidán 7. 09. 2024
- This video is a step by step guide to setup a co-simulation between Ansys Maxwell, Simplorer (now known as Twin Builder) and Matlab Simulink. With this tutorial you can do electromagnetic simulation in Maxwell with a control algorithm, however complex it might be, from Simulink.
Extremely good tutorial. I'll recommend this to everyone. It will very useful for anyone wanting to do co-simulation.
Thank you dada for this insightful video....was waiting for the next one especially after the drawings in latex video..
Very Helpful sir..!
THANK YOU VERY MUCH!!!💯
Excellent and informative presentation 🙏
Thank you so much for the tutorial. Very helpful.
Thanks it was very helpful. 👏👏
thank you very very much. Vry helpful
really on this topic i found first video ......thanku @saptarshi dey
Thank you so much sir, I was struggling from past 1 week and this video helps me a lot and I should say that it is very clearly understandable. You got a new subscriber😁
very helpful sir. Thank you
Thanks a lot!!!
Very informative ..thnks a lot
Sir I tried this process with my SRM motor but I m getting errror like "error reported by S - function 'AnsoftSFunction' in controller/S-Function1 " ...what could be the reason pleaee help me
Please check the simulink project.
Hi Saptarshi,
Greet work. Thanks for the video.
can you please make another tutorial on how to link Ansys maxwell with MatLab for Motor simulations.
Very helpful sir👍🏻. Wish you explain how to build buck converter in the Ansys. Thank you 🙏🏻
Thank you a lot for the great tutorial!
I run into problems though at the SiM2SiM part where I get error ".aedt is locked and cannot be opened". I saw you also had the buck.aedt.lock file active when loading the Simplorer circuit into Simulink but didn't get any error.
I tested closing my Simplorer buck circuit file but then nothing happens instead when I try to load it in SiM2SiM. Also, when I reopen it, I no longer find my Transformer Maxwell project in the Project Manager of the Buck Simplorer file but the component is still loaded and connected in the circuit. Not sure if that is a problem or not?
Do you know what could be the issue regarding SiM2SiM and how it could be solved? I use Matlab R2020a and Ansys Electronics Desktop 2021R2.
Best regards
Regarding the lock file, you can try this: save and close the simplorer file, see if the lock file is still there, if yes, delete it manually. And you can try linking the simplorer maxwell once again, the link seems to be lost.
@@saptdy thank you a lot! I will try it out
Thank you for the informative video. I would like to know if there is a way to do the same co-simulation but with a simulink building block instead of an S function.
I couldnt find the information anywhere
thanx for the video sir...sir how to connect fluent with MATLAB for real time co-simulation? plz help me..
Hello, Good work. Will this also work for Electrostatic simulation? Also, any idea how I can integrate MATLAB script & Ansys MAxwell 3D without Twin Builder? Thanks!!
Great video mate
Do you happen to know about this error
[Sim2000]Error 10532- Error encounter while PREPARE.>>CLOSE
It pops up just as analyse the simulink circuit. Can't get my head around this
Not sure. I cannot recall if I ever encountered this.
@@saptdy ok did some digging. Made sure mex -setup was running and saved the Simulink as .mdl rather than .slx. Now works like a charm
thanx
Can u make more tutorials on co-simulation with simplorer
how can i add output of maxwell is Force ?? not I or U
Hello, thank you for the vidéo, i want to co-simulate a pmsm like this if you can help me please.
Hello sir, do you knowledge about how to do optimization in Ansys after calling in MATLAB?
Not possible. For optimisation, u hv to use maxwell optimistic. This tutorials is for control purpose only.
Thank you for this valuable tutorial. I tried this for Axial PMSM . But show error in S-function. I check all in and out pin link, try with simple simple simulation file but same think appear. Pls help me to identify where was the problem.
If you are using ANSYS 2020R2, it's a known error. Try using other version.
@@saptdy No i am using 2022R1
Error reported by S-function 'AnsoftSFunction in controller/S-function. Error initializing Simplorer
@@moyukhmandal2094 let's check message manager in Simplorer
Can we add more than 1 simulink blocks in one single system of the simplorer
There is provision to add, I have never tried.
@@saptdy I tried to add but the software isn’t letting me add it. It’s saying that one simulink block is allowed per simplorer file. If you know how to add can please help me.
If the software says so, I think it can not be done. Are you sure that 2 simulink files are absolutely necessary in your simulation?
@@saptdy yes actually I was trying to take out more pins as said in your video from the s-function block from the simplorer to design the rest of the control logic and inverter part in Matlab but the pins are not connecting in Matlab that’s why I was trying to use 2 Matlab blocks but that’s also not happening
Do it afresh. delete the simulink and s-function blocks. better make a fresh simulink file, give a different name, and copy-paste your control blocks there, except s-function block. Now start the linking process from beginning.
How can I get ansys simplorer
You can download trial or student version from ansys website or contact your university administration.
@@saptdy are you using the student version ansys or is it twin builder? Also thanks a lot for this content.
I am using the software provided by my university.
Could you help how can matlab and maxwell co simulation as mentioned in this video czcams.com/video/FfVTR2hKN2k/video.html
Thanks in advance
The tutorial is very clear and it is the first video on this subject that I have found! I tried to make a simple co-simulation between TB and Simulink following the steps of this video (I am not using Maxwell in this first test) , but I am having the same problem as the reported here: forum.ansys.com/discussion/32333/i-am-trying-to-interface-ansys-simplorer-with-simulink-but-facing-some-issues. I added a Simulink component in TB with one pin to Simulink and another one from simulink, but when I try to load the TB file in the Simplorer Link Assignment Dialogue (that appears in Simulink after naming s-function as AnsoftSFunction), it just cannot read and shows "no model". I am also using Matlab 2018a and Ansys ED 2020 R2. Is someone having the same problem?
Yes, the same problem I faced with 2020R2, tried many ways but couldn't diagnose. I still don't know why that problem appears. Although in earlier and later versions no such error comes up.
@@saptdy Thank you very much for your immediate answer! I am trying everything since yesterday, but it just does not work! I will try to update Ansys ED with my University.
Yes same issue mine
I am using 2018a and Ansys 2020.