Learn R Programming

windfarmGA (version 4.0.0)

Genetic Algorithm for Wind Farm Layout Optimization

Description

The genetic algorithm is designed to optimize wind farms of any shape. It requires a predefined amount of turbines, a unified rotor radius and an average wind speed value for each incoming wind direction. A terrain effect model can be included that downloads an 'SRTM' elevation model and loads a Corine Land Cover raster to approximate surface roughness.

Copy Link

Version

Install

install.packages('windfarmGA')

Monthly Downloads

166

Version

4.0.0

License

MIT + file LICENSE

Maintainer

Sebastian Gatscha

Last Published

January 18th, 2025

Functions in windfarmGA (4.0.0)

isSpatial

Transform to Simple Feature Polygons
permutations

Enumerate the Combinations or Permutations of the Elements of a Vector
plot_development

Plot the progress of populations
mutation

Mutation Method
random_search

Randomize the output of the Genetic Algorithm
plot_leaflet

Plot a wind warm with leaflet
plot_windrose

Plot a Windrose
plot_parkfitness

Plot the genetic algorithm results
plot_random_search

Plot the result of a randomized output.
plot_result

Plot the best results
random_search_single

Randomize the location of a single turbine
plot_viewshed

Plot visibility
resulthex

A resulting matrix of genetic_algorithm with 10 iterations and a hexagonal grid derived from sp_polygon
plot_windfarmGA

Plot the results of an optimization run
readintegerSel

Check Input Selection Method
plot_evolution

Plot the evolution of fitness values
plot_fitness_evolution

Plot the changes of min/mean/max fitness values
resultrect

A resulting matrix of genetic_algorithm with 200 iterations and a rectangular grid derived from sp_polygon
splitAt

Split matrices or numeric vectors at specific indices
selection

Selection Method
terrain_model

Get topographic rasters
sp_polygon

The rectangular POLYGON used to create resultrect & resulthex
turbine_influences

Find potentially influencing turbines
windata_format

Transform Winddata
trimton

Adjust the amount of turbines per windfarm
readinteger

Check Input Crossover Method
windfarmGA-package

windfarmGA: Genetic Algorithm for Wind Farm Layout Optimization
grid_area

Make a grid from a Simple Feature Polygon
barometric_height

Calculates Air Density, Air Pressure and Temperature according to the Barometric Height Formula
fitness

Evaluate the Individual Fitness values
big_shape

A POLYGON with an area of ~70 km2
genetic_algorithm

Run a Genetic Algorithm to optimize a wind farm layout
calculate_energy

Calculate Energy Outputs of Individuals
get_grids

Get the Grid-IDs from binary matrix
circle_intersection

Get area of intersecting circles
get_dist_angles

Calculate distances and angles of possibly influencing turbines
crossover

Crossover Method
hexa_area

Polygon to Hexagonal Grids
init_population

Create a random initial Population
package_installed

Is the package installed or not
plot_cloud

Plot outputs of all generations with standard deviations
multi_shape

A MULTIPOLYGON with 3 Polygons
hole_shape

A POLYGON with a hole