-
Notifications
You must be signed in to change notification settings - Fork 172
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
FLORIS v4.3 #1073
Merged
FLORIS v4.3 #1073
Conversation
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
* requires-python >= 3.9; update classifiers list. * Remove python 3.8 from testing and example checks.
Co-authored-by: misi9170 <[email protected]>
* Add test showing missing error * Fix error handling
* Running sample_flow_at_points in all interface options. * Reducing code repetitions. * Reduce code repetition in run() call. * Add test for sample_flow_at_points
* Support initializing with defaults * Add docs for using FLORIS as a library * Fix defaults data types * Require setting the atmospheric conditions * Store defaults in a YAML file Allows for using this file in other areas of the software * Add a function to display the input configs * Add back print_dict as a wrapper for show_config to avoid breaking user interface changes. --------- Co-authored-by: misi9170 <[email protected]>
* Specify input arrays as 4d in full_flow_cc_solver * Move dimension expansion to definition for consistency. * Remove TODO check. * Use sorted awc modes settings * Fix TI-field average array dims in CC & TurbOPark * Update comments and warning to point users to turboparkgauss model. --------- Co-authored-by: Rafael M Mudafort <[email protected]>
* Test error * Allow empty arrays in export as dict
* Update numpy req to 2 * Add warnings/notes to documentation. * Trailing whitespace... --------- Co-authored-by: misi9170 <[email protected]>
* Reduce computation time massively in large het_map objects by avoiding the recalculation of the delaunay triangulation for every findex * Import copy library * Enforce appropriate shape for interpolant object * ruff formatting * bugfix * Add a test of applying a het map * Add convert to array * Add convert to array * Add to new tests * Clean up * Add comments and rename variables for clarity. * Change FlowField.het_map to be a numpy array rather than a list. --------- Co-authored-by: Paul <[email protected]> Co-authored-by: misi9170 <[email protected]>
* Add test for unusual limits * Update index to reflect new 4D arrays in Floris v4. * isort. * Typo fix on axis labels.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
FLORIS v4.3 updates package requirements and provides performance enhancements. Support for python v3.8 is dropped and the numpy requirement is stepped up to numpy v2 (that is, Floris v4.3 and above no longer supports numpy v1). Also, a beta feature to instantiate a
FlorisModel
from default values is added.Functional enhancements
solve_for_points()
with CC model by @misi9170 in Enablesolve_for_points()
with CC model #1058Performance enhancements
sample_flow_at_points
by @misi9170 in Add parallel solve forsample_flow_at_points
#1059Packaging updates
Bug fixes
LayoutOptimizationBase
by @misi9170 in [BUGFIX] Dimension update inLayoutOptimizationBase
#1067Full Changelog: v4.2.2...v4.3