random_search
instead.RandomSearch is replaced by
random_search
.
RandomSearch(result, Polygon1, n, best, Plot, GridMethod, max_dist = 2.2)
The resulting matrix of the function genetic_algorithm
or windfarmGA
The Polygon for the wind farm area.
The number of random searches to be performed. Default is 20.
Which best individuals should be the starting conditions for a random search. The default is 1.
Should the random search be plotted? Default is FALSE
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 input variable. The randomly generated points might be placed outside their hexagons.
A numeric value multiplied by the rotor radius to perform collision checks. Default is 2.2