How to change the optimization method for the yaw angle optimization #390
-
Hello everyone, In the yaw angle simulation, the default optimization method is SLSQP. But if I want to use some other optimized algorithm such as the GA(Genetic Algorithm),PSO(Particle Swarm Optimization),ACO(Ant Clony Optimization),etc. How can I to change the optimization method, can you give me a simple example about the code, due to I am not familar to the Python and FLORIS. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi Jiaping, Which FLORIS version are you using? If you are using the most recent version, If you insist on using SLSQP or one of the other global optimization methods, you should use the
and everything else stays in same in terms of handling the optimizer class and processing the results. |
Beta Was this translation helpful? Give feedback.
Hi Jiaping,
Which FLORIS version are you using? If you are using the most recent version,
v3.0
, we recommend that you use the "Serial Refine" optimization method. This optimization method is exemplified in the examples folder here. The Serial Refine method is recommend because of its computational efficiency, enabling entire wind rose optimizations in the matter of minutes. It's also shown to converge quickly to the optimal solution with much fewer function evaluations than the standardized optimization methods we tried.If you insist on using SLSQP or one of the other global optimization methods, you should use the
SciPy
yaw optimizer class. Using SciPy for optimization is exemplified here…