MegAWES is a Matlab/Simulink model of an airborne wind energy (AWE) system based on a tethered rigid wing that is operated in pumping cycles producing multiple megawatt of electricity. Additional info can be foud in the publication in [1]. The framework is a further development of the graduation project of Dylan Eijkelhof which was jointly supervised by TU Delft, ETH Zurich and DTU [2,3]. The ultimate purpose is to provide a reference model of a megawatt-range AWE system and a computational framework to simulate its operation. The simulink framework includes the following model components:
- Pre-calculated look-up tables for aircraft's aerodynamic behaviour.
- Segmented tether with a single attachment point at the kite's centre of gravity.
- Choice between 3DoF point-mass and 6DoF rigid-body dynamic solver.
- Aircraft controller for power generation flight controls and path tracking.
- Set-force controlled dynamic winch (based on [4]).
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to run the software and how to install them.
-
Install Matlab/Simulink R2019B and some extra packages (for instructions how te get matlab, click here):
Matlab (version R2019B, 9.7) Simulink (version R2019B, 10.0) Curve Fitting Toolbox (version 3.5.10, only needed for 6DoF) Stateflow (version 10.1) DSP System Toolbox (version 9.9, only needed for tether test cases)
-
Install Git and Git-lfs (for instructions how to get git and git-lfs, click here for git and here for git-lfs). Without git-lfs the libraries might not clone properly (note: other methods might also work).
-
After installation of git-lfs run the following command in a terminal (Unix, MacOS)/command(Windows) window:
git lfs install
-
Do not forget to check if the previously mentioned software is installed.
-
Get a copy of the latest
MegAWES
environment release:git clone https://github.com/awegroup/MegAWES.git
A step by step series of examples that tell you how to get a development env running, tested on macOS 11.2.3
-
The following file allows you to run a full simulation until power cycle convergence of the current aircraft.
Run_OneSimulation.m
Two important parameters are set here:
Kite_DOF: Kite degrees of freedom, 3 (point-mass) or 6 (rigid-body) windspeed: Maximum wind speed of the wind shear profile, occurs at 250m altitude and above, 3DoF: Always forced to 22m/s 6DoF: 8m/s, 10m/s, 14m/s, 16m/s, 18m/s, 20m/s, 22m/s, 25m/s, 28m/s, 30m/s
-
All input variables are set in:
Src/Common/Get_simulation_params.m
where base variables are set in:
Src/Common/initAllSimParams_DE2019.m
Following parameters are set:
- Aircraft is loaded from the
DE2019_params.mat
file. - Environment parameters
- Steady base windspeed, 6m altitude (no turbulence is included at this stage).
- Simulation initialisation parameters
- Simulation constraints
- Tether characteristics
- Winch characteristics
- Flight path shape
- Tether force set-point (tracking)
- Controller gains
- Initialisation phase (loiter)
- Aircraft is loaded from the
-
In the simulink models for both 3 and 6 DoF, the output parameters are defined in block:
RequirementModelsAndLogging
An example of the visualisation of the output is given in the main file
Run_OneSimulation.m
at the bottom. There the continuous power throughout the cycle is plotted, and a visual of the flight path is plotted in a 3D environment with colour coding the power production.Also an example is provided on how to visualise the converged power pumping cycle as an animation.
-
Required libraries are found in the
Lib
folder and the source code can be found in theSrc
folder which are divided up between code required for 3DoF, 6DoF or both simulations. Rapp [5] gives a more detailed explanation of the controller strategy and reference frames used throughout this framework.
A detailed documentation of the simulation framework can be accessed on readthedocs.
- Matlab - The program language used
- Simulink - The GUI used for model-based design through block diagrams
For the versions available, see the tags on this repository.
- Dylan Eijkelhof - Initial work current system design, multi-MW aircraft - GitHub
- Urban Fasel - Initial framework set-up
- Sebastian Rapp - Flight controller design - GitHub
See also the list of contributors who participated in this project.
This project is licensed under the Apache License - see the LICENSE file for details
[1] D. Eijkelhof, R. Schmehl: Six-degrees-of-freedom simulation model for future multi-megawatt airborne wind energy systems. Renewable Energy, Vol. 196, pp. 137-150, 2022. doi:10.1016/j.renene.2022.06.094
[2] D. Eijkelhof: Design and Optimisation Framework of a Multi-MW Airborne Wind Energy Reference System. MSc Thesis Delft University of Technology and Technical University of Denmark, 2019. uuid:e759f9ad-ab67-43b3-97e0-75558ecf222d
[3] D. Eijkelhof, S. Rapp, U. Fasel, M. Gaunaa, R. Schmehl: Reference Design and Simulation Framework of a Multi-Megawatt Airborne Wind Energy System. Journal of Physics: Conference Series, Vol. 1618, No. 3, 2020. doi:10.1088/1742-6596/1618/3/032020
[4] U. Fechner, R. van der Vlugt, E. Schreuder, R. Schmehl: Dynamic model of a pumping kite power system. Renewable Energy, Vol. 83, pp. 705-716, 2015. doi:10.1016/j.renene.2015.04.028
[5] S. Rapp: Robust Automatic Pumping Cycle Operation of Airborne Wind Energy Systems. PhD Thesis, Delft University of Technology, 2021. doi:10.4233/uuid:ab2adf33-ef5d-413c-b403-2cfb4f9b6bae
- Outstanding guidance of Roland Schmehl (TU Delft) and Mac Gaunaa (DTU wind energy).
- This project is financially supported by the Unmanned Valley Valkenburg project of the European Regional Development Fund.
- A special thank you to the following people whos work helped with the design of the DE2019 aircraft:
- Dominic Keidel
- Cla Mattia Galliard
- Lorenz Affentranger
- Gian Joerimann
- Michael Imobersteg