Learn R Programming

windfarmGA (version 2.3.0)

VekWinkelCalc: Deprecated use get_dist_angles instead.

Description

VekWinkelCalc is replaced by get_dist_angles.

Usage

VekWinkelCalc(t, o, wkl, distanz, polYgon, plotAngles)

Arguments

t

A matrix of the current individual with x and y coordinates

o

A numeric value indicating the index of the current turbine

wkl

A numeric value indicating the angle, at which no wake influences are considered. Default is 20 degrees.

distanz

A numeric value indicating the distance, after which the wake effects are considered to be eliminated. Default is 100km.

polYgon

A shapefile representing the considered area

plotAngles

A logical variable, which is used to plot the distances and angles. Default is FALSE