Filter löschen
Filter löschen

simulation is stopped , need to continue the other part of program

1 Ansicht (letzte 30 Tage)
I am getting the following error while simulating my model,
At time 2.286567862186523, simulation hits (1000) consecutive zero crossings. Consecutive zero crossings will slow down the simulation or cause the simulation to hang. To continue the simulation, you may
1) Try using Adaptive zero-crossing detection algorithm
or
2) Disable the zero crossing of the blocks shown in the following table.
I am doing the same simulation in a loop, when the simulation stops for zero crossings it is okay, then I want the simulation run for next iteration, but everything stops, that is my problem. How can I continue the loop?
Thanks in advance

Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 24 Okt. 2011
Well, you need to follow the suggestion and modify your model.
If you have limited numbers of blocks that have this zero-crossing issue, change the setting using adaptive detection or disable zero-crossing detection.
In the Configuration Parameters, Solver panel, there is an option for zero-crossing control, you can enable all or disable all.
You need to save the model after the change.

Weitere Antworten (0)

Kategorien

Mehr zu General Applications finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by