What’s New

These are new features and improvements of note in each release

v0.1.2 (June 24, 2019)

New features

Bug fixes

  • fixed issue with pandas Multiindex labels and codes attributes (PR #51)

Other changes

  • made get_turbine_types() also accessible via get_turbine_types() –> from windpowerlib import get_turbine_types
  • added kwargs in init of WindTurbine, WindFarm and WindTurbineCluster
  • we are working with deprecation warnings to draw our user’s attention to important changes (PR #53)

Deprecations

wind_farm and wind_turbine_cluster:

  • Parameter coordinates is deprecated. In the future the parameter can only be set after instantiation of WindFarm object.
  • installed_power is deprecated, use nominal_power instead

wind_turbine:

  • Parameters name, data_source and fetch_curve are deprecated. The parameter name will be renamed to turbine_type. Data source and fetching will be defined by the parameters power_coefficient_curve, power_curve and nominal_power in the future.
  • Parameter coordinates is deprecated. In the future the parameter can only be set after instantiation of WindTurbine object.

power_curves:

  • wake_losses_model is deprecated, will be defined by the type of wind_farm_efficiency

Contributors

  • Sabine Haas
  • Birgit Schachler
  • Uwe Krien

v0.1.1 (January 31, 2019)

Other changes

  • Adapted csv reading to pandas API change
  • Removed logging message for successful database connection
  • Added system exit and error message in case a non-existing power (coefficient) curve of an existing turbine type is tried to be used

Contributors

  • Uwe Krien
  • Sabine Haas

v0.1.0 (January 17, 2019)

ATTENTION: From v0.1.0 on power (coefficient) curves are provided by the OpenEnergy Database (oedb) instead of in csv files (v0.6.0 and lower) due to legal reasons. Use get_turbine_types() to check whether the turbine types you need are included in the database. If your turbine type is not included you can either use your own csv file or open an issue.

New classes

  • WindFarm class for modelling a wind farm. Defines a standard set of wind farm attributes, for example aggregated power curve and wind farm efficiency to take wake losses into account.
  • WindTurbineCluster class for modelling a turbine cluster that contains several wind turbines and/or wind farms. This class is useful for gathering all wind turbines in a weather data grid cell. An aggregated power curve can be calculated which considers the wake losses of the wind farms by a set efficiency if desired.
  • TurbineClusterModelChain class shows the usage of new functions and classes of windpowerlib v.0.1 and is based on the ModelChain class.

New functions

Testing

  • added continuous integration to automatically test the windpowerlib for different python versions and to check the test coverage

Documentation

  • added second example section and jupyter notebook
  • added model description

API changes

  • renamed attribute turbine_name of WindTurbine class to name to match with name attribute of WindFarm and WindTurbineCluster class
  • renamed basic_example to modelchain_example
  • renamed column ‘values’ of power (coefficient) curves to ‘value’ to prevent errors using df.value(s)
  • renamed run_basic_example() to run_example() in modelchain_example
  • renamed parameter wind_turbine of ModelChain object to power_plant
  • removed parameter density_correction from power_plant.power_coefficient()

Other changes

  • removed deprecated attributes (.ix)
  • added turbine_cluster_modelchain_example showing the usage of the TurbineClusterModelChain

Contributors

  • Sabine Haas
  • Uwe Krien
  • Birgit Schachler

v0.0.6 (July 07, 2017)

Documentation

  • added basic usage section and jupyter notebook

Testing

  • added tests for different data types and wind_turbine module
  • added example to tests
  • added and fixed doctests

Other changes

  • various API changes due to having better comprehensible function and variable names
  • renamed Modelchain to ModelChain
  • moved functions for temperature calculation to temperature module
  • new function for interpolation and extrapolation

Contributors

  • Sabine Haas
  • Birgit Schachler
  • Uwe Krien

v0.0.5 (April 10, 2017)

New features

  • complete restructuring of the windpowerlib
  • power curves for numerous wind turbines are provided
  • new function for calculation of air density at hub height (rho_ideal_gas)
  • new function for calculation of wind speed at hub height (v_wind_hellman)
  • density correction for calculation of power output
  • modelchain for convenient usage

Documentation

  • added references

Testing

  • tests for all modules were added

Contributors

  • Sabine Haas
  • Birgit Schachler
  • Uwe Krien