Skip to content

jd1219/CCPAssignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asia Pacific Airport Simulation

Simulate the operations of Asia Pacific Airport with concurrent activities such as passengers disembarking/embarking, aircraft refilling supplies, and refueling. Implement a scenario with runway and gate constraints, emergency landings, and statistical analysis at the end.

Basic Requirements

  • 1 runway for all planes.
  • Maximum of 3 airplanes on the ground (runway + 2 gates).
  • Sequential aircraft operations: landing, coasting to gate, disembarking, refilling, embarking, undocking, coasting to runway, and take-off.
  • Concurrent activities: passengers handling, supplies refilling, and cleaning.
  • Exclusive activity: refueling with 1 refueling truck.
  • Simulate congested scenarios and emergency landings.

Statistics

  • Check all gates are empty.
  • Compute statistics:
    • Maximum/Average/Minimum waiting time for a plane.
    • Number of planes served/Passengers boarded.

Implementation Details

  • 6 planes arrive randomly every 0, 1, or 2 seconds.
  • Each plane can hold up to 50 passengers.
  • Assume no capacity issues in passenger terminals.

How to Run

  • Clone the repository.
  • Compile and run the Java program.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages