how to change phase angle of 3 phase source during simulation

2 views (last 30 days)
Hi every one,
i have a problem with my simulation.
i am going to simulate a 3-phase grid and i want to change the Phase of Three phase source during simulation but i cant chnage the phase during simulation.
is there any way to add an input to block to chnage the phase during simulation???
Or any other ways???

Accepted Answer

Ameer Hamza
Ameer Hamza on 11 Apr 2020
You can use the MATLAB function block. See the attached file (saved in R2020a) for an example. Note that dynamically changing the parameter will drastically slow down the simulation. Try to set the sample-time of the MATLAB function blocks, as large as possible, to avoid the slow speed.
  11 Comments

Sign in to comment.

More Answers (1)

Muhammad Saad
Muhammad Saad on 5 Mar 2022
Hi... In continuation to this, I would like to know how I can get and change the parameter value at a certain time, say if the simulation runs for 5 seconds, I want to change the parameter for some milliseconds and bring it back to initial value.

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!