A stochastic dynamic programming model for hydropower scheduling with state-dependent maximum discharge constraints. (July 2022)