simulink仿真出現consecutive zero crossings的問題


有時simulink仿真運行到一半會報錯;

At time 0.03390082442188625, simulation hits (1000)consecutive zero crossings. Consecutive zero crossings will slow down the simulation. A report is shown below. You may increase the number of consecutive zero crossings allowed in the solver diagnostic controls to continue the simulation and ignore this message or disable the zero crossing detection of some of the blocks to accelerate the simulation.

這時在simulation->configuration parameters->solver里面,右下角有個Algorithe,
默認為“Nonadaptive”,你改為"adaptive"就行了
————————————————
【轉載】
原文鏈接:https://blog.csdn.net/lemonade_117/java/article/details/86409104


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM