Skip to content

sernst/airplane_boarding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airplane Boarding Simulator

A python package for simulating the passenger boarding process of an airplane.

To run a simulation, use the command:

./bin/boarding run [SETTINGS_FILE_PATH] [RESULTS_DIRECTORY_PATH]

Results

The results of each simulation will be saved in the specified results directory and include:

  • passengers.csv: The DataFrame containing the passenger manifest for the flight.
  • queue.csv: The final state of the boarding queue when the simulation ended.
  • progress.csv: A DataFrame that contains a snapshot of the state and position for each passenger during the boarding process.
  • seated.csv: Information on the time it took each passenger to find their seat.
  • status.json: Metadata for the simulation including the total elapsed time.
  • settings.json: A copy of the original settings file that was loaded for the simulation, which was populated with the default values for any data omitted in the original file.

Settings File

A simulation trial requires a settings file populated with the configuration data for that trial. The expected format is JSON. A number of example trials have been included in resources folder of this repository.

About

A python package for simulating the passenger boarding process of an airplane.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published