foxes.input.farm_layout.add_from_file(farm, file_path, *args, verbosity=1, dbook=None, **kwargs)[source]

Add turbines from file.

The method is inferred according to the file suffix.

ParametersΒΆ

farm: foxes.WindFarm

The wind farm

file_path: str

Path to the file

verbosity args: tuple, optional

Parameters forwarded to the method

verbosity: int

The verbosity level, 0 = silent

dbook: foxes.DataBook, optional

The data book, or None for default

kwargs: dict, optional

Parameters forwarded to the method