windpowerlib.wind_turbine.get_turbine_data_from_oedb

windpowerlib.wind_turbine.get_turbine_data_from_oedb(turbine_type, fetch_curve, overwrite=False)[source]

Fetches wind turbine data from the OpenEnergy database (oedb).

If turbine data exists in local repository it is loaded from this file. The file is created when turbine data is loaded from oedb in load_turbine_data_from_oedb(). Use this function with overwrite=True to overwrite your file with newly fetched data.

Parameters:
  • turbine_type (str) – Specifies the turbine type data is fetched for. Use get_turbine_types() to see a table of all wind turbines in oedb containing information about whether power (coefficient) curve data is provided.
  • fetch_curve (str) – Parameter to specify whether a power or power coefficient curve should be retrieved from the provided turbine data. Valid options are ‘power_curve’ and ‘power_coefficient_curve’. Default: None.
  • overwrite (bool) – If True local file is overwritten by newly fetched data from oedb, if False turbine data is fetched from previously saved file.
Returns:

Power curve or power coefficient curve (pandas.DataFrame) and nominal power (float) of one wind turbine type. Power (coefficient) curve DataFrame contains power coefficient curve values (dimensionless) or power curve values in W with the corresponding wind speeds in m/s.

Return type:

tuple(pandas.DataFrame, float)