Maximum power from a turbine farm in shallow water