|
1 | | -v0.2.0 () |
| 1 | +v0.2.0 (September 9, 2019) |
2 | 2 | ++++++++++++++++++++++++++++++ |
3 | 3 |
|
4 | | -New features |
5 | | -############ |
6 | | -* get_turbine_types() can now be used to get provided turbine types of oedb turbine_library as well as provided turbine types of local files |
7 | | - |
8 | | -Documentation |
9 | | -############# |
10 | | - |
11 | | - |
12 | | -Testing |
13 | | -####### |
14 | | - |
15 | | - |
16 | | -Bug fixes |
17 | | -######### |
18 | | - |
19 | | - |
20 | 4 | API changes |
21 | 5 | ############# |
| 6 | +* The :class:`~windpowerlib.wind_turbine.WindTurbine` API has been revised. Main changes are that the parameters `fetch_curve` and `data_source` have been removed. |
| 7 | +These parameters were formerly used to specify whether the power or power coefficient curve should be retrieved and the source to retrieve them from. |
| 8 | +Now per default the power curve and/or power coefficient curve are tried to be retrieved from the oedb turbine library that is provided along with the windpowerlib |
| 9 | +and holds turbine data for a large set of wind turbines. Further important changes are the renaming of the parameter `name` to `turbine_type` and the removal |
| 10 | +of the `coordinates`. |
| 11 | +See the :class:`~windpowerlib.wind_turbine.WindTurbine` docstring and `Initialize wind turbine` in the :ref:`examples_section_label` section for more information. |
| 12 | +(`PR 62 <https://github.com/wind-python/windpowerlib/pull/62>`) |
| 13 | +* The :class:`~windpowerlib.wind_farm.WindFarm` API has been revised. The `wind_turbine_fleet` parameter can now be provided as a pandas DataFrame |
| 14 | +(`PR 63 <https://github.com/wind-python/windpowerlib/pull/63>`_) or as a list using the :func:`~windpowerlib.wind_turbine.WindTurbine.to_group` method |
| 15 | +(`PR 68 <https://github.com/wind-python/windpowerlib/pull/68>`_. Furthermore, the option to specify the wind turbine fleet using the total installed capacity |
| 16 | +of each turbine type has been added. See the :class:`~windpowerlib.wind_farm.WindFarm` docstring and `Initialize wind farm` in the :ref:`examples_section_label` section for more information. |
| 17 | +* get_installed_power() methods in :class:`~windpowerlib.wind_farm.WindFarm` and :class:`~windpowerlib.wind_turbine_cluster.WindTurbineCluster` were removed. Installed power is instead now directly calculated inside the nominal_power getter. |
22 | 18 | * Removed unnecessary `wake_losses_model` parameter in :py:func:`~.power_curves.wake_losses_to_power_curve`. Whether a constant wind farm efficiency or a wind farm efficiency curve is used is decided by the type of the wind farm efficiency. |
23 | 19 | * Combined options 'constant_efficiency' and 'power_efficiency_curve' of `wake_losses_model` parameter in :py:func:`~.turbine_cluster_modelchain.TurbineClusterModelChain` to 'wind_farm_efficiency'. Therefore, default value of `wake_losses_model` in :py:func:`~.wind_farm.WindFarm.assign_power_curve` and :py:func:`~.wind_turbine_cluster.WindTurbineCluster.assign_power_curve` changed to 'wind_farm_efficiency'. |
24 | 20 | * Removed `overwrite` parameter from :py:func:`~.wind_turbine.get_turbine_data_from_oedb` |
25 | | -* Removed `data_source` and `fetch_curve` parameters from :py:func:`~.wind_turbine.WindTurbine` and :py:func:`~.wind_turbine.WindTurbine.fetch_turbine_data`. Now the source and if a curve is fetched or not is specified by the parameters `power_curve`, `power_coefficient_curve` and `nominal_power`. See :py:func:`~.wind_turbine.WindTurbine.fetch_turbine_data` for a description. |
26 | | -* get_installed_power() methods in :class:`~windpowerlib.wind_farm.WindFarm` and :class:`~windpowerlib.wind_turbine_cluster.WindTurbineCluster` were removed. Installed power is instead now directly calculated inside the nominal_power getter. |
27 | 21 |
|
28 | 22 | Other changes |
29 | 23 | ############# |
30 | | -* Power curves and nominal power of wind turbines are now saved in file in W instead of kW. |
| 24 | +* Power curves and nominal power of wind turbines are now saved in file in W instead of kW to be consistent with internal units. |
31 | 25 | * Restructured csv reading for offline usage of windpowerlib. The nominal power of wind turbines is now saved to a separate file along with other turbine data from the oedb turbine library. |
| 26 | +* get_turbine_types() can now be used to get provided turbine types of oedb turbine library as well as provided turbine types of local files. |
32 | 27 |
|
33 | | - |
34 | | -Deprecations |
35 | | -############ |
| 28 | +Documentation |
| 29 | +############# |
| 30 | +* Improved documentation of :class:`~windpowerlib.modelchain.ModelChain` and :class:`~windpowerlib.turbine_cluster_modelchain.TurbineClusterModelChain` parameters (`PR 64 <https://github.com/wind-python/windpowerlib/pull/64>`_). |
| 31 | +* Added info in README and getting started section on how to contribute to the oedb wind turbine library. |
36 | 32 |
|
37 | 33 | Contributors |
38 | 34 | ############ |
39 | 35 | * Sabine Haas |
40 | 36 | * Birgit Schachler |
| 37 | +* Uwe Krien |
41 | 38 |
|
0 commit comments