Optimization of electricity generation of a tidal power plant with reservoir constraints