Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 24 Ott 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.

Più risposte (0)

Categorie

Scopri di più su General Applications in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by