Skip to content

Commit d8ae4ad

Browse files
committed
Whatsnew gathering
1 parent 1715256 commit d8ae4ad

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

doc/whatsnew/v0-1-2.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ v0.1.2 ()
33

44
New features
55
############
6+
* installed power as attribute or getter in wind farm and wind turbine cluster
67

78

89
Documentation
@@ -19,11 +20,13 @@ Bug fixes
1920

2021
Other changes
2122
#############
22-
* Make windpowerlib work offline: turbine data from oedb is stored in csv files for offline usage
23-
* Make :py:func:`~windpowerlib.wind_turbine.get_turbine_types` also accessible via `get_turbine_types()` --> from windpowerlib import get_turbine_types
24-
23+
* Made windpowerlib work offline: turbine data from oedb is stored in csv files for offline usage
24+
* Made :py:func:`~windpowerlib.wind_turbine.get_turbine_types` also accessible via `get_turbine_types()` --> from windpowerlib import get_turbine_types
25+
* Added kwargs in init of wind turbine, wind farm, wind turbine cluster
26+
* We are working with deprecation warnings to draw our user's attention to important changes.
27+
* Work around to use older pandas versions
2528

2629
Contributors
2730
############
2831
* Sabine Haas
29-
32+
* Birgit Schachler

example/test_examples.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_modelchain_example_flh(self):
1818
mc_e.calculate_power_output(weather, my_turbine, e126, dummy_turbine)
1919

2020
assert_allclose(2764.194772, (e126.power_output.sum() /
21-
e126.nominal_power), 0.01)
21+
e126.nominal_power), 0.01)
2222
assert_allclose(1882.7567, (my_turbine.power_output.sum() /
2323
my_turbine.nominal_power), 0.01)
2424

@@ -34,7 +34,7 @@ def test_turbine_cluster_modelchain_example_flh(self):
3434
assert_allclose(1956.164053, (example_farm.power_output.sum() /
3535
example_farm.nominal_power), 0.01)
3636
assert_allclose(2156.794154, (example_cluster.power_output.sum() /
37-
example_cluster.nominal_power), 0.01)
37+
example_cluster.nominal_power), 0.01)
3838

3939
def _notebook_run(self, path):
4040
"""

0 commit comments

Comments
 (0)