Issue on running PV array/VSC concurrently with Synchronous Machine
2 views (last 30 days)
Show older comments
Augusto Janssen Harger da Silva
on 27 Aug 2020
Commented: Augusto Janssen Harger da Silva
on 8 Sep 2020
Hello,
I am having some trouble in simulating on Simulink this two blocks together:
- PV array / Universal Bridge (VSC average model) - I don't know which is responsible for the errors....
- Synchronous Machine
I am able to run these blocks separately (by commenting one, then running the simulation and later commenting the other and running again) so I know it isn't a problem with parameters and neither a singularity in the synchronous machine, which is one of the errors message that I receive when I try to simulate them together.
Also I know that, probably, it isn't caused by the dynamics of the system because, as you can see in my model, I put a breaker on the PV array, and tried to run with it open, so that it doesn't affect the dynamics of the system/synchronous machine, and even so the simulation goes wrong.
Does anybody knows what may be happening? Did this occur with you too? How can I solve it?
Please, try to run the cases I just said and see for yourself.*
The error happens at t = 0.0566 when both PV and SM are connected and non-commented.
*First, run "init_var.m" for setting the system parameters and variables.
0 Comments
Answers (1)
Joel Van Sickel
on 1 Sep 2020
Hello Augusto,
For your inverter controller, try adding a Zero Order hold block and set it to your TS_Control. I have attatched my modifications. To help keep things clean with closed loop controllers, if you use a zero order hold on all inputs, and then put a unit delay on the output, you should steer clear of a lot of algebraic loops and potential solver issues. Your controller had the unit delay on the output which is good, but I think synchronizing at the input side helped clean things up for the solver.
Regards,
Joel
3 Comments
Joel Van Sickel
on 2 Sep 2020
Hello Augusto,
phasor simulation requires that everything be locked to a constant line frequency. Because that block is completely controllable, there is no way to guarentee it is operated only at a constant line frequency. Here is a good example of how to tie in different blocks to work with phasor mode:
Regards,
Joel
See Also
Categories
Find more on Switches and Breakers 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!