Skip to content

Commit

Permalink
Update tutorial 1 utilities call
Browse files Browse the repository at this point in the history
  • Loading branch information
jtgrasb committed May 2, 2024
1 parent 78088e7 commit a042aa6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/tutorial_1_WaveBot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,8 @@
"source": [
"p_flows = wot.utilities.calculate_power_flows(wec,\n",
" pto, \n",
" results[0], \n",
" waves.sel(realization=0), \n",
" results, \n",
" waves, \n",
" intrinsic_impedance)\n",
"wot.utilities.plot_power_flow(p_flows)"
]
Expand Down Expand Up @@ -832,7 +832,7 @@
"metadata": {},
"outputs": [],
"source": [
"p_flows_2 = wot.utilities.calculate_power_flows(wec_2, pto_2, results_2[0], waves.sel(realization = 0), intrinsic_impedance)\n",
"p_flows_2 = wot.utilities.calculate_power_flows(wec_2, pto_2, results_2, waves, intrinsic_impedance)\n",
"wot.utilities.plot_power_flow(p_flows_2)"
]
},
Expand Down

0 comments on commit a042aa6

Please sign in to comment.