PlotResult

0th

Percentile

Visualizes the wind farm layout optimization result.

This function draws the adjusted yields of the wind farm under investigation using image, superimposes a contour plot using contour and arrows for the wind directions using ImposeVectorField and then draws the points for the turbines' locations (aligned to their respective raster grid centers).

Keywords
profit, Jensen
Usage
PlotResult(Result)
Arguments
Result

must be an optimization result as returned by an optimizer such as optim. Usually, this will be a list at least containing '$par'. Most optimizers comply with this R standard. If your optimizer does not, wrap its result into a list containing an object '$par' containing the optimization result (i.e., a vector of points).

Details

For maximum convenience and compatibility with numeric optimizers of most kinds, this function expects nothing but the usual optimization result list. This, however, requires that the FarmData dataset as well as the FarmVars object is present defining additional settings.

Value

PlotResult returns nothing.

See Also

Use PlotResult to visualize the optimization result.

Aliases
  • PlotResult
Examples
# NOT RUN {
#Will not provide a very good result
NumTurbines <- 4
set.seed(1357)
Result <- optim(par = runif(NumTurbines * 2), fn = Profit,
  method = "L-BFGS-B", lower = rep(0, NumTurbines * 2),
  upper = rep(1, NumTurbines * 2))
Result
PlotResult(Result)
# }
Documentation reproduced from package wflo, version 1.2, License: GPL-3

Community examples

Looks like there are no examples yet.