MATLAB: Consecutive Zero Crossings stop

simpowersystemsSimscape Electricalsimulinkzerocrossing error

I'm implementing a Zero-Voltage Switching Buck Converter in SimPowerSystems. It gives me the consecutive zero crossing error. I've disabled that in the Configuration Parameters, but it still stops processing at the same early point. The system is designed to have zero crossings, so I can't just get rid of them.
Is there some way to stop SimPowerSystems from stopping when it hits 1000 zero crossings?

Best Answer

You can increase the Number of consecutive zero crossings setting in the Solver pane of the Configuration Parameters window.
Related Question