Power (active, reactive) send to grid depends on iL magnitude and its phase wrt grid voltage.
For a closed-loop current control of a VSI (as of now let's consider a single-phase VSI) in a stand-alone microgrid, how is the value of IL-ref decided? Is it based on the nominal apparent power rating of the microgrid or any other method?
Attached a Picture for your reference: