foxes.input.farm_layout.add_from_arrays(farm, x, y, heights=None, diameters=None, ids=None, names=None, turbine_base_name='T', turbine_base_name_count_shift=False, verbosity=1, **turbine_parameters)[source]

Add turbines to wind farm from direct one dimensional data arrays.

ParametersΒΆ

farm: foxes.WindFarm

The wind farm

x: list or numpy.ndarray

The x-coordinates of the turbines

y: list or numpy.ndarray

The y-coordinates of the turbines

heights: list or numpy.ndarray, optional

The hub heights of the turbines, or None

diameters: list or numpy.ndarray, optional

The rotor diameters of the turbines, or None

ids: list or numpy.ndarray, optional

The ids of the turbines, or None

names: list or numpy.ndarray, optional

The names of the turbines, or None

turbine_base_name: str, optional

The turbine base name, only used if col_name is None

turbine_base_name_count_shift: bool, optional

Start turbine names by 1 instead of 0

verbosity: int

The verbosity level, 0 = silent

turbine_parameters: dict, optional

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