GithubHelp home page GithubHelp logo

aenarete / kitesimulators.jl Goto Github PK

View Code? Open in Web Editor NEW
16.0 1.0 3.0 867 KB

Simulators for kite power systems

License: MIT License

Julia 47.23% Shell 23.90% Batchfile 28.87%
airborne energy kite power wind kitepower simulations simulators

kitesimulators.jl's People

Contributors

ufechner7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

tinojhb bregts

kitesimulators.jl's Issues

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Missing Package Timers

After following the installation instructions for Windows 11 successfully, I executed the joystick example as instructed:
include("examples\\joystick.jl")
And I got the following error message:
ERROR: LoadError: ArgumentError: Package Timers not found in current path:
- Run 'import Pkg; Pkg.add("Timers")' to install the Timers package.

After installing the Timers package as suggested by the error message everything works as expected.

I would suggest adding Timers as a prerequisite for this package so it is added during the initial installation.

Thank you.

Segfault on building MacOS

Building on MacOS with Julia 1.7.2 gives me

bin  % ./create_sys_image
Updating packages...
[ Info: Loading packages ...
[ Info: Creating sysimage ...
[ Info: PackageCompiler: Executing /Users/tallakt/kitesims/test/test_for_precompile.jl => /var/folders/0g/0zjw8w1n76b0sqzn5vd8tb3r0000gn/T/jl_packagecompiler_mSRrHy/jl_WO0WIa
[ Info: Makie/Makie is caching fonts, this may take a while. Needed only on first run!

signal (11): Segmentation fault: 11
in expression starting at /Users/tallakt/kitesims/test/test_for_precompile.jl:1
calc_wind_factor at /Users/tallakt/.julia/packages/AtmosphericModels/JaPSH/src/AtmosphericModels.jl:0 [inlined]
calc_wind_factor at /Users/tallakt/.julia/packages/AtmosphericModels/JaPSH/src/AtmosphericModels.jl:102 [inlined]
inner_loop! at /Users/tallakt/.julia/packages/KiteModels/fAylU/src/KPS4.jl:328 [inlined]
loop! at /Users/tallakt/.julia/packages/KiteModels/fAylU/src/KPS4.jl:364
residual! at /Users/tallakt/.julia/packages/KiteModels/fAylU/src/KPS4.jl:415
unknown function (ip: 0x10509c3fb)
jl_apply_generic at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
test_initial_condition! at /Users/tallakt/.julia/packages/KiteModels/fAylU/src/KPS4.jl:525
fj_finitediff! at /Users/tallakt/.julia/packages/NLSolversBase/cfJrN/src/objective_types/oncedifferentiable.jl:138
unknown function (ip: 0x10508e22b)
jl_apply_generic at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
value_jacobian!! at /Users/tallakt/.julia/packages/NLSolversBase/cfJrN/src/interface.jl:124
value_jacobian!! at /Users/tallakt/.julia/packages/NLSolversBase/cfJrN/src/interface.jl:122 [inlined]
trust_region_ at /Users/tallakt/.julia/packages/NLsolve/gJL1I/src/solvers/trust_region.jl:119
trust_region at /Users/tallakt/.julia/packages/NLsolve/gJL1I/src/solvers/trust_region.jl:235 [inlined]
trust_region at /Users/tallakt/.julia/packages/NLsolve/gJL1I/src/solvers/trust_region.jl:235 [inlined]
#nlsolve#25 at /Users/tallakt/.julia/packages/NLsolve/gJL1I/src/nlsolve/nlsolve.jl:26
nlsolve##kw at /Users/tallakt/.julia/packages/NLsolve/gJL1I/src/nlsolve/nlsolve.jl:18 [inlined]
#nlsolve#30 at /Users/tallakt/.julia/packages/NLsolve/gJL1I/src/nlsolve/nlsolve.jl:52
nlsolve##kw at /Users/tallakt/.julia/packages/NLsolve/gJL1I/src/nlsolve/nlsolve.jl:46
unknown function (ip: 0x105089b83)
#find_steady_state!#17 at /Users/tallakt/.julia/packages/KiteModels/fAylU/src/KPS4.jl:548
find_steady_state!##kw at /Users/tallakt/.julia/packages/KiteModels/fAylU/src/KPS4.jl:517 [inlined]
#init_sim!#39 at /Users/tallakt/.julia/packages/KiteModels/fAylU/src/KiteModels.jl:368
init_sim!##kw at /Users/tallakt/.julia/packages/KiteModels/fAylU/src/KiteModels.jl:366
unknown function (ip: 0x10506308b)
jl_apply_generic at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
do_call at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
eval_body at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
jl_interpret_toplevel_thunk at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
jl_toplevel_eval_flex at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
jl_toplevel_eval_flex at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
jl_toplevel_eval_in at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
eval at ./boot.jl:373 [inlined]
include_string at ./loading.jl:1196
jl_apply_generic at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
_include at ./loading.jl:1253
include at ./Base.jl:418
jl_apply_generic at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
exec_options at ./client.jl:292
_start at ./client.jl:495
jfptr__start_41470 at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/sys.dylib (unknown line)
jl_apply_generic at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
true_main at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
jl_repl_entrypoint at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
Allocations: 282549928 (Pool: 282497173; Big: 52755); GC: 211
ERROR: LoadError: failed process: Process(setenv(`/Applications/Julia-1.7.app/Contents/Resources/julia/bin/julia --color=yes --startup-file=no --sysimage=/Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/sys.dylib --compile=all --trace-compile=/var/folders/0g/0zjw8w1n76b0sqzn5vd8tb3r0000gn/T/jl_packagecompiler_mSRrHy/jl_WO0WIa test/test_for_precompile.jl`,["XPC_FLAGS=0x0", "COMMAND_MODE=unix2003", "PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/kitty.app/Contents/MacOS:/Users/tallakt/.mix/escripts", "PWD=/Users/tallakt/kitesims", "XPC_SERVICE_NAME=0", "HOMEBREW_PREFIX=/opt/homebrew", "SHELL=/bin/zsh", "KITTY_PID=584", "__CF_USER_TEXT_ENCODING=0x1F5:0x0:0xC", "ERL_AFLAGS=-kernel shell_history enabled"  …  "HOMEBREW_REPOSITORY=/opt/homebrew", "USER=tallakt", "KITTY_WINDOW_ID=3", "SECURITYSESSIONID=186b1", "INFLUX_PASSWORD=CWH80MpG5SiX", "TERM=xterm-kitty", "INFLUX_GENERATOR_API_KEY=P7oDE84YZdf6egHWZF-HIJr0XVNCR-bXI_ArCxYJ6SOKByIEr3sFfsFXriKihHNdFfR_FGwiALggHGY44Kl6Lw==", "HOME=/Users/tallakt", "OPENBLAS_MAIN_FREE=1", "COLORTERM=truecolor"]), ProcessExited(139)) [139]

Stacktrace:
 [1] pipeline_error
   @ ./process.jl:531 [inlined]
 [2] run(::Cmd; wait::Bool)
   @ Base ./process.jl:446
 [3] run
   @ ./process.jl:444 [inlined]
 [4] run_precompilation_script(project::String, sysimg::String, precompile_file::String, precompile_dir::String)
   @ PackageCompiler ~/.julia/packages/PackageCompiler/YNnEB/src/PackageCompiler.jl:239
 [5] create_sysimg_object_file(object_file::String, packages::Vector{String}, packages_sysimg::Set{Base.PkgId}; project::String, base_sysimage::String, precompile_execution_file::Vector{String}, precompile_statements_file::Vector{String}, cpu_target::String, script::Nothing, sysimage_build_args::Cmd, extra_precompiles::String, incremental::Bool)
   @ PackageCompiler ~/.julia/packages/PackageCompiler/YNnEB/src/PackageCompiler.jl:261
 [6] create_sysimage(packages::Vector{Symbol}; sysimage_path::String, project::String, precompile_execution_file::String, precompile_statements_file::Vector{String}, incremental::Bool, filter_stdlibs::Bool, cpu_target::String, script::Nothing, sysimage_build_args::Cmd, include_transitive_dependencies::Bool, base_sysimage::Nothing, julia_init_c_file::Nothing, version::Nothing, soname::Nothing, compat_level::String, extra_precompiles::String)
   @ PackageCompiler ~/.julia/packages/PackageCompiler/YNnEB/src/PackageCompiler.jl:510
 [7] top-level scope
   @ ~/kitesims/test/create_sys_image.jl:10
 [8] include(fname::String)
   @ Base.MainInclude ./client.jl:451
 [9] top-level scope
   @ none:1
in expression starting at /Users/tallakt/kitesims/test/create_sys_image.jl:10

Create a separate package WinchControllers

Currently the winch (groundstation) controllers are part of the package KiteControllers which makes it difficult to use them stand-alone. Move the code in a separate Julia package.

3 Wire Kite

Is there any possibility to simulate a kite that has 3 wires going from the ground to the kite, so using three ground-based motors, instead of using a control pod in the air? If so, how could one implement this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.