Skip to content

Changing the bounds of the yaw optimisation #596

Discussion options

You must be logged in to vote

Hi. Here's what the current main branch gives with the example 10_opt_yaw_single_ws.py:

Note that the default optimization bounds are 0 deg and +25 deg. The figure above shows optimal yaw angles between these limits. Then, if you want to change your optimization limits, you can change lines 43-44 to:

yaw_opt = YawOptimizationSR(fi, minimum_yaw_angle=-30.0, maximum_yaw_angle=30.0)
df_opt = yaw_opt.optimize()

and the result is:

Generally, you should never change the default choices in the FLORIS classes to change the options for one particular case. You should always do this on the script side, like above.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@henrysanders3
Comment options

Comment options

You must be logged in to vote
2 replies
@henrysanders3
Comment options

@Bartdoekemeijer
Comment options

Answer selected by rafmudaf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants