Optimizing hydropower generation with reservoir level management in humid regions