Learn R Programming

windfarmGA (version 2.3.0)

RandomSearchTurb: Deprecated use random_search_single instead.

Description

RandomSearchTurb is replaced by random_search_single.

Usage

RandomSearchTurb(result, Polygon1, n, Plot, GridMethod, max_dist = 2.2)

Arguments

result

The resulting matrix of the function genetic_algorithm or windfarmGA

Polygon1

The Polygon for the wind farm area.

n

The number of random searches to be performed. Default is 20.

Plot

Should the random search be plotted? Default is TRUE

GridMethod

Should the polygon be divided into rectangular or hexagonal grid cells? The default is rectangular grid cells and hexagonal grid cells are computed when assigning "h" or "hexagon" to this variable. The randomly generated points might be placed outside their hexagon.

max_dist

A numeric value multiplied by the rotor radius to perform collision checks. Default is 2.2