Skip to content

add zero tilt as default option

Julian Quick requested to merge add_zero_tilt_as_default into master

Without this change, I get the error

Traceback (most recent call last):
  File "/Users/julianquick/Downloads/minimal_working_example_again.py", line 76, in <module>
    print(traverse(version='potision', Ycoord=0,avg_model=CGIRotorAvg(7)))
  File "/Users/julianquick/Downloads/minimal_working_example_again.py", line 67, in traverse
    simulation=model(X, Y, yaw=yaw)
  File "/Users/julianquick/working/PyWake/py_wake/wind_farm_models/wind_farm_model.py", line 132, in __call__
    res = self._run(x, y, h=h, type=type, wd=wd, ws=ws, time=time, verbose=verbose,
  File "/Users/julianquick/working/PyWake/py_wake/wind_farm_models/wind_farm_model.py", line 70, in _run
    return self.calc_wt_interaction(h_i=h, type_i=type,
  File "/Users/julianquick/working/PyWake/py_wake/wind_farm_models/engineering_models.py", line 237, in calc_wt_interaction
    self._check_input(kwargs)
  File "/Users/julianquick/working/PyWake/py_wake/wind_farm_models/engineering_models.py", line 390, in _check_input
    raise ValueError(f"'{n}' needed by {needed_by} is missing")
ValueError: 'tilt' needed by JimenezWakeDeflection is missing

Merge request reports

Loading