Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

⚠️There's a newer version (4.0.0) of this package.Take me there.

windfarmGA (version 3.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

103

Version

3.0.0

License

MIT + file LICENSE

Maintainer

Sebastian Gatscha

Last Published

May 5th, 2021

Functions in windfarmGA (3.0.0)

grid_area

Make a grid from a Simple Feature Polygon
hole_shape

A POLYGON with a hole
init_population

Create a random initial Population
genetic_algorithm

Run a Genetic Algorithm to optimize a wind farm layout
plot_heatmap

Plot a heatmap of selected grid cells
plot_fitness_evolution

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

Plot the best results
hexa_area

Polygon to Hexagonal Grid Tessellation
plot_windfarmGA

Plot the results of an optimization run
plot_random_search

Plot the result of a randomized output.
plot_viewshed

Plot viewshed results
plot_evolution

Plot the evolution of fitness values
plot_development

Plot the progress of populations
plot_leaflet

Plot a wind warm with leaflet
mutation

Mutation Method
multi_shape

A MULTIPOLYGON with 3 Polygons
get_dist_angles

Calculate distances and angles of possibly influencing turbines
windata_format

Transform Winddata
viewshed

Calculate visibility
windfarmGA

Run a Genetic Algorithm to optimize a wind farm layout
plot_windrose

Plot a Windrose
random_search

Randomize the output of the Genetic Algorithm
windfarmGA_

windfarmGA
permutations

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

Get the Grid-IDs from binary matrix
random_search_single

Randomize the location of a single turbine
plot_cloud

Plot outputs of all generations with standard deviations
resultrect

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

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

Sample values from a raster
trimton

Adjust the amount of turbines per windfarm
interpol_view

Plot an interpolated viewshed
isSpatial

Transform to Simple Feature Polygons
splitAt

Split matrices or numeric vectors at specific indices
plot_parkfitness

Plot the genetic algorithm results
readintegerSel

Check Input Selection Method
sp_polygon

The rectangular POLYGON used to create resultrect & resulthex
selection

Selection Method
readinteger

Check Input Crossover Method
turbine_influences

Find potentially influencing turbines
viewTo

Calculate Visibility between multiple locations
dup_coords

Splits duplicated coords (copy of geoR::dup.coords)
barometric_height

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

getISO3
big_shape

A POLYGON with an area of ~70 km2
cansee

Calculate Visibility between 2 locations
getDEM

Get DEM raster
fitness

Evaluate the Individual Fitness values
calculate_energy

Calculate Energy Outputs of Individuals
crossover

Crossover Method