Mine is a bit more simplistic. I have a 16A plug by the mains input RCD in the 'electrics cupboard'. Beside it it on three seperate cables are 3 16A plugs marked: 'Bow', 'Stern' and 'Inverter'. Depending on where the ac supply is from, depends on what you have plugged in.
The inverter is supplied from the boat ac distribution system. It has a fused spur to isolate it.
I need to sort this out this out as potentially you can plug the 16A @Inverter' ac socket to the ac input for the boat, which in turn supplies ac input to the battery charger, which charges the batteries, which supplies the inverter, which supplies ac to to the boat, which supplies ac the charger......................................................
On my list of things to do