This is a real time dynamic model of a tethered kite which can be useful for visualisation, parameter estimation, flight controller development and so forth for airborne wind turbines. Live demo!
- install nodejs (choose most recent LTS)
- clone from github
npm install
in the root folder- It's recommended to use Visual Studio Code for editing/ "wathcing" and building.
npm run web
. Opens a terminal process that watches for file changes and rebuilds the bundle.js- open
dist/index.html
in browser. On mac you can typeopen dist/index.html
from another terminal.
npm run build
npm run log
ornpm run multi
You can have Visual studio code watch your tsc - tscondig_headless.json to automatically rebuild on file changes. Configure under terminal menu.
This is the output used for the website.
contains bundle.js and index.html is used for the main simulation script. A secondary website playground.html with acombiening playground.js can be used to test parts of the simulator.
Transpiled code output folder for headless mode
Load models from pure .json files
Source files. Configuration, simulation code and the programs
Unit tests for the fundemental aerodynamics ect.
installed packages for instance webpack and threeJS. Don't touch
#Physics We have writen the physics ourselvs. see tether.ts, aero-plane.ts, ...