how to change phase angle of 3 phase source during simulation

2 次查看(过去 30 天)
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???

采纳的回答

Ameer Hamza
Ameer Hamza 2020-4-11
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 个评论

请先登录,再进行评论。

更多回答(1 个)

Muhammad Saad
Muhammad Saad 2022-3-5
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.

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by