diff --git a/py_wake/wind_farm_models/wind_farm_model.py b/py_wake/wind_farm_models/wind_farm_model.py index b499d983809029f5a97f188a3a675b1df44b2a9d..41a9ada8eefbd51e39f43941b1b92ccca3459dbd 100644 --- a/py_wake/wind_farm_models/wind_farm_model.py +++ b/py_wake/wind_farm_models/wind_farm_model.py @@ -44,6 +44,8 @@ class WindFarmModel(ABC): ------- SimulationResult """ + if time is False and np.ndim(wd): + wd = np.sort(wd) assert len(x) == len(y) self.verbose = verbose h, _ = self.windTurbines.get_defaults(len(x), type, h)