Skip to content

Commit 1966651

Browse files
Birgit SchachlerBirgit Schachler
authored andcommitted
Rename data height dictionary
1 parent 150a69d commit 1966651

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example/basic_example.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def read_weather_data(filename, datetime_column='Unnamed: 0',
6464
#weather.index.name = ''
6565

6666
# Specification of the weather data set CoastDat2 (example data)
67-
coastDat2 = {
67+
data_height = {
6868
'pressure': 0,
6969
'temp_air': 2,
7070
'v_wind': 10,
@@ -100,10 +100,10 @@ def read_weather_data(filename, datetime_column='Unnamed: 0',
100100

101101
# Calculate turbine power output
102102
mc_e126 = modelchain.ModelChain(e126, **modelchain_data).run_model(
103-
weather, coastDat2)
103+
weather, data_height)
104104
e126.power_output = mc_e126.power_output
105105
mc_v90 = modelchain.ModelChain(v90, **modelchain_data).run_model(
106-
weather, coastDat2)
106+
weather, data_height)
107107
v90.power_output = mc_v90.power_output
108108

109109
# Plot turbine power output

0 commit comments

Comments
 (0)