Without battery, can be used during the day to provide electricity from solar panels (production, government offices, recreation area), and at night can be powered through the utility grid.
with storage battery and with utility grid, here you can use for night time with storage battery or utility grid, if the solar panels are installed more than the capacity, there is no need to use the utility grid at night
without utility grid, you can charge the batteries with solar panels during the day and use the batteries at night. Suddenly, if there is not enough battery power, you can use the generator, respectively through the generator you can charge the batteries.