Hydro reservoir management for an electricity market with long-term contracts