Good morning all, I am developing with Simulink the model of a microgrid including a grid-forming converter, that is intended to operate both grid-connected and offgrid. When I run the simulation in grid-connected mode, the converter delivers an amount of power that exceeds its rating.
I am trying to develop a block to limit the deliver power so as not to exceed the rated power. I am using dq0 coordinates, hence I would need to simultaneously control Vd and Vq voltages together with Id, Iq currents.
I would appreciate that you could advice how to proceed or suggest a paper/text that could help me. Thanks in advance!