- area
Site polygon (sf, SpatialPolygons, or coordinate matrix).
Must be projected in metres.
- wind
Wind data.frame with ws, wd and optional probab.
See windata_format().
- n
Number of turbines (fixed; every individual has n unique cell IDs).
- rotor
Rotor radius in metres.
- rotor_height
Hub height in metres.
- grid_method
"rectangular" or "h" / "hexagon".
- fcr
Grid spacing factor. Cell size is fcr * rotor.
- reference_height
Height at which wind$ws was measured.
- surface_roughness
Roughness length in metres. Per-cell when
terrain is on.
- proportionality
Minimum fraction of a grid cell that must overlap
the site (prop in grid_area()).
- iteration
Generation budget.
- mutation_rate
Swap probability per turbine. NULL means 2/n.
- terrain
Terrain model (elevation + land cover). TRUE
downloads a DEM via elevatr. Pass a DEM raster to skip the
download. Per-cell values are computed once and stored in the
result as terrainModel for plot_result() / random_search().
- elitism
Archive the best layout and breed elite children.
- n_elite
Base elite count (grows/shrinks with search phase).
- selection_mode
"VAR" (parent share follows fitness) or "FIX" (50 %).
- crs
CRS if area has none (EPSG code or PROJ string).
- ccl
Path to a Corine Land Cover raster when terrain is on.
- ccl_roughness
Path to the CLC legend CSV (Rauhigkeit_z column).
- weibull
If TRUE, hub-height speed comes from Weibull rasters;
wind$ws is ignored.
- weibull_src
list(k, a) shape and scale rasters (e.g. Global
Wind Atlas combined-Weibull-k / combined-Weibull-A).
- parallel
Parallel fitness (parallel + doParallel).
- n_cluster
Worker count when parallel is TRUE.
- verbose
Print a line per generation.
- plot
Plot the current best layout each generation.
- on_generation
Optional callback after each generation:
function(generation, iteration, energy, efficiency, fitness).
Used by Shiny for progress. Errors in the callback are ignored.