Skip to content

Get Started🔗

To use the examples and tutorial for Vapor cycle and heat pump application:

Click the button below to import the workspace in Modelon Impact

Intercontinental Flight

This example demonstrates a 6h flight between Stockholm (Stockholm Arlanda Airport) and New Delhi (Indira Gandhi International Airport).

In order to visualize the aircraft model, in the Result mode, right click on the Aircraft model and choose View 3D animation.

Read more

Description🔗

This example demonstrates a flight cruising between a start coordinate and end destination coordinate on a great circle flight path. The experiment simulates a flight between Stockholm (Stockholm Arlanda Airport) and New Delhi (Indira Gandhi International Airport).

Background🔗

The great circle is the shortest route between 2 cities in a 3 - dimensional space. The GCTrack block provides bearing commands to navigate the aircraft along a great circle path given a start and end coordinate on the surface of the earth. The output from the GCTrack block is given to the Autopilot controller which then computes the needed control surface inputs to follow the flight path. The start coordinates for the flight are set in the Initialization block and the end coordinates are set in the GCtrack block. The example doesn't include the effect of decreasing mass due to fuel burn.

System Setup🔗

This example shows the basic setup of a full aircraft experiment with all the necessary components included.

  • Atmospheric conditions are set in the atmosphere component. This example uses the ISA atmosphere.
  • Controller component controls the airplane actuators (its control surfaces and thrust), and, indirectly, its dynamic states given user specified reference inputs. This example uses the Autopilot controller.
  • Aircraft components, including sizing, masses and aerodynamic models.
  • Initialization component to set the initial states of the aircraft. The start coordinates (lat_start and long_start) are set here.
  • GCTrack component provides bearing commands to navigate the aircraft along a great circle path. The end coordinates (lat_end and long_end) are set here.
  • Ground component specifying the ground conditions. Used for starting and landing interactions with the tires. Note that this example focuses on manoeuvres in the air. Hence the aircraft is initialized in the air.
  • World component representing the inertial coordinate system using the North-East-Down (NED) orientation. It also specifies the gravity direction and global flags for visualization.
  • WorldRepresentation component defines which representation to use for the inertial frame. Changing the representation will affect gravity, position, and orientation calculations. The ECEF (earth-centred, earth-fixed) coordinates are set for this example.
  • Earth component is just a visualizer for the earth.

Result🔗

Run the experiment for 21900s.

  1. Plot the aircraft.summary.geo.latitude and aircraft.summary.geo.longitude to see latitude and longitude coordinates respectively.
  2. Plot the gCTrack.DTD to see the distance to the destination coordinates. Animation and important plots can be viewed.