A revised model for predicting corrosion of materials induced by alternating voltages