Skip to content

Conversation

@misi9170
Copy link
Collaborator

@misi9170 misi9170 commented May 9, 2025

Patch release for FLORIS including a bugfix that ensures FlorisModel and its subclasses are copied correctly. The bug was causing UncertainFlorisModel combined with ParFlorisModel not to work as expected.

What's Changed

Full Changelog: v4.4.1...v4.4.2

__ For NREL use __
Release checklist:

  • Update the version in
    • README.md (appears twice in README.md)
    • pyproject.toml
  • Verify docs builds correctly
  • Create a tag in the NREL/FLORIS repository

misi9170 and others added 2 commits May 9, 2025 06:57
…1107)

* Add copy method so that it copy not inhereted from FlorisModel

* Add usual if __name__ == "__main__": wrapper

* assert type of fmodel_expanded.

* formatting

* Further tests for copy methods of ParFlorisModel and UncertainFlorisModel (currently failing)

* Update UncertainFlorisModel.copy() to handle either type of underlying fmodel_unexpanded.

* allow wind_data to be provided with input fmodel and test.

* Copy ParFlorisModel metadata

* Add handling to quite wind_data copy warning for Uncertain yaw optimizations

* Update comments for clarity

* Convert to an unpackable dict of secondary kwargs for reinstantiation

* More general copying in UncertainFlorisModel

* secondary_init_kwargs on ApproxFlorisModel

* Improve docstings
@misi9170 misi9170 merged commit a6fc5d3 into main May 9, 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.

2 participants