windpowerlib.wind_turbine.WindTurbineGroup¶
-
class
windpowerlib.wind_turbine.WindTurbineGroup[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__()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
countReturn number of occurrences of value. indexReturn first index of value. Attributes
number_of_turbinesNumber of turbines of type WindTurbine wind_turbineA WindTurbineobject.