P Q CONTROL OF GRID CONNECTED INVERTERS