aeolus header

Creating a Wind Farm Model

The toolbox provides two methods for generating a wind farm model. One is interactive and the other is programatically from a Matlab script.

Both methods requires the set of data listed below

  • Number of turbines

  • Turbine positions (x,y) in meters

  • Turbine model (for each turbine)

  • Wind field data (see wind field generation)

  • Name and path to the mdl file

The interactive method will ask for this data and create the appropriate data structures etc you only need to double-click the Wind Farm Template - Taylor or Wind Farm Template - No Taylor block in the simulink library to start the procedure. Alternatively, you can run the script create_windfarm.m or create_windfarm_no_taylor.m.

The programmatic method requires that you place this data in appropriate data structures and invoke the gen_windfarm method, which uses the old wind generation (an example illustrating how this is done using the new wind generation method is currently not available).

This is best illustrated by example.

Wind farm model creation

%The farm has three turbines, two of them NREL5MW and one V80
farm.turbines={'NREL5MW', 'VESTASV80', 'NREL5MW'}

%The position of the turbines.
farm.pos=[0    100    200; %X values
	 200  300    400] %Y values

%Filename
file='myfarm.mdl'

%Pathname
path='/home/controldesigner/windfarm'

%Load the wind data used in the benchmark
l=load('benchmarkwind.mat')
wind=l.wind;

%Generate the wind farm
gen_windfarm(file,path,farm,wind);