I'm currently modelling a motor for a vehicle, for which I have a built multibody system, however, when I implemented the electrical system to the physical system, the time to simulate increases to an unreasonable level

2 views (last 30 days)
I've recently been modelling a crane in using Simulink, and as part of that, I am modelling the electronics of the crane's hoist motor. Howevever, when I brought the motor; modelled using a field oriented control induction motor drive, into my multibody model, the time to simulate increased to the point where it takes over ten minuted to simulate a tenth of a second. Without the motor, it takes just a few minutes to simulate a 22 second simulation. I believe this is a consequence of the Powergui timestep, affecting the time steps in which the multibody systems are actuated. For context I use a discrete Powergui, and the ODE23T solvers, respectively.
Any advice on how to reduce time to simulate would be greatly appreciated.

Answers (1)

Vasco Lenzi
Vasco Lenzi on 9 Jul 2020
Hi Harry, a couple of question and suggestion
Basically the best way is to create a kinematic relationship between torque and load of the 1D model applied to frame of a revolute joint:
And here the concept you can reuse with your FOC Induction drive modeled preferably in Simscape Electical Simscape Component. The screenshot are from the documentation of the file exchange entry above.

Categories

Find more on Variable Initialization in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!