Module: airport

Table of Contents

Module: airport | simpy1_4_2\SimPyModels\airport.py
--- | ---
N2 planes arrive at an airport during the day. Of these N1 arrive in a bunch at the start of the day (time 0.0) and the remainder arrive at equal intervals of, int hr. (Thus plane N1+1 arrives at time 0.0+int. Each plane lands on the single runway, blocking it for L hr, and stays at the airport for a fixed turnround time, T hr, and then leaves, using the same runway, taking the same time. N1 = 4 = number of planes arriving in a bunch at the start of the day - N2 = 12 = The total number of planes landing in the day - int = 0.4 = equal arrival intervals for remaining planes - L = 0.1 hr = time runway is blocked with a plane on it - T = 0.65 hr = time plane stays at the airport The eventual objective of this simulation is to determine the degree of congestion by counting the total number in the airport at any time. The planes report the time and their identifier on arrival before landing, on leaving (before using the runway) and on final departure (i.e. a trace).
Imported modules |
--- | ---
from SimPy.Simulation import * from __future__ import generators from random import Random, expovariate, uniform import unittest
Classes |
Generator | Generates a series of N planes at int intervals.
Plane | a Plane landing at the airport

Table of Contents

This document was automatically generated on Sat May 22 12:08:33 2004 by HappyDoc version 2.1