basically you have two possible set up.
1)- connect your inverter output to your boat electrical system with a selector switch, pretty much as if you had an extra generator. Inverter gets DC from batteries, makes that into 120V AC and you feed that to your panel with a selector switch. simple. downside is that you need to manually switch over (not really an issue) and that you need to add a selector switch to a usually crowded panel. heavy duty rotary switches aren't cheap, especially 3 positions (shore, gen, inverter). And you need to manually turn off the cricuits you dont' want to be inverter powered like water heater, battery charger, etc...
an alternative to a 3 pos rotary is to use two dual pole breakers with a safety slide so that only one breaker can be on at the same time. but again, you need to add that somewhere
2)- passthru/automatic transfer switch. Most large inverter/charges have that feature now. what you do is
- split your panel into two sub panel: inverter powered circuits (lights, fridge, etc...) and non inverter powered circuits (water heater, battery charger,...)
- disconnet the feed to the #1 sub panel (inverter powered)
- add a 30 amp breaker to the #2 sub panel (non inverter powered)
- send that breaker output to the inverter input
- connect the #1 subpanel to the inverter ouput.
you dont' really use a sub panel, you just group the breakers and slip the bus to isolate them, it's not like you are actually adding physical subpanels.
When shore or genny power is on, power comes from sub panel 2 and goes to the inverter, passes thru the inverter (hence the name) and goes to sub panel 1. the inverter remains off
When shore or genny power is off, the inverter sense loss of power on its input and turns on. the switch over is usually instantaneous (clocks dont' even blink...).
With the built in charger, the power that comes in from sub panel nr 2 is also used to charge the batteries. the problem is that you are limited to a total of 30amps for charging AND pass thru. So let's say your fridge is pulling 8amps, plus a few lights, a TV,etc... you're quickly going to get to 15amps being used to power all these passing thru the inverter, leaving only the remaining 15amps to charge.
With a dual input inverter, like the Magnums, you get your full 30 amps to power your load in pass thru mode PLUS another full 30 for the charger, reducing charging time.
note that in the above description, i dont' mention Air Cons since hatteras usually has the air cons on a different leg/panel