Solar power can be included to provide 24/7 power for critical loads, including lights. The batteries can be charged from generator and utility power, as well as from solar panels. The solar panels can be sized to carry the critical circuits indefinitely, or just to boost the batteries between charges from generator or city power.
The batteries must be sized for the loads required, and the inverters can be parallel connected for redundancy. The solar/inverter power has its own distribution panel.