Example notebooks are broken
It seems that c4ef9847 has broken a lot of example notebooks.
For instance BastankhahGaussian.ipynb throws this error:
CODE:
WS_eff_ilk, TI_eff_ilk, power_ilk, ct_ilk = wake_model.calc_wake(
WS_ilk=np.array([[[10]],[[10]]]), # 10m/s at both turbines
TI_ilk=np.array([[[.1]],[[.1]]]), # turbulence intensity (not used)
dw_iil=np.array([[0,200],[-200,0]])[:,:,np.newaxis], # 200m down stream separation
hcw_iil=np.array([[0,0],[0,0]])[:,:,np.newaxis], # wt aligned with wind -> zero cross wind distance
dh_iil=np.array([[0,0],[0,0]])[:,:,np.newaxis], # no hub height difference
dw_order_indices_dl=np.array([[0,1]]), # down stream order of turbines
types_i=[0,0]) # both are turbine type 0
ERROR:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-2-5b8b0ee2ae5e> in <module>
6 dh_iil=np.array([[0,0],[0,0]])[:,:,np.newaxis], # no hub height difference
7 dw_order_indices_dl=np.array([[0,1]]), # down stream order of turbines
----> 8 types_i=[0,0]) # both are turbine type 0
9
10 for i in [0,1]:
TypeError: calc_wake() got an unexpected keyword argument 'WS_ilk'