The system descriptions seem to indicate:
- Utility service is 277/480/3-ph
- Generator is 277/480/3-ph
- Transfer switch is 277/480/3-ph
- MDP is 277/480/3-ph
- Transformers on many loads and buildings
- One building has a single phase transformer 120/240 and a 20 KW PV system
The main problem is that the inverter may not detect that the grid has failed and the generator is feeding the system. In this case the inverter will end up backfeeding the generator, compounded by an imbalance. Not good for the generator.
You need a means to turn off the inverter whenever the generator is running and supplying the system. If the inverter does not have any inhibit input (some do), you will need a contactor (rated for the inverter output) on the inverter output. An automatic transfer switch can be used, they are listed for the current and voltage needed. In either case you need a means of determining that the remote generator is running and some sort of connection between the two areas. On possibility is a low power feed of a lower voltage derived from the main utility voltage (before the transfer switch, possibly by a 480/120V control transformer) to a control relay near the inverter transfer switch that can activate the transfer switch to open the inverter feed when the utility is not present. If a wired connection is not practical, a radio link can be used, but should be designed failsafe such that if the radio signal fails, the inverter is disconnected.