Skip to content
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
merged 18 commits into from
Mar 4, 2025
Merged

FLORIS v4.3 #1073

merged 18 commits into from
Mar 4, 2025

Conversation

misi9170
Copy link
Collaborator

@misi9170 misi9170 commented Mar 4, 2025

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

Performance enhancements

Packaging updates

Bug fixes

Full Changelog: v4.2.2...v4.3

misi9170 and others added 18 commits December 2, 2024 12:29
* 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.
@misi9170 misi9170 merged commit c50389c into main Mar 4, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants