ideal switch not allowed in phasor simulation?

9 views (last 30 days)
When I try to run simulation with PowerGUI set to phasor simulation I have this error:
_Warning: The following SimPowerSystem block is not allowed with the Phasor simulation method:
Type : Ideal Switch_
My simulation contains a lot of ideal switches. Any solution?

Answers (1)

Joel Van Sickel
Joel Van Sickel on 11 Dec 2020
Answering as part of a Matlab Answers clenaup effort,
Phasor simulation is specifically for doing large scale studies where a constant frequency is assumed. You would need to simplify your model to have no discrete switches. You should look at this example to see how models are set up to work in phasor mode: https://www.mathworks.com/matlabcentral/fileexchange/51137-one-year-simulation-in-one-minute
Regards,
Joel

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!