NeXT TypedStream Data | 1992-01-13 | 6KB | 99 lines
typedstream
CanvasView
Responder
Object
[12@]
CreateNodeView
NodeView
TextField
Control
TextFieldCell
ActionCell
TV Creation
Helvetica
ImageViewPlus
ImageView
DarkBoxView
LineView
QueueNodeView
TV Inspection
QueueNode
NodeClass
AssignNode
AssignNodeView
Assign Node
BranchNodeView
routing
BranchNode
Branch Node
SimExec
Storage
{di@@@}
CreateNode
Create Node
Time Between Creations
iidcc
ciifffcfffs
[235c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
\margl40
\margr40
\f0\b0\i0\ul0\ql\fs24\fi0\li0\gray0\up0\dn0 New TVs are created at this node. The time between creating arriving TVs is uniformly distributed between 3.5 and 7.5 minutes.
DestroyNode
DestroyNodeView
exit system
NXImage
blackhole
Destroy Node
[250c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
\margl40
\margr40
\f0\b0\i0\ul0\ql\fs24\fi0\li0\gray0\up0\dn0 Exit the system. Some rudimentary stats are kept on the time in system, etc. We can stop the simulation after n entities (TVs) have exitied.
ObsStats
Time in System
{ddddi}
adjustment
queue
Queue Node
Service Time
[316c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
\margl40
\margr40
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs24 The adjustment node. Here only one worker serves the incoming TVs. He takes between 20 and 40 minutes to tweak a TV and send it back to the inspection queue.
iiiidi%
Time In Node
Time In Line
Time Bet. Balks
TimeStats
ddddi
Number in System
Number Waiting
No. Servers Busy
RandomManager
[3{iiii}]
cccccc
[233c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
\margl40
\margr40
\f0\b0\i0\ul0\ql\fs24\fi0\li0\gray0\up0\dn0 Routes entities to either the adjustment node or out of the system. The branch RV attribute was set in the node before this.
i%%d%ii
branch RV
333333
branch
assign
Assignment Node
Attribute Random Variable
[477c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
\margl40
\margr40
\f0\b0\i0\ul0\ql\fs24\fi0\li0\gray0\up0\dn0 85% of the TVs should be OK, while 15% should be adjusted and then inspected again. This assigns a uniform random variable to an attribute, branch RV. The next node examines the attribute value. If it's greater than 0.15, it sends it out of the system; otherwise it sends it for adjustment. This corresponds to the percentages discussed in the system specification.
This is an inspection queue. Two inspectors work side-by-side, each of them able to inspect a TV in between 6 and 12 minutes. Common statistics, such as the fraction of time the inspectors are busy, are collected automatically.