For generator interconnection, a transfer switch or interlock at the panel prevents backfeeding the grid
https://www.livebinders.com/b/3728141?tabid=457d8f8c-2f2c-de77-21c2-98724988464f
For generator affiliation, a transfer switch or interlock at the panel prevents backfeeding the grid, protecting energy employees and equipment securely.