Skip to content

Commit

Permalink
Adapt notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
SabineHaas committed Jan 17, 2019
1 parent b628fcc commit af46f83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/modelchain_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -284,12 +284,13 @@
"source": [
"# specification of wind turbine where power coefficient curve is provided\n",
"# by a csv file\n",
"csv_file = '../example/data/example_power_coefficient_curves.csv'\n",
"dummy_turbine = {\n",
" 'name': 'DUMMY 1', # turbine type as in file #\n",
" 'hub_height': 100, # in m\n",
" 'rotor_diameter': 70, # in m\n",
" 'fetch_curve': 'power_coefficient_curve', # fetch cp curve #\n",
" 'data_source': 'example_power_coefficient_curves.csv' # data source\n",
" 'data_source': csv_file # data source\n",
"}\n",
"# initialize WindTurbine object\n",
"dummy_turbine = WindTurbine(**dummy_turbine)"
Expand Down

0 comments on commit af46f83

Please sign in to comment.