The application provides a power distribution box
power quality optimization method and device, and belongs to the technical field of smart grids. The method comprises the following steps: determining three-phase electrical effective value data based on three-phase electrical sampling data at the outlet of a
smart grid terminal power distribution box; determining a
power factor, a load change rate, a
total harmonic distortion rate and a three-
phase imbalance degree based on the three-phase electrical effective value data; determining an
electric power quality disturbance grade type based on the
total harmonic distortion rate, the three-
phase imbalance degree and the
power factor; determining a power distribution box operation scene type based on the load change rate, wherein the operation scene type is a steady-state scene or a transient
mutation scene; determining the governance weight of a plurality of governance components based on the
electric power quality disturbance grade type, determining a hierarchical governance instruction based on the governance weight of the plurality of governance components; and generating a scene-adaptive governance instruction based on the hierarchical governance instruction and the operation scene type. The application can realize hierarchical and accurate governance of power distribution box
power quality disturbances and adapt to the development needs of smart grids.