Pretty sure that trailers should not have ground and neutral connected. Should only get their neutral-ground bond at the service panel (where it's being plugged into).
Mark B.
Albuquerque, NM
You want the ground point to be as close to the power source as possible. Being plugged into a service panel that does have neutral and ground bonded, then that would be the the path for fault current. While google isn't the final word, a quick search confirms this with lots of hits. A separate discussion is when a different power source than shore is used (inverter or genset). In those cases it will depend on the construction of the source - grounded vs isolated frame.If there is a leak to ground (trailer frame) that makes the trailer frame live looking for a path to earth.
Here's my final wiring diagram. Is the inverter in the right place?
You want the ground point to be as close to the power source as possible. Being plugged into a service panel that does have neutral and ground bonded, then that would be the the path for fault current. While google isn't the final word, a quick search confirms this with lots of hits. A separate discussion is when a different power source than shore is used (inverter or genset). In those cases it will depend on the construction of the source - grounded vs isolated frame.
Mark B.
Albuquerque, NM
If you want to measure the amps used by the inverter you need to attach the ground to the DDC ground bus on the other side of the shunt. Right now the inverter will bypass the shunt.
In order to measure all the current there should be nothing between the shunt and the negative post of te battery.