Measuring Grid Variables (Voltage, Current, PQ, Frequency, Phase Angle) of a Bus in an IEEE-9 Bus System in Simulink

22 visualizzazioni (ultimi 30 giorni)
Good day! As the title suggests, I am currently figuring out how to properly measure needed variables in an IEEE-9 Bus System (https://www.mathworks.com/help/sps/ug/ieee-9-bus.html).
I would like to measure the grid voltage, current, active and reactive power, frequency, and phase angle of a specific bus in the network. I would be applying this later on for voltage and frequency support of BESS in a transmission network.
At the moment, I am concerned with two things:
1) Is my measurement setup correct?
2) I tried setting up three-phase PLL with default values (https://www.mathworks.com/help/sps/ref/sinusoidalmeasurementpllthreephase.html) for frequency measurement. However, I keep getting frequency that is around -7000 Hz (it should be around 60 Hz at steady-state). I am unsure how to setup the loop filter proportional and integral gain. Is the PLL block in Simulink sufficient to use for my desired application, or should I construct my own PLL for such purpose?
(I am using fixed-step solver ode1)
I have tried understanding and solving it on my own, but the concepts still overwhelm me. I would appreciate any help to further understand the concepts. If further context or information is needed, I will gladly provide more.
Thank you!

Risposte (0)

Prodotti


Release

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by