Skip to content

Commit

Permalink
add test_steady_state
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Nov 4, 2024
1 parent 2f16875 commit 900bafe
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions examples/test_steady_state.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using KiteModels, KitePodModels

set_data_path("data")
set = load_settings("system_v9.yaml")
set.elevation = 70.8

kcu::KCU = KCU(set)
kps4::KPS4 = KPS4(kcu)

clear!(kps4)
KiteModels.set_depower_steering!(kps4, kps4.set.depower_offset/100.0, 0.0)
@time KiteModels.init_sim!(kps4; delta=0.001, stiffness_factor=0.5, prn=false)

println("\nlift, drag [N] : $(KiteModels.lift_drag(kps4))")
println("\nSpring forces:")
spring_forces(kps4)

0 comments on commit 900bafe

Please sign in to comment.