Effacer les filtres
Effacer les filtres

Solver resets on every single time step

3 vues (au cours des 30 derniers jours)
Alexander Guth
Alexander Guth le 24 Mai 2019
My Simulink/Simscape Model runs very slow in discrete simulation mode. I used the "Solver profiler" to analyze the behavior and realized that the solver actually resets on every time step. Interestingly, this reset happens in the internal mechanical model of the Asnchronous Machine - precisely in the pu -> N.m Simulink-PS converter:
solver_profiler.PNG
I'm not sure if this matters, but I needed to enable "input filtering" for this block to provide the required derivates, as the simulation does not run otherwise. The solver I use is ode23t, which is automatically selected by Simulink. In my Model, the generator is driven by a rotational signal (green line in Simulink) provided by an ideal torque source. Here is how it is connected to the peripheral electronic elements:
model_generator.PNG
Is there anything I can do to resolve the resets and thus (hopefully) improve performance?

Réponses (0)

Catégories

En savoir plus sur Mechanical Models dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by