wflo (version 1.2)

IsInWake: For a given range of two angles, checks whether a given wind direction is within that range.

Description

Provided a range of two angles and a third angle, checks whether that third angle is within the given range. In the Jensen wake model, looking from one turbine's location at another turbine's location, this can be used to check whether a wind direction is within the 'wake cone' created by the first turbine. In effect, this function checks whether a turbine is located in the wake of another turbine, based on a given wind direction.

Usage

IsInWake(Cone, Direction)

Arguments

Cone

must be a vector of two. Contains degree information concerning the Jensen 'wake cone' generated by the first turbine.

Direction

must be a single value. Contains the wind direction to check whether Jensen's wake model must be computed for a pair of turbines.

Value

IsInWake returns TRUE, if Direction is within Cone, or FALSE, else.

References

Jensen, N. O. (1983). A note on wind generator interaction. Roskilde: Ris<U+00F8> National Laboratory. Ris<U+00F8>-M, No. 2411

See Also

JensenAngle to compute 'cone' angle information.

Examples

Run this code
# NOT RUN {
IsInWake(c(25, 35), 30)
## Returns TRUE.
IsInWake(c(25, 35), 70)
## Returns FALSE.
# }

Run the code above in your browser using DataLab