The invention discloses a micro-grid
electric energy quality
global optimization method, which comprises the steps of collecting real-
time data, dividing the real-
time data into a plurality of segments according to frequency, and calculating
harmonic compensation capacity of each
frequency band according to the real-
time data; according to the
harmonic compensation capacity obtained through calculation, priority distribution is carried out on the compensation sequence of the polluted nodes in the micro-grid; the
virtual impedance and the injection damping resistance of the
inverter are adjusted, and the
harmonic current and the
resonance phenomenon in the micro-grid are suppressed in different frequency bands; and according to the adjusted
virtual impedance and damping resistance, updating a node
admittance matrix, monitoring the compensation capacity of the
inverter in real time, comparing real-time
monitoring data with a threshold value, if the real-time
monitoring data exceed the threshold value, correcting the
inverter, otherwise, not changing. Through frequency-band-divided control, pertinence and effect of harmonic suppression are improved, frequency-band-divided suppression of micro-grid harmonic and high-frequency
resonance is realized, residual capacity of an inverter and harmonic compensation requirements are dynamically matched, and safe and stable operation of a
system is ensured.