GetAngle {wflo}R Documentation

Returns the angle between two turbines.

Description

As seen from a point in the wind farm, computes the angle to another point in that farm.

Usage

GetAngle(x1, y1, x2, y2)

Arguments

x1

must be a single value. Provide the x location of the first turbine.

y1

must be a single value. Provide the y location of the first turbine.

x2

must be a single value. Provide the x location of the second turbine.

y2

must be a single value. Provide the y location of the second turbine.

Details

From point 2's point of view, computes the angle to point 1.

Value

GetAngle returns a single number between 0 and 360. If both points are identical, the return value is 0.

Note

Note that this function returns an angle in arithmetic degrees notation. To convert to azimuth notation, use Geo2Ari.

Author(s)

Carsten Croonenbroeck

See Also

Use JensenAngle to compute the wake cone and with it, use JensenTrapezoid to see if another turbine B is in turbine A's wake.

Examples

GetAngle(0.2, 0.2, 0.1, 0.1)
## Looking from point (0.1, 0.1) at point (0.2, 0.2), the angle is 45° (arithmetic).

[Package wflo version 1.9 Index]