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

Bug fix: Add variable wind shear to GCH calculations #679

Merged
merged 1 commit into from Jul 10, 2023
Merged

Bug fix: Add variable wind shear to GCH calculations #679

merged 1 commit into from Jul 10, 2023

Conversation

fg320
Copy link
Contributor

@fg320 fg320 commented Jul 10, 2023

Add variable wind shear to GCH calculations

This pull request addresses the issue in #675. The calculations for the GCH model do not account for variable wind shear and are fixed to a shear coefficient of 0.12. Specifically, this is found in the vel_top and vel_bottom calculations in methods wake_added_yaw and calculate_transverse_velocity. A new input argument wind_shear, which is extracted from the FlowField object (flow_field.wind_shear), is now added to the above-mentioned methods and included in the calculations.

Related issue

Issue #675

Impacted areas of the software

floris/simulation/solver.py

floris/simulation/wake_deflection/gauss.py

@rafmudaf rafmudaf self-assigned this Jul 10, 2023
@rafmudaf rafmudaf added the bug Something isn't working label Jul 10, 2023
@rafmudaf rafmudaf added this to the v3.5 milestone Jul 10, 2023
@rafmudaf rafmudaf self-requested a review July 10, 2023 16:05
@rafmudaf
Copy link
Collaborator

Thanks for tackling this @fg320. Well done describing the issue and submitting the fix. We very much appreciate it!

@rafmudaf rafmudaf merged commit 8908ab4 into NREL:develop Jul 10, 2023
5 checks passed
@fg320
Copy link
Contributor Author

fg320 commented Jul 10, 2023

My pleasure!

@fg320 fg320 deleted the develop branch July 10, 2023 18:34
@rafmudaf rafmudaf mentioned this pull request Oct 26, 2023
4 tasks
@fg320 fg320 restored the develop branch November 9, 2023 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants