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

Remove unused code from floris.tools and add tool reg tests #819

Merged
merged 16 commits into from Feb 23, 2024

Conversation

bayc
Copy link
Collaborator

@bayc bayc commented Feb 22, 2024

Clean up tools and add tool reg tests

This PR removes unused code from the floris.tools directory, and adds some simple reg tests for the yaw and layout optimization tools.

Related issue

None.

Impacted areas of the software

floris.tools
tests/reg_tests

Additional supporting information

None.

Test results, if applicable

Passing.

@bayc bayc self-assigned this Feb 22, 2024
@bayc bayc added enhancement An improvement of an existing feature v4 Focus of FLORIS v4 labels Feb 22, 2024
@bayc bayc added this to the v4.0 milestone Feb 22, 2024
tests/reg_tests/geometric_yaw_opt_regression_test.py Outdated Show resolved Hide resolved
tests/reg_tests/scipy_layout_opt_regression.py Outdated Show resolved Hide resolved
tests/reg_tests/scipy_yaw_opt_regression_test.py Outdated Show resolved Hide resolved
tests/reg_tests/serial_refine_yaw_opt_regression_test.py Outdated Show resolved Hide resolved
tests/parallel_computing_interface_integration_test.py Outdated Show resolved Hide resolved
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just double checking that we want to remove this from the examples since, currently, this function as the user documentation. If you're planning to add it back, is this captured somewhere so that it doesn't fall off the list of things to document?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My understanding is that the new wind data functionality replaces this functionality, and is covered in example 34. When the examples are processed, that would be a good time to bring it back into the documentation.

docs/examples.md Outdated Show resolved Hide resolved
@rafmudaf rafmudaf merged commit af04d66 into NREL:v4 Feb 23, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement of an existing feature v4 Focus of FLORIS v4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants