The invention discloses a photovoltaic grid-connected
system self-
adaptive capacity allocation
electric energy quality treatment method and
system, and the method comprises the steps: detecting whether a
photovoltaic inverter is in a power generation state or not, and switching to an
electric energy quality treatment mode if the
photovoltaic inverter is not in the power generation state; if the
photovoltaic inverter is in a power generation state and the
electric energy quality of the grid-connected point exceeds the grid-connected requirement, and the residual capacity SR of the photovoltaic
inverter is greater than the required compensation capacity SF, enabling the compensation capacity to be minimum while the electric
energy quality is optimal through an optimal compensation model of the grid-connected point; otherwise, performing active reduction on the photovoltaic
inverter, calculating the active reduction quantity, and enabling the compensation capacity to be minimum while the electric
energy quality is optimal through an active reduction grid-connected point optimal compensation model. According to the invention, the photovoltaic multifunctional grid-connected
inverter can be used to realize the electric
energy quality management function, and the compensation capacity can be minimized when the electric energy quality of the grid-connected point is optimal.