Preventive monitoring of electrical installations on ships and in ports