Optimising tidal range power plant operation