A grid-connected solar PV
system is an array of photovoltaic modules
connected via an inverter to provide power for
your home, with excess production feeding into
the grid.
At night, when the solar modules are
not producing electricity, the electricity comes
to you from the grid. If you export enough
energy during the day, it will balance or exceed
the amount you draw from the grid at night.