-
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
v3.1 #405
Conversation
Feature: add IEA 15MW turbine
* Add no_wake option to calculate_wake() * Move no_wake up to floris_interface.py and separate initialize_domain() function in floris * updating tests to initialize domain * updating quality metrics to initialize domain Co-authored-by: bayc <christopher.j.bay@gmail.com>
* sketch in new AEP * sketch in new aep function * include a temporary no wake option * update AEP function to use no_wake * Update AEP example to use new function * Implement cut_in_wind_speed and cut_out_wind_speed functionalities. Also format freq vector in get_farm_AEP in FLORIS dimensions. * Quick bug fix and remove legacy _calc_one_AEP_case function * Update the example 07 for AEP calculations in new style * Significant simplications in get_farm_AEP function * Remove legacy functions for AEP calculation Co-authored-by: Bart Doekemeijer <bart.doekemeijer@nrel.gov>
* update cut-in and cutout region for each turbine yaml * add a check on reference height versus hub height and issue warning * allow -1 for reference height to mean use hub-height * Remove extrapolation, force definition in curve Co-authored-by: bayc <christopher.j.bay@gmail.com>
* Save yaw angles for reset in plane visualizations * Reset yaw angles through calculate_wake
* Include notebook as md * Update README and docs to reflect v3 release * Clarify points in the intro guide * Clarify legacy vs new docs * Add git / GitHub interaction guidelines
* Delete energy ratio tools * Remove references to energy ratio tools Co-authored-by: Rafael M Mudafort <rafmudaf@gmail.com>
…ty (#308) * Implement uncertainty modeling in FLORIS v3.0 in vectorized format. Uncertainty is now included as a wrapper around the regular `FlorisInterface` object. * Add example demonstrating how to include uncertainty in wind farm simulations * Implement copy feature in `FlorisInterface` * Generalize yaw optimization compatibility with both `FlorisInterface` and `UncertaintyInterface`. Also fix bug in yaw optimizer when min/max yaw angle is an int. * Add option in `UncertaintyInterface` to fix the yaw angles in the inertial or relative frame * Remove `yaw_std` and update documentation Co-authored-by: paulf81 <paul.fleming@nrel.gov>
…381) * adding _sorted versions of variables (grid, farm, and flow field) * updating tests to use _sorted variables Co-authored-by: Rafael M Mudafort <rafmudaf@gmail.com>
…387) * Move legacy input reader to separate tool and apply bug fix to work with recent changes in turbine_types * Add an example to demonstrate legacy input reader * Remove examples for legacy input reader. Add a __main__ script to the legacy reader file as an example to demonstrate file v2->v3 conversion.
#395) * Add 'none' submodel for deflection, deficit and turbulence * Add INFO and WARNINGs for 'none' option * Change warning message to error message if nonzero yaw angles are provided while deflection model is 'none' * Delete example yaml file and example script
* Move legacy input reader to separate tool and apply bug fix to work with recent changes in turbine_types * Add an example to demonstrate legacy input reader * Remove examples for legacy input reader. Add a __main__ script to the legacy reader file as an example to demonstrate file v2->v3 conversion. * Improve the CLI for input converter Co-authored-by: Rafael M Mudafort <rafmudaf@gmail.com>
* adding turbopark model, solver, and input file Co-authored-by: Paul <paul.fleming@nrel.gov> Co-authored-by: Rafael M Mudafort <rafael.mudafort@nrel.gov>
@rafmudaf We should probably add tests for the |
@rafmudaf I made an attempt at defining some tests for the "none" models, although I just realized I forgot about the wake_turbulence "none" model. If you can look at the tests, and this form makes sense, then we can add one for the wake_turbulence "none" model as well. |
I think what you're intending to do in the unit test should go into a None-model regression test. It's also not a bad idea to have unit-level tests for the model functions, but that would look different in that we would try to get as close to testing only the |
|
||
logging: | ||
console: | ||
enable: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is false
while for all others its true
by default. Shall we update it to true
for consistency between input files?
Thanks for opening this PR, @rafmudaf! I'm finding that |
hi @Bartdoekemeijer thanks for checking, can confirm that both of these fail on my (mac) machine too. For the case of example 7, the issue seems to arise from the no_wake call:
Where line 84 is:
In the notebook, I'm having trouble trying to display the 3D grid, maybe the structure of grid has changed? |
I think the problem in the notebook is that |
I'm adding a GitHub Action to run the examples for each commit to check whether they run (not evaluating the results). |
* Add None-model regression tests * Remove unused data in None prepare-functions
Beyond x, y, z, and u, v, w, there are several other variables that now have |
* Resolve issue with no_wake=True option * move no_wake check to steady_state_atmospheric_condition so finalize is run when no_wake is True * updating how no_wake is handled to have a dedicated calculate_no_wake method * Restore profiling infrastructure (was commented) * Update calculate_no_wake docstring Co-authored-by: bayc <christopher.j.bay@gmail.com> Co-authored-by: Rafael M Mudafort <rafmudaf@gmail.com>
* Move grid.finalize into initialization * Update getting-started Notebook
Feature or improvement description
Merge
develop
tomain
for v3.1 release.Additional supporting information
Proposed release notes are given below.
Release TODO
Verify readthedocs builds correctlyGH Pages is actually using the develop branchRelease Notes
#358 Feature: add IEA 15MW turbine
#373 / #407 Add no_wake option to floris calculations
#384 Add normal vector to CutPlane to invert plot axis
#369 Redesign AEP calculation function
#385 Bug fix for yaw optimizer: revise verify_convergence to support multiple wind speeds
#382 Add cut out and default reference option
#388 Save yaw angles for reset in plane visualizations
#386 Documentation improvements
#393 Remove energy ratio tools in favor of FLASC
#308 Add UncertaintyInterface for modeling inflow wind direction uncertainty
#381 Fix for repeated calls to calculate_wake returning incorrect values
#387 Bug fix and formatting for legacy reader for FLORIS V2.4 input files
#395 / #406 Add 'none' submodel option for wake deflection, deficit and turbulence
#404 Add command line interface to the legacy input converter
#396 Adding the TurbOPark wake velocity deficit model
#408 Add GH Actions to run examples
#410 Create all Grid data at initialization