For generator affiliation, a transfer switch or interlock at the panel avoids backfeeding the grid
https://www.instapaper.com/read/2051942798
For generator interconnection, a transfer switch or interlock at the panel prevents backfeeding the grid, safeguarding utility workers and devices securely.