windpowerlib.wind_turbine.get_turbine_types

windpowerlib.wind_turbine.get_turbine_types(print_out=True)[source]

Get the names of all possible wind turbine types for which the power coefficient curve or power curve is provided in the OpenEnergy Data Base (oedb).

Parameters:print_out (boolean) – Directly prints a tabular containing the turbine types in column ‘turbine_type’, the manufacturer in column ‘manufacturer’ and information about whether a power (coefficient) curve exists (True) or not (False) in columns ‘has_power_curve’ and ‘has_cp_curve’. Default: True.
Returns:curves_df – Contains turbine types in column ‘turbine_type’, the manufacturer in column ‘manufacturer’ and information about whether a power (coefficient) curve exists (True) or not (False) in columns ‘has_power_curve’ and ‘has_cp_curve’.
Return type:pd.DataFrame

Examples

>>> from windpowerlib import wind_turbine
>>> df = wind_turbine.get_turbine_types(print_out=False)
>>> print(df[df["turbine_type"].str.contains("E-126")].iloc[0])
manufacturer          Enercon
turbine_type       E-126/4200
has_power_curve          True
has_cp_curve             True
Name: 5, dtype: object
>>> print(df[df["manufacturer"].str.contains("Enercon")].iloc[0])
manufacturer          Enercon
turbine_type       E-101/3050
has_power_curve          True
has_cp_curve             True
Name: 1, dtype: object