Wind farm matlab/simulink toolbox (1)

1. Summary        

        When carrying out corresponding simulation modeling, we often have no way to start and cannot find a breakthrough in simulation. It is more desirable to have a toolbox that can have "plug and play" functions, so this article intends to introduce the toolbox used for wind farms. SimWindFarm Toolbox.

2. Toolbox download and installation

 1. Download

        Download URL: https://ict-aeolus.eu/SimWindFarm/download.html

This URL has a download of the toolbox and a brief description of how to use it. Currently the highest version is V1.1.

        The downloaded folder is in the form of a compressed package.

2. Install

1) Unzip the downloaded installation package in your favorite location

         Unzip a bunch of folders and files, as shown in the figure above.

2) Find an install.m file, open and run

        

 3) After running, you will find a SimWindFarm in the toolbox

         If you do not find this toolbox after running, notice that there is something similar to a warning on the top of your above picture, which probably means "you may miss some installation packages". After clicking, the pop-up Select the first item in the box and click OK. After a while, the SimWindFarm toolbox will appear.

4. Install a Matlab mex compiler (run mex -setup)

 

 After running, the above warning instructions will appear. Let's put this error aside for a moment and discuss why a compiler is used.

 Why use a compiler?       

        MATLAB can call binary MATLAB executable files (MEX, MATLAB executable) compiled from C/C++ or FORTRAN language files. Different from ordinary C/C++/FORTRAN, MEX source files need additional setting of gateway function to interface with MATLAB. Mathworks also provides relevant header files, providing definitions of some data types, and various functions such as preprocessing of data sizes.

Installation of the mex compiler:

According to the introduction of the above document, find the option to obtain additional functions, as follows

 

Search for MinGw, search and install. After the installation is complete, the compiler is also installed.

3. Acquisition of wind speed data

      

 There are two wind speed data packages available on the web page. Just click to download.


         For me, the most annoying thing is the software download, installation and configuration. Finally the previous work is done. Then it's time to use the toolbox to your heart's content.

4. Introduction to the Toolbox

1. Generation method of wind farm      

         The toolbox provides a simple model of a wind turbine, as well as the generation of the wind field and the simulation of the wake. And the toolbox provides two methods for generating wind fields:

1) Consider the Taylor Freeze Hypothesis

2) Wind farms with wind action

2. Functions that can be realized by the toolbox

1) The wind farm can be arranged arbitrarily

2) Automatically generate the model of the wind farm

3) Integrate this model into simulink

4) Simple wind farm control and network operation

5) Wake animation

6) Fatigue analysis

7) Consider the influence of turbulence on the wake

3. Some disadvantages of the toolbox

1) SNR curve slope is currently hardcoded

2) The limit load is currently hardcoded

3) The newly added wind turbines must be of the same type as the wind farm.

Guess you like

Origin blog.csdn.net/szl__lzs/article/details/121739829