One issue you need to solve is your N-G bond. (Neutral-Ground Bond). This unit doesn’t help.
When on inverter your inverter needs to supply the N-G.
When on generator, the generator needs to supply the N-G bond.
When on Grid, the grid will supply the bond.
You CANNOT have more than one N-G...