Skip to content

Commit 041a918

Browse files
committed
Adapt to renaming and moved table in oedb
1 parent 6427133 commit 041a918

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

windpowerlib/wind_turbine.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,14 +339,14 @@ def load_turbine_data_from_oedb():
339339
-------
340340
turbine_data : pd.DataFrame
341341
Contains turbine data of different turbines such as 'manufacturer',
342-
'turbine_type', nominal power ('installed_capacity_kw').
342+
'turbine_type', nominal power ('installed_capacity').
343343
344344
"""
345345
# url of OpenEnergy Platform that contains the oedb
346346
oep_url = 'http://oep.iks.cs.ovgu.de/'
347347
# location of data
348-
schema = 'model_draft'
349-
table = 'openfred_windpower_powercurve'
348+
schema = 'supply'
349+
table = 'turbine_library'
350350
# load data
351351
result = requests.get(
352352
oep_url + '/api/v0/schema/{}/tables/{}/rows/?'.format(

0 commit comments

Comments
 (0)