Changing the bounds of the yaw optimisation #596
-
Hi all, I am having trouble altering the bounds of the yaw optimisation. I believe i have been through all of the input files and functions (e.g.yaw_optimizer_sr) to change the minimum and maximum yaw angles, however when I run the code it still optmises between 0 and 25 degrees. Where in the FLORIS files do i need to make changes to amend this? Can the minimums and maximums be overwritten in the code? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi Henry, I think I might be having the same problems as you, I am trying to alter the bounds to -25 to 25 degrees to analyse the optimal yaw angles. After altering all of the floris files it still optimise between -25 and 25 degrees. IS there a way this can be overwritten in the code? Thanks |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Hi. Here's what the current
main
branch gives with the example10_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:
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.