Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Preloaded Examples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Monterey Phoenix
MP Model Collection
Preloaded Examples
Commits
b578ffb2
Commit
b578ffb2
authored
3 years ago
by
Giammarco, Kristin M
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
912efa1e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Example50_Flight.mp
+234
-0
234 additions, 0 deletions
Example50_Flight.mp
with
234 additions
and
0 deletions
Example50_Flight.mp
0 → 100644
+
234
−
0
View file @
b578ffb2
/* Model of a commercial flight, November 27, 2013
This model demonstrates the interlacing of root events as Phases
and as Actors. The commented out code at the bottom represents
a simulation of COORDINATE statements with SHARE ALL statements before
COORDINATE statements were implemented in the early MP tools.
*/
/*-----------------------------------------------------
Phases
-----------------------------------------------------*/
SCHEMA Flight
ROOT Preflight: BoardAircraft
FlightCheck
DepartureClearance
Pushback
IssueGroundInstruction
Taxi ;
ROOT Takeoff: Clear_for_takeoff
Liftoff
Handoff_to_TRACon ;
ROOT Departure: ChangeFrequency
IssueClearances
Handoff_to_ARTCC ;
ROOT EnRoute: IssueInstruction
( OceanicExtension | Follow_route )
ChangeFrequency2
Handoff_to_TRACon2 ;
ROOT Descent: Clear_descent
Maneuver_toward_Airport ;
ROOT Approach: [ Hold ]
Clear_approach
Enter_approach_line
Handoff_to_tower ;
ROOT Landing: Clear_landing
Land
Taxi_instruction
Taxi_to_gate
Disembark ;
/*-----------------------------------------------------
Actors
-----------------------------------------------------*/
ROOT Passenger: BoardAircraft
InsideCabin
Disembark ;
ROOT Pilot: FlightCheck
Pushback
Taxi
Liftoff
ChangeFrequency
( OceanicExtension | Follow_route )
ChangeFrequency2
Maneuver_toward_Airport
[ Hold ]
Enter_approach_line
Land
Taxi_to_gate ;
ROOT Controller: DepartureClearance
IssueGroundInstruction
Clear_for_takeoff
Handoff_to_TRACon
IssueClearances
Handoff_to_ARTCC
IssueInstruction
Handoff_to_TRACon2
Clear_descent
Clear_approach
Handoff_to_tower
Clear_landing
Taxi_instruction ;
/*-----------------------------------------------------
Overlapping between actors and process phases
-----------------------------------------------------*/
Passenger, Preflight SHARE ALL BoardAircraft;
Passenger, Landing SHARE ALL Disembark;
Pilot, Preflight SHARE ALL FlightCheck,
Pushback,
Taxi;
Pilot, Takeoff SHARE ALL Liftoff;
Pilot, Departure SHARE ALL ChangeFrequency;
Pilot, EnRoute SHARE ALL OceanicExtension,
Follow_route,
ChangeFrequency2;
Pilot, Descent SHARE ALL Maneuver_toward_Airport;
Pilot, Approach SHARE ALL Hold,
Enter_approach_line;
Pilot, Landing SHARE ALL Land,
Taxi_to_gate;
Controller, Preflight SHARE ALL DepartureClearance,
IssueGroundInstruction;
Controller, Takeoff SHARE ALL Clear_for_takeoff,
Handoff_to_TRACon;
Controller, Departure SHARE ALL IssueClearances,
Handoff_to_ARTCC;
Controller, EnRoute SHARE ALL IssueInstruction,
Handoff_to_TRACon2;
Controller, Descent SHARE ALL Clear_descent;
Controller, Approach SHARE ALL Clear_approach,
Handoff_to_tower;
Controller, Landing SHARE ALL Clear_landing,
Taxi_instruction;
/*---------------------------------------------------------
Coordination between phases
---------------------------------------------------------*/
COORDINATE $a: BoardAircraft FROM Passenger,
$b: FlightCheck FROM Pilot,
$c: DepartureClearance FROM Controller,
$d: Pushback FROM Pilot,
$e: IssueGroundInstruction FROM Controller,
$f: ( Taxi | Hold ) FROM Pilot,
$g: Clear_for_takeoff FROM Controller,
$h: Liftoff FROM Pilot,
$i: Handoff_to_TRACon FROM Controller,
$j: ChangeFrequency FROM Pilot,
$k: IssueClearances FROM Controller
DO ADD $a PRECEDES $b,
$b PRECEDES $c,
$c PRECEDES $d,
$d PRECEDES $e,
$e PRECEDES $f,
$f PRECEDES $g,
$g PRECEDES $h,
$h PRECEDES $i,
$i PRECEDES $j,
$j PRECEDES $k; OD;
COORDINATE $a: IssueInstruction FROM Controller,
$b: ( OceanicExtension | Follow_route ) FROM Pilot,
$c: ChangeFrequency2 FROM Pilot,
$d: Handoff_to_TRACon2 FROM Controller,
$e: Clear_descent FROM Controller,
$f: ( Maneuver_toward_Airport | Hold ) FROM Pilot,
$g: Clear_approach FROM Controller,
$h: Enter_approach_line FROM Pilot,
$i: Handoff_to_tower FROM Controller,
$j: Clear_landing FROM Controller,
$k: Land FROM Pilot,
$l: Taxi_instruction FROM Controller,
$m: Taxi_to_gate FROM Pilot,
$n: Disembark FROM Passenger
DO ADD $a PRECEDES $b,
$b PRECEDES $c,
$c PRECEDES $d,
$d PRECEDES $e,
$e PRECEDES $f,
$f PRECEDES $g,
$g PRECEDES $h,
$h PRECEDES $i,
$i PRECEDES $j,
$j PRECEDES $k,
$k PRECEDES $l,
$l PRECEDES $m,
$m PRECEDES $n; OD;
/*
ROOT Preflight_Takeoff: Taxi
Clear_for_takeoff ;
COORDINATE $x: Taxi FROM Preflight,
$y: Clear_for_takeoff FROM Takeoff
DO ADD $x PRECEDES $y; OD;
ROOT Takeoff_Departure: Handoff_to_TRACon
ChangeFrequency ;
COORDINATE $x: Handoff_to_TRACon FROM Takeoff,
$y: ChangeFrequency FROM Departure
DO ADD $x PRECEDES $y; OD;
/* Departure and EnRoute are coordinated within Controller */
/* EnRoute and Descent are coordinated within Controller */
/*ROOT Descent_Approach: Maneuver_toward_Airport
[ Hold ]
Clear_approach ;
COORDINATE $x: Handoff_to_TRACon FROM Descent,
$y: ChangeFrequency FROM Approach
DO ADD $x PRECEDES $y; OD;
/* Approach and Landing are coordinated within Controller */
/*Preflight, Preflight_Takeoff SHARE ALL Taxi;
Preflight_Takeoff, Takeoff SHARE ALL Clear_for_takeoff;
Takeoff, Takeoff_Departure SHARE ALL Handoff_to_TRACon;
Takeoff_Departure, Departure SHARE ALL ChangeFrequency;
Descent, Descent_Approach SHARE ALL Maneuver_toward_Airport;
Descent_Approach, Approach SHARE ALL Hold, Clear_approach;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment