davidovitch / BasicDTUController

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic DTU Wind Energy controller

Introduction

The scope of this project is to provide a basic open-source open-access controller that can be used by the community as a reference.

The basic DTU Wind Energy controller is designed for pitch-regulated variable speed wind turbines. The controller features both partial and full load operation capabilities as well as switching mechanisms ensuring smooth transition between the two modes of operation. The partial load controller is based on a classical K Omega**2 strategy or on a proportional-integral controller to track constant tip speed ratio. The full load controllers is also based on classical proportional-integral control theory. The controller also includes drivetrain and tower dampers, a rotor speed exclusion zone, and filters on the feedback signal.

Blade pitch servo and generator models are not included in this controller. They can be found in the project ServoAndUtilities.

Compatibility

The repository includes Visual Studio project (for Windows) and Makefiles (for Windows and Linux) to create DLLs to interface the controller to HAWC2 and Bladed.

The controller is written in Fortran and it is compatible with Intel and GFortran compilers. It can be compiled both on Windows and Linux.

Compilation

  • For compilation using Visual Studio open the Visual Studio Solution or Projec files (*.sln, *.vfproj)

  • For compilation using Makefile, read the instructions in src/Makefile.README.txt

Documentation

The documentation can be found here.

The documentation is written in Sphinx and can be built by typing:

$ cd docs
$ make html

The documentations requires the Fortran Sphynx extension that can be pip installed by typing:

$ pip install sphinx-fortran

Tests

For users that compiled using the shipped makefiles a set of tests are present in the folder "src/_tests".

  • Rudimentary matlab and fortran tests are present in this folder to dynamically load the compiled dlls and perform a simple call.
  • Running make within this folder will perform the Fortran tests using different "Fortran" method to load a dll (i.e. cray-pointer or C-integer handles).

License

The Basic DTU Wind Energy controller is distributed under the GNU General Public License v3.0.

References

When using the Basic DTU Wind Energy controller, please refer to the following publications:

  • Hansen, MH & Henriksen, LC 2013, Basic DTU Wind Energy controller. DTU Wind Energy. DTU Wind Energy E, no. 0028 link

About

License:GNU General Public License v3.0


Languages

Language:Fortran 70.4%Language:Makefile 27.2%Language:Batchfile 1.0%Language:MATLAB 1.0%Language:C 0.4%