Most grid tie solar inverters need a source of power to sync to. Even if you had a transfer switch to isolate your solar the panels won't produce any power. This is starting to change. The latest Enphase microinverters can produce power even if the grid is down.