File: LISTOFMODELS.html

package info (click to toggle)
python-simpy 1.5.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 9,952 kB
  • ctags: 4,314
  • sloc: python: 9,821; makefile: 64
file content (144 lines) | stat: -rw-r--r-- 6,586 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.3.7: http://docutils.sourceforge.net/" />
<title></title>
<link rel="stylesheet" href="default.css" type="text/css" />
</head>
<body>
<div class="document">
<div align="left" class="image align-left"><img align="left" alt="../SimPyDocs/images/sm_SimPy_Logo.png" src="../SimPyDocs/images/sm_SimPy_Logo.png" /></div>
<div class="section" id="list-of-models-using-simpy">
<h1><a name="list-of-models-using-simpy">LIST OF MODELS using SimPy</a></h1>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field"><th class="field-name">Authors:</th><td class="field-body"><ul class="first last simple">
<li>Tony Vignaux &lt;<a class="reference" href="mailto:Vignaux&#64;users.sourceforge.net">Vignaux&#64;users.sourceforge.net</a>&gt;,</li>
<li>Klaus Muller &lt;<a class="reference" href="mailto:Muller&#64;users.sourceforge.net">Muller&#64;users.sourceforge.net</a>&gt;</li>
</ul>
</td>
</tr>
<tr class="field"><th class="field-name">SimPy version:</th><td class="field-body">1.5.1</td>
</tr>
<tr class="field"><th class="field-name">Web-site:</th><td class="field-body"><a class="reference" href="http://simpy.sourceforge.net/">http://simpy.sourceforge.net/</a></td>
</tr>
<tr class="field"><th class="field-name">Python-Version:</th><td class="field-body">2.2, 2.3, 2.4</td>
</tr>
</tbody>
</table>
<p>These models are some examples of SimPy use written by an number of
authors, usually developed for other purposes, such as teaching and
consulting. They are in a variety of styles.</p>
<div class="section" id="command-line-input-and-output">
<h2><a name="command-line-input-and-output">Command Line input and output</a></h2>
<dl class="docutils">
<dt>Market.py</dt>
<dd>Simulation of a supermarket checkout with multiple counters
and extended Monitor objects.  Written and analysd  by
David Mertz in an article for developerWorks (). (MM)</dd>
<dt>MMC.py  </dt>
<dd>M/M/c (multiple server queue model. This demonstrates both the 
multiple capacity Resource class and the use of tally and accum
in the Monitor class. Random arrivals, exponential
service-times. (TV)</dd>
<dt>SimPy_worker_extend.py </dt>
<dd>Factory making widgets with queues for machines. (MM)</dd>
<dt>airport.py </dt>
<dd>A simple model of an airport with service with a single runway.
Times are deterministic.  (TV)</dd>
<dt>bcc.py  </dt>
<dd>Determine the probability of rejection of random arrivals to a 2-server
system with different service-time distributions. No queues allowed,
blocked customers are rejected (BCC). Distributions are Erlang,
exponential, and hyperexponential. The theoretical probability
is also calculated.  (TV)</dd>
<dt>cellphone.py </dt>
<dd>Simulation of a cellphone cell with blocking (that is BCC 
discipline). The program simulates the operation for 10 &quot;hours&quot; and
measures the mean and variance of the total time blockedr 
and the number of times blocking occur in each hour. An observational
gap occurs between the observation hours to make each hour's
measurement independent.  (TV)</dd>
<dt>centralserver.py </dt>
<dd>Simulates a primitive central-server model with a single CPU
and a single disk. A fixed number of users send &quot;jobs&quot; to the system
which are processed and sent back to the user who then thinks for 
a time before sending a job back. This system can be solved
analytically.  (TV)</dd>
<dt>jacksonnetwork.py </dt>
<dd>Simulation of a Jackson network with 3 nodes, exponential 
service times and probability switching. The simulation measures the
delay for jobs moving through the system.  (TV)</dd>
<dt>lemmings.py </dt>
<dd>A simple M/M/1 Lemming model.  (TV)</dd>
<dt>shortestPath_SimPy.py</dt>
<dd>A fun example of using SimPy for non-queuing work. It
simulates a searcher through a graph, seeking the shortest
path. (KGM)</dd>
<dt>Machineshop.py</dt>
<dd>An example of the use of the 'interrupt()' method introduced in
SimPy 1.2. It simulates a workshop with n machines which break
down and one or more repairmen which have to repair them. (KGM)</dd>
<dt>CellularAutomata.py</dt>
<dd>A simple simulation of two-dimensional cellular automata. Does
the game of Life. (KGM)</dd>
<dt>needResources.py</dt>
<dd>Demo of waitUntil capability introduced in SimPy 1.5. It simulates
three workers each requiring a set of tools to do their jobs. Tools are shared, scarce
resources for which they compete.</dd>
<dt>demoSimPyEvents.py</dt>
<dd>Demo of the event signalling constructs introduced in SimPy 1.5. Three small 
simulations are included: Pavlov's drooling dogs, an activity simulation where 
a job is completed after a number of parallel activities, and the simulation 
of a US-style 4-way stop intersection.</dd>
</dl>
</div>
<div class="section" id="gui-input">
<h2><a name="gui-input">GUI Input</a></h2>
<dl class="docutils">
<dt>MM1.py  </dt>
<dd>M/M/1 random-arrivals, exponential service time queue with GUI input.
(MM)</dd>
<dt>GUIdemo.py</dt>
<dd>Simulates a firework show.</dd>
<dt>bank11GUI.py</dt>
<dd>A modification of the bank11 simulation with GUI input.</dd>
<dt>SimGUIStep.py</dt>
<dd>A modification of the bank11 simulation with the ability to
step between events</dd>
</dl>
</div>
<div class="section" id="plot">
<h2><a name="plot">Plot</a></h2>
<dl class="docutils">
<dt>bank11Plot.py</dt>
<dd>A Modification of the bank11 simulation with graphical
output. It plots service and waiting times</dd>
</dl>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field"><th class="field-name">Created:</th><td class="field-body">2002-December</td>
</tr>
<tr class="field"><th class="field-name">Date:</th><td class="field-body">$Date: 2005/01/15 15:16:52 $</td>
</tr>
<tr class="field"><th class="field-name">Revision:</th><td class="field-body">$Revision: 1.1.1.1 $</td>
</tr>
</tbody>
</table>
<!-- Local Variables:
mode: indented-text
indent-tabs-mode: nil
sentence-end-double-space: t
fill-column: 70 
End: -->
</div>
</div>
</div>
</body>
</html>