-
Notifications
You must be signed in to change notification settings - Fork 156
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
Parallelize YawOptimizationScipy
and YawOptimizationSR
optimize
methods across wind speeds/directions
#944
Comments
Hi @achenry, take a look at the floris/floris/parallel_floris_model.py Line 456 in 01115bf
That does serve your needs? |
We could look into adding a method for scipy optimization to the |
A few thoughts...
|
For Floris v4, the hope was to have both the Although we achieved this for the To your second point: since bash scripts are quite platform-specific, and many FLORIS users are not using Kestrel/NREL HPC systems, we haven't included bash scripts in the past. However, I think that could be reconsidered if it's possible to make a bash script that is general. Otherwise, we could include sample code bash code somewhere in the documentation. |
The optimization procedure, in particular the
YawOptimizationScipy
, would be much faster if parallelized across all available cores, given passed argumentparallel
tooptimize method. Would require instantiating copies of
fmodel' for each run.See https://github.com/achenry/floris/blob/feature/mpc/floris/optimization/yaw_optimization/yaw_optimizer_scipy.py for working example. Warning, may not work if each optimize method is run in outer run in multiprocessing context.
The text was updated successfully, but these errors were encountered: