1. Home
  2. Sample Projects
  3. Flight Duty Management

Flight Duty Management

◷ Reading Time: 5 minutes

The Flight Duty Management tutorial uses the scenario of checking the eligibility of a pilot to schedule flight duties.

There are rules and regulations defined by the aviation authority such as the maximum flight period, the maximum number of continues night shifts that can be assigned to a pilot, etc. For example, the maximum duty period should be 12.5 hours.

Therefore, we will be taking the landing data as the input and at the end it displays a message as the output stating the eligibility of the schedule.

Running the Sample

1. Open the file DRD.xml

Logic documents for the project displayed in the Project Explorer menu.

2. Click on Logic Run Template.

detail view of the Logic Run template button

3. Click on one of the given templates.

Logic Run Template modal showing the available logic

4. Click Debug

detail view of the Debug button

5. Click Next Step to go step by step.

detail view of the Debug Next Step option

6. You will see the output under Parameters window

Flight Duty Management – Process Steps

The process of the Flight duty management contains a set of main steps:

  1. Count the number of landings
  2. Calculate daily flight duty period
  3. Calculate flight time
  4. Check the eligibility of the duty

Project Description

The Flight duty management project contains the following files:

DRD (Decision Requirement Diagram)

  • DRD.xml: Shows the data flow

Flow

  • CalculateFlightTime.xml: Calculate flight times taking into account the difference between landing times

Decision Table

  • Check Eligibility.xml: Make a final decision on the pilot’s eligibility to fly
  • DailyFlightDutyPeriod.xml: Calculate the daily flight duty period
  • LandingCount.xml: Calculate the number of night and day shifts

Fact Concept

  • Crew.xml: Define the crew object

Business Formula

  • BusinessFormula.xml: Define the formulas that are repeatedly used in the project

The Flow Design

1. Define the crew object as a Fact Concept. This is the final JSON object with all the details of a crew member.

  • Crew.xml
Example of a Fact Concept showing the connections between the elements

2. Add the daily flight period calculation formula as a Business Formula

  • BusinessFormula.xml
Business Formula view

3. Define rules to count the number of day and night shifts of landings per trip.

  • LandingCount.xml

4. Define rules to calculate daily flight period

  • DailyFlightDutyPeriod.xml
Decision table example showing how the Flight duty management rules are defined to calculate daily flight period

5. Calculate the total flight time

  • CalculateFlightTime.xml
Example of a decision graph that will calculate the total flight time

6. Check the pilot’s eligibility to fly

  • Check Eligibility.xml
Decision table example showing how the rules are defined to calculate a pilots eligibility to fly

7. Define the complete path of the flow for the Flight duty management decision.

  • DRD.xml

Download the Flight duty management project

Use the attachment at the end of the page to download the sample project.

Updated on January 29, 2024

Article Attachments

Was this article helpful?

Related Articles