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

Shut down some turbines #687

Closed
ElieKadoche opened this issue Jul 20, 2023 · 5 comments
Closed

Shut down some turbines #687

ElieKadoche opened this issue Jul 20, 2023 · 5 comments
Assignees
Labels
enhancement An improvement of an existing feature floris.tools
Milestone

Comments

@ElieKadoche
Copy link

Hello! I wonder if it is possible to shut down some turbines during a simulation? Considering the same layout, we could define a list of indexes corresponding to the turbines off. Of course, it should affect the wind flow. I could not find the feature in FLORIS. Is there such a feature? If not, would it be a good / pertinent future development?

@Bartdoekemeijer
Copy link
Collaborator

Bartdoekemeijer commented Jul 20, 2023

Hi @ElieKadoche. In theory this is possible right now with a work-around. You can modify the power and thrust curves for each turbine individually. For the turbines that you want to shut down, you can set the turbine performance curves cp=0.0 and ct=0.001 for all wind speeds. This will still model the turbines but their power production will be 0.0 and their wakes will be negligible. You can code this up in a similar fashion as #399.

Hope this helps,
Bart

@ElieKadoche
Copy link
Author

ElieKadoche commented Aug 1, 2023

Thank you for the answer @Bartdoekemeijer. But if I am right, to keep the ability of FLORIS to vectorize its computations on different wind directions and speeds, changing the power and thrust curves is not enough? In such case, are the modifications described below would be the good approach? If I am going towards the good direction with such approach, I would be happy to give it a try and eventually make a pull request.

  • Add an array turbines_off similar to yaw_angles in the calculate_wake() function.
  • Modify the code of the solver functions (file solver.py) s.t. ct_i = 0.001 for the (sorted) turbines off.
  • Modify the code of the get_turbine_powers() function to set the power output of turbines off to 0.0 MWs.

@rafmudaf rafmudaf added the enhancement An improvement of an existing feature label Aug 2, 2023
@rafmudaf rafmudaf linked a pull request Aug 2, 2023 that will close this issue
@rafmudaf rafmudaf added this to the v4.0 milestone Nov 8, 2023
@rafmudaf rafmudaf self-assigned this Nov 8, 2023
@paulf81
Copy link
Collaborator

paulf81 commented Nov 28, 2023

hi @ElieKadoche and @Bartdoekemeijer , this will be handled directly in 4.0, so assigning to that milestone

@rafmudaf rafmudaf modified the milestones: v4.0, v4.1 Nov 29, 2023
@christiannvaughn christiannvaughn moved this to Future Steps in FLORIS v4 Dec 5, 2023
@paulf81 paulf81 assigned paulf81 and unassigned rafmudaf Jan 19, 2024
@misi9170 misi9170 moved this from Future Steps to Sprint in FLORIS v4 Jan 19, 2024
@christiannvaughn christiannvaughn modified the milestones: v4.1, v4.0 Jan 19, 2024
@misi9170 misi9170 mentioned this issue Feb 7, 2024
6 tasks
@paulf81 paulf81 moved this from Sprint to In Progress in FLORIS v4 Feb 7, 2024
@paulf81
Copy link
Collaborator

paulf81 commented Feb 9, 2024

(Reposting from #693)
@ElieKadoche @Bartdoekemeijer @misi9170 @rafmudaf , we've created a new pull request where we've adapted the proposed changes of this pull request into the new v4 framework where we believe this fits really nicely. I adapted the provided example and interface changes and it should function the same way. Hope that this works for you!

@paulf81
Copy link
Collaborator

paulf81 commented Feb 20, 2024

Closing this issue given #799

@paulf81 paulf81 closed this as completed Feb 20, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in FLORIS v4 Feb 20, 2024
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
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants