Table of Contents

Module: bank12 .\simpy1_4\SimPyDocs\Bank\programs\bank12.py

bank12: Simulate customers arriving at random, using a Source, requesting service from two counters each with their own queue random servicetime. Uses a Monitor object to record waiting times Set up 4 replications

Imported modules   
from SimPy.Monitor import *
from SimPy.Simulation import *
from __future__ import generators
from random import Random
Functions   
NoInSystem
model
  NoInSystem 
NoInSystem ( R )

The number of customers in the resource R in waitQ and active Q

  model 
model ( counterseed=393939 )

Classes   

Customer

Customer arrives, is served and leaves

Source

Source generates customers randomly


Table of Contents

This document was automatically generated on Sat Dec 27 07:17:18 2003 by HappyDoc version 2.1