Learn R Programming

windfarmGA (version 2.3.0)

random_search_single: Randomize the location of a single turbine

Description

Perform a random search for a single turbine, to further optimize the output of the wind farm layout.

Usage

random_search_single(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

Value

Returns a list

See Also

Other Randomization: plot_random_search(), random_search()

Other Plotting Functions: interpol_view(), plot_cloud(), plot_development(), plot_evolution(), plot_fitness_evolution(), plot_heatmap(), plot_parkfitness(), plot_result(), plot_viewshed(), plot_windfarmGA(), plot_windrose()