windpowerlib.wind_turbine.WindTurbineGroup¶
- class windpowerlib.wind_turbine.WindTurbineGroup(wind_turbine: WindTurbine, number_of_turbines: float)[source]¶
A simple data container to define more than one turbine of the same type. Use the
to_group()method to easily create a WindTurbineGroup from aWindTurbineobject.- Parameters:
'wind_turbine' (WindTurbine) – A WindTurbine object with all necessary attributes.
'number_of_turbines' (float) – The number of turbines. The number is not restricted to integer values.
Create new instance of WindTurbineGroup(wind_turbine, number_of_turbines)
- __init__()¶
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
number_of_turbinesNumber of turbines of type WindTurbine
wind_turbineA
WindTurbineobject.