I have a gas generator, in case we need it. Those with solar panels were surprised to hear the panels won’t work if they’re connected to the grid.
Don’t connect them to the grid and keep a battery stack.
CC