A continuous approach for the optimisation of tidal turbine farms