Cogeneration and hydroelectric plant 