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

Feature: Add turbine_weights option in get_farm_power and get_farm_aep #435

Merged

Conversation

Bartdoekemeijer
Copy link
Collaborator

This PR is ready to be merged.

Feature or improvement description
This PR adds an option called turbine_weights with which users can weigh individual turbine's power production when doing AEP and farm power calculations in floris_interface and uncertainty_interface. This is useful when analyzing multiple wind farms. For example, one may want to model neighboring wind farms in FLORIS but exclude their power production when doing AEP calculations. This is already an available feature in the yaw_optimization class but was not yet available more generally.

Related issue, if one exists
N/A.

Impacted areas of the software
FlorisInterface, UncertaintyInterface

Additional supporting information
N/A

Test results, if applicable
A couple quick test cases with 07_calc_aep_from_rose.py indicates that the code works as intended.

@Bartdoekemeijer Bartdoekemeijer added enhancement An improvement of an existing feature v3 Label to denote focus on v3 labels May 26, 2022
@Bartdoekemeijer Bartdoekemeijer self-assigned this May 26, 2022
@Bartdoekemeijer Bartdoekemeijer changed the base branch from main to develop May 26, 2022 17:20
@Bartdoekemeijer
Copy link
Collaborator Author

Reminder that I'll add an example for this PR with 2 farms, weighing only one of the two farms. Also show yaw optimization and calculate farm AEP.

@Bartdoekemeijer
Copy link
Collaborator Author

I've pushed up a preliminary example. I think it works as expected, but the effect of the neighboring turbines is pretty small, to the point where one may ask whether it's even necessary to include neighboring farms in FLORIS. Perhaps @paulf81 can check it out?

@paulf81
Copy link
Collaborator

paulf81 commented Jul 26, 2022

@bayc and @Bartdoekemeijer this looks great to me, I just added one more example I made. I made it both so I can make sure I understood how to use everything / debugging, and then also I thought it could be useful to show how to use the new feature outside the yaw opt context

@bayc bayc merged commit 35899f2 into NREL:develop Aug 12, 2022
@rafmudaf rafmudaf mentioned this pull request Sep 12, 2022
5 tasks
@Bartdoekemeijer Bartdoekemeijer deleted the feature/turbine_weights_in_calc_power branch November 28, 2022 08:01
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 floris.tools v3 Label to denote focus on v3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants