Repository navigation
v0.13.1
KiteModels v0.13.1
Added
- The initial azimuth
set.azimuths[1]is taken into account (KPS3 and KPS4, #243):find_steady_state!andinit!place the kite at this azimuth in the wind reference frame, with or withouttrim; alsoinit!(s; steady_state=false). The kite is kept at the prescribed azimuth instead of balancing its lateral forces, but the tether particles are also balanced laterally, so the tether is pushed sideways by the wind. Like a kite below its natural elevation, a kite at an azimuth is not in equilibrium: it has a side slip angle. Without steering, KPS4 swings back towards the azimuth zero, while the one-point kite of KPS3 is laterally unstable and moves further away from it. The default azimuth of zero keeps the previous behaviour. - The initial steering
set.steerings[1][%] (KPS3 and KPS4) and the initial headingset.headings[1](KPS4) are taken into account (#243). The steering is set inclear!, like the depower, so the steady state is solved with it; a steering other than zero makes the kite turn. The heading is applied byinit!after the steady state was found: the kite points A, C and D are rotated about the line from the KCU to the kite (point B), so thatcalc_headingreturns the prescribed heading, while the position of the kite, its elevation and azimuth and the lengths of all springs stay the same. A kite with a heading other than zero is not in equilibrium and flies towards its nose. KPS3 ignores the heading, because the one-point kite has no heading of its own. The defaults of zero keep the previous behaviour. - The initial rates
set.elevation_rates[1]andset.azimuth_rates[1](KPS3 and KPS4) andset.heading_rates[1](KPS4) are taken into account byinit!(#243). For the elevation and azimuth rates, the velocities of a rotation of the tether and the kite as a rigid body about the winch are added to the initial state. For the heading rate, the kite points A, C and D also rotate about the line from the KCU to the kite. The accelerations are not changed, so the simulation starts with a transient: with an elevation rate of -5 °/s, the tether force of KPS4 drops from 502 N to 48 N within 0.1 s. With rates, the initial pitch rate of KPS4 is calculated from the velocities of the particles instead of being zero. KPS3 ignores the heading rate. The defaults of zero keep the previous behaviour. docs/sysimage.md, documenting the rules by whichcreate_sys_imagechecks the memory and chooses the number of image threads, and the peak memory measured in the AWEMeta.jl workflows
Changed
bin/installfollows the repository scripts page of KiteUtils: without parameters it never prompts and changes nothing outside the repository except the Julia depot; it no longer changes the juliaup default, installs Revise, adds the aliasjlor precompiles the test and docs environments. These are offered by the new interactive modebin/install -i, which selects the Julia version with a juliaup directory override. Stale manifests are backed up as*.bakinstead of being deleted, other*.defaultconfiguration files are copied if missing, and the system image is only deleted if the manifest changed. A failing resolve is no longer retried without the pinned versions, but stops the installation. The options--update,--testand--versionare removed;bin/update_default_manifestsnow updates the packages, runs the tests and commits the default manifests itself, for every Julia version with a default manifest, and asks before it starts unless-yis given.- on macOS,
create_sys_imagecounts twice the free disk space (minus 5 GB) as swap, because macOS writes compressed memory to its swap files (measured: 2.5 : 1); a Mac with 8 GB of RAM now needs about 16 GB of free disk space instead of 27 GB create_sys_imagechooses the number of threads for compiling the system image from the measured memory demand, about 26 GB with one thread and 30 GB with two or more: with at least 34 GB of RAM + swap (including the size the pagefile can grow to on Windows) it uses half of the CPU threads, at most 16, otherwise one; machines with less than 27 GB of RAM use two threads (one if they have fewer than 4 CPU threads) instead of one, on all platformscreate_sys_imagestops with an error on all platforms if there is less than 15 GB of RAM (7 GB on macOS) or less than 30 GB of RAM + swap; the bash script checks the RAM, and on Linux also RAM + swap, before doing anything elsecreate_sys_imagerespectsJULIA_IMAGE_THREADSwhen it is set by the callercreate_sys_imageno longer passes--heap-size-hint=8000Mto Julia: it limited only the Julia process that drives PackageCompiler, not the processes that compile the system imagebin/run_juliano longer setsMPLBACKEND, and the workshop instructions no longer installpython3-matplotlib: matplotlib is no longer used, plotting uses MakieControlPlots- The compat entry of DocStringExtensions accepts 0.10 (#349).
- The default manifests for Julia 1.12 and 1.13 use KiteUtils 0.13.3, CSV 1.1.0, Parsers 3.0.0, OrderedCollections 2.0.3 and the latest versions of the other packages.
Fixed
init!(s; steady_state=false)(KPS4) did not turns.posinto the wind direction, so getters likecalc_azimuthreturned wrong values before the first time step ifupwind_dirwas not -90°.- KPS3 with turbulence (
use_turbulenceother than zero):find_steady_state!andinit!used the turbulent wind at the kite position before it was turned into the wind direction and to the azimuth, so the steady state was found for the wind of the wrong location ifupwind_dirwas not -90° or the azimuth was not zero. create_sys_imagefailed on macOS while checking the memory, because it read/proc/meminfo; there it now counts the RAM and the free space of the volume that macOS creates its swap files on, minus 5 GB
Merged pull requests:
- Take the initial azimuth into account in KPS3 and KPS4 (#243) (#338) (@ufechner7)
- Update DocStringExtensions requirement from 0.9.4 to 0.9.4, 0.10 (#349) (@dependabot[bot])
- Take the initial azimuth, heading, steering and rates into account (#243) (#350) (@ufechner7)
- bin/install, bin/update_default_manifests: meet the documented behaviour (#351) (@ufechner7)
Closed issues: