Solution 2:
The solar array connects to the AC grid through the PV inverter, the VFD also connects to the grid.
Advantage: It can export the unnecessary electricity generated by solar to the grid.
Disadvantage: If the AC grid outage, the PV inverter will not work, and even if the light is normal, the VFD and the water pump will not be able to obtain electricity.