windpowerlib.wind_turbine.get_turbine_types¶
-
windpowerlib.wind_turbine.
get_turbine_types
(print_out=True, filter_=True)[source]¶ Get all wind turbine types provided in the OpenEnergy database (oedb).
By default only turbine types for which a power coefficient curve or power curve is provided are returned. Set filter_=False to see all turbine types for which any data (f.e. hub height, rotor diameter, …) is provided.
Parameters: - print_out (bool) – 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.
- filter (bool) – If True only turbine types for which a power coefficient curve or power curve is provided in the OpenEnergy database (oedb) are returned. Default: True.
Returns: 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
Notes
If the power (coefficient) curve of the desired turbine type (or the turbine type itself) is missing you can contact us via github or windpowerlib@rl-institut.de. You can help us by providing data in the format as shown in the data base.
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