foxes.input.farm_layout.add_grid(farm, xy_base, step_vectors, steps, indices=None, names=None, verbosity=1, **turbine_parameters)[source]

Add a regular grid of turbines.

ParametersΒΆ

farm: foxes.WindFarm

The wind farm

xy_base: numpy.ndarray

The base point, shape: (2,)

step_vectors: numpy.ndarray

The two step vectors in x and y, respectively, shape: (2, 2)

steps: array_like of int

The steps in x, y. Length 2

indices: list of int, optional

The turbine indices

names: list of str, optional

The turbine names

verbosity: int

The verbosity level, 0 = silent

turbine_parameters: dict, optional

Parameters forwarded to foxes.core.Turbine