Im Idealfall, the electricity produced by the photovoltaic system should be consumed directly.
If the photovoltaic system produces a surplus, then the surplus electricity can either be returned to the energy supplier via the grid (grid feed-in) or the surplus energy can be stored in an in-house photovoltaic storage system.