Faster simulation using simulink

Please login with a confirmed email address before reporting spam

Hello everyone,

I am simulating the behavior of Litz wire using the LiveLink for MATLAB and observe its current, voltage, and resistance. My simulating model is complex (cannot be reduced/simplified/meshed further). after observing the running time, i found the following code takes 95% of time.

model.sol('sol').runAll;

can you please give me any alternative code to run the model so that I can execute it fast. I only want to record the current, voltage, and resistance.

Any solver sequence I can use for the faster simulation?

Thanks in advance



1 Reply Last Post Apr 11, 2025, 3:38 a.m. EDT
Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 2 days ago Apr 11, 2025, 3:38 a.m. EDT
Updated: 2 days ago Apr 11, 2025, 4:12 a.m. EDT

Your geometry has 2 mirror symmetries, so you can reduce it to a quarter. You can also try linear discretization.

I just realized that your model is axisymmetric and not planar. So only one mirror symmetry remains.

-------------------
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Your geometry has 2 mirror symmetries, so you can reduce it to a quarter. You can also try linear discretization. I just realized that your model is axisymmetric and not planar. So only one mirror symmetry remains.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.