Module: Machineshop

Table of Contents

Module: Machineshop | simpy1_4_2\SimPyModels\Machineshop.py
--- | ---
Machineshop Model An example showing inrterrupts and priority queuing. Scenario: A workshop has n identical machines. A stream of jobs (enough to keep the machines busy) arrives. Each machine breaks down periodically. Repairs are carried out by one repairman. The repairman has other, less important tasks to perform, too. Once he starts one of those, he completes it before starting with the machine repair. The workshop works continously.
Imported modules |
--- | ---
from SimPy.Simulation import * from __future__ import generators import random
Functions |
timePerPart timeToFailure
| timePerPart
    timePerPart ()
| timeToFailure
    timeToFailure ()
Classes |
Breakdown |
Machine |
OtherJobs |

Table of Contents

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