
It is true that shore power makes a difference to the rate anodes dissolve. It's to do with electrolysis, which I can't claim to understand, but I do know that if you are attached to shore power a galvanic isolator is recommended. Sorry to disagree with Roxy, but our anodes have never lasted more than a season, which I am told is because of the steel pilings in the marina, which make the water there act as a sort of battery. There should be anodes in the engine and on the prop. It is probably worth having another that you hang over the side of the boat when moored.
A book called Essential Boat Electrics by Pat Manley (Fernhurst, £19.99) has a useful chapter on anodes. As it costs less than an anode (and a lot less than a prop!)it might be a worthwhile investment!