18.10.2014 Views

SIMSCRIPT II.5 Programming Language

SIMSCRIPT II.5 Programming Language

SIMSCRIPT II.5 Programming Language

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Discrete Simulation Concepts<br />

DESIGN TEST creation<br />

time.a time.a time.a<br />

eunit.a eunit.a eunit.a<br />

predefined<br />

attributes<br />

p.ev.s p.ev.s p.ev.s<br />

s.ev.s s.ev.s s.ev.s<br />

m.ev.s m.ev.s m.ev.s<br />

sta.a sta.a sta.a<br />

ipc.a ipc.a ipc.a<br />

rsa.a rsa.a rsa.a<br />

f.rs.s f.rs.s f.rs.s<br />

schedule<br />

user-defined<br />

attributes<br />

f.materials<br />

l.materials<br />

n.materials<br />

Figure 5-6. Attributes of Process Notices Created by Process Declarations<br />

Above<br />

5.3.8 External Processes and Events<br />

A common validation technique used in simulation modelling is to exercise a model using event<br />

data derived from a record of events occurring in the system under study. This is termed trace-driven<br />

simulation. Alternatively, a collection of projected event times may, of course, be used to study<br />

the behavior of a modelled system.<br />

To support this technique, <strong>SIMSCRIPT</strong> <strong>II.5</strong> provides a mechanism by which, rather than scheduling<br />

events using statements within a program, they may be scheduled directly from event times presented<br />

as an input data stream.<br />

It is possible for processes and events to belong to one or both of two categories: internal or<br />

endogenous as has so far been described, and external or exogenous, as described here. Each<br />

class of external events or processes has, as usual, an associated routine describing actions to be<br />

taken upon its occurrence. The difference between the two event categories lies in the manner in<br />

which the event is scheduled. (Note that the term "event" may be taken here to also mean the<br />

initiating event of a process.)<br />

Events may be triggered from external input data by declaring them to be external events or<br />

processes in a statement of the form:<br />

207

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!