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

Add eddy viscosity model #882

Draft
wants to merge 44 commits into
base: develop
Choose a base branch
from
Draft

Conversation

misi9170
Copy link
Collaborator

@misi9170 misi9170 commented Apr 18, 2024

Eddy viscosity wake model

Introduces the eddy viscosity wake model, as described by Ainslie (1988) and extended by Gunn (2019).

The implementation comprises the following:

  • Calculation of an initial velocity in the wake of a wind turbine
  • Computation (via integrating an ODE) of the centerline velocities in the wind turbine wake for downstream locations
  • Calculation of the wake width according to the usual Gaussian wake shape and momentum conservation
  • Correction for the wake width via "streamtube expansion" when the wake of an upstream turbine encounters a downstream turbine
  • Combination of wakes using the "sum of energy deficits" (Kuo et al., 2014)

These are implemented in the following locations:

  • floris/core/wake_velocity/eddy_viscosity.py
  • floris/core/wake_combination/soed.py
  • floris/core/solver.py (streamtube_expansion_solver() and full_flow_streamtube_expansion_solver())

This pull request is currently a draft, while we work through final implementation steps and incorporate feedback.

TODO

  • Implement eddy viscosity model main solve
  • Test main solve
  • Implement eddy viscosity "full flow" solve for visualization and flow sampling
  • Include wake deflection model (currently raises NotImplementedError with nonzero yaw angles)
  • Incorporate feedback and comments on implementation, in particular:
  • where streamtube expansion should be applied
  • which turbulence intensity (either atmospheric or wake-induced) should be used to initialize eddy viscosity model for downstream turbines
  • Clean up and finalize examples
  • Add documentation

@misi9170 misi9170 added documentation floris.simulation examples Changes to FLORIS examples in-progress Work is actively in progress new-feature A new feature labels Apr 18, 2024
@misi9170 misi9170 changed the title Eddy viscosity model Add eddy viscosity model Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation examples Changes to FLORIS examples floris.simulation in-progress Work is actively in progress new-feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant