For generator affiliation, a transfer switch or interlock at the panel prevents backfeeding the grid
https://codyjidn994.westhavenscope.com/posts/understanding-your-home-s-electrical-panel-parts-and-functions
For generator affiliation, a transfer switch or interlock at the panel avoids backfeeding the grid, protecting energy workers and equipment securely.