-
Notifications
You must be signed in to change notification settings - Fork 155
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
Need to reload input file when updating/plotting in a loop? #315
Comments
Yea, I noticed this too. My thought was that something was sticking from the grid used for the flow field visualizations, but haven't been able to dig into it yet. |
Confirmed! I had to update the function call from get_ to calculate_ but then I modified the test also a little bit to confirm that after going back and forth a few times I produce the same answer, and have the same total number of grid points. I think all confirmed via:
yielding:
and working plots, all good! |
Currently, the |
Bug description
Had a code set up to change FLORIS settings and plot in a loop and discovered it only worked if I reopened the input file (or if don't plot). Is this expected operation
To Reproduce
Made this code example, it doesn't work for me unless I:
1). Uncomment the code which reopens the model from input yaml
2) Dont plot
Expected behavior
Was expecting the code to work without the call back to the yaml, is something in plotting "sticking"?
Screenshots, if applicable
If the code works plots:
Floris Version
V3
The text was updated successfully, but these errors were encountered: