The invention discloses a
power grid voltage control method and
system based on
fixed time distributed optimization. The method comprises the following steps: firstly, acquiring power distribution
network data containing distributed photovoltaic; secondly, establishing a
linearization power flow model based on the node
admittance matrix, and determining a linear mapping relation between photovoltaic node
voltage and reactive
power injection; then, a convex quadratic
programming optimization model with the minimum sum of node
voltage deviations as a target is constructed, and
inverter reactive capacity and node voltage
safety constraints are included; then defining a local
state variable at each photovoltaic node, and constructing a
fixed time distributed control law containing gradient coordination, reactive power descending direction updating and constraint projection; and finally, performing integral operation on the control law through short-range communication interaction information of neighbor nodes, and updating reactive instructions of the
inverter in real time. The method has the advantages of
fixed time convergence and low cost,
voltage fluctuation can be effectively suppressed, the method is suitable for power distribution network voltage coordination control under the whole county photovoltaic background, and the
system operation stability is improved.