Clear Filters
Clear Filters

How do I fluctuate between two different AC voltage sources during a simulation?

3 views (last 30 days)
I am simulating a Three-Phase Induction motor and want to study the affect of a changing voltage input mid-simulation. I am having trouble finding a switch that is compatible with the continuous voltage source.

Answers (1)

Joel Van Sickel
Joel Van Sickel on 28 May 2024
It would probably be easier to use a single controlled voltage source and directly manipulate the sine wave fed into it from Simulink (turn on filtering at the simulink to ps converter if you do this), however, you can use the ideal switch (multiple required to attatch different loads) https://www.mathworks.com/help/sps/ref/idealsemiconductorswitch.html
or you can use something like the double pole throw switch: https://www.mathworks.com/help/sps/ref/dpstswitch.html?s_tid=doc_ta
Regards,
Joel

Products

Community Treasure Hunt

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

Start Hunting!