CurrentModule = SymbolicAWEModels
This page provides a detailed reference for all public functions exported by
SymbolicAWEModels.jl.
These functions provide convenient wrappers for running common simulation scenarios.
sim!
sim_oscillate!
sim_turn!
sim_reposition!
These functions provide direct control over the simulation and tools for model analysis.
init!
next_step!
find_steady_state!
linearize!
simple_linearize!
load_sys_struct_from_yaml
update_sys_struct_from_yaml!
set_world_frame_damping
set_body_frame_damping
calc_steady_torque
Use these functions to retrieve state information and calculated values from a model instance.
winch_force
unstretched_length
tether_length
segment_stretch_stats
SymbolicAWEModels provides plotting functionality through a package extension that automatically loads when you import GLMakie.
Plot the 3D structure of the system with interactive features:
using GLMakie
plot(sys::SystemStructure; kwargs...)Keyword arguments:
size::Tuple=(1200, 800): Figure size in pixelsmargin::Float64=10.0: Margin around the system in world unitssegment_color=:black: Default color for segmentshighlight_color=:red: Color for highlighted segmentsshow_points::Bool=true: Show point markersshow_segments::Bool=true: Show tether segmentsshow_orient::Bool=true: Show wing orientation axes
Interactive features:
- Hover over segments to highlight them
- Click on a segment to zoom in
- Click in empty space to zoom out
- Rotate, pan, and zoom with mouse
Plot simulation results as multi-panel time-series:
plot(sys::SystemStructure, log::SysLog; kwargs...)Keyword arguments:
plot_default::Bool=true: Enable default plot panelsplot_reelout::Bool=plot_default: Show reel-out velocitiesplot_aero_force::Bool=plot_default: Show aerodynamic forcesplot_twist::Bool=plot_default: Show wing twist anglesplot_aoa::Bool=plot_default: Show angle of attackplot_heading::Bool=plot_default: Show heading angleplot_winch_force::Bool=plot_default: Show winch forcesplot_aero_moment::Bool=false: Show aerodynamic momentsplot_turn_rates::Bool=false: Show angular velocitiesplot_elevation::Bool=false: Show elevation angleplot_azimuth::Bool=false: Show azimuth angleplot_tether_moment::Bool=false: Show tether-induced momentsplot_set_values::Bool=false: Show set torque valuessuffix::String=" - " * sys.name: Suffix for plot labelssize::Tuple=(1200, 800): Figure size in pixels
!!! note "Automatic extension loading"
Simply using GLMakie after loading SymbolicAWEModels to make
the plot functions available.
init_module