Perform a random search for a single turbine, to further optimize the output of the wind farm layout.
Usage
random_search_single(
result,
area,
runs = 20,
plot = FALSE,
max_dist = 2.2,
terrain = NULL,
weibull = NULL,
weibull_src = NULL,
ccl = NULL,
ccl_roughness = NULL,
turbine = NULL
)Arguments
- result
The resulting matrix of the function
genetic_algorithm- area
Site polygon (
sf, SpatialPolygons, or coordinate matrix). Must be projected in metres.- runs
How many jittered layouts to try per
beststart. Default is 20.- plot
Draw the random-search layouts
- max_dist
A numeric value multiplied by the rotor radius to perform collision checks. Default is 2.2
- terrain
NULL(default) follows the GA and reusesresult$terrainModel.TRUEdownloads only if nothing is stored. A DEM rebuilds the model.FALSEskips terrain.- weibull
NULLfollows the GA flag. Weibull rasters are not stored; passweibull_src(or a speed raster asweibull) again. Givingweibull_srcis enough; you do not also needweibull = TRUE.- weibull_src
list(k, a)shape and scale rasters (e.g. Global Wind Atlascombined-Weibull-k/combined-Weibull-A).- ccl
Path to a Corine Land Cover raster when
terrainis on.- ccl_roughness
Path to the CLC legend CSV (
Rauhigkeit_zcolumn).- turbine
Grid cell ID of the turbine to move. If
NULL, the function asks interactively.
See also
Other Randomization:
plot_random_search(),
random_search()
Other Plotting Functions:
generation_layouts(),
plot_cell_heatmap(),
plot_cloud(),
plot_development(),
plot_evolution(),
plot_generation(),
plot_parkfitness(),
plot_population(),
plot_result(),
plot_windfarmGA(),
plot_windrose(),
population_census()