foxes.core.wind_farm.WindFarm¶
- class foxes.core.wind_farm.WindFarm[source]¶
Bases:
object
The wind farm.
- Parameters:
name (str) – The wind farm name
- boundary¶
The wind farm boundary
- Type:
foxes.utils.geom2d.AreaGeometry, optional
Methods
__init__
([name, boundary])add_turbine
(turbine[, verbosity])Add a wind turbine to the list.
Attributes
The number of turbines in the wind farm
The list of names of all turbines
- add_turbine(turbine, verbosity=1)[source]¶
Add a wind turbine to the list.
- Parameters:
turbine (foxes.core.Turbine) – The wind turbine
verbosity (int) – The output verbosity, 0 = silent
- property n_turbines¶
The number of turbines in the wind farm
- Returns:
n_turbines – The total number of turbines
- Return type: