KiteModels

Kite power system models, consisting of tether and kite
The models have the following subcomponents, implemented in separate packages:
This package is part of Julia Kite Power Tools, which consists of the following packages:

News
October 2026
find_steady_state! and init! are now much more robust: in a benchmark with wind speeds of 6 to 25 m/s,
elevations of 40° to 85° and tether lengths of 50 to 1000 m, all cases were solved. The keyword arguments
delta and stiffness_factor are no longer needed; they are deprecated and ignored. The new keyword argument
trim=true places the kite at its natural elevation, where all forces are balanced, so that the elevation
stays constant after init!
- the state of a simulation can be saved with
save_state to a human-readable YAML file, loaded with
load_state, and continued with init!(s; initial_state); SysState now also contains the spring forces,
the aerodynamic forces and moments, the particle velocities and the turn rates of the kite
- breaking:
SysState(s) now contains the spring forces, so a Logger must be created with
Logger(P, steps; segments=n_springs(s))
May 2026
- a turbulent wind field is now available and can be used with the examples. It uses the package AtmosphericModels.jl to generate 3D turbulent wind field files on request. The first
menu entry in
menu2() allows you to set a turbulence between 0.0 and 1.0, relative to the one year average turbulence
at Cabauw, NL.
February 2026
- the
SymbolicAWEModel has been moved to a separate package SymbolicAWEModels.jl for better maintainability
November 2024
- the four point kite model KPS4 was extended to include aerodynamic damping of pitch oscillations;
for this purpose, the parameters
cmq and cord_length must be defined in settings.yaml
- the four point kite model KPS4 was extended to include the impact of the deformation of the
kite on the turn rate; for this, the parameter
smc must be defined in settings.yaml
October 2024
- the orientation is now represented with respect to the NED reference frame
- azimuth is now calculated in wind reference frame. This allows it to handle changes of the wind direction
during flight correctly.
- many unit tests added by a new contributor
- many tests for model verification added; they can be accessed using the
menu2.jl script
- the documentation was improved
What to install
If you want to run simulations and see the results in 3D, please install the package KiteControllers. If you are not interested in 3D visualization or control you can just install this package.
Installation as package
Install Julia 1.12 or 1.13, if you haven’t already.
Make sure that MakieControlPlots.jl works as explained in the MakieControlPlots.jl installation instructions.
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 (careful, can take 60 min):
pkg"test KiteModels"
You can copy the examples to your project with:
using KiteModels
KiteModels.install_examples()
KiteModels.install_examples_3d() # this step is optional, it will cost some extra time
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")
To speed up the model initialization, you can create a system image. Building it needs at least 16 GB of RAM (8 GB on macOS) and at least 30 GB of RAM + swap.
cd bin
./create_sys_image
If you now launch Julia with ./bin/run_julia and then run the above example again, it should be about three times faster.
Installation from git
Install the Julia installer juliaup, if you haven’t already. The install script below installs Julia 1.12 or 1.13 if needed.
Make sure that MakieControlPlots.jl works as explained in the installation instructions.
Before installing this software it is suggested to create a new folder, for example like this:
mkdir awe
cd awe
Then add KiteModels from git:
git clone https://github.com/OpenSourceAWE/KiteModels.jl.git
cd KiteModels.jl
Then, run the install script in interactive mode:
cd bin
./install -i
cd ..
With -i, the script asks a few questions: it installs or selects a supported Julia version, offers to add the alias jl for bin/run_julia to your shell configuration, to install Revise and to run the tests. Then it installs the tested package versions and precompiles the package and the examples.
You can now launch Julia:
./bin/run_julia
and run one of the two example menus:
menu() # or menu2()
To reduce the start time, you can create a system image (this can take 30min). Building it needs at least 16 GB of RAM (8 GB on macOS) and at least 30 GB of RAM + swap.
cd bin
./create_sys_image
If you now launch Julia with ./bin/run_julia and then run the above example again, the time-to-first-plot
should be much faster.
Advanced installation
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.
Then run the install script, the first time with -i as explained above:
cd KiteModels.jl/bin
./install -i
Later, after pulling changes or switching to another branch, run bin/install without parameters: it asks no questions and only installs the package versions of the default manifest.
Then compile a system image:
./create_sys_image
If you now launch julia with:
cd ..
./bin/run_julia
You can run the examples with:
menu() # or menu2()
One point model
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.
Four point model
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.

Tether
The tether is modeled as point masses, connected by spring-damper elements. Aerodynamic drag is modeled realistically. When reeling out or in the unstretched 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.
Further reading
The models KPS3 and KPS4 are described in detail in Dynamic Model of a Pumping Kite Power System.
Replaying log files
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 KiteControllers.
License
This project is licensed under the MIT and the MPL-2.0 License. The documentation is licensed under the CC-BY-4.0 License. Please see the below Copyright notice in association with the licenses that can be found in the LICENSES folder.
Copyright notice
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, Technische Universiteit Delft.
See the copyright notices in the source files, and the list of authors in AUTHORS.md.
Donations
If you like this software, please consider donating to Medical treatment .
See also
Documentation Stable Version — Development Version
评论