- Under the Modeling tab, open “Model Settings’ (Ctrl +E). This will open the “Configuration Parameters” window.
- Select ‘Solver’ from the list on the left, then change Solver selection Type to ‘Variable-step’
- In the same section, under Solver details, change Zero-crossing options to “Disable All”.
- “powergui” block: https://www.mathworks.com/help/sps/powersys/ref/powergui.html
- Zero-Crossing Detection: https://www.mathworks.com/help/simulink/ug/zero-crossing-detection.html