Skip to content

Commit 04a5ae3

Browse files
1-Bart-1ufechner7
andauthored
Fix ram model (#192)
* Add simple model * Working simple model * Linearize the model * Fix precompilation * Working precompilation * Succesful lin * Create linearization problem * Make simple model even simpler * Stable example * Working simple example * Update input output * Move init unknowns * Initialize with tether acc * Reliable in out function * Add a prob version as check/baseline * Compare step functions * Compare step functions * Add back try catch * Add name and move functions * Add polars * Downgrade MTK * Passing test with reused model * Fix heading calculation * Check for plot * Check for plot * Add fields to s * Add fields * Fix state lin * Add s from set * Lower accuracy * Add angle of attack * Add symbolic aoa * Add todo * Fix version name * Fix example * Update MTK * Quasi-static init * Fix init bug * Two working examples * Working integ input-output * Show that reinit is possible * Add non-adaptive optioin * Add simple twist angle * Add simple twist * Define var * Fix bug * Add front frac var * Rotate around le * Working ram and simple ram example * Not all need compression frac * Very fast * Fix example * Updade nonlinearsolve * Fix ram test * Update packages * Better initial state * Fixed omega z * Small fixes * Fix first init bug * Add julia version arg * Fix test and example * Improve scripts * Delete old prob defaults * Rebuild sys * Fix test and stiff unknowns * Align z axis * Example working well * Working example * Short SysState function * Add more relax * Fast non adaptive * Use new sysstate fields * Use default init alg * Update for simple * Working input output * Tests pass * Working examples * Remove unneccesary show * Update manifests * Add discrete example * Small fixes * Add linear model * Update operating point * Actually update op * Fix lin * Set lin set_values * Add vsm to lin * Fix initial set * Fix stupid bug * Add turn rate * Dont remake * Fixed nonstiff * Improve linearize * Add nonstiff * Fix bug * Add measurements * Correct lin setters * Fix bug * Fix tests * Update default manifest * Add test_plan.md * Fix precompile script * Update manifest * Fix type bug * Improve tether init * Fix prob name * Update test_plan.md * Update name * Add section Test again * Update default bin file * Add version cmd line arg * Update docs * Precompile full model * Document test failure * Delete bin files when creating a sysimage * Minor change * Fix mistake in point mass system * Update precompile.jl * Add messages * Update create_sys_image and precompile.jl * New default manifest and new default problem * Next try * Fix info message * Update manifest and xz file for 1.10 * Update message text * Everything in body frame * Add param * Correct init with elevation * Remove unused imports * Correct heading calculation * Update WAIVER * Revert bin to main * Remove unused example * Change heading name * Remove .arrow from git * Remove arrow * Move licenses to toml * Fix inconsistent init * Remove unused example * Updated prob * Fix test * Fix const * Add option to provide julia version * Update default prob * Change back to main version * Fix docu error * Improve docu --------- Co-authored-by: Uwe Fechner <[email protected]> Co-authored-by: Uwe Fechner <[email protected]>
1 parent 294ea3b commit 04a5ae3

16 files changed

+121
-155
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
*.arrow
12
*.bin
23
*.xopp
34
*.so

REUSE.toml

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,31 @@
11
version = 1
22

33
[[annotations]]
4-
path = "data/prob*"
5-
6-
SPDX-FileCopyrightText = "2025 Bart van de Lint"
7-
SPDX-License-Identifier = "MPL-2.0"
8-
9-
[[annotations]]
10-
path = "data/ram_air_kite*"
11-
4+
path = ["data/prob*", "data/ram*", "examples/discrete_jacobian.jl"]
125
SPDX-FileCopyrightText = "2025 Bart van de Lint"
136
SPDX-License-Identifier = "MPL-2.0"
147

158
[[annotations]]
16-
path = "Manifest*"
17-
18-
SPDX-FileCopyrightText = "2025 Uwe Fechner, Bart van de Lint"
19-
SPDX-License-Identifier = "MIT"
20-
21-
[[annotations]]
22-
path = "Project.toml"
23-
24-
SPDX-FileCopyrightText = "2025 Uwe Fechner, Bart van de Lint"
25-
SPDX-License-Identifier = "MIT"
9+
path = "data/*ram.yaml"
10+
SPDX-FileCopyrightText = "2025 Bart van de Lint, Uwe Fechner"
11+
SPDX-License-Identifier = "CC-BY-4.0"
2612

2713
[[annotations]]
28-
path = "CITATION.cff"
29-
14+
path = ["data/settings.yaml", "data/system.yaml", "data/vsm_settings.yaml"]
3015
SPDX-FileCopyrightText = "2025 Uwe Fechner"
31-
SPDX-License-Identifier = "MIT"
16+
SPDX-License-Identifier = "CC-BY-4.0"
3217

3318
[[annotations]]
34-
path = ".gitignore"
35-
19+
path = ["Manifest*", "Project.toml", ".gitignore"]
3620
SPDX-FileCopyrightText = "2025 Uwe Fechner, Bart van de Lint"
3721
SPDX-License-Identifier = "MIT"
3822

3923
[[annotations]]
4024
path = ["docs/src/*.png", "docs/src/*.md", "docs/src/kite_power_tools.drawio"]
41-
4225
SPDX-FileCopyrightText = "2025 Uwe Fechner"
4326
SPDX-License-Identifier = "CC-BY-4.0"
4427

4528
[[annotations]]
46-
path = ["docs/.gitignore", "docs/Project.toml"]
47-
29+
path = ["docs/.gitignore", "docs/Project.toml", "CITATION.cff"]
4830
SPDX-FileCopyrightText = "2025 Uwe Fechner"
4931
SPDX-License-Identifier = "MIT"
-564 Bytes
Binary file not shown.
3.34 KB
Binary file not shown.

data/settings.yaml.license

Lines changed: 0 additions & 3 deletions
This file was deleted.

data/settings_ram.yaml.license

Lines changed: 0 additions & 2 deletions
This file was deleted.

data/system.yaml.license

Lines changed: 0 additions & 3 deletions
This file was deleted.

data/system_ram.yaml.license

Lines changed: 0 additions & 3 deletions
This file was deleted.

data/vsm_settings.yaml.license

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/src/examples_ram_air.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,15 @@ SIMPLE=true; include("examples/ram_air_kite.jl")
7373
The simple model has a very simple bridle system without pulleys and with less attachment points on the wing.
7474
While the default model has a [speed system](https://kiteboarding.com/proddetail.asp?prod=ozone-r1v4-pro-tune-speedsystem-complete) with pulleys and more attachment points on the wing.
7575

76-
![Oscillating steering input response, simple system](oscillating_steering_simple.png)
76+
![Oscillating steering input response, simple system](oscillating_steering_simple.png)
77+
78+
## How to create a RamAirKite
79+
The following code is a minimal example that shows how to create a ram air kite struct:
80+
```
81+
using KiteModels
82+
83+
# Initialize model
84+
set = load_settings("system_ram.yaml")
85+
86+
rak = RamAirKite(set)
87+
```

0 commit comments

Comments
 (0)