Doubt in resolve error
7 views (last 30 days)
Show older comments
Hi... In simulink i have the next error:
At time 6.08114609259574e-019, 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.
Why i resolve this?
0 Comments
Accepted Answer
Fangjun Jiang
on 27 May 2011
You follow the advice by the error message, right? For 1), click menu Simulation>Configuration Parameters ..., select "Solver" in the left column, go to the panel "Zero-Crossing options", select "Adaptive" from the "Algorithm" dropdown menu.
For 2), you must have some blocks that enable the zero-crossing checking. Follow the links in the table, disable the zero-crossing.
BTW, this info can be found in the documentation: Simulink>User's guide>Introduction to Simulink>How Simulink works>Simulating Dynamic Systems>Zero-Crossing Detection
2 Comments
More Answers (0)
See Also
Categories
Find more on General Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!