Wake Models#

A wake model in FLORIS is made up of four components that together constitute a wake. At minimum, the velocity deficit profile behind a wind turbine is required. For most models, an additional wake deflection model is included to model the effect of yaw misalignment. Turbulence models are also available to couple with the deficit and deflection components. Finally, methods for combining wakes with the rest of the flow field are available.

Computationally, the solver algorithm and grid-type supported by each wake model can also be considered as part of the model itself. As shown in the diagram below, the mathematical formulations can be considered as the main components of the model. These are typically associated directly to each other and in some cases they are bundled together into a single mathematical formulation. The solver algorithm and grid type are associated to the math formulation, but they are typically more generic.

flowchart LR A["Deficit"] B["Deflection"] C["Turbulence"] D["Velocity"] E["Solver"] F["Grid"] subgraph H[FLORIS Wake Model] direction LR subgraph G[Math Model] direction LR A---B B---C C---D end G---E E---F end

The models in FLORIS are typically developed as a combination of velocity deficit and wake deflection models, and some also have custom turbulence and combination models. The descriptions below use the typical combinations except where indicated. The specific settings can be seen in the corresponding input files found in the source code dropdowns.

import numpy as np
import matplotlib.pyplot as plt
from floris import FlorisModel
import floris.flow_visualization as flowviz
import floris.layout_visualization as layoutviz

NREL5MW_D = 126.0

def model_plot(inputfile):
    fig, axes = plt.subplots(1, 1, figsize=(10, 10))
    yaw_angles = np.zeros((1, 2))
    yaw_angles[:,0] = 20.0
    fmodel = FlorisModel(inputfile)
    fmodel.set(
        layout_x=np.array([0.0, 2*NREL5MW_D]),
        layout_y=np.array([0.0, 2*NREL5MW_D]),
        yaw_angles=yaw_angles,
    )
    horizontal_plane = fmodel.calculate_horizontal_plane(height=90.0)
    flowviz.visualize_cut_plane(horizontal_plane, ax=axes, clevels=100)
    layoutviz.plot_turbine_rotors(fmodel, ax=axes, yaw_angles=yaw_angles)

Jensen and Jimenez#

The Jensen model computes the wake velocity deficit based on the classic Jensen/Park model Jensen [1]. It is often refered to as a "top-hat" model because the spanwise velocity profile is constant across the wake and abruptly jumps to freestream outside of the wake boundary line. The slope of the wake boundary line, or wake expansion, is a user parameter.

The Jiménez wake deflection model is derived from Jiménez et al. [2].

model_plot("../examples/inputs/jensen.yaml")
_images/33ba1766d2121ee1884d7804a075d3ab3ea70f32223b635cfbf999d5a2bbfaf2.png

Gauss and GCH#

The Gaussian velocity model is implemented based on Bastankhah and Porté-Agel [3] and Niayifar and Porté-Agel [4]. This model represents the velocity deficity as a gaussian distribution in the spanwise direction, and the gaussian profile is controlled by user parameters. There is a near wake zone and a far wake zone. Both maintain the gaussian profile in the spanwise direction, but they have different models for wake recovery.

The Gauss deflection model is a blend of the models described in Bastankhah and Porté-Agel [3] and King et al. [5] for calculating the deflection field in turbine wakes.

model_plot("../examples/inputs/gch.yaml")
_images/99adb07b8c3a79b5119001c2d9cf37f22b78dfe3fc40aae9389b1907fb3bfca7.png

Empirical Gaussian#

FLORIS's "empirical" model has the same Gaussian wake shape as other popular FLORIS models. However, the models that describe the wake width and deflection have been reorganized to provide simpler tuning and data fitting.

For more information, see Empirical Gaussian model

model_plot("../examples/inputs/emgauss.yaml")
_images/d648e27773c65b869c609caff16a0a5adb40eb3170723661826ef520a7721021.png

Cumulative Curl#

The cumulative curl model is an implementation of the model described in Bay et al. [6], which itself is based on the cumulative model of Bastankhah et al. [7]

model_plot("../examples/inputs/cc.yaml")
_images/8ea4319a119a7a1b7adcd494fe3035f6959cab9d79ca6eb7f8692830c71d1fbd.png

TurbOPark#

TurbOPark is a velocity deficit model. For model details see the following references:

Turbulence Models#

Crespo-Hernandez#

CrespoHernandez is a wake-turbulence model that is used to compute additional variability introduced to the flow field by operation of a wind turbine. Implementation of the model follows the original formulation and limitations outlined in Crespo and Hernandez [8].

Wake Combination Models#

The wakes throughout the flow field need to be combined in a careful manner in order to accurately capture their coupled effects. A simple model is to simple add them, but this can result in negative velocities a few turbines into the farm. More careful methods are available within FLORIS and shown here.

Each model is described below and its effects are plotted with two turbines in a line. These descriptions use the Jensen and Jimenez models since they highlight the differences in the combination models themselves. The upper plots show the turbine wakes individually to give a reference for the uncombined wake. The lower plots show both turbines along with their wakes combined with the chosen model.

def combination_plot(method: str):
    X_UPSTREAM = 0.0
    X_DOWNSTREAM = 5 * 126.0
    X0_BOUND = -200
    X1_BOUND = 1500

    # Set the combination method
    fmodel = FlorisModel("../examples/inputs/jensen.yaml")
    settings = fmodel.core.as_dict()
    settings["wake"]["model_strings"]["combination_model"] = method
    fmodel = FlorisModel(settings)

    # Plot two turbines individually
    fig, axes = plt.subplots(1, 2, figsize=(10, 10))
    fmodel.set(
        layout_x=np.array([X_UPSTREAM]),
        layout_y=np.zeros(1),
        yaw_angles=np.array([[20.0]]),
    )
    horizontal_plane = fmodel.calculate_horizontal_plane(
        height=90.0,
        x_bounds=(X0_BOUND, X1_BOUND),
    )
    layoutviz.plot_turbine_rotors(fmodel, ax=axes[0])
    flowviz.visualize_cut_plane(horizontal_plane, ax=axes[0], clevels=100)
    layoutviz.plot_turbine_rotors(fmodel, ax=axes[1])

    fmodel.set(
        layout_x=np.array([X_DOWNSTREAM]),
        layout_y=np.zeros(1),
        yaw_angles=np.array([[0.0]]),
    )
    horizontal_plane = fmodel.calculate_horizontal_plane(
        height=90.0,
        x_bounds=(X0_BOUND, X1_BOUND),
    )
    flowviz.visualize_cut_plane(horizontal_plane, ax=axes[1], clevels=100)
    layoutviz.plot_turbine_rotors(fmodel, ax=axes[0])
    layoutviz.plot_turbine_rotors(fmodel, ax=axes[1])

    # Plot the combination of turbines
    fig, axes = plt.subplots(1, 1, figsize=(10, 10))
    fmodel.set(
        layout_x=np.array([X_UPSTREAM, X_DOWNSTREAM]),
        layout_y=np.zeros(2),
        yaw_angles=np.array([[20.0, 0.0]]),
    )
    horizontal_plane = fmodel.calculate_horizontal_plane(
        height=90.0,
        x_bounds=(X0_BOUND, X1_BOUND),
    )
    flowviz.visualize_cut_plane(horizontal_plane, ax=axes, clevels=100)
    layoutviz.plot_turbine_rotors(fmodel, ax=axes)

Freestream Linear Superposition (FLS)#

FLS uses freestream linear superposition to apply the wake velocity deficits to the freestream flow field.

combination_plot("fls")
_images/238d23e5898926b4a9eac42191f03c39f021f69c3339b132ea6d69f1ae11c6a7.png _images/48e7c85c0c911d07a3eb2bcdb3706d3f88a963e1a25800aec46be3026671b7bf.png

Max#

The MAX model incorporates the velocity deficits into the base flow field by selecting the maximum of the two for each point. For more information, refer to Gunn et al. [9].

combination_plot("max")
_images/238d23e5898926b4a9eac42191f03c39f021f69c3339b132ea6d69f1ae11c6a7.png _images/9317609dfc4b009b60843d572a245179ca86704fccef8ef7c631bde7b550f0b9.png

Sum of Squares Freestream Superposition (SOSFS)#

This model combines the wakes via a sum of squares of the new wake to add and the existing flow field.

combination_plot("sosfs")
_images/238d23e5898926b4a9eac42191f03c39f021f69c3339b132ea6d69f1ae11c6a7.png _images/50e17cdf593cb166ddf2f9ac7e3dd8331f9bd02baf30c0a3868abd590b32e8d8.png