These are new features and improvements of note in each release
- new attribute nominal_power in
WindTurbineClusterclasses (PR #53)
- use properties and setters for nominal_power and installed_power in
- made windpowerlib work offline: added csv files containing turbine data from OpenEnergy Database (oedb) to the repository for offline usage (PR #52)
- fixed issue with pandas Multiindex labels and codes attributes (PR #51)
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
- 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.
- wake_losses_model is deprecated, will be defined by the type of wind_farm_efficiency
- 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
- Uwe Krien
- Sabine Haas
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.
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.
WindFarmclass 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.
WindTurbineClusterclass 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.
TurbineClusterModelChainclass shows the usage of new functions and classes of windpowerlib v.0.1 and is based on the ModelChain class.
smooth_power_curve()for taking into account the spatial distribution of wind speed
wake_losses_to_power_curve(): application of wake losses to a power curve
reduce_wind_speed(): application of wake losses to a wind speed time series by using wind efficiency curves which are provided in the data directory
logarithmic_interpolation_extrapolation()for wind speed time series
gauss_distribution()needed for power curve smoothing
estimate_turbulence_intensity()by roughness length
get_turbine_data_from_oedb()for retrieving power curves from OpenEnergy Database
- added continuous integration to automatically test the windpowerlib for different python versions and to check the test coverage
- added second example section and jupyter notebook
- added model description
- 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()
- removed deprecated attributes (.ix)
- added turbine_cluster_modelchain_example showing the usage of the TurbineClusterModelChain
- Sabine Haas
- Uwe Krien
- Birgit Schachler
- added basic usage section and jupyter notebook
- added tests for different data types and wind_turbine module
- added example to tests
- added and fixed doctests
- 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
- 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
- added references
- tests for all modules were added