I am simulating a three-phase grid-forming inverter. At t = 1 s, I want the grid frequency to change from 50 Hz to 49.9 Hz. However, directly changing the frequency of the built-in three-phase AC voltage source appears to cause a phase jump, because its voltage is calculated as: v(t) = Vm*sin(w*t + phi) Changing w directly therefore changes w*t instantaneously and produces a large artificial power transient. I want the frequency to step while the phase remains continuous. The phase should be calculated as: theta(t) = theta(0) + integral from 0 to t of w(tau) d(tau) What is the recommended way to implement this in PLECS?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to achieve a variable frequency AC voltage source | 2 | 1765 | November 20, 2020 | |
| Error - Generate 3 X 120 phase shifted PWM | 7 | 2445 | May 3, 2021 | |
| What component can I use to measure the frequency of a three phase virtual synchronous inverter in PLECs? | 1 | 22295 | June 5, 2023 | |
| Variable Phase PWM Signal, where phase updates twice (or an arbitrary amount) a period? | 1 | 152 | July 28, 2025 | |
| How to Generate a New Pulse When Frequency Changes | 8 | 1350 | April 10, 2025 |