foxes.input.farm_layout.add_random(farm, n_turbines, min_dist, centre=[0, 0], seed=None, verbosity=1, **turbine_parameters)[source]

Add turbines that lie randomly within a square

ParametersΒΆ

farm: foxes.WindFarm

The wind farm

n_turbines: int

The number of turbines

min_dist: float

The minimal distance between turbines

centre: array-like

The (x, y) coordinates of the mean

seed: int, optional

The random seed

verbosity: int

The verbosity level, 0 = silent

turbine_parameters: dict, optional

Additional parameters are forwarded to the WindFarm.add_turbine().