Kite and tether models for the simulation of kite power systems
MIT License
The model has the following subcomponents, implemented in separate packages:
This package is part of Julia Kite Power Tools, which consists of the following packages:
TorqueControlledMachine
. It can be configured in the section winch
of the settings.yaml
file. It uses a set torque as input.If you want to run simulations and see the results in 3D, please install the meta package KiteSimulators . If you are not interested in 3D visualization or control you can just install this package.
Install Julia 1.10 or later, if you haven't already.
Before installing this software it is suggested to create a new project, for example like this:
mkdir test
cd test
julia --project="."
Then add KiteModels from Julia's package manager, by typing:
using Pkg
pkg"add KiteModels"
at the Julia prompt. You can run the unit tests with the command:
pkg"test KiteModels"
You can copy the examples to your project with:
using KiteModels
KiteModels.install_examples()
This also adds the extra packages, needed for the examples to the project. Furthermore, it creates a folder data
with some example input files. You can now run the examples with the command:
include("examples/menu.jl")
If you intend to modify or extend the code, it is suggested to fork the KiteModels.jl
repository and to check out your fork:
git clone https://github.com/USERNAME/KiteModels.jl
where USERNAME is your github username. The compile a system image:
cd KiteModels.jl/bin
./create_sys_image --update
If you know launch julia with:
cd ..
./bin/run_julia
you can run the examples with
include("example/menu.jl")
This model assumes the kite to be a point mass. This is sufficient to model the aerodynamic forces, but the dynamic concerning the turning action of the kite is not realistic. When combined with a controller for the turn rate it can be used to simulate a pumping kite power system with medium accuracy.
This model assumes the kite to consist of four-point masses with aerodynamic forces acting on points B, C and D. It reacts much more realistically than the one-point model because it has rotational inertia in every axis.
The tether is modeled as point masses, connected by spring-damper elements. Aerodynamic drag is modeled realistically. When reeling out or in the unstreched length of the spring-damper elements is varied. This does not translate into physics directly, but it avoids adding point masses at run-time, which would be even worse because it would introduce discontinuities. When using Dyneema or similar high-strength materials for the tether the resulting system is very stiff which is a challenge for the solver.
These models are described in detail in Dynamic Model of a Pumping Kite Power System.
If you want to replay old flight log files in 2D and 3D to understand and explain better how kite power systems work, please have a look at KiteViewer . How new log files can be created and replayed is explained in the documentation of KiteSimulators .
This project is licensed under the MIT License. Please see the below WAIVER in association with the license.
Technische Universiteit Delft hereby disclaims all copyright interest in the package “KiteModels.jl” (models for airborne wind energy systems) written by the Author(s).
Prof.dr. H.G.C. (Henri) Werij, Dean of Aerospace Engineering
If you like this software, please consider donating to Flood in Kenya .
Documentation Stable Version --- Development Version
Author: Uwe Fechner ([email protected]), Bart van de Lint