Maintenance modeling and optimization applied to power distribution networks