Nowadays, grid companies usually require photovoltaic grid-connected systems to be irreversible, that is, the electricity generated by photovoltaic grid-connected systems is consumed by local loads, and excess electricity is not allowed to supply to the grid.
Details