Height | R Documentation |
For a turbine's location represented by x
and y
, looks up the elevation from the matrix Elev
. Internally transforms coordinates of x
and y
from problem space (usually unit square) to the matrix space of Elev
.
Height(x, y, Elev)
x |
must be a single value containing the 'x' location of a turbine in problem space. |
y |
must be a single value containing the 'y' location of a turbine in problem space. |
Elev |
a matrix containing heights. Usually, the fifth element of the list object |
Height is a convenience function for looking up heights as required e.g. for a partial Jensen wake model, independent from the actual size of the area under investigation.
Height
returns a single value, the elevation in meters.
Carsten Croonenbroeck
Profit
to see where to use Height
. See FarmData
for the data set.
## Returns adjusted yield for the given location. P <- c(0.5868695, 0.9722714) Height(P[1], P[2], FarmData[[5]][e$FarmVars$StartPoint:e$FarmVars$EndPoint, e$FarmVars$StartPoint:e$FarmVars$EndPoint])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.