Integrated Plan for the Modernization of Hydroelectric Plants