The AVC system hierarchically manages distributed solar inverters, addressing communication challenges through local, regional, and central layers. The proposed project will demonstrate the ability of a PV inverter, at near-zero marginal cost, to virtually eliminate voltage variation on a distribution feeder due to variation in the real power output of a PV plant, while mitigating the effects of load-induced voltage variations elsewhere on the. Considering the different control period of AGC and AVC, this paper proposes a coordinated control method of AGC and AVC with a connection on the timescale of minute level and second level. On the minute level, an optimal power ow model of active power and reactive power associated together is. This approach leverages the reactive power capability of solar inverters, combined with an Automatic Voltage Control (AVC) system, to achieve real-time voltage regulation at both the point of common coupling (PCC) and the solar inverter terminals. (2) Change the transformer ratio and adjust the voltage. (3) Voltage regulation of compensation equipment. In the context of solar power. To fully utilize the reactive power resources of distributed photovoltaic (PV) systems, this study proposes a coordinated var-voltage control strategy for the main distribution network, incorporating the reactive power regulation capability of distributed PV.