To connect a generator to a solar inverter, use an Automatic Transfer Switch (ATS) or a manual switch. This setup is. . An inverter is one of the most important pieces of equipment in a solar energy system. Selecting the appropriate equipment. Integrating a transfer switch securely to ensure seamless operation. But what happens when the sun isn't shining? That's where a backup generator comes in.