Skip to content

Commit dd1aec8

Browse files
1-Bart-1ufechner7
andauthored
Add simple model and linearization (#138)
* 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 * 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 * Update WAIVER * Fix licenses * Add default manifest * Delete default file * Add create_xz_file * Update default problem * Update default manifest for current Julia version only * Updated default bin file * Fix license headers * Fix license headers * Improve message * Always use the default Julia version * Update test_plan * Update message * Update default problem * Update test_plan * Cleanup * Delete license files, add them to REUSE.toml * Update test plan * Cleanup * Add create_xz_file --------- Co-authored-by: Uwe Fechner <[email protected]> Co-authored-by: Uwe Fechner <[email protected]>
1 parent b86311f commit dd1aec8

File tree

61 files changed

+2634
-1182
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+2634
-1182
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ data/settings_v9f.yaml
4848
Manifest-v1.10.toml.bak
4949
Manifest-v1.11.toml.bak
5050
Manifest-v1.11.toml.backup
51+
data/prob*.bin.default
5152
data/prob_dynamic_3_seg.bin.default
5253
data/prob_dynamic_1.11_3_seg.bin.default
5354
data/prob_dynamic_1.10_3_seg.bin.default

.gitignore.license

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

AUTHORS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<!--
22
SPDX-FileCopyrightText: 2025 Uwe Fechner
3-
43
SPDX-License-Identifier: MIT
54
-->
65

CITATION.cff.license

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

LICENSES/MPL-2.0.txt

Lines changed: 373 additions & 0 deletions
Large diffs are not rendered by default.

Manifest-v1.10.toml.default

Lines changed: 20 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
julia_version = "1.10.9"
44
manifest_format = "2.0"
5-
project_hash = "c6fc38d04193f2bbac739c68c7e154eab55bd51a"
5+
project_hash = "5a36713063f56fea2f298f969ff86a63bc583017"
66

77
[[deps.ADTypes]]
88
git-tree-sha1 = "e2478490447631aedba0823d4d7a80b2cc8cdb32"
@@ -196,12 +196,6 @@ git-tree-sha1 = "5a97e67919535d6841172016c9530fd69494e5ec"
196196
uuid = "2a0fbf3d-bb9c-48f3-b0a9-814d99fd7ab9"
197197
version = "0.2.6"
198198

199-
[[deps.CSTParser]]
200-
deps = ["Tokenize"]
201-
git-tree-sha1 = "0157e592151e39fa570645e2b2debcdfb8a0f112"
202-
uuid = "00ebfdb7-1f24-5e51-bd34-a7502290713f"
203-
version = "3.4.3"
204-
205199
[[deps.CSV]]
206200
deps = ["CodecZlib", "Dates", "FilePathsBase", "InlineStrings", "Mmap", "Parsers", "PooledArrays", "PrecompileTools", "SentinelArrays", "Tables", "Unicode", "WeakRefStrings", "WorkerUtilities"]
207201
git-tree-sha1 = "deddd8725e5e1cc49ee205a1964256043720a6c3"
@@ -272,10 +266,10 @@ uuid = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
272266
version = "1.0.3"
273267

274268
[[deps.CommonMark]]
275-
deps = ["Crayons", "PrecompileTools"]
276-
git-tree-sha1 = "5fdf00d1979fd4883b44b754fc3423175c9504b4"
269+
deps = ["PrecompileTools"]
270+
git-tree-sha1 = "351d6f4eaf273b753001b2de4dffb8279b100769"
277271
uuid = "a80b9123-70ca-4bc0-993e-6e3bcb318db6"
278-
version = "0.8.16"
272+
version = "0.9.1"
279273

280274
[[deps.CommonSolve]]
281275
git-tree-sha1 = "0eee5eb66b1cf62cd6ad1b460238e60e4b09400c"
@@ -882,10 +876,15 @@ uuid = "ae98c720-c025-4a4a-838c-29b094483192"
882876
version = "0.2.1"
883877

884878
[[deps.JuliaFormatter]]
885-
deps = ["CSTParser", "CommonMark", "DataStructures", "Glob", "PrecompileTools", "TOML", "Tokenize"]
886-
git-tree-sha1 = "59cf7ad64f1b0708a4fa4369879d33bad3239b56"
879+
deps = ["CommonMark", "Glob", "JuliaSyntax", "PrecompileTools", "TOML"]
880+
git-tree-sha1 = "56b382cd34b1a80f63211a0b009461915915bf9e"
887881
uuid = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
888-
version = "1.0.62"
882+
version = "2.1.2"
883+
884+
[[deps.JuliaSyntax]]
885+
git-tree-sha1 = "937da4713526b96ac9a178e2035019d3b78ead4a"
886+
uuid = "70703baa-626e-46a2-a12c-08ffd08c73b4"
887+
version = "0.4.10"
889888

890889
[[deps.JumpProcesses]]
891890
deps = ["ArrayInterface", "DataStructures", "DiffEqBase", "DiffEqCallbacks", "DocStringExtensions", "FunctionWrappers", "Graphs", "LinearAlgebra", "Markdown", "PoissonRandom", "Random", "RandomNumbers", "RecursiveArrayTools", "Reexport", "SciMLBase", "Setfield", "StaticArrays", "SymbolicIndexingInterface", "UnPack"]
@@ -1156,9 +1155,9 @@ version = "0.8.1"
11561155

11571156
[[deps.ModelingToolkit]]
11581157
deps = ["ADTypes", "AbstractTrees", "ArrayInterface", "BlockArrays", "Combinatorics", "CommonSolve", "Compat", "ConstructionBase", "DataStructures", "DiffEqBase", "DiffEqCallbacks", "DiffEqNoiseProcess", "DiffRules", "DifferentiationInterface", "Distributed", "Distributions", "DocStringExtensions", "DomainSets", "DynamicQuantities", "EnumX", "ExprTools", "FindFirstFunctions", "ForwardDiff", "FunctionWrappers", "FunctionWrappersWrappers", "Graphs", "InteractiveUtils", "JuliaFormatter", "JumpProcesses", "Latexify", "Libdl", "LinearAlgebra", "MLStyle", "Moshi", "NaNMath", "NonlinearSolve", "OffsetArrays", "OrderedCollections", "PrecompileTools", "RecursiveArrayTools", "Reexport", "RuntimeGeneratedFunctions", "SCCNonlinearSolve", "SciMLBase", "SciMLStructures", "Serialization", "Setfield", "SimpleNonlinearSolve", "SparseArrays", "SpecialFunctions", "StaticArrays", "SymbolicIndexingInterface", "SymbolicUtils", "Symbolics", "URIs", "UnPack", "Unitful"]
1159-
git-tree-sha1 = "378ca36cc938886760296eb61a0a996cf908fed8"
1158+
git-tree-sha1 = "c0a7d2a91d8cce967744918d811d74f30af8cdd6"
11601159
uuid = "961ee093-0014-501f-94e3-6117800e7a78"
1161-
version = "9.72.0"
1160+
version = "9.78.0"
11621161

11631162
[deps.ModelingToolkit.extensions]
11641163
MTKBifurcationKitExt = "BifurcationKit"
@@ -1227,9 +1226,9 @@ version = "1.2.0"
12271226

12281227
[[deps.NonlinearSolve]]
12291228
deps = ["ADTypes", "ArrayInterface", "BracketingNonlinearSolve", "CommonSolve", "ConcreteStructs", "DiffEqBase", "DifferentiationInterface", "FastClosures", "FiniteDiff", "ForwardDiff", "LineSearch", "LinearAlgebra", "LinearSolve", "NonlinearSolveBase", "NonlinearSolveFirstOrder", "NonlinearSolveQuasiNewton", "NonlinearSolveSpectralMethods", "PrecompileTools", "Preferences", "Reexport", "SciMLBase", "SimpleNonlinearSolve", "SparseArrays", "SparseMatrixColorings", "StaticArraysCore", "SymbolicIndexingInterface"]
1230-
git-tree-sha1 = "eb1007ce104fc6704ac346859bc53976c44edc38"
1229+
git-tree-sha1 = "aeb6fb02e63b4d4f90337ed90ce54ceb4c0efe77"
12311230
uuid = "8913a72c-1f9b-4ce2-8d82-65094dcecaec"
1232-
version = "4.5.0"
1231+
version = "4.9.0"
12331232

12341233
[deps.NonlinearSolve.extensions]
12351234
NonlinearSolveFastLevenbergMarquardtExt = "FastLevenbergMarquardt"
@@ -1943,9 +1942,9 @@ version = "0.2.2"
19431942

19441943
[[deps.SymbolicUtils]]
19451944
deps = ["AbstractTrees", "ArrayInterface", "Bijections", "ChainRulesCore", "Combinatorics", "ConstructionBase", "DataStructures", "DocStringExtensions", "DynamicPolynomials", "ExproniconLite", "LinearAlgebra", "MultivariatePolynomials", "NaNMath", "Setfield", "SparseArrays", "SpecialFunctions", "StaticArrays", "SymbolicIndexingInterface", "TaskLocalValues", "TermInterface", "TimerOutputs", "Unityper", "WeakValueDicts"]
1946-
git-tree-sha1 = "ca5929df933a8b7272bc7f01dcd14b2d976c56e2"
1945+
git-tree-sha1 = "fa63e8f55e99aee528951ba26544403b09645979"
19471946
uuid = "d1185830-fcd6-423d-90d6-eec64667417b"
1948-
version = "3.25.1"
1947+
version = "3.29.0"
19491948

19501949
[deps.SymbolicUtils.extensions]
19511950
SymbolicUtilsLabelledArraysExt = "LabelledArrays"
@@ -2064,11 +2063,6 @@ git-tree-sha1 = "fe7046d2b5bc1d31cde8fd19fad7c5506e3960b4"
20642063
uuid = "21f18d07-b854-4dab-86f0-c15a3821819a"
20652064
version = "0.1.5"
20662065

2067-
[[deps.Tokenize]]
2068-
git-tree-sha1 = "468b4685af4abe0e9fd4d7bf495a6554a6276e75"
2069-
uuid = "0796e94c-ce3b-5d07-9a54-7f471281c624"
2070-
version = "0.5.29"
2071-
20722066
[[deps.TranscodingStreams]]
20732067
git-tree-sha1 = "0c45878dcfdcfa8480052b6ab162cdd138781742"
20742068
uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa"
@@ -2133,9 +2127,9 @@ version = "0.21.71"
21332127

21342128
[[deps.VortexStepMethod]]
21352129
deps = ["Colors", "DefaultApplication", "DelimitedFiles", "DifferentiationInterface", "FiniteDiff", "Interpolations", "LaTeXStrings", "LinearAlgebra", "Logging", "Measures", "NonlinearSolve", "Parameters", "Pkg", "PreallocationTools", "PrecompileTools", "SciMLBase", "Serialization", "StaticArrays", "Statistics", "Timers", "Xfoil", "YAML"]
2136-
git-tree-sha1 = "fd7616ebd3dc9fc2c0e5e6abf7ba641aa52be444"
2130+
git-tree-sha1 = "a0fa008357206434acfa2acc588b84764478df62"
21372131
uuid = "ed3cd733-9f0f-46a9-93e0-89b8d4998dd9"
2138-
version = "1.2.5"
2132+
version = "1.2.6"
21392133

21402134
[deps.VortexStepMethod.extensions]
21412135
VortexStepMethodControlPlotsExt = "ControlPlots"

Manifest-v1.10.toml.default.license

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

Manifest-v1.10.toml.license

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

0 commit comments

Comments
 (0)