WOLFRAM SYSTEM MODELER

AircraftCollisionResolution

A toy model of aircraft collision resolution

Diagram

Wolfram Language

In[1]:=
SystemModel["DocumentationExamples.Simulation.AircraftCollisionResolution"]
Out[1]:=

Information

Wolfram Language Documentation Examples

This library contains models used in the documentation of system modeling functionality in Wolfram Language. These examples and this library can be explored in the Wolfram Language documentation.

Parameters (17)

xg1

Value: -1 + sqrt(5) + sqrt(5 + 2 * sqrt(5)) / 4

Type: Position (m)

Description: Target position for plane 1, x component

xg2

Value: -1 - sqrt(5) + sqrt(10 + 2 * sqrt(5)) / 8

Type: Position (m)

Description: Target position for plane 2, x component

xg3

Value: -1 - sqrt(5) - sqrt(10 + 2 * sqrt(5)) / 8

Type: Position (m)

Description: Target position for plane 3, x component

xg4

Value: -1 + sqrt(5) - sqrt(5 + 2 * sqrt(5)) / 4

Type: Position (m)

Description: Target position for plane 4, x component

xg5

Value: 4

Type: Position (m)

Description: Target position for plane 5, x component

yg1

Value: -1 / 4 + sqrt(10 + 2 * sqrt(5))

Type: Position (m)

Description: Target position for plane 1, y component

yg2

Value: 3 / 8 + sqrt(5) / 8 + sqrt(10 - 2 * sqrt(5))

Type: Position (m)

Description: Target position for plane 2, y component

yg3

Value: 3 / 8 + sqrt(5) / 8 - sqrt(10 - 2 * sqrt(5))

Type: Position (m)

Description: Target position for plane 3, y component

yg4

Value: -1 / 4 - sqrt(10 + 2 * sqrt(5))

Type: Position (m)

Description: Target position for plane 4, y component

yg5

Value: -1 / 4 - sqrt(5) / 4

Type: Position (m)

Description: Target position for plane 5, y component

v

Value: 1

Type: Velocity (m/s)

Description: Constant forward velocity

c

Value: 1

Type: AngularFrequency (rad/s)

Description: Avoid flying mode angular velocity

p

Value: 1

Type: Distance (m)

Description: Avoid flying mode threshold distance

gamma

Value: Modelica.Constants.pi / 12

Type: Angle (rad)

Description: Avoid flying mode angle

thresholdRatio

Value: 0.9

Type: DimensionlessRatio

Description: Avoid flying mode timer threshold ratio

unitTime

Value: 1

Type: Time (s)

Description: One unit of time

uniformSizeScale

Value: 0.002

Type: Length (m)

Description: Factor by which dimensions of the planes are rescaled

Connectors (2)

d1

Type: RealInput

Description: Wind disturbance, x component

d2

Type: RealInput

Description: Wind disturbance, y component

Components (16)

world

Type: World

Description: World coordinate system + gravity field + default animation definition

translation1

Type: Translation

Description: Translation of frame_b with respect to frame_a

translation2

Type: Translation

Description: Translation of frame_b with respect to frame_a

translation3

Type: Translation

Description: Translation of frame_b with respect to frame_a

translation4

Type: Translation

Description: Translation of frame_b with respect to frame_a

translation5

Type: Translation

Description: Translation of frame_b with respect to frame_a

rotation1

Type: Rotation

Description: Fixed translation followed by a rotation of frame_b with respect to frame_a. This component rotates frame_a around an angle with a fixed axis.

rotation2

Type: Rotation

Description: Fixed translation followed by a rotation of frame_b with respect to frame_a. This component rotates frame_a around an angle with a fixed axis.

rotation3

Type: Rotation

Description: Fixed translation followed by a rotation of frame_b with respect to frame_a. This component rotates frame_a around an angle with a fixed axis.

rotation4

Type: Rotation

Description: Fixed translation followed by a rotation of frame_b with respect to frame_a. This component rotates frame_a around an angle with a fixed axis.

rotation5

Type: Rotation

Description: Fixed translation followed by a rotation of frame_b with respect to frame_a. This component rotates frame_a around an angle with a fixed axis.

shape1

Type: FixedShape

Description: Visualizing an elementary shape with dynamically varying shape attributes (has one frame connector)

shape2

Type: FixedShape

Description: Visualizing an elementary shape with dynamically varying shape attributes (has one frame connector)

shape3

Type: FixedShape

Description: Visualizing an elementary shape with dynamically varying shape attributes (has one frame connector)

shape4

Type: FixedShape

Description: Visualizing an elementary shape with dynamically varying shape attributes (has one frame connector)

shape5

Type: FixedShape

Description: Visualizing an elementary shape with dynamically varying shape attributes (has one frame connector)