windpowerlib icon indicating copy to clipboard operation
windpowerlib copied to clipboard

Add Warning or raise if hub_height is not set

Open maurerle opened this issue 3 years ago • 0 comments

If the hub_height is not set when running the model_chain, nan values are returned.

I would raise an error in this case as there are no usable results anyway and the user would directly know what the issue is (unset hub_height or diameter)

I think this silently fails also when calculating the mean_hub_height for a WindFarm if one of the wind_turbines has nan as the hub_height

maurerle avatar Aug 07 '22 17:08 maurerle