How can we control solar power in a grid tied inverter if its power exceeds load requirement and we don't want to inject surplus power into grid, because of some legal constraints?
In Spain nowadays this problem is common. The new grid code lets you 2 seconds to stop injecting power in self consumption grid tied inverters.
The solution is to install a wattmeter at grid connection point, when power is supplied to the grid the current reference is reduced: comercial equipments of Ingeteam, Circutor, Schneider, SMA... have this kind of solutions
The installation of a hardware to limit this power injection is mandatory.
Anyway in the case that you want to monitor this in a simple way to act directly in your control, I think frequency monitoring is not a solution. What you can monitor is the current and voltage at point of common coupling.
All PV Inverters for grid-tied applications are mandated to be able to supply both active and reactive power. Now if you have more PV power available than the grid can absorb, simply reduce the active power reference . .. The only disadvantage in this case would be that you will no longer operate your PV field at its MPP...
thank you all of you. Dear Ander as you pointed out some hardware implementation, what could it be?...somrthing like blocking diodes/thyristoirs for high power? if we want to block power flow from PV installation back into the grid