An isolation transformer prevents electrolytic corrosion. The transformer is mounted directly behind the shore power connector on board. It blocks DC currents that might leak through the shore power earth terminal. These currents can cause corrosion to all metal parts under water, like the hull, propeller, shaft, etc. The isolation transformer should have the same power rating as the incoming shore power.