Solar panels will not operate during a grid loss, unless you have a battery back-up system that reroutes your solar production to the batteries instead of back-feeding the grid.