Skip to content

FLORIS v4.3#1073

Merged
misi9170 merged 18 commits intomainfrom
develop
Mar 4, 2025
Merged

FLORIS v4.3#1073
misi9170 merged 18 commits intomainfrom
develop

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 <michael.sinner@nrel.gov>
* 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 <michael.sinner@nrel.gov>
* 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 <rafmudaf@gmail.com>
* 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 <michael.sinner@nrel.gov>
* 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 <paul.fleming@nrel.gov>
Co-authored-by: misi9170 <michael.sinner@nrel.gov>
* 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