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

WindTIRose class with TI as a third wind rose dimension #824

Merged
merged 5 commits into from
Feb 23, 2024

Conversation

ejsimley
Copy link
Collaborator

WindTIRose class with TI as a third wind rose dimension

This PR adds a new WindTIRose class in the WindData module. This new class allows a wind rose to be defined with wind direction, wind speed, and turbulence intensity dimensions, but otherwise acts like a WindRose object. This is in contrast to the existing WindRose class, which only has wind direction and wind speed dimensions, with the option to provide a table mapping wind direction and speed to TI. The function to_wind_ti_rose has also been added to the TimeSeries class so a time series can be saved as a WindTIRose object.

An example using WindTIRose has been added to "34_wind_data.py". Tests for WindTIRose are added to "wind_data_test.py".

@ejsimley ejsimley added the v4 Focus of FLORIS v4 label Feb 23, 2024
@ejsimley ejsimley added the new-feature A new feature label Feb 23, 2024
examples/34_wind_data.py Outdated Show resolved Hide resolved
@paulf81 paulf81 self-requested a review February 23, 2024 22:04
Copy link
Collaborator

@paulf81 paulf81 left a comment

Choose a reason for hiding this comment

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

Looks great Eric!

@ejsimley ejsimley merged commit 484b9da 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
new-feature A new feature v4 Focus of FLORIS v4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants