GaussWS: Convenience function to look-up values from a object returned...

View source: R/Functions.R

GaussWSR Documentation

Convenience function to look-up values from a object returned by GenerateGauss.

Description

Dependent on the resolution at which GenerateGauss was set to use, the resolution coordinates (array indices) cannot immediately be interpreted as being measured in meters. This function returns wind speeds from the Gauss object accoring to x, y, z simply provided in meters.

Usage

GaussWS(Gauss, x, y, z)

Arguments

Gauss

must be an object returned by GenerateGauss.

x

must be a single value. Provide desired distance in meters.

y

must be a single value. Provide desired distance in meters. May be negative.

z

must be a single value. Provide desired distance in meters.

Details

The Gaussian wake model is loosely based on the initial contribution by Bastankhah & Porte-Agel (2014).

Value

GaussWS returns a single number which can be considered a wind speed in the wake of a turbine at location x, y, and z.

Author(s)

Carsten Croonenbroeck

References

Bastankhah, M., & Porte-Agel, F. (2014). A new analytical model for wind-turbine wakes. Renewable Energy, 70, 116-123.

See Also

Use GenerateGauss to compute the three-dimensional tensor array object containing the wind speed data. See QuickGauss3D for the same algorithm, immediately returning the wind speed at one single point only.

Examples

## Not run: 
GaussWS(Gauss, 100, 1, 100)
GaussWS(Gauss, 80, -40, 90)
GaussWS(Gauss, 200, 40, 150)

## End(Not run)

wflo documentation built on Jan. 15, 2023, 5:10 p.m.

Related to GaussWS in wflo...