Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Warning or raise if hub_height is not set #124

Open
maurerle opened this issue Aug 7, 2022 · 0 comments
Open

Add Warning or raise if hub_height is not set #124

maurerle opened this issue Aug 7, 2022 · 0 comments

Comments

@maurerle
Copy link
Contributor

maurerle commented Aug 7, 2022

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 maurerle changed the title Add Warning if hub_height is not set Add Warning or raise if hub_height is not set Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant