Skip to content

Rvhoyos/A-DES-model-of-Airport-Passenger-Flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SMITHS FALLS Airport Simulator

SYSC DES & Modeling Project

Set Up

  1. Prepare the Environment:

    • Open the project in an IDE (recommended: PyCharm).
    • Optionally, clear files in the airport/data/ folder.
    • This is where you will find all the .CSV outputs of the steps below
  2. Configure the Virtual Environment:

    • Open your terminal or command line in the virtual environment.
    • Ensure the following packages are installed:
      pip install pandas numpy simpy matplotlib
      

Execution

  1. Run the Simulation:

    • Locate and execute the main method in airport/Simulation.py.
      • The system will prompt you to enter simulation parameters.
      • Enter the simulation time in days.
    • Observe that the simulation generates log files in airport/data/.
  2. Parse the Logs:

    • Run airport/Parser/log_functions.py to process the generated log files.

    • This will create two new sorted CSV files in airport/data/ organizing the logs.

    • Outputs include sorted events by type and tables by passenger.

    • The parsed logs are saved in airport/data/

  3. Analyze the Data:

    • Execute airport/Parser/analyze_data.py.
    • This parses the CSV files and provides two new files with detailed analysis.
    • The analysis is saved in airport/data/ as a CSV file.
  4. Visualize the Data (Optional):

    • Run visualizer/visualizer.py to generate histograms from the CSV files.
    • Save the plots manually by right-clicking on them if needed.

Understanding Simulation Console and Other Outputs

The final reports provide insights into airport operations, showcasing details such as passenger flow, and service times. Review these outputs to assess the efficiency and effectiveness of different simulation scenarios.

TODO: utilization, average waiting times, more detailed logs..etc + open issues

About

An Airport Discrete Event Model and Simulator of Passenger Flow

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages