Module: airport | simpy-1.3\SimPyTests\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.
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).
|