An integral method for realizing parallel generation and network reactive power compensation at the same time is based on the transient reactive power theory applying park transfer to transform a three phase inverter output current to a rotation dq coordinate to realize separation of active current and reactive current to convert the DC current of the photovoltaic to AC current by controlling the currents and directions carry out reactive power compensation to the local network. When a photovoltaic battery has enough energy to output, it realizes parallel generation and reactive compensation at the same time, when it stops the output, the inverter compensates the network independently. |