forked from NREL/floris
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Save WindData onto FlorisModel and simplify post-
run()
calls (NREL#849
) * Add functions to reshape turbine and farm power to wd x ws * Add tests of new wind rose functions * wind_data saved onto FlorisModel; functions partially built. * Update tests; rename _wind_data to wind_data since optimizers may need access. * 07 example updated (waked and no_wake match previous output). * Remove wind_data need from layout optimizers. * Bugfix; copy did not bring over wind_data." * Update examples 13, 15 * Removing unneeded methods. * Group hidden and outer get_turbine_powers methods. * Ruff and isort. * Add getter for wind_data. * Rename converters to be more explicit about output. * Updating tests. * Copy up docstring from hidden version. * Fix a couple more examples. * Fix scaling on uniform frequency. * ruff and isort. * Log warnings when freq not provided and test. * Update uncertain model for new paradigm * Add test of wind rose setting * bufgix * change _expanded suffix to _rose to avoid confusion in UncertainFlorisModel. * to_ methods specify class rather than suggested instantiation. --------- Co-authored-by: Paul <[email protected]>
- Loading branch information
Showing
18 changed files
with
625 additions
and
448 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.