Skip to content

Commit d5f41de

Browse files
committed
Merge branch 'dev' into features/tests
Conflicts: example/basic_example.ipynb tests/test_modelchain.py tests/test_power_output.py tests/test_tools.py
2 parents 6bcf0de + ac421ff commit d5f41de

38 files changed

+2425
-978
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,6 @@ ENV/
9191

9292
# Rope project settings
9393
.ropeproject
94+
95+
# tests
96+
.pytest_cache

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ If you are interested in wind models and want to help improve the existing model
6161
As the windpowerlib started with contributors from the `oemof developer group <https://github.com/orgs/oemof/teams/oemof-developer-group>`_ we use the same
6262
`developer rules <http://oemof.readthedocs.io/en/stable/developing_oemof.html>`_.
6363

64+
Citing the windpowerlib
65+
========================
66+
67+
We use the zenodo project to get a DOI for each version. `Search zenodo for the right citation of your windpowerlib version <https://zenodo.org/search?page=1&size=20&q=windpowerlib>`_.
6468

6569
License
6670
============

VERSION

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
# General information about the project.
6262
project = u'windpowerlib'
6363
copyright = u'2016, oemof developer group'
64-
author = u'Uwe Krien, oemof developing group'
64+
author = u'oemof developing group'
6565

6666
import windpowerlib
6767

@@ -285,7 +285,7 @@
285285

286286
# Bibliographic Dublin Core info.
287287
epub_title = u'windpowerlib'
288-
epub_author = u'Uwe Krien, oemof developing group'
288+
epub_author = u'oemof developing group'
289289
epub_publisher = u'oemof developing group'
290290
epub_copyright = u'2016, oemof developing group'
291291

doc/getting_started.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ If you are interested in wind models and want to help improve the existing model
6464
As the windpowerlib started with contributors from the `oemof developer group <https://github.com/orgs/oemof/teams/oemof-developer-group>`_ we use the same
6565
`developer rules <http://oemof.readthedocs.io/en/stable/developing_oemof.html>`_.
6666

67+
Citing the windpowerlib
68+
========================
69+
70+
We use the zenodo project to get a DOI for each version. `Search zenodo for the right citation of your windpowerlib version <https://zenodo.org/search?page=1&size=20&q=windpowerlib>`_.
6771

6872
License
6973
============

doc/modules.rst

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ Classes
1414
modelchain.ModelChain
1515

1616

17+
Temperature
18+
==============
19+
20+
Function for calculating air temperature at hub height.
21+
22+
.. autosummary::
23+
:toctree: temp/
24+
25+
temperature.linear_gradient
26+
1727
Density
1828
==============
1929

@@ -22,11 +32,9 @@ Functions for calculating air density at hub height.
2232
.. autosummary::
2333
:toctree: temp/
2434

25-
density.temperature_gradient
26-
density.temperature_interpol
27-
density.rho_barometric
28-
density.rho_ideal_gas
29-
35+
density.barometric
36+
density.ideal_gas
37+
3038

3139
Wind speed
3240
==============
@@ -36,8 +44,8 @@ Functions for calculating wind speed at hub height.
3644
.. autosummary::
3745
:toctree: temp/
3846

39-
wind_speed.logarithmic_wind_profile
40-
wind_speed.v_wind_hellman
47+
wind_speed.logarithmic_profile
48+
wind_speed.hellman
4149

4250

4351
Wind turbine data
@@ -63,10 +71,9 @@ Functions for calculating power output of a wind turbine.
6371
.. autosummary::
6472
:toctree: temp/
6573

66-
power_output.cp_curve
67-
power_output.cp_curve_density_corr
68-
power_output.p_curve
69-
power_output.p_curve_density_corr
74+
power_output.power_coefficient_curve
75+
power_output.power_curve
76+
power_output.power_curve_density_correction
7077

7178

7279
ModelChain
@@ -91,8 +98,9 @@ Methods of the ModelChain object.
9198
.. autosummary::
9299
:toctree: temp/
93100

94-
modelchain.ModelChain.rho_hub
95-
modelchain.ModelChain.v_wind_hub
101+
modelchain.ModelChain.temperature_hub
102+
modelchain.ModelChain.density_hub
103+
modelchain.ModelChain.wind_speed_hub
96104
modelchain.ModelChain.turbine_power_output
97105

98106

@@ -104,8 +112,7 @@ Additional functions used in the windpowerlib.
104112
.. autosummary::
105113
:toctree: temp/
106114

107-
tools.smallest_difference
108-
tools.linear_extra_interpolation
115+
tools.linear_interpolation_extrapolation
109116

110117

111118
Example

doc/requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
sphinx>=1.4
22
ipykernel
3-
nbsphinx
3+
nbsphinx
4+
pandas
5+
numpy

doc/whats_new.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ These are new features and improvements of note in each release
88
:local:
99
:backlinks: top
1010

11-
.. include:: whatsnew/v005.txt
12-
.. include:: whatsnew/v004.txt
11+
.. include:: whatsnew/v006.txt
12+
.. include:: whatsnew/v005.txt

doc/whatsnew/v0-1-0.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
v0.1.0 ()
2+
+++++++++++++++++++++++++
3+
4+
Documentation
5+
#############
6+
7+
Testing
8+
#######
9+
10+
Other changes
11+
#############
12+
13+
Contributors
14+
############

doc/whatsnew/v005.txt

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
v0.0.5 ()
1+
v0.0.5 (April 10, 2017)
22
+++++++++++++++++++++++++
33

44
New features
@@ -22,16 +22,9 @@ Testing
2222

2323
* tests for all modules were added
2424

25-
Bug fixes
26-
#########
27-
28-
29-
Other changes
30-
#############
31-
32-
3325
Contributors
3426
############
3527

3628
* Sabine Haas
37-
* Birgit Schachler
29+
* Birgit Schachler
30+
* Uwe Krien

0 commit comments

Comments
 (0)