My simulation works sometimes without and sometimes with the message:
Simulink will stop the simulation of model 'MODEL_NAME' because the 1 zero crossing signal(s) identified below caused 1000 consecutive zero crossing events in time interval between Time_INSTANT1 and Time_INSTANT2.
Depending on the initial condition I set or the instant circuit breaker is turned on/off, initial phase angle of the source and many other parameters.
My question is: What are the recommended actions we should take during the design of the circuit to avoid this error. It can turn out to be quite annoying since you are forced to try out many different initial settings that would make the circuit work. Thanks!