Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 24 de Oct. de 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.

Más respuestas (0)

Categorías

Más información sobre General Applications en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by