Transcript
Page 1: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

A GPSS -FORTRAN CASE STUDY

by

Charles Joseph Petronis

Page 2: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

LIBRARY „_«,NAVAL POSTGRADUATE SCWOB

MONTEREY. CALIF. 93940

Page 3: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

INTERNALLY DISTRIBUTED

RFPflRT

United StatesNaval Postgraduate School

THESISA GPSS-FORTRAN CASE STUDY

by

Charles Joseph Petronis

April 1970

Tku document hcu> bten appnjovtd ^oK pubtcc k<l-

tzcu>z and Acute.; i£i> dLUtsubtxtloYi <U unJUmittd,

Page 4: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS
Page 5: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

A GPSS-FORTRAN Case Study

INTERNALLY DSSTRiBUTEDby

RE!

Charles Joseph Petronis

Major, United States ArmyB.S., Norwich University, 1960

Submitted in partial fulfillment of the

requirements for the degree of

MASTER OF SCIENCE IN OPERATIONS RESEARCH

from the

NAVAL POSTGRADUATE SCHOOLApril, 1970

Page 6: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

CI

ABSTRACT

The objective of this study was to compare two commonly used

computer simulation languages: GPSS and FORTRAN. The comparison

was made by simulating an identical system in both languages. The

comparison criteria used to evaluate the languages were as follows:

ability to represent system, simulation time, ability to represent

stocastic phenomena, programming time, computer running time, monitor-

ing and debugging, storage requirements, data initialization and starting

conditions, replication, data collection and display. The results from

this study indicated that a system may be modeled four to five times

faster using GPSS as compared to FORTRAN. The modeled system was

simpler to conceptualize in GPSS, and the model required reduced pro-

gramming, debugging and monitoring time compared to the FORTRAN

model

.

Page 7: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

JBRARY -

AVAL POSTGRADUATE SCHOOlfONTEREY,, QALIF. 93940

TABLE OF CONTENTS

I. INTRODUCTION 9

II. LANGUAGE COMPARISON CRITERIA 11

A. ABILITY TO REPRESENT SYSTEM 11

B. SIMULATION TIME 12

C. ABILITY TO REPRESENT STOCASTIC PHENOMENA 12

D. PROGRAMMING TIME AND COMPUTER RUNNING TIME 13

E. MONITORING AND DEBUGGING 13

F. DATA INITIALIZATION AND STARTING CONDITIONS 14

G. STORAGE REQUIREMENTS 15

H. REPLICATION 15

I. DATA COLLECTION AND DISPLAY 16

III. THE MODEL 17

A. TORN TAPE RELAY CONCEPTS 17

B. SYSTEM MODELED 19

C. FORTRAN SYSTEM MODEL 22

D. GPSS SYSTEM MODEL 3

IV. GPSS> -FORTRAN COMPARISON 3 6

A. ABILITY TO REPRESENT SYSTEM 3 6

1. FORTRAN 3 6

2. GPSS 37

3. Comparison 38

Page 8: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

B. SIMULATION TIME 38

1. FORTRAN 38

2. GPSS 39

3. Comparison 39

C. ABILITY TO REPRESENT STOCASTIC PHENOMENA 40

1. FORTRAN 40

2. GPSS 40

3 . Comparison 41

D. PROGRAMMING TIME 42

1. FORTRAN 42

2. GPSS 42

3. Comparison 42

E. COMPUTER RUNNING TIME 43

1. FORTRAN 43

2. GPSS 44

3. Comparison 44

F. MONITORING AND DEBUGGING 45

1. FORTRAN 45

2. GPSS 46

3 . Comparison 47

G. INPUT DATA AND INITIALIZATION 47

I • FORTRAN 47

2. QPS8 48

li, rin mi 48

Page 9: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

H. STORAGE REQUIREMENT

FORTRAN

GPSS

Comparison

REPLICATION

FORTRAN

GPSS

Comparison

DATA COLLECTION AND DISPLAY

FORTRAN

GPSS

3 . Comparison

V. CONCLUSIONS

APPENDIX A

APPENDIX B

APPENDIX C

Exogenous Data

FORTRAN Computer Model

Explanation of Arrays and Subroutines

FORTRAN Flow Chart

FORTRAN Computer Program

GPSS Computer Model

GPSS Flow Chart

GPSS Computer Program

BIBLIOGRAPHY

INITIAL DISTRIBUTION LIST

FORM DD 1473

49

49

49

50

50

50

51

51

52

52

52

53

55

57

66

66

74

108

124

125

137

146

148

149

Page 10: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS
Page 11: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

LIST OF ILLUSTRATIONS

Figure Page

1 . TORN TAPE RELAY NETWORK 20

2. ARRAY FF(5, 10, 3) 23

3. A FORTRAN FLOW CHART 2 7

4. A GPSS FLOW CHART 39

5. TERMINAL 1 PERCENT PEAK LOAD ARRIVAL RATE 58

6. TERMINAL 2 PERCENT PEAK LOAD ARRIVAL RATE 59

7. TERMINAL 3 PERCENT PEAK LOAD ARRIVAL RATE 60

8. TERMINAL 4 PERCENT PEAK LOAD ARRIVAL RATE 61

9. TERMINAL 5 PERCENT PEAK LOAD ARRIVAL RATE 62

10. PERCENT TRAFFIC TRANSMITTED TO EACH TERMINAL 63

11 . MEAN PEAK HOUR ARRIVAL RATE BY PRECEDENCE 64

12. MEAN MESSAGE TRANSMISSION TIME BY PRECEDENCE 65

Page 12: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

ACKNOWLEDGEMENT

The author wishes to express sincere appreciation to Professor

Alvin F. Andrus for supervision, encouragement and for the many sug-

gestions that materially added to this study.

The author especially wishes to thank his wife, Bunny, and

daughters, Debra, Susan, and Karen for administrative assistance

and for the many sacrifices they made during the writing of this thesis

Page 13: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

I. INTRODUCTION

Computer simulation has become an ordinary and useful technique

of the operations analyst. In industrial and military operations research,

complex as well as simple systems are being simulated by computer for

both educational and analytical purposes. In an effort to reduce both

the amount of detailed programming required and the amount of intricate

simulation methodology that must be known in order to create a computer

simulation, several special purpose simulation languages have been made

available to the operations research community [Ref s . 15, 16, 17]. Prior

to the introduction of these simulation languages, computer simulation

programs were restricted to either the available assembly or compiler

languages. It is not clear, however, that the task of simulating a system

is always simpler when using a simulation language.

It is obvious that as a computer language becomes specialized, it also

becomes restrictive. It is also possible that an increase in speciali-

zation for a computer language will tend to decrease the efficiency of

the language in terms of running time and allocated memory space. Moti-

vated by these thoughts, the objective of this thesis is to compare the

usefulness of two very common programming languages: GPSS and

FORTRAN. GPSS is a specialized simulation language for the simulation

of queueing problems and FORTRAN is a general purpose language. A

detailed description of these languages is not contained in this thesis

but may be found in Ref s . 3 , 4 , 6 , 7 , 8 , and 14 .

Page 14: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

The comparison of GPSS and FORTRAN in this thesis is made by

simulating an identical queueing system in each of these languages.

For the queueing system simulated, identical assumptions were made

relative to modeling the system and the same exogenous data was used,

Models in each of the languages provided comparable output data. At

the beginning of this study, the author was equally familair with each

language. Based upon these two simulations, the languages were then

relatively evaluated according to the following criteria:

1 . Ability to represent system

2 Simulation time

3. Ability to represent stocastic phenomena

4. Programming time

5 . Computer running time

6. Data initialization and starting conditions

7 . Storage requirement

8 . Replication

9. Monitoring and debugging

10. Data collection and display

These criteria are discussed in Chapter II in light of their importance

to simulation model building.

It should be made clear that the content of this thesis is directly

related to a comparison of GPSS and FORTRAN in programming a simple

queueing situation. No attempt is made to compare these languages

beyond their application in programming this sample problem.

10

Page 15: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

II. LANGUAGE COMPARISON CRITERIA

The criteria used to compare FORTRAN and GPSS represent both the

economic considerations of choosing a language as well as the desirable

features of a simulation language. The economic considerations [Ref. 12,

pgs. 240-241] relate to cost and availability. Cost can be equated to

the man hours required to obtain a validated computer model, together

with the computer operating time required to obtain the final results.

Availability includes the availability of computer hardware as well as the

availability of knowledgeable programmers and technicians. The desirable

features of a simulation language [Ref. 9, pgs. 26-38] are qualities that

assist the programmer in conceptualizing, programming, debugging and

experimenting with the computer model. A detailed explanation of the

specific criteria utilized to compare FORTRAN and GPSS follows.

A. ABILITY TO REPRESENT SYSTEMS

Most systems of interacting entities can be said to possess two

structures: static and dynamic. The static structure is independent of

time, and consists of the framework or structure within which action

takes place. The dynamic structure is time dependent and includes the

processes and actions that occur within the static structure of the model.

In order to simulate a system, it is, therefore, important that the

language used must contain an inherent framework or flexibility so that

both the dynamic and static structure of the system can be easily and

realistically included in the simulation. As examples of the two structures,

11

Page 16: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

consider the operation of a message center. The transmitters, receivers,

and electrical circuits represent the static structure. The arrival and

departure of messages over the circuits make up the dynamic structure

for this system

.

B. SIMULATION TIME

In order to simulate the dynamics of a system, a method is needed

which portrays the passage of time. Time in a simulation is controlled by

means of a computer clock which is a programming mechanism that approxi-

mates the continuous flow of time in the simulation. Clocks are of two

basic types: fixed time and next event. Fixed time clocks operate by

advancing simulated time in discrete time intervals. At the completion

of each time interval, a control mechanism scans all the possible actions

that may take place and all computation scheduled for this interval is

performed. The clock then advances into the next interval and the

scanning process is repeated. Next event clocks utilize a control device

that, at the completion of an event or computation, advances simulated

time directly to the time of the next event scheduled to occur. For a

detailed description of these clock mechanisms see Naylor [Ref. 12].

C. ABILITY TO REPRESENT STOCASTIC PHENOMENA

Events in the real world usually do not occur with regularity or

according to some fixed pattern. The variability and uncertainty with

which events occur are most often described by means of probability

statements and distributions, e.g. , event A has fifty percent chance of

12

Page 17: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

occurring, or event B will occur every ten days plus or minus three days.

To include these probability statements and distributions, a method is

needed within the dynamic structure of the model to generate random

numbers. Random numbers used in conjunction with probability distri-

butions and statements are used to determine the outcome of stocastic

events, e.g. , did event A occur or not? In order to adequately model

real world systems, it is therefore necessary to include in the evaluation

of any computer language the ease with which the variability and un-

certainty of events can be included in the simulation.

D. PROGRAMMING TIME AND COMPUTER RUNNING TIME

For any simulation, programming time and computer running time

are important considerations. Both times represent dollars and, there-

fore, must be considered prior to choosing a computer language. Complex

languages which compile and execute slowly in comparison to simpler

languages may greatly reduce programming time due to their syntax. In

deciding on a language to use, a cost and time trade off analysis should

be made. This analysis can quite often only be made empirically, i.e. ,

by comparing the results of the different languages as is being done in

this thesis .

E. MONITORING AND DEBUGGING

An essential requirement for any programming language is that it

ought to provide features that assist the programmer in debugging syntax

and logic errors. For simulation languages in general, three desirable

13

Page 18: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

debugging features are:

1 . A list of compilation and execution errors referenced by

statement number and clock time.

2 . A list of execution errors reported with a complete printout

of the status of the program at the time of error. This print-

out should contain as a minimum: clock time, status of

appropriate variables and related parameters from the sub-

routines currently in effect

.

3 . A trace back feature which would provide some method to

trace a given event thru the system.

These three features are also necessary in order to monitor the system

dynamics. Without the ability to trace an event and the ability to

observe the system at various times, many logic errors would be im-

possible to locate [Ref. 10, pgs. 35-36].

F. DATA INITIALIZATION AND STARTING CONDITIONS

Simulation studies often use extensive exogenous data. Therefore,

convenient methods to initialize exogenous data into the computer model

is a desirable language feature. Once the model has been initialized,

the immediate objective then becomes to obtain information about the

system at various points in time. In the analysis of some systems, the

analyst may decide to study the system during steady state conditions,

while for other systems, the transient conditions may be more important.

Another desirable feature for comparison of language is then the ease

14

Page 19: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

with which the inherent structure of the language allows the analyst to

drive the simulation to a steady state condition. This must include, of

course, a convenient method for minimizing the amount of execution time

required to arrive at a steady state condition.

G. STORAGE REQUIREMENTS

Computer core storage is fixed for each model computer. This re-

stricts the capability of each model computer to perform jobs within its

memory capacity. In order to obtain the most efficient use of a computer's

memory capacity, many computer facilities encourage programs to be

written with small storage and time requirements by providing quicker

turn around times to these programs . The language storage requirement

therefore becomes important in obtaining shorter turn around times during

the debugging and experimentation phase of the simulation. Core storage

requirements of a computer language can therefore materially affect the

time required to project completion.

H. REPLICATION

When simulation results are put to the test of statistical analysis,

it is of primary interest to obtain results with a specified degree of

confidence. In order to be able to specify a degree of confidence, a

number of observations of the experiment must be obtained. These

observations are obtained by replicating the computer experiment the

desired number of times. The ease with which program replications can

be made is therefore a measure of contrasting two simulation languages.

15

Page 20: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

I. DATA COLLECTION AND DISPLAY

Data collection is a necessary requirement for any simulation.

Ideally, data collection should be automatic, but in any event, data

collection statements should not interfere with the operations of the model.

Since completely automatic data collection is not practical, the next best

alternative is to have certain information automatically collected and the

remaining information available at the discretion of the programmer. The

following data should be available as output at little or no inconvenience

to the programmer [Ref. 10, pgs . 32-34].

1 . The number of observations and the maxima and minima for

all variables

2 . Sums and sums of squares for time independent variables

3. Time-weighted sums and sums of squares for time-independent

variables

4. Variable value histograms for time-independent variables

5. Time-in-state histograms for time-dependent variables

6. Time series plots over specified time intervals

The recording of results is a primary objective in every study.

Therefore, the language selected for simulation should allow for varying

output formats that are dependent upon the programmers needs. However,

as is the case with data collection statements, the programmer should not

have to spend a great deal of time in writing or debugging output data

statements

.

16

Page 21: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

III. THE MODEL

This chapter introduces the torn tape relay network concept of

operation in Section A and describes the system that was simulated for

this case study in Section B. The FORTRAN and GPSS models of the torn

tape relay network are described in Sections C and D respectively. The

FORTRAN and GPSS programs are discussed with the intent of providing

the reader insight into the methods that can be used by a programmer to

simulate the static and dynamic structure of a system.

A. TORN TAPE RELAY CONCEPT

The purpose of a torn tape relay network is to move message traffic

from an origin to a destination within the network. A typical torn tape

relay system consists of a number of terminal and relay stations con-

nected by circuits. A terminal originates and terminates messages for a

military headquarters. Messages originated at a terminal are translated

into a coded perforated tape. The perforated tape code is then transmitted

to a relay station according to the assigned precedence and desired routing

of the message. A relay station is typically connected to many terminal

stations in the geographical area as well as to other relay stations. The

mission of a relay station is to accept messages from the supported

terminals and connecting relays and to retransmit the messages to the

next station according to the messages routine instructions. This next

station may be another relay or a supported terminal station.

17

Page 22: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

A message may be assigned one of four precedences. Listed in

order of importance from high to low, these precedences are: flash,

immediate, priority, and routine. All messages are transmitted from one

station to another on a first in first out, FIFO, discipline ordered by

precedence. When a flash message is received at a station and no

circuit is free to the next station in accordance with the routing instruct-

ions, a lower precedence message occupying a transmitting circuit is

pre-empted. The flash message is then transmitted over the pre-empted

circuit and the pre-empted message is refiled according to its original

receipt time. The pre-empted message is then eventually retransmitted

according to the normal FIFO discipline. A message with a flash pre-

cedence is the only type of message with pre-empting authority.

Prior to reaching the final destination, messages often remain in

queue at some station and are said to be backlogged. Station backlogs

are computed to be the time required to transmit all messages in queue

for a given station. The total backlog is often separated into two

categories: a high precedence message backlog consisting of flash and

immediate messages and a low precedence backlog consisting of routine

and priority messages. Backlog statistics are used as a measure of

effectiveness to evaluate a station's ability to pass traffic.

The number of circuits interconnecting two stations regulates the

backlog that exists between these stations. Additional tape transmitters,

receivers, and personnel to operate the equipment are also needed as the

number of circuits increase. The additional circuits, equipment and

18

Page 23: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

personnel can be equated to dollars. Hence, in designing or operating a

torn tape relay, one attempts to minimize the cost of operation by mini-

mizing the number of interconnecting circuits, subject to some fixed

effectiveness criterion. The maximum backlog that will be tolerated is

often used as the fixed effectiveness criterion.

B. SYSTEM MODELED

The torn tape relay network that was modeled for this study con-

sisted of five terminal stations and one relay station. A diagram of the

system simulated is depicted in Figure 1. The terminal stations are

numbered 1 , 2 , 3 , 4 and 5 . The relay consisted of five bays and are

labeled 6, 7, 8, 9 and 10 in the diagram. Each bay contained relay

equipment used to transmit and receive messages to a given terminal.

The circuits interconnecting the terminals and relay bays are represented

by directed lines in the diagram. Transmitting circuits are indicated by

the direction of the arrow.

The five terminal stations and five relay transmit bays together

with the associated circuitry comprised the static structure of the system

The dynamic structure of the system consists of messages possessing a

given precedence, arrival time, message length and destination moving

thru the static structure .

The problem addressed in this study was to simulate the torn tape

relay network represented in Figure 1 and to determine the minimum

number of circuits required between stations consistent with acceptable

19

Page 24: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

TORN TAPE RELAY NETWORK

(ter*\n*l\

/tcrhiamlA

TERfMN^W.

D

/^ti^in^

Figure 1

20

Page 25: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

backlog figures. Backlogs were considered excessive if low precedence

messages were backlogged in excess of 15 minutes and high precedence

messages in excess of 2 minutes .

Various operating characteristics for all the stations were assumed

for the system. These characteristics included probability distributions,

message density functions, peak load figures and average message

length. The following assumptions were used in modeling the torn tape

relay network:

1. All messages introduced into the system reached the desired

destination and no messages were misrouted.

2 . Message center record keeping procedures did not contribute

to backlog figures .

3 Circuit outages were not considered; hence, all circuits

experienced one hundred percent reliability.

4 . The time between message arrivals for each precedence

message was distributed exponentially with mean peak hour

values as listed in Figure 11, Appendix A.

5. The peak hour arrival rate was dependent upon time of day

and was different for each site. The peak hour arrival rates

utilized are listed in Figures 5 thru 9, Appendix A.

6. The average message length was not time dependent, but was

dependent upon the station and precedence of the message.

Message length was assumed exponential with mean values

as listed in Figure 12, Appendix A.

21

Page 26: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

C. FORTRAN SYSTEM MODEL

FORTRAN is a general purpose language, GPL, in that the language

was not designed for special purpose applications such as simulation.

FORTRAN is a comparatively simple language to learn, because the symbols

and mnemonics are analogous to those of mathematics. For this reason,

and due to the FORTRAN compilers universal availability, the language

became a common computer language for scientific computations.

FORTRAN makes use of variables, subscripted variables, constants,

expressions and functions. The number of different functions or sub-

routines used by a programmer is limited only by the size of the computer

available. For simulation programming using FORTRAN, the programmer

has great flexibility by being able to write a general main program con-

taining a timing clock., and then calling various subroutines for execution.

In order to model the static structure of a system in FORTRAN, one

must portray the structure of the system using the subscripted-unsub-

scripted variables and constants in conjunction with FORTRAN functions

and expressions. The dynamic structure of a system is represented in

FORTRAN by altering the flow of statement execution in a manner that

reflects the action occurring in the actual system. The order of state-

ment execution is varied in FORTRAN by use of IF statements, COMPUTED

GO TO statements and logical type statements.

In order to simulate the torn tape relay network in FORTRAN, the

static structure was represented by subscripted arrays. Four three

dimensional arrays, namely RR (i, j , k) , PP (i, j , k) , OO (i, j , k) and

22

Page 27: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

Di*\&to*>K>h) </

CD

cn•rH

P-4

23

Page 28: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

FF (i,j ; k), were used to store information pertaining to routine, priority,

immediate and flash messages, respectively. Figure 2 contains a repre-

sentation of the FF array. The k dimension of each array was equal to

three, and was used to store the arrival time, required transmission

time, and destination of each message waiting for transmission at the

terminals and relay transmit bays. The i and j dimension of these arrays

fixed respectively the number of messages and the station at which the

messages were currently located. The j dimension was equal to ten with

argument one thru five corresponding to the five terminals and arguments

six thru ten corresponding to the five relay transmit bays. The arguments

of the j dimension corresponded to the station numbers depicted in

Figure 1

.

The d eimension was different for each precedence array and was

selected to permit at least a thirty minute backlog of messages to exist

for each precedence category at each station. For k equal one, message

arrival times were stored in the i dimension in increasing order.

Ten one dimensional arrays HOLDl(i) thru HOLDlO(i) were used to

represent the circuits between terminals and relay bays. The arrays

HOLD1 thru HOLD10 correspond to the numbering of Figure 1; these

arrays contained the time at which a specified circuit would be free.

The number of transmit circuits from one location to another was equal to

the dimension of the HOLD array corresponding to this pair of stations.

The dynamic structure of the system was represented by moving

message parameters from the terminal storage areas represented by

24

Page 29: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

position 1 thru 5 of the j dimension to the desired relay transmit bay

represented by position 6 thru 10 and then from the relay to the desired

destination. The order of statement execution was controlled by a FORTRAN

COMPUTED GO TO statement that acted as a next event clock. Program

control was transferred to the station that had the highest precedence

message with the lowest arrival time available for transmission. A

message was available for transmission if the scheduled message arrival

time was less than or equal to the simulation clock time and there was a

free circuit in order to transmit the message to the connecting station.

Transmission from a terminal was accomplished by transferring message

parameters from the array column representing the terminal to the array

column representing the relay transmit bay that will transmit the message

to its final destination. In addition, the message transmission time is

added to current simulation time and this value is placed in the proper

HOLD array.

For example, suppose a flash message from terminal two to terminal

three was selected as the next event in the simulation. Since relay

transmit bay eight transmits to terminal three, the message parameters

from column two would be transferred to column 8 of array FF. The

arrival time of the message for terminal eight would also be updated by

the transmission time of the message. In addition, the time at which

transmission ends would be transferred to HOLD2(i).

The information was deleted from the HOLD array after the required

message lapse time by use of the next event clock. Each time a set of

25

Page 30: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

message parameters was transferred from a terminal column, the remaining

message parameters moved forward one position, and a new set of message

parameters was created to occupy the empty position. After the creation

of a new message, all positions in the j dimension column were filled,

and the message arrival times were in ascending order. Once a message

was transferred to a relay transmit bay column, the message arrival

times in the column were not necessarily in ascending order. Hence,

after a message was transferred to a relay transmit bay column, all

message parameters in the column were ordered to insure the lowest

arrival time message was in position one and therefore was the next

scheduled message to be transferred from the column.

Messages in a relay transmit bay column selected as the next event

were processed in a similar manner. The single exception being that

messages transmitted by the relay were destined for the final destination.

Hence, after a message was held in the respective HOLD array for the

messages transmit time, the message attributes were destroyed. The

destruction of the message's parameters represented the successful

delivery of the message.

Backlogs were computed after transferring a message to the next

station. A message was backlogged if simulation time was greater than

the message arrival time stored in the j dimension of the respective

precedence array. All messages stored in relay terminal bay columns

were backlogged, whereas, only the messages with arrival times less

than clock time were backlogged in the terminal columns. The messages

26

Page 31: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

FORTRAN FLOW CHART

"START

Di r\Qhi stoN(\LL

INITI4L6XOGF/OOUSQftTA

IFill a srav*

ItolTtAkL.CLOtt POR

CLOCK

CohOute i^

I No

CLOCK

C.ooo. CCC

(SHiLk 2 O

7ozCtOC-Jc

|*/Q

C.LOCIC

ff(S?

Ir»\y«/oT

®r| Q.OfOliti/^1

i

H3

oJcft

/VfrAT

Cflti. D^SIPFO n->j ^>u e>«?ouT»lO"6

Figure 3

27

Page 32: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

LXreft*

Dcre/*»MMt

DeccMps Fftee

COU/oT

CircuitsA UAm ABLE

X

03^|A/UM&BR

Av/AicA8L£

ZCRO

fCLOCK: TfME

LBLock r/Me

PRIORITYM6i*A* £

K.LOC* T/*E,

Xktr fo*of pp

&&S

L&AJGTNOF FF

TKftfOlFF*

f»uTune

kft\&A*r forftERft? FF

fcfftO*C*e

ACtefJ&iW&-IB TL*tf*

Ser /oektBu»wt n*sOF fctlfW

©

28

Page 33: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

r^ofe

©\BRonsb

NO

F £ si

I

&<j> MES.

T^^^^Ft R.

TO Rfi cv/

I

mp:a<i( f pop

mes. atR€tftV

r-o -tor

3Er ajfatPtiP^T TjrA«

Op R 6 l «v

to 2.

i?xcepi po<?

PRiorh y me*>

/0 3PXC6PT For?

Fv»ou7<roe. A\ES>

/ES

/ AJU*aR>E f<

wo

'Mrs. Aeen^O-

Cl^C.U.vT

I-**^g)

eg? AereiwQLTints o5> NU7

EG} ftPPii/At

Tine OFNFxi MFSSACFI

_J

SI RTl^Tlf i

CRFTUtVN \

29

Page 34: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

with times greater than the clock time in the relay columns were future

events and had not yet been introduced to the model. The backlog for a

station was computed by totaling message time lengths for those messages

with arrival time less than or equal to clock time. The maximum backlog

that occurred during a computer run was recorded for each terminal station

and relay transmit bay.

A flow chart of the torn tape relay network in FORTRAN logic is

illustrated in Figure 3. This is an abbreviated flow chart and includes

only the main program and the programmed operation of a terminal. Al-

though some detail is omitted, Figure 3 portrays a system flow chart

for FORTRAN. A complete flow chart of the FORTRAN model is included

in Appendix B, together with an explanation of the symbols, and descrip-

tion of the arrays and subprograms used.

D. GPSS SYSTEM MODEL

General Purpose Simulation System, GPSS, is a popular simulation

programming language. GPSS was designed to be used as a simulation

language and as such makes special features available to simulation

programmers. These features hopefully reduce the time required to

simulate a system by reducing problem formulation time, programming

time and debugging time. GPSS was designed by the International

Business Machines Corporation and is well documented.

GPSS uses a block diagram flow chart procedure to represent the

static structure of a system. The blocks used to represent the static

structure are divided into six categories. The most fundamental of

30

Page 35: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

these categories contain the GPSS entities STORAGES, FACILITIES and

LOGIC SWITCHES. These entities are the building blocks of GPSS. A

FACILITY allows entry to only one transaction at a time. A transaction is

a dynamic entity and is used to represent movement in the system. The

length of time a FACILITY is occupied by a transaction may be determined

by a transaction's parameter value. A parameter describes a particular

transaction attribute. STORAGES allow entry to several transactions

simultaneously. LOGIC SWITCHES are two position gates which alter

transaction flow according to the status of some other entity or trans-

action parameter value. The dynamic structure of a system is modeled

in GPSS by the use of transactions. Transactions are created and

destroyed as needed during the computer simulation. Transactions may

have associated with them a set of parameters. The values assigned to

these parameters remain with the transaction until they are changed or

the transaction is deleted from the model

.

Associated with GPSS entities are certain standard numerical

attributes. The value of these attributes may be referred to or collected

by the programmer during the execution of the program. Standard

numerical attribute values may be used to trigger LOGIC SWITCHES,

assigned to transaction parameters, as well as stored for future use.

For the torn tape relay network, the terminal and relay sites,

transmitters, receivers, and interconnecting circuits were modeled by

use of a block diagram. The messages were represented by transactions

which moved through the block diagram according to the instructions of

31

Page 36: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

the model. Transactions were created in the model for each precedence,

and from each terminal according to an exponential distribution. The

intermediate and final destinations, precedence, and message length

were assigned to transaction parameters in the torn tape relay model.

Extensive use was made of the FACILITY entity. FACILITIES were

used to represent torn tape transmitters . Transactions waited in and

advanced in queue according to the FIFO discipline. A transaction

occupied a facility, for the simulation time length of the message. A

PREEMPT block allowed transactions representing flash messages to

pre-empt a FACILITY occupied by a lower precedence transactions.

Entities may be referred to by indirect addressing in the GPSS

program. Normally, each entity is designated by number or mnemonic

in the flow chart of the system. However, it is also possible to

designate a particular entity by the value of a transaction parameter.

Indirect addressing is often used to specify entity numbers when there

are several identical processes occurring in the system to be modeled.

In the torn tape relay model, five terminals and five relay trans-

mitter bays performed identical operations. Each location transmitted

messages according to the FIFO discipline. The terminals transmitted

to the relay, and each relay transmitter bay transmitted messages to a

particular terminal. Therefore, since the functions at each location

were identical, the required programming was reduced tenfold by in-

corporating indirect routing for referencing most entity blocks.

32

Page 37: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

A flow chart in GPSS of a single terminal is depicted in Figure 4.

This flow chart differs slightly from the actual GPSS model used in that

indirect routing, statistic gathering and storage of transactions in user

chains is omitted. A complete flow chart of the model is included in

Appendix C together with an explanation of symbols used. A comprehensive

discussion on GPSS may be found in IBM manuals and Schriber [Refs. 6-8,14]

33

Page 38: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

GPSS FLOW CHART

(gen)V1

A^/6-A/

ftS^HrN

GeAJERAT^ fl ROUTINE.

PRlORlTYj-DWEb/ATE ORFLASH fr\e&SQG~E

fl5S/6-Aj LBVC-TH OFhESS&OE TO PftRAMeT&ft |

ASS/6~*> DSZTfto AT/ O/U 7T>

Per?AMere^ E

/^s/6/u ftourv/u6- To

F*)<?#m ere •? 3

fEsr

(R^)^^

tf&

NO

r^^r

fQUEUE

SE/^E

"DEPART

ADVANCE

T?EJ.eA Se

TRANSFER

u

PLASH Pe sc e fce*j e £ ?

3*o/aj queue p/po"biso pl;ajE

S6/86 /3 P/?ee XmtR

t>epefcr Queue

fcPLE*-S£ XMTR

T£fH)SP££ KESSAO-SfrccoR. bj/vj&- T"0

ROuT/AJO- / NJ

Figure 4

34

Page 39: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

9^e. Pl^-erA^T

IADVA/uC £

RETUfcfO

tRKJOSFe^

FLASH MESSAGE

HOLD AMTR ftCCCRblNG-

TO PARA/*\£Tfc^ /

T^^TURN) XKTX TO

fRfMO$>PeR MBSSAOlrACCORDING- to ftcuT/^G-

GC/\/[*Rfc-n*. f TR^AJs^cuitw

lpajcth dp /A

Ass/6-aj sr^r/sr/ci7t> PflftAMtrr£ftS» /-30

VALUES /^ TABLES

35

Page 40: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

IV. GPSS-FORTRAN COMPARISON

GPSS and FORTRAN are evaluated in this chapter using the criteria

discussed in Chapter II. The evaluation is based upon observations and

experiences encountered while modeling the torn tape relay network dis-

cussed in Chapter III.

A. ABILITY TO REPRESENT SYSTEM

1. FORTRAN

The torn tape relay network was first simulated in GPSS and

then in FORTRAN. The author was hence quite familair with the system

prior to programming the system in FORTRAN. Even so, a considerable

amount of time was consumed trying to conceptualize the problem in the

form of subscripted-unsubscripted variables . Many methods proved

infeasible due to the requirement to record backlog statistics and due

to the pre-empt authority of flash messages.

In order to collect backlog statictics, backlogged messages

were simulated by creating messages in advance with a scheduled time

of arrival. When simulation time advanced and equaled the arrival time

of a message, if a circuit was available to the desired destination then

the message was transmitted. If a circuit was not free, the message

would wait in queue and be processed according to the FIFO discipline.

The only practical method to store messages waiting for an available

circuit, appeared to be to store the message parameters in arrays. Since

36

Page 41: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

arrays were used, the following decisions had to be made before a system

static structure could be formulated:

1. How should message parameter values be assigned to

arrays?

2 . How many arrays and what dimensionality should be

used?

3. What properties for each message should be retained?

4. How is information to be exchanged between arrays

in order to represent the dynamic structure of the

system?

2. GPSS

The torn tape relay network was comparatively simple to

represent in GPSS. The system static structure was logically represented

by means of a GPSS block diagram similar to Figure 4 of Chapter III. The

blocks FACILITY, STORAGE, TRANSFER, QUEUE and PREEMPT readily

portrayed the realistic operation of the system. Once the entire block

diagram was completed, the programming of the model in GPSS followed

directly, since there exists a one to one correspondence between GPSS

blocks and GPSS program statements. The dynamic structure of the torn

tape relay problem was represented in GPSS by GPSS transactions. For

this problem, transactions were considered messages. Transactions

were created at prescribed interarrival rates and assigned parameter

values corresponding to precedence, message length and destination.

The flow of transactions followed the block diagram structure of the

network

.

37

Page 42: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

3 . Comparison

The torn tape relay network system was much easier to

represent in GPSS than in FORTRAN. The construction of the GPSS block

diagram using the block mnemonics facilitated building a GPSS model of

the system. Initially the system was difficult to conceptualize using

FORTRAN statements since it was possible to become involved in the

details of FORTRAN and lose presence of the system to be modeled. The

flexibility of modeling a system in FORTRAN can be a handicap for less

experienced programmers because a programmer must select from among

apparent alternate methods of structuring the model. Hence, it can be

difficult and time consuming to determine which methods are feasible

and which feasible method is best.

B. SIMULATION TIME

1. FORTRAN

The incremental time clock and the next event clock were

considered for use in the FORTRAN model. The incremental time clock

was not used, however; this clock appeared to be simple to utilize but

did not appear very efficient since simulation time would be advanced

in increments of one second and many hours of operation had to be

simulated. The next event clock was used and appeared to be more

ficient since simulation time is advanced directly to the time of the

Kt event

.

In retrospect, the Incremental clock might have been a more ef-

ficient choice, since time progressed in small time increments in the

38

Page 43: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

model. If an incremental clock had been used, FORTRAN bolean variables

could have been incorporated in lieu of the FORTRAN IF statements and

the COMPUTED GO TO statement. Bolean variables associated with each

possible event could have been set to a go condition if the event was

scheduled to occur during the next time increment. Bolean variables

require considerably less computer time and hence might have resulted

in a more efficient time clock .

2. GPSS

The timing mechanism of GPSS was a next event clock. The

GPSS program operated by moving transactions thru a block structure

that represented the static structure of the system. Each block repre-

sented the possible occurrence of an event in the system. The GPSS

master program maintained a record of when these events were scheduled

to occur and processed the events in their proper sequence in time.

3 . Comparison

The most important difference in comparing GPSS and FORTRAN

with respect to simulation time is that GPSS has a built in timing clock

and FORTRAN does not. When using GPSS the simulation of a system

must include the next event clock. However, no programming or struct-

uring of this clock mechanism is required since the clock feature of

GPSS is entirely automatic within the block structure. The simulation

of a system in FORTRAN does require the programming and structuring of

a clock mechanism to meet the specific needs of the system being

simulated.

39

Page 44: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

C. ABILITY TO REPRESENT STOCASTIC PHENOMENA

1. FORTRAN

The mathematical structure of FORTRAN facilitated the pro-

gramming of probability distributions, functions and functional relation-

ships . Many useful mathematical functions are available directly from

the FORTRAN library. In addition, subroutines are available to generate

random numbers and variates from most of the ordinary theoretical

probability distributions. Variates can also be easily generated from

empirical distributions, see Naylor [Ref. 12].

Random numbers were generated in the FORTRAN torn tape

relay model using a library subroutine. The inverse transformation

technique was then used to obtain variates from an exponential proba-

bility distribution which required the evaluation of a natural logarithm.

Several methods were available to generate random numbers and expo-

nential variates, some of which were more efficient than those used.

The methods used were selected due to their simplicity and immediate

availability.

2. GPSS

GPSS contains eight independent random number generators.

These generators can be synchronized or can operate independently at

the discretion of the programmer.

Two methods are available to generate variates from proba-

bility distributions other than uniform. One method uses the GPSS

FUNCTION statement and a CDF approximated by linear segments. This

40

Page 45: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

method generates variates by using a random number argument and linear

interpolation on the CDF approximation. This method was used to

generate exponential variates for the torn tape relay model.

The second method uses a GPSS VARIABLE statement to express

the CDF in closed form. Variates can then be generated using the CDF's

inverse transformation function or some other acceptable method. This

method is inconvenient, however, since GPSS contains no internal

routines to evaluate functions such as natural logarithm, sine, gamma,

squareroot, etc. These functions must be evaluated by using GPSS

VARIABLE statements to include the evaluation of power series, etc.

3 . Comparison

GPSS provides adequate methods to generate variates from a

probability distribution in order to represent stocastic phenomena . The

presence of eight random number generators was convenient, but the

lack of GPSS routines to compute common mathematical functions could

prove inconvenient. Stocastic phenomena are easily represented in

FORTRAN and subroutines are available to generate random numbers.

Any number of independent random number generators can be included in

the FORTRAN program. Variates from probability distributions can be

obtained by linear interpolation of the approximated CDF or from the

theoretical distribution in both languages. However, the availability

of FORTRAN library functions often simplifies computing closed form

probability functions compared to the GPSS method.

41

Page 46: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

D. PROGRAMMING TIME

1. FORTRAN

FORTRAN statements can be written with or without the aid of

a flow chart. A general flow chart containing narrative descriptions of

the actions that are to be portrayed in FORTRAN is often quite useful.

Such a flow chart helps solidify model concepts and often suggests

methods of approach. A detailed statement by statement flow chart is

seldom required except for extremely complicated portions of a program.

The writing of the FORTRAN program for the torn tape relay problem,

after a narrative flow chart had been developed, was comparatively

simple. The FORTRAN program required in excess of 600 statements to

model the system.

2. GPSS

GPSS programming time was considered one of the major

advantages of the language. The GPSS block diagram used to simulate

the system greatly simplified the statement programming of the model.

Once the block diagram had been created, it was a simple matter to

write the program statement associated with each GPSS block. The

GPSS program consisted of 200 statements of which fifty were FUNCTION

and VARIABLE statements and sixty were used to collect statistics for

output purposes.

3 . Comparison

The programming phase of the simulation in GPSS was sig-

nificantly faster than in FORTRAN. Often where one statement was

42

Page 47: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

needed in GPSS to represent an event, a subroutine was required in FORTRAN

to represent the same event. Consequently, the FORTRAN program required

three times as many statements as needed by GPSS in order to perform

the same task. The time required to program the FORTRAN model was

significantly higher than the three to one ratio indicated by the number

of statements required. It is quite conceivable that a GPSS programmer

could be experimenting with the completed GPSS model while a FORTRAN

programmer was still investigating a method of attack to program the

same system

.

E. COMPUTER RUNNING TIME

1. FORTRAN

The FORTRAN model required seventeen minutes to compile

and execute the same number of runs conducted by the GPSS model in

six minutes. One would generally expect that the FORTRAN program

would execute faster than the GPSS program. This expectation is based

on the fact that FORTRAN is a lower level language and utilizes less

sophisticated data structures and methods to vary the flow of statement

execution. An attempt was made to determine the reason for this lengthy

execution time

.

The probable cause of the excessive time was due to the

method used to advance messages in arrays RR, PP, OO, FF. After a

message was transferred from a terminal station array column, all

message attributes were moved forward one position prior to a new

43

Page 48: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

message being created. After the message was transferred to a relay

transit bay column, all message arrival times were ordered to insure the

message with the smallest arrival time was in position one of its respectiv

column. The transmission of one routine message required changing

several hundred computer storage values. This perpetual changing of

storage values undoubtedly resulted in a high FORTRAN program execution

time

.

2 . GPSS

The GPSS model of the torn tape relay network required six

minutes and five seconds to execute eight repetitions of the torn tape

networks peak period of operation.

3 . Comparison

Although it may be possible to write faster executing programs

in FORTRAN than in GPSS, the torn tape relay example indicates that

this is not automatic. It appears that the GPSS language includes

efficient routines which when assembled by a programmer into a computer

program provide a comparatively efficient method of building a model.

A GPSS program may not be as efficient as theoretically possible in

FORTRAN. However, for the inexperienced programmer, the efficiency

of the GPSS language may be difficult to match.

The GPSS program written for this study was three times

faster in computer execution time than the FORTRAN program. Twenty-

five replications could have been obtained using the GPSS program as

compared to eight using the FORTRAN program in the same amount of

44

Page 49: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

computer time. These seventeen additional observations would have sig-

nificantly increased the sample size and provided more confidence in the

results obtained.

F . MONITORING AND DEBUGGING

1. FORTRAN

No set debugging scheme was available to ferret out logic

errors in the FORTRAN program. The syntax diagnostics available are

quite often very hard to correlate with program logic errors. As an

example the FORTRAN program developed several undesired loops that

held simulation time constant while exhausting computer execution

time. The location of these errors was difficult to determine in a single

diagnostic run since the simulation clock time of the errors had to be

determined. This was done by printing the simulation time after each

message was processed. The printout was then used to determine the

simulation time when the undesired loop first occurred. A second diag-

nostic run was then used to obtain information dumps corresponding to

the model simulation time encompassing the undesired loop. A dump

consisted of the simulation time and the relevant arrays. By using

this data, logic errors were isolated by tracing the movement of message

parameters among array columns. This method was quite time consuming

since there existed in excess of 3,000 relevant storage locations. On

several occasions the error could only be isolated to a particular sub-

routine and additional runs and output were required to locate the error.

45

Page 50: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

Once the location of the undesired loop was located, however, it was a

comparatively simple task to determine the cause and correct the error.

2. GPSS

GPSS debugging and monitoring facilities were excellent.

Chapter 17 of the IBM User's Manual [Ref . 7] provides the programmer

with many valuable hints on monitoring and debugging the GPSS program.

Errors detected during execution of the program triggered an elaborate

information dump which automatically provided the following information:

1. A coded error message

2. Simulation time error was encountered

3 . The block number a transaction was currently in

4. The next block a transaction was to be processed by

5. The number of transactions processed by each block

in the program

6. Current and future event chains

7. GPSS FACILITY statistics

8. QUEUE statistics

9. STORAGE statistics

This dump included ample information to isolate the majority of the

errors encountered debugging the torn tape relay model. However, on

occasion, an additional monitoring and debugging feature was required.

This feature was the GPSS TRACE option. The TRACE feature provided a

capability of tracing a transaction with a given attribute thru the static

structure of the model. Transaction location and parameter values were

46

Page 51: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

printed as the transaction followed the GPSS block diagram. In addition,

information dumps were easily obtained at strategic locations in the pro-

gram by using a traced transaction to trigger the dump. The dynamics of

the model were then reconstructed using both the information dumps and

the trace block data. From this information, the cause of error was

easily located

.

3 . Comparison

The GPSS automatic information dump that occurred when an

error was detected facilitated the isolation of 90 percent of the errors

encountered. When additional diagnostic information was needed, the

GPSS TRACE option was available. These two features greatly simplified

the task of monitoring the debugging the GPSS torn tape relay network

program. In contrast, the FORTRAN debugging and monitoring error

detection schemes were not suited for detecting logic errors in the simu-

lation model. The method used by the FORTRAN programmer must depend

on the type of error encountered and the particulars of the model. Error

detection required ingenuity, time and often luck in order to locate the

cause of errors in the FORTRAN torn tape relay model.

G. INPUT DATA AND INITIALIZATION

1. FORTRAN

Exogenous data for the torn tape relay was made available

to the model conveniently by use of FORTRAN DATA statements . In

particular it was found by experimentation that the model did not have

to be preloaded with backlogged messages at the beginning of the first

47

Page 52: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

run. Using DATA statements, the terminal stations and relay transmit

bay stations corresponding to the columns of arrays RR, PP, OO, FF

could have been pre -filled with a desired number of backlogged messages

of any length, destination and arrival time.

2. GPSS

Exogenous data for the GPSS version of the torn tape relay

network was initialized into the model by means of the GPSS FUNCTION.

Although transactions were not preloaded into the GPSS version of the

model to represent a backlogged message condition, preloading could

have been easily accomplished using the GENERATE, and MATRIX blocks.

In GPSS a programmer can specify an upper limit on the number of trans-

actions that will be created by a particular GENERATE block and GENERATE

blocks could have been used to create the desired number of backlogged

messages for each precedence category and station.

3 . Comparison

Exogenous data initialization was handled adequately by

both GPSS and FORTRAN for the torn tape relay network system. Although

the model was not preloaded with backlogged messages for start-up, it

appeared that both GPSS and FORTRAN could have handled the requirement

without difficulty.

Although DATA statements were used for exogenous data in-

put for the FORTRAN model, additional methods were also available,

e.g. , data could also have been inputed by means of magnetic tape or

punched cards. GPSS relies heavily on the FUNCTION statement,

48

Page 53: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

SAVE VALUE, MATRIX and INITIAL blocks to handle exogenous data require-

ments. GPSS cannot accept magnetic tape input and can only read data

cards with the assistance of the HELP block. However, the IBM manual

[Ref. 7], states that the HELP block is intended only for users who are

thoroughly familiar with the internal operation of the GPSS program. This

last requirement tends to eliminate many hopeful simulators.

GPSS and FORTRAN adequately handled the exogenous data

requirement for the torn tape relay network. However, the FORTRAN

language would be preferable to GPSS if the system to be simulated

required voluminous input data .

H. STORAGE REQUIREMENTS

1. FORTRAN

The FORTRAN model of torn tape relay network required 64K

bytes of computer storage.

2. GPSS

The GPSS model of the torn tape relay network required 12 8K

bytes of computer core storage. GPSS can be operated on the IBM/360/67

in either a 128K or 256K mode. The 256K mode enables a programmer to

utilize an increased number of entities of each category. The 128K

version allocates 150 STORAGE blocks, whereas the 256K version

allocated 300 STORAGE blocks. The only critical factor is the total

amount of storage required by a program. Unused space from one entity

group can be reallocated to another entity group and this allows for an

increase in the number of blocks allocated to a specified entity group.

49

Page 54: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

An area referred to as GPSS COMMON also requires allocation of storage

space. GPSS COMMON is the space used dynamically for transaction

information, temporary data, and for storing statistical data. The GPSS

torn tape relay network, model required COMMON storage in excess of

that allocated to the 12 8K version. The additional storage for the torn

tape relay model was obtained from unused entity blocks.

3 . Comparison

The FORTRAN model required half the storage required by

the GPSS model, that is 64K versus 128K. This reduced storage require-

ment did not reflect a faster turn around time for the FORTRAN program

due to the long execution time of the program.

I. REPLICATION

1. FORTRAN

Replication for the FORTRAN version of the torn tape relay

network was accomplished by use of a FORTRAN IF statement in con-

junction with the next event clock. Prior to selecting the next event,

a test was conducted to determine if the current simulation time was

in excess of the maximum simulation time for a run (9,000 seconds).

If simulation time was in excess of 9,000 seconds, statement execution

was transferred to record pertinent statistics. After the statistics were

recorded, the number of replications completed was incremented and

tested. If the required number of runs had been completed, the simu-

lation was terminated, if not, the clock was reset and another repli-

cation was performed.

50

Page 55: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

2. GPSS

Replication is accomplished in GPSS by use of RESET and

CLEAR blocks and by the redefinition of blocks. The RESET block sets

all statistical tables to zero except those specified by the programmer.

The RESET block does not alter the status of any block entities or alter

the values of any transaction parameter values . The CLEAR block per-

forms a function similar to the RESET clock except that in addition all

transactions currently in the system are destroyed.

The GPSS torn tape relay model was replicated with the aid

of RESET blocks and the redefinition of entity blocks in conjunction

with a specially constructed timing program. The timing program was

a simple subprogram that controlled the simulation time for each rep-

lication. The program consisted of a GENERATE block that created a

transaction. This transaction then waited in an ADVANCE block for the

desired time length of each replication (9,000 seconds). The trans-

action was then used to gather and store desired model statistics in

GPSS TABLES. After the statistics were gathered, the transaction was

destroyed. A RESET block then caused entity block statistics to be

zeroed except for specified tables. A START block was then redefined

which caused a new transaction to be created and the above process

was repeated.

3 . Comparison

The GPSS features available to assist the programmer in

replication are very powerful. Specific entity blocks were designed

51

Page 56: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

to assist the programmer in every facet of replication. Undoubtedly, one

could program the same features into a FORTRAN program, but to do so

would be programmer time consuming and require programmer ingenuity.

J. DATA COLLECTION AND DISPLAY

1. FORTRAN

FORTRAN does not provide any output automatically and all

output desired must be programmed for within the model. This may often

require ingenuity and a considerable amount of programming time. Of

importance ,however , is that desired output can always be obtained in

any format.

2. GPSS

The GPSS program stored statistics in GPSS SAVEVALUES

during the execution of a replication, and the GPSS timing program was

used to collect desired statistics after each replication. The statistics

were stored until the completion of the last replication and then printed

in tabular form .

Some output from GPSS is automatic while other output can

be programmer specified. The automatic output consists of the following:

1 . Block counts

2 . Current value stored in SAVEVALUES

3. USER CHAIN statistics

4. QUEUE statistics

5. FACILITY statistics

52

Page 57: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

6. STORAGE statistics

7. Relative and absolute clock times

The automatic output is voluminous and provides general information about

the system.

Information relating to transaction,parameters time and specific

facets of the system must be programmer specified. The output can be

obtained either in frequency table or histogram form, the intervals for

which are specified by the programmer. Mean values, standard devia-

tions, maxima, minima and number of observations in each frequency

class are provided as automatic output for table arguments. All attributes

of a modeled system can conceivably be tabulated in a frequency table

or plotted in a histogram. The format of a frequency table cannot be

altered. The programmer can, however, program the dimensions of a

histogram.

3 . Comparison

Data collection and display in FORTRAN is flexible, ob-

trusive and programmer time consuming. In contrast, data collection

in GPSS is non-flexible, unobtrusive and rapidly programmed. FORTRAN

is flexible in that all data can be displayed according to any desired

format. The GPSS format is compact and informative but it cannot be

altered by the programmer.

Data collection and display is obtrusive in FORTRAN because

data collection methods can interfere and obscure the simulation logic

53

Page 58: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

of the system. GPSS data collection and display statements do not inter-

fere with program logic and can normally be placed in a separate portion

of the program to avoid obscuring the logic of statement execution.

FORTRAN data collection and display techniques require con-

siderable programmer time in engineering the desired display format.

Additionally, all desired output from FORTRAN programs must be pro-

grammed since no output is provided automatically. GPSS automatically

provides a considerable amount of output and allows the programmer to

collect other data at his discretion. The programmer specified output

is rapidly programmed within the simulation since the output format

does not have to be considered.

54

Page 59: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

V. CONCLUSIONS

The key words in describing the usefulness of FORTRAN for simulation

is flexibility and universal availability. FORTRAN afforded flexibility in

all the areas considered. The analyst may choose the most efficient

methods to reproduce stocastic phenomena. The methods used to represent

the static and dynamic behavior of the system were limited only by the

ingenuity and resourcefulness of the analyst. This flexibility, however,

may be gained at a stiff price. The price paid for flexibility was paid

in man hours spent in conceptualizing the problem, programming, monitor-

ing and debugging the FORTRAN model. For the inexperienced analyst,

flexibility may spell trouble. It is possible for the analyst to select a

comparatively inefficient method, since many diversified methods are

available to model a given system. FORTRAN, regardless of any dis-

advantages, will however still be used extensively for simulation. The

reason being is its universal availability. FORTRAN compilers are

available for nearly all commercially manufactured general purpose

computers

.

The principal advantage of GPSS is that the language is user

oriented. The GPSS language assists the programmer in conceptualizing

the problem, and the GPSS model required reduced programming, debug-

ging and monitoring time compared to the FORTRAN model. The GPSS

block, diagram flow chart closely represented the simulated system, and

the flow chart block mnemonics were quickly convertible to the GPSS

55

Page 60: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

computer programming language. The above contributed significantly to

reducing the time required to obtain a working simulation model. The

primary disadvantage of GPSS is that output is restricted to bar graphs

and frequency tables. It is conceivable that the GPSS output might have

to be reformated by clerical personnel to conform to specific report require-

ments .

The problem formulation, programming and debugging time that was

saved by GPSS, in contrast to FORTRAN, was of the order of three or

four to one. This time differential is of such magnitude that the analyst

should consider the use of GPSS even if the analyst has had no previous

experience with the language. The advantages of GPSS over FORTRAN

for simulation indicate that GPSS should be used whenever both GPSS

and FORTRAN compilers are available.

It should be noted, however, that GPSS is basically restricted to

the simulation of queueing systems while FORTRAN, as a general purpose

language, can be used to simulate any system that can be described by

a sequence of mathematical expressions.

56

Page 61: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

APPENDIX A

Exogenous Data

The values utilized for exogenous data were hypothetical but

conceptually realistic. One expects the mean length and arrival rate

of messages to decrease as the precedence of the message increases.

The actual mean values are normally a function of the type of military

units within the geographical area serviced by the terminal. The arrival

rate of messages is normally a function of the time of day. The arrival

rate of messages generally peaks sometime after the end of the normal

work day. Exogenous data that was utilized for both the FORTRAN and

GPSS models is represented in Figures 5 thru 12 of this appendix.

57

Page 62: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

lU

to

58

Page 63: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

sI—

I

204wH04

o

I—

)

Q<O

wa.

HwUC4w

oO

i- 7z -J-

ux * Q

a c-*

r^

t/7

VJ .TUi O•o XO

AnVASi»l

' l\J

8M nj

CN <\J

Lu

-Sb

.. ®

8^•a

C2

O

Sion

U3

CD

O —

r

oo—<—

00

N.

8+:r3"3*

-(J

TJ 3-—f- —

r

J

59

Page 64: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

wwft.

2ft.WH

gPL,

WH

%

§

WOh

swOa;wOh

*/?

Oo»09

*1

to p

% 0o

. ,

»•

8,55

Oh

c

% •;

£ a-*

ooCD

a-

oo

^-^Tv oo r4 »0 fl <sl

60

Page 65: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

ii^n

o

<i—

i

2aswHOS

O

wHs

2

o

wOh

H5WOOSwa.

-3

o

CMcv

r--

00

CDu

iH

o>

Oo

2

Of

Oo

•I-

Ua uj O

•4 r^

In

<r oo ^ ^ 31 «->

r

61

Page 66: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

w

t/>

id7i

o

a- OJ

1 of

w

5

, ,o

8. OD00 ^-,

<»VJ

£

«2

s a»^9,

rt O)

I-Pi

»«. Uh

62

Page 67: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

f-

UJuQCtu

1

a.

22

o L^ O\

\Jt±

!

_ CO \

i—

i

2 Co1

: 1

1

i

w

o i-o o\

• \ 1 oa

1—=t- on ! v

1 n-wc7) 1

oHQwHc .

CO

II

1

O i-o\ i i

|

O| O o

1—

1

i—

t

2UJ

on \\ CO ! u

3CO 00

i

•-ifi .

HUt—

1

U.I

1-o

i \i \

1 \i \

i

o1

o 1 oCO

H~l

C_i on-

i i.

t i

i2o

— Lo o 1O

1 oOSwCL,

£

UJ OJ1

!

c\j

c^/ 00 ^~ v>ILl

1 0J ID UJ UJ' o ^- {- I- t~ 1-Ql — ~_~ *LL ^^> LT> *n K) uO

63

Page 68: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

wU

swUw

Oh

o

X

cr

UJ

ooo

o

8

oON

OCO

^3

o o

IS

O) I/O

oO

UJKC/l

(-H

64

Page 69: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

a2oVJ

Hi

X10

'/"*

wu2 O o

i

o owQw 3 ro CM rvj CO (T;

Uw LL

i

£

P,

.

CO

w o:

1—

1

a o o1u> o H)

£ m \Q Ln rt- « ^ eg

o1—

1

z<P

CO I Ui

CO 3i—

i

CO

enf ___

M-

1

2< >-

K |K I

HW or Lrj O ' O O o<CO

o—

.

QO (-7> i 03 o GOCOw ce:

1

1

*

s a.

f-u_-—

<1

111

Ui

O1 o o

3-o

!

° Qj

oUJ

o1

-I

*l— -

i

i .—

.

!

> 1

[\ i no :*- ir>1

u

0C >i b

J Ui LU U.L

<^7 tA t/5 ;y> ^

65

Page 70: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

APPENDIX B

FORTRAN Computer Model

A. Definition of Arrays

1. ARTE (4, 5) contained the mean peak hour arrival rates listed

in Figure ll,Appendix A. Columns corresponded to terminals 1 thru 5 ;

respectively.

2. BACKLP(IO) stored the maximum low precedence backlog of

messages in minutes for each terminal and relay transmitter bay.

3. BACKHP(IO) stored the maximum high precedence backlog of

messages in minutes for each terminal and relay transmitter bay.

4. FF(5,10,3) stored flash message parameters for the terminals

and relay transmit bays. Rows 1 thru 5 stored arrival times, and position

FF (1,1,1) contained the lowest arrival time for terminal one. Columns

1 thru 10 represented terminal stations 1 thru 5, and relay transmitter

bays 6 thru 10, respectively. Relay transmitter bay 6 transmitted messages

to terminal 1, bay 7 transmitted messages to terminal 2, etc. The third

dimension in the array was used to store message attributes as follows:

Position 1 was arrival time, position 2 was message transmission time

and position 3 was destination.

5. HOLDl(i) - HOLD 10 (i) represented the circuits between

terminals and relay transmitter bays. The mnmonics of the HOLD arrays

corresponded to the numbering depicted in Figure 1, Section B, Chapter

III. The dimension of each array was equal to the number of transmit

circuits between two stations and was defined by variables HI thru H10.

66

Page 71: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

6. NEXEV(20,2) was the array used to store the next event times

for the terminals, relay transmitter bays and groups of transmitter circuits

The transmitter circuits were represented by arrays HOLD1 thru HOLD10.

A message that was transmitted was stored in a HOLD array for the trans-

mission length of the message. Column 1 of array NEXEV recorded the

next event time and column 2 was a statement number corresponding to

the subroutine call statement associated with that event.

7. 00(20,10,3) stored immediate message parameters for the

terminals and relay transmit bays. Rows 1 thru 20 stored arrival times

and position 00(1,1,1) contained the lowest arrival time for terminal

one. Columns 1 thru 10 represented terminal stations 1 thru 5, and

relay transmitter bays 6 thru 10, respectively. Relay transmitter bay 6

transmitted messages to terminal 1, bay 7 transmitted messages to

terminal 2, etc. The third dimension in the array was used to store

message attributes as follows. Position 1 was arrival time, position 2

was message transmission time, and position 3 was destination.

8. PP(30,10,3) stored priority messages for the terminals and

relays. Rows 1 thru 30 stored arrival times and position PP(1,1,1)

contained the lowest arrival time for terminal one. Columns 1 thru 10

represented terminal stations 1 thru 5, and relay transmitter bays 6 thru

10, respectively. Relay transmitter bay 6 transmitted messages to

terminal 1, bay 7 transmitted messages to terminal 2, etc. The third

dimension in the array was used to store message attributes as follows:

Position 1 was arrival time, position 2 was message transmission time,

and position 3 was destination.

67

Page 72: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

9. 1111(60,10,3) stored routine messages for the terminals and

relays. Rows 1 thru 60 stored arrival times and position RR(1,1,1) con-

tained the lowest arrival time for terminal one. Columns 1 thru 10

represented terminal stations 1 thru 5, and relay transmitter bays 6 thru

10, respectively. Relay transmitter bay 6 transmitted messages to

terminal 1, bay 7 transmitted messages to terminal 2, etc. The third

dimension in the array was used to store message attributes as follows:

Position 1 was arrival time, position 2 was message transmission time,

and position 3 was destination.

10. ZLY(8,5) was initialized to contain the percent peak load

for each station as represented in Figures 5 thru 9, Appendix A.

11. ZLX(8,5) was initialized to contain the time of day cor-

responding to percent peak load for stations 1 thru 5 as represented in

Figures 5 thru 9, Appendix A.

12. ZPTT(5,5) was initialized to contain the percent of messages

transmitted among stations, as depicted by Figure 10, Appendix A.

B. Subroutines

1. BACKLOG (K)

a . Arguments

K was a terminal site number or relay transmitter bay

number, as depicted by Figure 1, Section B, Chapter III.

b. Purpose

Subroutine BACKLOG maintained statistics on the maxi-

mum high and low precedence backlog for each terminal and for each relay

transmitter bay

.

68

Page 73: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

2. DEST(J,DES)

a. Arguments

J was a value 1,2,3,4 or 5 that represented a terminal

designation. DES was a number 1 thru 5 corresponding to the destination

terminal of the message.

b. Purpose

Subroutine DEST obtained a pseudo-random number and

in conjunction with array ZPTT determined the destination of an originated

message

.

3. FILL(K)

a . Argument

Argument K corresponded to the terminal designators

1,2,3,4 and 5.

b. Purpose

Subroutine FILL created a specified number of messages

of each precedence to initially fill arrays RR, PP , OO and FF . Message

transmission time and destination were also generated for each message.

4. IHOLD(HOLD,L,M)

a . Arguments

HOLD was an array of dimension determined by variables

HI thru H10. The dimension equaled the number of circuits between two

stations. L was the dimension of array HOLD in the subroutine. M was

the row number in array NEXEV(2 0,2) corresponding to the event under

consideration.

69

Page 74: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

b. Purpose

Subroutine IHOLD was used to release a circuit to

availability after a message was completely transmitted. If two events

had equal next event times, subroutine IHOLD was called prior to sub-

routines TERM or RELAY.

5. INTER (K, TIME, ZNS)

a . Arguments

K was a value 1 thru 5 corresponding to a terminal

designator. TIME was the time of day in seconds. ZNS was the percent

of peak load corresponding to the argument TIME.

b. Purpose

Subroutine INTER performed a linear interpolation on

Figures 1 thru 5 of Appendix A. INTER produced a percent peak load

value for a given time of day.

6. RANDO(IY,YFL)

a. Arguments

LX was in FORTRAN common with the main program and

was initialized an odd integer number. After the initial value had been

specified, LX became a function of IY which also was an integer. YFL

was a pseudo-random number in the range (0,1).

b. Purpose

Subroutine RANDO generated pseudo-random numbers

in the range (0,1).

70

Page 75: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

7. RELAY(HOLD,K,L,M)

a. Arguments

HOLD was an array of dimension L. L was equal to

the number of transmit circuits. K was the row number in array NEXEV

(20,2) corresponding to the event under consideration.

b. Purpose

RELAY processed messages being transmitted from a

relay transmitter bay to a terminal. The subroutine considered messages

of precedence flash, immediate, priority, and routine on a first in first

out discipline by precedence. Flash messages pre-empted a lower

precedence message if no circuit was available. The message selected

was transferred to the respective HOLD array where it remained for its

transmission time. The backlogged messages at the terminal then

advanced one position in their respective array columns. Necessary

statistics were compiled to determine backlogs and circuit utilization.

The next event time for the given terminal was set in accordance with

circuit availability.

8. RFILL(K,MOVE,PREC)

a . Arguments

K corresponded to the terminal station numbers

1,2,3,4,5 and relay transmitted bay numbers 6,7,8,9,10. If MOVE

equaled 1, RFILL was called by a relay and if 2, RFILL was called by

a terminal

.

71

Page 76: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

b. Purpose

Subroutine RFILL had two functions. For both the relay

and terminal, the subroutine advanced quequed messages one position

in the message's respective precedence array column. After the messages

had been advanced, at least the last position in the array was vacent.

For a terminal, a new message was generated and was placed in the last

position of the precedence array column.

9. RELREO(K,PREC)

a . Arguments

K referred to relay transmit bay positions, and assumed

values 6,7,8,9 and 10. PREC assumed values of 1,2,3 and 4 that

corresponded to precedences routine, priority, immediate and flash,

respectively.

b. Purpose

Subroutine RELREO ordered message arrival times in

relay transmit bay columns of the precedence arrays. This was done in

order to assure that a message with the lowest arrival time was in

position one for each transmit bay.

10. TERM (HOLD, K,L,M)

a . Arguments

HOLD was an array of dimension L. L was the number

of transmit circuits. K was the row number in array NEXEV (20,2) cor-

responding to the event under consideration.

72

Page 77: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

b. Purpose

Subroutine TERM processed messages that were trans-

mitted from a terminal to a relay. The subroutine considered messages

of precedence flash, immediate, priority and routine on a first in first

out discipline by precedence. Flash messages pre-empt a lower prece-

dence message if no free circuit was available. A message was trans-

ferred to its respective HOLD array and to a future events list in queue

in the relay transmitter bay that served the desired destination. The

backlogged messages at the terminal advanced one position, and then

a new message was added to the future event list. Necessary statistics

were compiled to determine backlogs and circuit utilization. The next

event time for the given terminal was set in accordance with circuit

availability.

11. UTIL(CLOCK)

a . Arguments

Clock, was a constant equal to the length of computer

run in simulation time units, divided by 1,000.

b. Purpose

UTIL computed the average circuit utilization for each

terminal and relay bay to three figures.

73

Page 78: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

FORTRAN FLOW CHART SYMBOLS

CZD BNTRy OR emtPOINT

INPUT / OUTPUTOPERAT/OA/

C/UCU LOTION ORJAI STRUCT ION

Decision Point

a.Q. SUB ROUTINE

b. A/ARRAWeDfSCRlPT/OA/ Pagc

COAOPUTfb GO TOON VARIABLE X

Q, CA/-L STATEMENTb. PAGE AJUnQFR

Q. TRAAISFFR AlUM&eR

OFF PAgCCONMEC TO R.

74

Page 79: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

FORTRAN FLOW CHART

initial /-£eClock for.

IMP F»RS7DAY

©75

Page 80: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

©Clock.Ge.

Clock:

Tn^

A/ IPX EV ft/

CLOCK

Pve/vT

X

CO/Y7/NUE

7̂6

Page 81: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

RAWS£QS.S7*7

NO, OFA/EATEVF*

I

RumjJ^O. /z<

7^

77

Page 82: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

S RFILL

69

T/Mg port

Of grrjvAl

TJM,

c

678

Page 83: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

LENGTH op

PR i Of? (7/ ^FS.

T/A0£p

hen*j rateOF AR<?iurl

PO<?TlM€6PIyi>f

79

Page 84: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

Jinit opARRIVAL. FOR

Priority h£.

Isz79

3OBT/3//V

EG?

Pp<£*,33

DesT7AJ/)T/OAi

©80

Page 85: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

T/YJ7Z STfj^r

bETBRnitJB

OF ARPh/fo.

bereft wnusTTf\e OP#<?i?ruflL tonXAIMfO. MPS.

EC?.

TIKE

this sttf

81

Page 86: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

f=Cf

Jrq>.

XNJT. ST4KTTine f°*

OF flfffclVAJ.

fir 7>g »? bAV

©82

Page 87: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

OF ARRIVQL

l bay

frpCTjt,!)

WrG?,

A/?r?/v«z.r;Me

ISajgtH 'pcfi

)>U S S7 T£

83

Page 88: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

¥ ec?

D6ST7wflf77oA/

DeTERKtwE

thi<> sire

84

Page 89: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

IHoLbtiyHE

ClOCKTint

VfS

K)Q

9 M

Cont/wue

T/ne A/ FATCIRCUIT

/3 >5Ef

cReruRMA»aj

Page 90: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

3r—RELAY

7/

DetermineTint NBKTTRANSMITTER

PR&EI

StT FUTURtEVE-VT TIME

FORhOLOCl)

Count the

OP CIRCUITSAt/ft|LA8LE

ves/OP CIRCUIT*

.e$. o

F/.A5H

e$. clock]yes

T/Me

4-T,CLOC <

QV3(

.i-TCtoc ic

r/he

HouTirvj^

r/ fr\R

YES ^

l£S.

Page 91: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

Resedvfz. aXmtj^ for,Mess^Ge

Record

opMessage

besrRoy

RfiluMOl/f=.S #UP To

87

Page 92: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

'FLfoH Mes

[AJBKT CircuitI

FEff

V65

NO

Record

kesrRov

op crf?cuiT5»

jr^MJ FLASH

[Beto^ mext

Vet>

88

Page 93: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

/Flash AiesA

A/OT ClQCuiT "

\ PREfj J

X£2l

NORtzCoRb

OF pp

DSsrroyPR i o ie / 7 v

AUQ/i./3/bL jt

,se*>

NO

.8ePpt?£ A/ FAT\ C » R C U l T j\RR-0)*<B PEEP/

pes

66?. Z5/

89

Page 94: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

\NBAT ClfdCUiTBPCO*F*

1£Jl op circuits*WAlLAfcu&

wo«!

ReCORD1^-1 kfzfOGTH

^°T OP ftft

Me^^g

/VO

si** now \

l06fo«jc ^paT"

V Circuit /

A/o

Df?S7T?GY

V6S

(CP ClRCumA.t;ftuAfciE

90

Page 95: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

6Q ARRIVAL7"/ me oP/vexrFLPSH MCS

Km

. tuexT

rkec

7~i*\6 OF/uexr

91

Page 96: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

72

Priority

I MOPolice dpwr\

fee?

PLASH

V^S $

92

Page 97: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

OOP,*./)

93

Page 98: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

ft PILL

7/

ROUTlAJe

NO

Prtorxtv r

PReCCDtrMCe/

NO

'ftps** c>e

MO

yg s ^Ve^ »

yes

Tl^e OP

/ POVIT/O^IHis sire

9̂4

Page 99: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

D6reprApoe

okT/^e fa£ PW

L6KC1H 6 P

/I/O 5^/o/.

95

Page 100: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

PPC30; K,,;> <rQ

TJMt OF

PK. ..'-•"'/ A'CS

frACH PP hes1

^OllT/O^TH/'i S/TB

AlfrSS/^G £PftroRjTV

- u r T !>' f

-li£ M

O&TW/v ft?amA0£5. LlrWTH

THIS S/ HE

©

AQ.

96

Page 101: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

F>P(30,K,2)

pqLE\)GThl ofMessAGe

txpizo, K,0 EG?Ti Ale o/^

00 MFSSAOf

THIS SITE

©97

Page 102: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

\I>mi=D/9rp

/S FOR Gr/r^H»>Vj Ac

OF A/vV»l/«c.*Y. TlhME±1 P/?V

06rfl//uMeow Aies.L/r/uG?'-/ rcr<

LervO-7H OF

jYil 2*av/0

98

Page 103: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

Tiw= of

Ff Mf?SSrt&E

EACH FF MPS

THIS SITE-

FLASHMESS ase

IS FOR. A

V86

©

A/0 i>Od\

o/>

99

Page 104: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

DETeRrsivls.Me/}A/ /fareOP f\R\l\VF)L

FF(5-j

LervbTH FORthis s/re

L6roc>TH orMessier

100

Page 105: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

©EQ

101

Page 106: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

3TR

72

TIME /vfz\T

P??EF

SET FkTURB£vfW7 TIME

FORHOLD CI)

ICouuT THE

OF c/rcuitsAVA/L381E

Dp ORCU27SAV4IL4&LE

MO

fMeSS/QCrF

n^re J

LT. CLOCKTin lr

PRIORITYfME5SAG eLT. C/-OC/

Tiy\E

'^our/we

,LT. CLOCk;TIME

1£1

VES

yes

102

Page 107: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

RE' iRVf: AXMTR FORM6SS AG-ir

LF-A>G?/-/

RfrCoR ft

LBAJO-Ti-;'

C "-

/•' »: V.. / . - t

To ftfsLQVFUTURE

eufa/7 lj s r

S£T /UEXT

^mit bay

7^JO

103

Page 108: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

1 A/EAT CJSturn\B6COH?S FREE/

3^:

LENGTH

hE^s^c>e

Q5CZ5- MESSAGETO REi 4 V

FUTUREE^e/^7 usr

Sft /ufAreve/uT 7? MEor Re lavXmjt 13 AV

^£L /OF CIRCUITS

,6Q. /

NO

VCI^CUIT

Yes

>PC/RCUITS

104

Page 109: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

'FLASH wes

[/VPXT CIRCUIT

lA/O

ReccRDL 6a; 0-th

OPMESSAGE

TRA/usFe r

TO Rfl^VPuTURIt

Bvr?MT U ST

56T A'F* T

Xnir bay

/t/o5\

Y/r6.

vl U ia r* i= r \!0P CIRCUIT Si'

A/0

6P0R /VFAT\ CIRCUIT

YEs

(OP CIRCUIT^72/

Q

Ai/Pi i h'-i £j

\o7.

105

Page 110: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

'Flash mes\(ARRIVE. BroR. \ V^S\Ne*r CIRCUIT]

fccot^t?s Fk-eef

iA/o

Reco ruL-B\)G7HOF

hessA6 £

jT/q^S Fc 'C

rr /?e / ^

Of ReLA^j

OF CJ RCUITS\VC- '?/Q

AvfUL^eiP |~~r,/07

MO

Iciwujt J VP>\B5coMe pgge>

ves

~^Z/

106

Page 111: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

A/frXPf time

77m e ^A/exrCX RCulT

767

,2//

1.7"/ r^ rr o /-"

'226-

7o?

Ofc&

Rf=TUR\i

107

Page 112: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

FORTRAN COMPUTER PROGRAM

*

* —

*

* — *~o

* -c o~* f\J—J <\I«J* »o ~»-* OI Dl-* r\j • CD* wo». Q-

* >IT — ** ujw r^—

xm »-oI O UJO &—>UJ f—i Z —' «—««••»

_j I »C «*<•>

CD —'X «*0^-O cr ia »—ms^cc -J X •.— >*-. oc

a. _ mir\«^Q.ok co ~~ca.

*: ox h-^^ *«~cc a, » koc-oo r- a -j_jf«"iF-<

3 oo x nco •>•—

t- h- «* »noaUJ * >0 —- » »HIZ QC X IT» -•*.

> h- - \r\ ooww<;<< h- a x <—raa, --cc_j — Q.U. x * >-coa »uj :c mil *r*r -4- —i—»_jct

a » * «• oo x fNicc *o< u.io C< XX*-"-'

UU — —JO>—'CO *0 «» • MTi«~ Oa. x «-_jo •> x in—-' »-a o o o o< a: xaN a. •>_) >oir\>fr—j o o o o o>- uj »a *>_j -viocoww^ o o o co

o "J »XUJ* xu-—• COCOUJO o o o o oz Uj (-(CJXU »-ilxco_j< ooo ooo ooo o O --«C*Va »— a:a: ,^uj<x«-| »-<-J_J-JS:cc r^t-tocr fOnrnc; m.-KvjO ro--iir\o IdO ^ <\\ZCD»-'IQMOOX • * •» » M * •» -»C • » «>0 •> •» "0s «*0t~ t-1 ^IMfCV.'V^'W. XX «-— i-t«OrH— p-t-O-H II -—1»0—-I II r-KOo-ill •-•

s «-l

o.-ioo^invCif^coz - •— muj n ii u * M n ii —- n n ii — M ii m — n n ii

* houvvuuuuoO-"ir •vi *->•-• *-uj *d~x.iu srr-»«-i^:uj *-}»—^uj •—•

—~«—* "-js^zsvsvst-^i^ •Oi— oo ~5X »z> »x> »-x *-•

» U<ZOOZZZZZifl—'>tHJ || n»-ir-t--i »z r\Jr\jrvj-»Z mmrc-jZ >*>t>fr->Z •-•—Tv* •— ox srcooccz--<r-«- < hi-coohh ooo •-, ooo —" ooo «*•-' o«-«o* jjXllIilIliLDCaiifiH zZhhhw-i- —i.-,,^,-,^ ,-<_,_,_,_ ,-*_(_„_>_ rnoro* a<ircnxxrrjji-wi- duj a:z *-z —z «-z _j* iiuouuococc'-coaiLi- occootc ccoac ocooo cooilc ooc* •—au ooooocr x<u.z oujooo o cocao cocoo ccou-o did

* i-4 cm rr> «* f-<

* o o o o ooo OO HU •-•o --<o »-<o r<">

108

Page 113: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

<\1

f-*

<\J

-~IT\Z— r\iH-

o »-

oo<? -z* OUj»-o>Z— UJDOoox

cm

c

ooLL— —

'

U5r-lf\J

• »

»o•—I

•>

cr

a</)oozo<(via

f- «o—••{V

o••—I

Lf\r\j

c -rvjco

«tCIo

f (V'

ooocoooooooooooooooo

o o o o O O O OOOcioioioicioioioio -» II^ZOM^. o •>

c- -a »-o »o »o »o *o »o »os ^-t<\ir<i>tir'o^ • o »>> rvjin<j *-><? r-><? r-icr-r-cr r-<(T r-icr >-'0--< n -x^^wcoujujOh*-'lulu ••«-»

ii h ii ii ii ii it ii ii n ii ii it ii ii ii ->jjjjjooozq it -x x i--im—»^-—!——»—-•— -~>-i—»-i-»t-i—.h-»-i_j _j_j_j_j ^4 _j S i_o»—>aiuj ujo *,_ _• *______,_ »„,_», •_ fc-1 ,_, t—"»coK Z CO U'Z Zt-O^' "J*,fr—>t—in— «o*»f<».oc-a—ocu-LLU-LLU. ii — i^ot: n ox n n n z-"-1

CCiO^C^CmDff.OmDr'iO^CJjJJJUI-H-hu^ZoZZKI-—<—I I —

I —> t —I —• _J-J_l-J_l_lOoo»»UJC> —0<U_'Z m

DCCOCC.CCCCOCOCOOO««<fJlUU.Qjr.iLja >COhIOICIOIOICIDIOIOIUUUUUUI-I- uDmoi-ILOCN

oOOCOOOOC'O"csj r\J f\* f\j (\j <\i f\j <\j r\j us

»•.»»*»»« »zHKI-l-h-hl-l-l-aJZZ'Z2Z2ZZ2'>LDU-U->U. LLUJLL UJULU>>>>>>>>>LULL U-U U_ LLLL U-iU ' O

IIIIIII II •.»»»»•.»» »cr-irj rr, ^ lo vO f*- CD C> «-<

OODDDODOCCccococccccIIII1IIIIXoccoococcc—

I

I —

I

I I —

I

I I—I —

I

CCOCCOOOODIIIIIIIIII

J-JJJ^J_J-IJ_J_I_J_J_J_J_J_J_J_J_1<<K<<<i<T<<r<jUUUUOUUb'UU

r»i r^ «* LO >o r- cc a oO o o o c o o o rHrr, m m ro CO CO m m ro

ef\l r<-<\, OCOCOOCOOh

«-t—-I OOOfMfM^I'^HMfM'Mfvjf^'rj

109

Page 114: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

oo

fO

o3a-»-~—~ oooouOOOO- CvJfVJfNJfVJ »

rsj eg egego »-< •-« «-• •-« >-ft -• »H •-• (\J cd u3 v3 cjZu3u3 0u3t-i » » »UJ

•. » »««3H-H-h-H->t-l-KK »ZZZZUJzzzzi-ujujujuj »ujuju_ujz>>>>o>>>>UJUJUJUJUJi-iUJUJUJUJ> • • » »X» » » «uj<ch-aoON

^<vr^«* *XXXXOIllllfl » » • »»-•

» « • I«Oh-0DCTN »•-•(vjft'tf

- * » »>0•> » • +\f\-Ot^tOO*f-4

i-t<\jf^^- »QOQOOCOCDlTJJJJJJJJJOOOOOODOOOJIIIIII x xxo——«-«—» — **-»

a.X

<CD

OCC

Zo

<KJ

KZUJuUJa

inin

so.OX-«*

•<OCDin-

O *lTi

NOffl

oCO

aa•>

o •>

-.o

o—«o>-'UJQ£X

in-»•in

in •>

»eoK-'K>-Q--Jininj

O *•l-OQ.

o •>«->

-*o<«-COrlCON.• •—• • •

UJ * »0

mm•4" ao

»- UJXK -i-J— O.U. JEfsj

XrslU. * X »| » » o -

»

<ujo o—jO>j* x jo_JUJ oO. »> —- »johj »xoj ujm*-<ujh-a:-JK

z

m •>

»o

ozo

—>>>>>~z>o-»*>\\ ii o zomoxzzxr«<«j3N ii ro—-* ii (hhoa" a: at a: oe _i.j-j_j-j«-iO ••»-• <*n-»UJKhHHUj UJ UJ UJ UJ UJU UJ UJ UJ >- O -£/ «C «•» «— »-0Z »- **

hhHKhocatf dcocD ii »H*.aa*»2DKKwKUJtfMiJJljMO«UJ

JJJJJjJJjJjZhlVK^^HhUirZQ-jjjjjjjjjjj3h MouhZ-aa'-OD«<««««oaoa«3ou.DOhhZUUOUUUUUUUUUXO200II1Q.UHU.U. «/>UJ

oct/ic*UJZ<

•-sZhtt Z UJ*—»<ocuj—<oo

o *acuj<Xa:ujZ »</)

U. KCC CX rvlUJXctU. «k! -X »- IOkTUJZ<VSZm<u.o •.«->!-*«- QCKi-«—-J—

O

Ui^-v.cvjm-w. •o^ar.-'Zuj ii —Z ii k ii

Z HOO<tOZ"0 II lUUJOX-»UJO«*i/)—**kov^uoo fo.-i•—kH a. •—•-« «j a. roujmH«—«vZZW»~ »«0 ZttKK »ix »o »Duzoozztooiio«<ajii^ruj^ *DHOUOOZHtfO II QC » H ».J *ItJZlZZZUJ *UJHJZjUJmZJmJm(Odioorixoi j<jX-<j-<-3X0Oo0D«M«0<UJ<'-(tUJ<aOC<i/)*-U UOD-t-DUlUhttlUa oc

r-«\j(fl4ir«ONooaoc^-i ,-i <-i .—. «-• »-i ,-4 «-4 t-i r\jm(nj f\j cm cm ro f\i rvj cvj fvj rj «m

m >OvOfVi f\J*\l

oo

110

Page 115: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

oc

a.

<•> iS) iA r-* LL

z — z — Z — w >•> I- Z * K Za.t/oa o cooct oujZ< _j — aiz< ^ —XM •> » t/> IM •» t/>

hvzko. z uj <—*^z>-a z u.'

o »*uj<x*:ujz *i>n o »:*u.><rx*ujz »-i^ro^ »i + h •xu^iu co*: x + >~ *xu*:uj

O^OC— ZUJ II —Z II K II O»^0C«-zuj II <-Z II K II Of-^OCwZUJ II «-Z II t- II •>

o H ujujox—ujo— «^*»o ii ujujCjX-»ujO—co~o ii iru. ox—ujc— i/><~ oo zaxi- »xx »o •>*> zaxh *:ex »o >© zaxi- *xx *o »-**:II *-**-<uj ii *xuj* *: ii rvji— <uj n ^xuj^ * ii fOt-><uj ii *:Xiij* :*—zQ.O n cl »m »_j »oo ii c *n »«j »u-0 M ll •> ii »_j **>a:UJ.-«.jZ-JlLI*-Z—l^-_J»- UJf-t.JZ_lUJ*-Z-J«-«_l«-'LU»-i_IZ-JU_i»-Z—'•— -J«— II U-OX j<JI<-<J»<wI _J<_jXw<_|-.<«~X j<j?-<j-<«-oxi-o•-iO<uj<t— Q-uj<a utt.MC<uj<Mcijj<oucMC<uj< ^-lllu<u-oil«-'uju-Zhcuiuharua. ai-ouxut-cxoo o^-Ooxot-u-Xuu- il^zocuj

to r-t

Z <—

*>»sj — o a• t- z oru-uoa o wLUZ< -J — oXrsj » •> t/> z~^Z»-U- z UJ *—

'

K-»<a:uj'»<uo X•.ariKX^-u-p ' -IT. II

IT* ••x + «~ *.o*:uj »*

o r-Q >*•

z o< fax CD•-0 vC-4-

ujv.m »f*-

Z«ciri>£>Nfr

•—oir »r-l

~^«Clf fv

OZ* — >-ocx>->-wOCX'-' >—>— II

CCX II — tt —

»

^>0>-u.>u.i/^*-' >—11—< >•

o o

111

Page 116: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

in

in

0-

ISI

*-^ oK UJ <*K -J •>—a X owJn X *

UJ | • » »o<uj «» o*w.J m— CO-> X -* •»'-OCX <*u- -J*-Uj » — >- u.UQOW UJ • >-UJLUh- »-> I

— >• m— z in o kj— -*•

QC Kl o O I-

< » oo in in —^> uj «- o • * **— X— > OO— O «k-i" £* -J KOJi * ~x

O* UJ< «•» •.«! » 0"VUJ O >»-I x~ ~ _» *w • o—I fn jxuj - -i u. ~ >-m -oo — rsi-jm Zee u. > occt-j •« oo« a «-rsi~i ouj > — luujMao ooo x io O-O » o h-o »•» oho uj —a.O XUJ > o ZUJXX o«flo K vr•o z —— < z^Jki .a._ -» x Hh z<~<—^ ^*"\^2 % W~^ UJUJX I * X— UJ~v^ O• z OvOO z z WZ UJX-IUJQ. - O—O **» Z HJJZO <-« -t-OOZ < hHUO Im «KX •- OwO «»— h-KOUOZ —J t^-1^*1

!±lH-t-VH MKO.-UJ «~ ^Vfv^,>_^ »-•*->» **»-•< Ku-z 3u<Zdf iz Dozu) »-iixi!»- x j I-jx:z Dozzwo: i->-a Om o vitf onOZ iioujxii jhOnonn.b: omooz > a

".2^ S^^-^" ?~ a =jXuj ^UJKOa. N*hll»- N llf-O tfJXZlUJM kj

T'^S 59:<5-J " QCKO COQ-XX XUJ-^UJX^wi-. i/> HI^XKQ 00O.X XX-J II •-<—

t^S =*WO<X<UJZ 3*0~ UJQ.U.XUJIIU. IIOZOZZmUJZ 3XOo£<X||U_>0CUJ «^«-aoU«->0CUJ O0«-OQ »-l^«-<UH-<->t-.»-iO»sJtD»-.MwctUJ (AhUuOOmhh

oo o oooo ooo oo m«xm «t m nj _•

112

Page 117: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

«» orv fH»O orvj t-—

r

> oLLI oXuu —*

oX»

»Of-<

•>

if\

u.u.

oot-<r-»

»w0(/i<MK

coc

•—< » *K -»<-

o o«- oCO — CO r*CL »4

— Z ~ # H- »X» -* O • * O* O

•• - 5" at mu Kx ar o w<» «— O -J * Q-CD C_i> o a a » o-. uj -. ^— u. x •— —03^ X — »3 U.**1 —>0 —

*

_J I U LU -? O I »UO ^"-t "?

c<o Z «- _l< CO< •"- —x~_i • o <-> o— o-jcd oa o*- O— UJ «J r-» X *U> • «-»—

'

-JCoc •>—

1 2 C — «~o£ a »-o—1 **: O-ILU>— #0 X — 3EUJ Q->JOOO XOOUJO —O J • "> _J QCO *UJ*U-<©< -J •Xujx-j ~>c .-< *UJ ~w c LUUJ e*x<_>u.-'£C ^ •-UJh-i»-iiio_j—o _i i-*_j—-oa x t-k auj<iH-a • —

1

•-•-j—ZZI *QC a • "-•-JX II 2 SZCDOff- * o. •»-

UJ<— V. HjO 1-4 1— >— CUJ — UJ>— <M^««v>» (M «-< »-«*»«-O O Z *ZIIOO> II ll'-OXI- -< Z OU<tir\»2 •- II II <-iCo o >-KuOtHi 11 a.1 i-i —»—' 1 11 11 uj » r-t mkovuuuooc •— ">—_!fM «-« K^"v^ ——O »H DO«"»3j; K"— _JZ"<v>^>^«— fNJt-i -* QC

Z DoZW^U.«Z n^+HJI«")Z«« Z Do<OZZZW-wHO +OJINCHOa: 0«OZOw-h IC-OOII—"-> ot C«-« ICOCZ>JIO"-OOIIn*- + h-3 a_ixiu»-i o>- jff iif^itt-ooKUJ ^ ac_i-iaLs:3:xiuuj*-_i»-* 11 — xo.o^ •— >-o coaxx _iz n »-« -ijjzx ho cDKOxnixh 11 r-» «— t,UJOllOU-iZ IJXOi-'O OO HCaciLUJOOGUJ tUZ 2ZUJOOOOHUJDHOa.CU.U.!COt-OotUJ WhuQO IO JDhO»-KIIuZ tfLU </>•— OT UUODZaJO«Ci-K

O H H OOOO o o o»t m psj ho mo **

113

Page 118: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

oeg

»- > O H>. < O >>< _j — <_J QC * O -Joc — — O <*— > p-* o «-

> UJ •> O >UU X h~ O UJX UJ <S> O X

uj uj z uj a ujZ Z • O • 2o • O » UJ •— ^in o Z ^h 2 OZ«-i UJ POfOOO Z < "- • 20*» .J 0©»-4«-4 <r • a. — <*-"0 CO «-4t-4 • — Q. f-t ^ •H-J < OO — — _» » w (\j ...

i—O -J OOhH rvi •-< •> — O •• •-«

</>X r-< •— -- •« • h- »-• —

»

* »O O < OO *: K t/> » C •> -ace -" > oooo •> y uj h I -* >O < OO rt < O uo •— «- <

ZU. O «-.*»-»*• — —— J w UJ o<\j —O -J•- h- co «--»«~- <vj cgu. oc > o— 2 •• mo ar

UJ »- »—»»—»»—!«—« * »LL *- UJ •»*» <* » «»ujx o •— » * * •• *: * > x r^f-i • » *:—» >ujm o Org ixir » •—» uj uj «— » —>•-< *t-4— uj0£K — U.-4 wwww r-. ~i_<~ x 2 ec\- <-*-~ *-* »<vj xa. o aro >>>> w *. ••rj ujo •oaoo —o *»2 •> uj©* O —

' Ujujujuj u. u.z « zooo-uj oo o—* 2©KU O UO XXXX U. U.—* «» •<fUJ*tOO -j + o> •> — •«*•-O *» O H- UJUJUJUJ 4 > • *fr O • Z * O— +UJ^ m OO.J i-4 O U- Z2ZZ — «-»UJi-4— * UJO«-0<-r-t IH -»x~—> • UUOoo —- o oo • • • • fiir»*x— <tt- •HHhi*« • »»n^ujOfOh- #-

** QC O O O OUJLUUJ »«f«— UJU. •></) — » IIU. UJZ4«ZO *</> •»-1 »-»UJ -J • 0C-» UJ_J_J_J *~._JZU-<MUJ hOHO»IL -l«—-J H II <MUJ HO— Utt O UJ—i UJO • • • • •fOt-i ll ll »00 »0>»0*-i « # >pc,^-~— »oo »0Da O X JZf CO • «-._«•.«_ _. *»_^^^w^k—<— •—

• — Uj f-i-irsjj^w^H—JX hh II * «_J XO ^H,Hf-4»H —>*0*h<Mw0+ U0O«JO»~i-4 HX^3 » *wO+i"0Ouj xo «~ —<— •— Ouj » » » » u. **o. » -jiuhiuoao)- » -uj »o-i-f--juj|-ujoIh UJU. i-4 II —< Z« ^C^^^r-4 U.^-t II H-t-_JC£l/50©—0<l-O^ZH II OO l^ -J QC UOOOII IIUJZ » ^-—•>UJ -J » » .-< || w— j/)UO»—_JUJ •O>O-J00O * II

-"-'UJUJ<-»-JUJ »o——'O K ^O 0<0 IXlM r_.^r-l^(fM -U.^UJUJU.UJOr-lOaiCaUJ^H-.C^DOU.U-'CHOm~)Zujuj — h —• i ii zr X< <—www jQ.-ooian-OKO.-D io- •aaii^o~«~*-X»/) >_l©0-»«-1 K> U-OO-QfO — II -I » •» KU.O*UJCi»> •OIL- II JOO 1-U.O1

ook-»-i uj«->^x«-"K < u-oo-co- o»-«-«ir»m_»_j>.u. »z »uii-4Ku.o»-i-irvjt\i_j-i>-u- •JJZKO X< w<Z K— —www _JO0K*"-'-J-i<'-'UJ-'UJX— w—IU0»-—_J-i<— UJcoo z uj>ou->o zu. U.U.U.U.O oujDu.u,«rju.zu.ziiioou.Oaj3oo«ju.zIIUK< Z<Dm<u Dh n-^i-i^-o XOQ.U-U.OOa:*- «^- iZOOmIOO-OOUUKh •

3 O r-« ~-l <~* r-l

Q. «_)

O f-4 t-4 «\J <^«0© o o o oor-4000 HUONU UH 1-4^-1

114

Page 119: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

c orc\ .4-

>- C h- > O t- >< O >- < O >- <—

)

«

< -J ** < -Jae • o j k o -joew—> o or *• — o a —> .-< O w>_. o <->U_ © > UJ •• O >LUX »- O UJ X K C uj xLLi t/> O X UJ tO O X LL

z uj <r luziu a uj z• o • z • o • z •c » uj • c * U- • oZ h Z O Z <"- z cz<«— • Z < «— • Z<J• Q- —

• <X • Cl *» ^ »— CL ^-i««. • — Cu •-•— • —-» O O • w* * **> O O * .-I •»

h- «-< ro _i i£ » K »h f* _j *£ •> h-«/» » O » 0- (/> » C * •— l/">

UJ K O X.-i >• UJ »- O X h >-uuOco »— .-* w < o </> K #*«» <0w uj Of\j —a. _j «— uj ocm ->or _j ~> o— O Z * <\ia. a: > o— O z * rvjar of >UJ — O <* *+ ** UJ •— O <*C "« UjX hh — • • if— > X ^Hi-i — • * *— > Xuj *- » o— o —•«-• •<-»'— uj ai »» o^- o *»—* *i-4— uj ujz ah- tHr-« h «-<«— h *<\j x z a:*— hh •—

• hw p-i cm x z•©acc/> f\j«— «\i «~a. *-j" •• wo •oorto <\i«- cm «-&: —5" ujo *coo-'Uj o ca aw^< zooo-uj o c>cc a*-* zooou-'^-oo o-J o -j+ Q-> -~ *N*uj»toa O-J o —1+ ac> —« f.-4-uj>d-

• Z * y-O K C— + ujh cm O • Z * h-O h- CD—> + U-H <-* Q •—C—rM X IH —X— UIO— 0^-»-l X X—' —X UIC"-»C•-'h-s:*' O • o • m*uja.fM>- iKHh-i* C * O • ••ir:*u;aH»- «h-^-K» H u. OUj O UJl^-Za •>(/> — » II U. OUJ O UJX-f— Zot: +v*> — »h-O—U. — -J -* —»—————I Iff II CsiUJ hOKO-U. ->-J •* -J«—— —J It IICMU- ^Of-OyO"- * »-• • rv) »>rn»-<—»— »co »OyO^ * «-< • cvj »>f*M-i—.— »co »-0>-C<— •— •— • .^U-1 »-•-» <\l*:»—r-l(—*—<«— •»*• •*" • «—'LU »|— ^-ifNJ^i w#-tK^><I—

»

JO^,-. Oh O hX^D > ««»0*^OjO>-h Oh O hX^2 ^C+OOOJOaO> » UJ •• UJ MiJ •>Q-h-K-JUJ>-UJO0CO>- •> uj •> UJ »UJ »-Q-»— H-—ILL'*- UJOaTO—o<»— o •^>o «>o ^zh ii oooo_ja</)00<-'0«Th-o »a<:«o •>£> ^zh h w^jacooo-c

II -"— UJUJ>-i_jUJ »o>o

l-l f\J >t«oo o oo

OfVi fvi O^Mh r.i in vT

© o oooo en Ot-tro

115

Page 120: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

cX

o

If

U.LL

ooLUo

COLU

CLt-OTOO— LUODZ •>

•— »-i

XwII U.«~ll

>- »<H-0-J00O

o

> »oX—UJOOzoo

o

oo

a

> f*luX *LU •Z -H

I —— o*-* c* •* —

x*

3a.

Ooo

oocoo

moo—

O— O r-l *i—it~) »h ~ j^;

a: muu —

<

» CLCD

oO-JKOX

o •OLU— -J

<\J

O «—H —

*: a*—

u_ X •—

_j i »uu m—io< oo< •—

ooCO

— a: u»u_ —»

l-LLOil

— oX XII II

-J »OJO*-»(\jro»-*fO<-» <>LLO>0<LL*-<K

LLU-OU-O

II hOhOh— ».CvJ PO •>

*Xr\JX<\)X

j>0>0>MliJHUJHUJl-X x XOLUOLUOLUazozoz

oo-j

oo-*II <-JCDZo a:U--0Lt-J»-G—•<luzOuocuj

C_JCC OO-•O * »-«-J

a. »a_j •.*0l>JOOUUJ^UL vD<

OCXOU-— CO<XLU<i->CC •»

•vzccoa—

Z Oo^lflOZ *—

»

hKOSUOOOOOhMjZssSHfvirt

X—

<LU-JOLUUJ

Oo

oo

oX —

t • -i

LUt-*

UJzoz~o—I- -I•-oi/>Xoo

zu.

LUXLUi—co-ll

«o-O-lf-HOO—a o•-•LU-JOorOoxH-H- IIX3-•-4 t—>«.om

II Ili-OXh-»-h -?— -J II II i

xH OO—>Doo<oZZZ00—»-iO O-Jx •—"> ZLULU—O"- xoooz>_» I o«->oo II ~XU0>Q£«l-JXXXXLULU»-'-J»-* II HlO.DOl-'- UJ -"->CDO-<OXXXXXK II f* —X-J-JZHOX <OXLUoOOO'-'LUO-HOaOU-LUOOO ZLU >ooo^er OOUOZ0lJOhOmHIIOI-<Z <o

.-*•-« oa

-r-l II

IZ «-•

»-* OII

•-•

.—

I

f\, o »-• fvJ O s

O O •—

<

»* H (VJs

O^-

>t OfVi <M CViOfM O*

oo o

o

116

Page 121: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

oooo

ooco

cocooooo o o O

ooocoocoooooo

OOOO c C ooooo o o ooooo M «—

.

Q'O'&O' o o o• • • • o c oU.U U.U o o oZZ2Z o o o• • • • o

ooo

oo

0m****im- o a-—

>.•—i

-—i-—

'

• • ••»»•>» ID LD LD*:**:* z z z

ID •>»•»• • • •-J r-i_i,_..-i —

.

_» «—

cc XII x» XI< •—4 •—) t—

1

< u-ccor w r\j to* ro •_•

_J ILOCvOf o o o o of—1 «—

• • • « J <M J m Jo < OOOO o c of-l > ZZ7TZ I c I o X

<r <<<< • *» h- •*~ K •«—c • • • • __»_-» CM—

C<NJ— Orj—

-

K CO ****** w r\jo_ Z <M o Z »fM o Z »<VJ

K •—1 •—1 •—!•—• •» •> <s_. * o <*: > o <^ *o ** » » » » ** • --_: _~. • -_: «~. • -Xo 3<\l rirx •> * —-»-» o— o __-»*.^ «. o«~ o *»-w4 »

o >>>> ww wo~ <\J— <\J —a — «M— <v wflCwo »— LDLDLDLD LLLL DOC o Cflfl o Oa:ao uo xxxx LLLL J + O O-J o —!*• a. O-J o j + ao H- LUUJUJUJ 4 o— l-O t~ O—

+

KO K O—

+

o u. zzzz _--__.o— X_H-~O— I IH-O- X X-"o oo • • • <t »-*^o>t • f^Ofi o • o • »^OM c • o • **:-«o* o OujujUj —o * LUX—'O * Old o LDX—O * OLD o LDS"—• oc— liJJJ ^JOh J-JOh —'-J __- —I IO-

1

— -J <-» J*JHUJ*-i UJO • • • • ___~o •• •>*-0 - «-f • <M »>«->o • «-H • <V| •>*-. •.

z + cc • »»•»» —•H-OS.: _-LD*-0-_: •«— • -OJKO^ •— • —LDKii-J IO •~t»~(t—lr-< w^tfvw •-1x30s— o-< o .-iXwCTw O^t o HXO-—»*" OLD » » » •> U.O. II _j •LDCL II J LD •> LU -UJCL II _l LD •> ID *LUQ.j>-< z • * * * *: —. LL II -JO^Z II -JO • __.<£> ««C I--Z II —-JO • *>o »>o i^Z II JOw>Uj _J » » » ».-H ||

—..__l_--0 » II »HwO -J *o-)o II —«-«»-o _J OJO • II — *-cOOLD»- i-»,-H—i,-iC\l — _<_ -.a, «4-»-i _•_?__ »_l^ »—fMe-» •—H-l ^— ic »u .$• •-•rMfv—><\j '-l-'^IX-tJll ZI< www Jw^K -_.-jx_s_:o_ <w < "--J—^OC «I— < —-J— orC-J~K> U. OQ.6CO — -J * OIL—-! •» o >u_o>o LL— «l * O >ULO>C a.— _i oXt-iK <t iLoaah CwHJhU.OHP)J|- <U-K<K lLO h-H_ih <LD>-<K U>C»-_JH-w<Z»_— » Xr »i 'hii' -J>-w_l -Jt—'J >—'W .__. —'—Jt— >— —

1

^«— — w-Jt-_lU->OZlD U_LL.LL.lLO 03 IL < OIL OZ5C <I

C

LLU-O-LC U.ODKC LLLLOU-O U.OD<0h<UDhot >

MMMM^ iau.uoHio.ooo mmOmO HlflflOO h-n-o^—O <—IflOO

f-i .-i rv pn>c «-« W >t>o »-l f\l ITivO

o o o oo o o oo o o OO*-*Uf^O Uh —• ._- OfM fM 0»-«C, UO fO U^(<1

117

Page 122: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

oD»

to

©

O

a.

»O

o

—• a* aX »«•» •—

> »~j

CVJ UJO X *«* UJ

z*

o 1>—

h-l-l

oo

o •>

o * *»«~ •> .H

o— o l-l ••

•-4-H W4 M *(NJ— Csl u. »o U-— 1-4

C_J o «vH wKO H + * U. —X ->* U- 1-H

O t o ¥ * «_- •w

OUj o wr-i o o-~_J —

.

-J— z _J •»i-i • rvj <-<U. •—

<

c X• •*• • hli X X »a~* o 3 (1 II II oUJ •• UJ Q-~ •—

.

«» o«^vC «>o II hOhoh -J

-J »0_)C —> »-<\j r>o » OOH>— rvimi-"^ *X(\jx f\jX II <<«- < WW w w -JCOZ>u.o>o _J>0>0> U QC<U-|-<|- MlUHUJh^ U.JD|_!! ^ K-X X X U.-JKOILlLOU-O DujOujOhj >-'<UJZ*«»—•O'-'O azozoz OOQiU-J

t—

t

ro o «-< <\J oo O 1-4 1-1 i-4 <\J

o*- 4- O^' (\l IVJOCU

oUJa:a.

in—in

in •

MM

mm>tCO

UJ - UJX> K —'-J ©o»au. znoooozxnu. x *oor^o

x<ujo — »n Ox *-j »Oh»- i-

«iu.i *a *— »ooco-mO^ XLblf'OO 0>-4U-UJh-OCJh-»«»« *C*acka o£ inia u. .-« (vjm^ * mz<^*N<ru_ ••••»»

uj*-''vnjfri »ooooohz Hooz-uJUja;ujvO it

o —

.

,— .—«-» o CO •»«-»<\im m z — o» » •> isj hh z*** O •i^oca: o».»•• i- ujZ<< _J «—

•—i •—i^—

i

ZN •> + •• (/>

aaa o msZOJ ZOUJII lll| | o i—<x.-<ZD«w<w«w 0h •**UJ—

«

*UJCacta f-l SC -XK X -J*aaa- • ~—l~ || «^w || wII II II o oc—z—-Z-»K<»»m uj luujo»-,ujOcooo

wHUNsOl^ • • • •«—•-< »-*C0r^UJ • hha -JQ. t>UJ

k»-' ,vzzh- rtjuoui »h •• »r;uJ zaxa^xx^oDozoovioaiujujiiJo£H +^^^z> »-<uj »>Xuj *MOzzzHatf*a: h o»« * * »"-*o ii on o-j

o:jZzzuj aa.aaajHiiMi-H.i-z jZ-iwdZ-jo-jCDQuXOOXO—'—•—-'X .-«w—wZ-* -J<-J—<-J-^<Da.ouOHMU.u.u.u.HOQ.«ia:ou. <uj<acuj«xarotoi—o QwNMHHKO<-iQcaaOH oxoaxoa

oo o

118

Page 123: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

o — o ———.*. o wits* — «-.-*—. c oo — —~»«»•"Hcjm in 2T2T—» o hmc^ it z «* C «~i<\irc

* •• » MMh-K Z » •« » isj t— (— Z » » **** O •.^ctc* o *** C ..oooca: c ***•» » h- UJ—><< _j — » » » K UjZ<< _) — » • •

— 0.0.0. c «-• »zuj zooi ~ 0.0.0. o mvzuj zooj 0.0.0.i/> ^ *******

Q s*f\j aao.11 » •> 0.0.0. • wk-* 11 <v»^ 11 w 11 « » 000 • «— fTiw 11 m— 11 — 11

— Oi-i 11 11 11 ar ctecz—'—-z—>k—> o«-' 11 11 11

room 11 —— «- lu LU<o»-iujOfvioorco fvi II ——»«»

c —> »zuj zoai — 0.0.0. o mvziu zouj 0.0.0.O Hf\i<X-~<ZOoo r-i -<«-«.-. o K-><X-<ZC^ — •"•«-•-

UJI

o <-> o •-» cr00 e o o«M N u cjm m CJ On*-

119

Page 124: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

o

lf\Z -» okj \- Z

O »«^OCH- OKOJZ<a -J «»Xrsi •-< > (/>

Qi-NZ* Z UJ

-. **UJX*UJZ »10.-<*: »Xh a.o^iu

OOCwZ H wZllh II

ujujujC—ujO— i/>—

uj •HKQ.eH.JQ.rviujroDUJZax »Zx »0 mZ>^-<UJ*XUJ* *z•-O II »-H »-J *0CKZUZ<J^ZJ^^ITi3Z«~_J<-J~<_i-~<»-l-COU-<UJ<U.UJ<U-OU-UJZU^UIUU-IUU. U.C3CUJ

ocm

oo

ro• •>

o

om

o Sluj o.ec-> *Q-3tU.—» | U.fO*< •> »

O OhUJQC * *tfiuaoJUO-OUJUJ »<•»

QfHOCQCzcta:

uUJ

a

oo

o

o

oo

oCM

Oo

CO

ec .hcmco a. *-»cMfn

o<7» * • » * '••winoir\ .-*-»*** etc* a: ujujujcm * a.** •> » •ocococj-h-H

UJ»-"^ — ••«-• •-• »•-*-.*- II II It II II II

z cMzmo ii M *w«**-^—.•»«»«»«-. omkuo »o>— ~j »aeaceCf-4fMm^ii\jrouJO

gUZ^^^'-'-f -<w II II |I******Z r-* + ^w»l || II**mOZ •0©t-»Oa£«-«*Nfn » » » » » mho O'-'OQ-'-'CMO * •

cx.jxujir>r-«-i ii •-•ocQ.o.a.»-«iMi-«^-5">KK cm ii cma. a. o. a. •*»-•i- "»eoa.xx«- ~* »x«*'—•'—z »-* «~xxx——wwDxc-'U-ooo-Ou-UJujujocojocococoroo oaou-UJUJUjOLaacxwt-uou.oc«D«\-*->-occcecacccoc<j<j> o»-o»—hi-1-aa.aa

• ***ro -i«-«cMm -j ->-» a.••»•> »*"»"—'X

^ H- _,__ || t| || ||

II II *•»«»*»«»«»•»-»«-« -> •a.a.a.t-«c\im«-i

f-4 Hft.ft.0. * » » »h^h»>ii ii ii ****

oootr>

oo

•-4 oo o*-4 OCM

120

Page 125: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

IS)

o

a

©4-

o

oo

O •>»» Li. *»*• ^^^ • **:^

o.a rvjj^Nin-jTiaaa. ir\jhcum -5 -5-30.0.0.xx a » • » * »»»«»{ •>••. »—~wXxx>-H- • O.r-1 •• » »OOOt-hk •• Q-t-« » » ••U-U.U.K-H-HM II f-l h *-•-•_ || II || || DM .- i-t •**_.»« || || || |t || ||—

-

ii h »*:*———•——»————»—»—» ii ii y«.ww—«—*romuj •— -> »cOOH(\jff\i-i(Nj(*iuj — -^ »u.u-U-»-i<Mfrv i-trvirouj

^iC2r ^ + h-ii ii 11 :**::****z ^4_i»,ii H h ***:y:**zz* **- C •—

«oO •—' (\) C"\ » • « » » ••>—' O »—O LL r-* <\J f" 1 »•>»»» ••— &_

">">»- ennmCQ.Q.aMHMTni- -4- 11 »* u. 0.0.a •->.-.-* -5 -t-?>-d«-«-»z -« vjii»—vwz ^4 •.in—•.-•Zhc0.00 oaou-iuuiiuooocaoo oo.oijlujujijjll.u.u.u_u-U-oiijzO.O-O OnO«H-I-CCOODOU Ci*-0«—K»-KU.U.LLU-U.U.OQCUJ

*Q£•O

«"» •m—

0Ot-4.—<«—a01m*~i_>o<

-j C-CD•H « »h- «»«»

D rr\oa r-i

•» O—00 na»- -J* 0*Of f^Ow<* O.CGa a •>

.-"• I •—

»

2 U-** — rv— 1 U.OU c*l »*<I o< »C«—w O-jen ONO c •> »-<«-

Oa » »Q 1 »>-JUJ a>juoai{_><£> 0- UJ^LLvDX<UJ ••xou.-'UJCDK atu<ii->cx.z2 azeDDa: •

Qj^M svvs -»Z O<M^lf>00Zf^—i-hKCoUOOO *oKhjsvsSh-OhDU<IZZZ2U)h-Oh OCOOZ _)fltjjlllliiiin«(£0.<XXXXX—t-3x id c a •— u.to'-ocut-'ocoa.Q.

«-• oo o

.-< oo o

HO00

121

Page 126: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

ao

*cm

COo

oo

•CM

uLLU.M«

QII

-I

<en

ctoc aa»-•• h- +jj -J_i•* •*u o o*< O j^<

OCT t-4 OCOO II O ||JJHO JJHCJJI

<CO

»0*#<-«~a

— *h-<

oc—uo

^ II LLCMO~U-0<*«-mffWO

II CL II

Oeg

Oo

CMoCM

oo

«-«CM

oooo•

hi_Jtt•o o*< oOeO cmOH->x-«a0*-f»-

<CM

**

X

<00

o~wo*# ——a*x—*l/>0h-<*:eo

uo*»x

U.U.a.uu

hi XX-j* •*. it

•O CMO—*:< o<*OCO ^CO*-on iiazjIhoIio:U^4h^^D

ii u.< ii o ii u_< ii o<<< ii u-< ii o ii u-< ho<<ujz•_•»_i cCt—i CD •-••—> CD •-« CD CD CCcC •—•»-« CD 1-*O •—••—• CO —.CD COCCI tt U.J

ool-ll-l

X~•CO0*h-

-Jlx:•— »QCh-OOO31 *a •— —•>f»o o

t/>X»-« »-*

k „^—.—.-»,**».-.-*_x^ «oa fHcmm >*• ino r- ooo #OCIIIIIIIIIII^o **»###** #o&KUUUUUUUUUJ—-. x *cooooooooooo

*:* x<t _J_l-J_J-i-J_l-l-J-'o i ui*uuuuuuuuuv-j*» eorni-i ,,s.'s.v.>»^.v.v.*vv.oO »x -»~i—a a *CL^-"pom'4-iriOhooa«*

•-o ^IXJJJJJJJJJ*-1

KUJ O •0«-,»-i»-im.-.m«m«mmh-DK <H<Khhhhhl-hh3Z C0ICC33DDODOD30.

uj»— w acLQ.aao-Q.acv n

z o^r-z ii ii ii ii it ii ii ii ii—

>

HhOOUO-"**-*-—

o

h- ** -j>,n»»-h-»cmm ,tm <Oh- oo o* •-•

O" OOZJJJJJJJJJJK0CJJXXUJ«t-M»-MI-.Ml-.HMD<Da<XXXhhhKI-hhhKhhDDiujOOMDDaDDDDDDDaiZ«/)>-->a:oooaaaaaaaaaaocuj

oo

MCMOOMC^

CMO

oo<VI

ooCM.*

CMoCM

122

Page 127: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

— 00

00 C*

—OX ••

O »HXtr>a* *x

CTlfiS^-J x—o*-• »K<H odkccD IQ. •>

a. »KJ«->* r*- -c

i/> X—h>- •>m~»XL »C «Q.ec X«4--JU »w^

>- » lOUJOK a X_l<• a X »xec

3 i*j ** «tr1

•> uo X —< UJ o< *—.f\jw _J>-_!C0 fCiif\ •

ZJO » x -oOC xm a >*<\lUJ » *>-J Mwwo UJKUJ^ XLU>UJ t-JXO ••KUJK a»siuj«ixHa:xZ <«vzou*-ii«ruj<— v.m>kN< >*V. Z

H- OHo>*m<or-z —

*

<tKCOSOOUUO»0OMjVZN.WV>iirHo<zczzzzw •*-

ttfr-i OIODCOZODJUJJ££XX£XIU«.»oa<ios-ini>t-jiujoucooomjdcn^-a'O UOuOOnQ.

•oo

• aoo * »vo • • • •«tocoosooooo*sC> •&<£/'£)

• 00 00 00 CDC •> » » *O e • • •«toooo«ooooococ\j»tco>fr^ «£ cr* >o•h-oo^aoo » » * »o • • • •oooooNOOOOr-cooooo

c • » » »o • • • •sOOCOOh-OOOOm«ooc«^>c

•iri>oirimo »• » » •o • • • •MOOOOmoooo

o » * » •>

O e • • •ooooortOOOOf\J>$" 00*0 00«d-0CHcr•i-K\|f\l<\J

o » » » »"v • • • •xocoo_i •• »ooK) • »>t«0oo«tw

<00<-*M

<«OvO • •O0000OO

«0

• • • ••»•»»»

ir\«o ir.ro

• • • •

•<o • ••—I #—1^4

•00 • • in • • •

Oh- asOlTi• «H • •

N. * » •>-fO •sOm-J «H • •KJ •» » •» •»

< • • • •H- » •> » *

O • • • •—»t—••—«^-i

• »O • O^h- •

H- • * » »h- ».oor->oo.m • • •

Kjro •• »• ao<^m

<•••••H-m •> » «.

<t\J-4TvJfVI

o • • • •

oo

oro

oo

o

ooin»oa*»0*v»oo*ooo>*H* »ooooohI—I »

ooHO—

t

or-o•ooo«m *soUJ«t-»•"0£ *<oO<f-iK •>

<oOin

inrvj

in

»O00»o

o«•

o

o

oo

»oOvOm »cOap-o *OITiO

ooOfO•—I »VOUJvO-J ••

s:oaco

<»-o

OH

om•irv

o>h^>» *

OClTi»-*

ITr~ •>

o«n •ohoo •#o>toOHiHo ^O^r^o# h#in »oOHS* *</>

IfSHH*H^O QCoouOH •O CLoaio -^O^aoo# »«rOSCD

> *-jujin^rX •"«_)

Z *03m

< -*i

< »<'vCHO«t

•>

IT»

UTS

O••

IT

oXcr

XIao

Xr«-

x»oXITl

O X*

ovcir-tfOXSCO »-JO^fNJMHIKS •>

3XHaMi<<<hKh O<<<^Z

123

Page 128: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

APPENDIX C

GPSS Computer Model

Appendix C contains a GPSS flow chart of the torn tape relay

network and the GPSS computer program used to simulate this system.

124

Page 129: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

\e N\

GPSS FLOW CHART SYMBOLS

GENERAT ETRANSACTIONS

BLOCK4 3 GPSS BLOClvTVPES(ReP. ^7,8,14)

© X IS A MMBMOMICCONNECTOR

u OFF PA&BCONNECTOR

125

Page 130: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

[GEA/.

D

5/\ve\/^we

A55I(SA/

torr^ TflAA^FeR

Mess^Gi: for sire

5TOR6 Mlr/^AJ RVTB

/UF*T AAfrSS^OE

ASS/GAJ ££AJG-TH OF

£TfrR 1

TR^/v;SFeR ro cire

(Q^

S4i/e\/4U<e.

AS5/G/V

F-ori srre

Store /oe^/v ft^re

OP fiRRWJbL FORtVflAT MFSSAOE

/\S5/GAJ LBNQrTH OP

MESSAG-e TO

THQMSFtzR ro are

126

Page 131: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

c/re

ASSIGN

TRAWSFisr^

Me^AG-e por sire

p 4RRII/AL PO^

TRa^SFEft m c/re

©*

S^i/ei/AU^e

AS^/tw

TRA/uSPBR

GB/wER/^re /I

^LASH MESSA6-F.

for. sire

3roRi: ne/9/v Rare

A;exT Message

tr^a;sp^/? ro aire

127

Page 132: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

mrn*

gASSIGN

ASSIGN

TRANSFER

RESIGN bEST/NAT/ON

TO PAPAMPTe^ 3

ASSIGN Requ/fXrbROUT/MG- TOPARAA"/ereR ^

PROK C/7ES /jEjBVjS-

TO Xnir

ASSIGN

A SS /GA/

/\SS/GA/

I

ASSIGN

o

ASSIGN ROUT//VG-FOf^ Z*7 HOP TOPARAMETER 5"

ASSIGN LO\jobstXKTR. A/0, PORThis sire roPa ram pre [^ 8

ASSIGN M/GKESrXrATR A/O FORTHIS SiTIz TO

PF Pftec- Z}0(p: 3

pPlV; R^5 CikiJ /

RpSeR^b FOR P/?eBMpTF5

128

Page 133: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

(WJPW-%

:ti

ICTI

SAvf=v/^ue

ASSIGN

TEST

SAvevQi-ut

P?A*3FER

ASSIGN USER CHQiM

A/U*>\BeR Tor bachsire TO PARM /2

Slr/vO HIGH PREC.hessAo-es to hiPRi

PRECEDENCE MES.

B^ct/-oo- sransrrcs

A StWEVALOMz

location ro

IFCMRrtE^r touj PRec.

BACKLOG- LG$>%. TH*UPRBu/Ou£ MAX,

TRA^^pbr ro Slcti

6^C*CLO(> AS

Slct /

mo

129

Page 134: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

5Ai/ev/Ami=

ASS/G-W

ASSIGN

£crV tbst

SAI/6V/ALME

ri TRANSFER

/»CCUmcU*TT WG-#PRECIz btfijCf; M(rS.BACKLOG- STATISTICS

A 3Al/lrUfl£CrfC

locat/on ro

p/)/?M. /O

/.OCAT/O/U "TO

IP CURReioTHION i^REC

BAC<lo6- /.ess thaajPfMrVlOUS MRXT.RANJS FBR TD UCT I

RECORD CURRENTfcACfcLO G- f\^

stcr/ro

130

Page 135: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

FutonY* 5ELecr

Rfl**n" TRA/vSFe^

SFLecr A Fflee XMTK.IF A/O/ue Al>ftIL4ALE

TRR/OSF/r/} 7b F/-A}SH

TRANSFER! To

GO TO TRAajSu

(fl-<fcwV * .Te%r

i

VBS

SeLEcr

PRir-EMPT

54u£V*Uuf

/vo

U

^ESSACrF /S 5T0R5&|NJ USER CH4/W UWT»L

TiMe FOR XKl^SJOAJ

F/-A^H;Go To usfr

S£LfrCT 77/6 XKTR

PReCfrDirMCe MOSS.

LOweyr PR*C KWSft&B,

PR6C- BACKLOG- 13V

riVA£ LBUC7H FLfcH

131

Page 136: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

&ZJDvAMCe

Return)

Unlink

T8AA/SFeR

MOLD XMTR PORLBNG-TH O^

RETURM XhTR POR

UNLINK fit MessrsFRO?^\ US6R QHAiMTO BNTBR M 5LCT/"

132

Page 137: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

m&A*

sei^eSEIZE A XhTR. TH£

, TO VQluE OP P#rm, 7AS/H/rsi/AJi-ue

R6COR0 P(?FC£De*JC<r

OP M(?SS^oe HOLDI/OG-

ErACH XMTR

P^Tr VI OUSV Pfl£- e^PTb

TRANSFER 'A^V^I

PRioeiry OR rout/a; e

PRECr Dp/uCE fcKKLOb

T^SFE* TW^SFBR TO A*V

133

Page 138: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

MDV/V

TKTL,

5^uei/B^ue

f AbV/A/VCfc

DCCRerAEMT tO PR6C

Le^aTH FLASH M^SS.

LB/OOTH OF MG^S,

ReleaseTO PftPAMereA 7

UNtiNk

TRfi^eeR

fron\ u$>e/s Chqi-o

TO &HTBR 63-OC/C

TRAaj!>f/?R ro"resTz"

134

Page 139: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

[LtifiZ resr

f\SSlGV

ASSIGN

resr

reRrtT^ATe

XF MESSAGE OAJ 2nd

LeG- OP ROUT/ioG-

TRANSFER TO LECrZ

fOR £0^ l~IOh>

XF WESSAGe OAJ

l*T /yoP^TRAAJSFpRfO LoPe , i. e. RfPefiT

evc/e

t/r(?^|/u ATE fAESS.

O'aj 2^ WOP

135

Page 140: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

[QBtJ

D

/\Dl/AVCe

/*Ssr«>/v>

ftSSIGM

ASSIGAJ

TtiGMLRTTZ

TABLE

TeRy\)K^TFl

LjTTH 3 PftRMtTERZ

/40L& TRA/f^ACT/ooPOR 9O0O S6Co/ofc%

(LewC^TH OP COttPuTfcR

3/fAUU ATJOAJ /?UA/)

0AC^o6- STRTJ^TICS

To p/J/Wirrefes /-/o

ASS/6/V MAA ^/GH

UTILIZQT/QtJ STATISTICS

TO PGRftMETTR^ Z/-3>0

TABULA n? STOHS7JCS

/-30.

out Pur

QCTJOAJ f) FTB HA3ACH ftu fO

136

Page 141: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

GPSS COMPUTER PROGRAM

* e* •>

* o•H o* C <t

* •» o or oo oo 00 o-

# oo 00 UJ LU U„ UJ LL* x V O O o O e* a. in (' <r < < < <* •» it • IS, 00 00 oo oo* o »> •> •k oo 00 00 00 00

* •> * o o UJ LU LL) LL! LU* a. Q o o o 3T X 5" T z* of <r o cm <f*• o O *» cr vC U- LL U. LL LL

* -j «o h- CO o o o O o* o « S s *t u* •—

<

*£ •v. <> • « z z z z z »—

1

CM COfr <i I—I a r-

1

r-< c c c c c Uj LUX < U1>C U_ U- u. r- r-UJ I CX e o O c O K K h- h- K - K r- »—

•—

i

_J o •» o O o O <r < < < < >—

<

t— i—

i

OO 00CD •> 1—

O

<\1 ^ cc O z z z Z z oo 00 00

O o zo a «0 -4

Of » UJ«t r>- cc o r* »- h- K V- K r T X S XQ o OO V. V. s s 00 oo 00 oo 00 o O o o o

o or oo • co • • UJ LU LU LU LL! oc Of Of of Of* -J U.IS <—

1

<J r-H r-l O O O O c LL LL LL U- LLor. •> Cup* m m » r* +a o » o O o o o O O o Oj* •» HO CMO LUC -to 100 <—

t

CM CO >* IT z z Z z zK UJ o CO r-O vt o •—1 r-H r-< t—

1

»—

UJ D LUO LUvt *-cm LUO LUf>- UJ LU LU LL UJ K h- H r- h-Z oo r-CM r-vO 00 r- -in h-LO K K h- h- K D 3^ D D D

••cc •-.c- MN. s r—

S

H\ «—

.

t—

t—

i

n-^ k_4 o a O C o>- oo oo«v oor- OOvC OOIO 00 00 OO 00 OO Of Of Of Of a«X cr r-l e r-< © 4_J r^-in H- » c C o o Ocr oox o o o o o m, in in LCc o O an CM CM o o o •0U' oo r» r- >* CO CO vf) *) o sO

a r-l * sClTN r^m On© co*t h->* <» ^ sj- s* >* r-l OJ C 1

•t< cmo os os OS os OS O C o O C <t * •4" •> -* •• >1 » s}

r- •> * *r- •>co * « *<o *ir> » •> •> » om Cifi om Cin OOOO «* a >1" 9 vj" »H tf * ^ « r\i CMLO CM CM OJ •s •s »>s ••s

z _jX co CO » co * CO •> CO • Z z - Z z z m>t co>t co«^ dcfi COa. OCX >o >o >o >o >o of in 01. e air. oc u- OTvl- a xo a«c a so a>o au o o o o o •> r-( » »- *> sU vO >0 v0r- LULU CM o (M o cc e S • a 3 r-l CM CO St

h-r- co «o CO r-4 CO p-4 >* (-4 #—

i

»-4 *» •> » •>

* <I< z* Zco Z«4" ZCM ZCM Zs Z •> ZS Zs Zs ?* z«* z>t Zco, z* OO o\ OS OS os as o* Oir. o«* Oco Cm OS Os OS Os c•V cc N-.^ •—<Lfi •—sO •—*fn *-CO •—t H-r^ t—> » ^—

• • •—< » >—>ro i—ifO •-"CM i-1 CM ^-1

* -J -J H • K • t- • K • K • h-a> K • l-CT t-r- l-O t->o h-«0 r-vO r-O K* -J -J o •> O o •> O O * o • OS o • o • o <• Os0 O^O OO o»o O* << zo ZO zo ZO zo zs Zco ZS ZS Zs z— ZCM ZCO z^ z* LULU z>o DO rso DO 30 3'CO 3 * dcm OCM 3CM 3 D r> 3 3* oca LL. -O LL^- LL tt LL.^- LLvO LL •> a >t LL •> LL f> LL LLrO LLCO LL PvJ LLfN. LL

r-» >! a. •J r-< Lf\ • CO -4 in s s S S* CM rH CM r-4 CM • s • • CM r-l r-l rH

# V. S s s S S r~t s S s vO >0 sO O* >c LO O en CO C\! m r-A r-t «—

t

>U O O o* # A r> p « •> LT> •> » o * »-<r-« CMCSJ rr»cO ^•"t in* •—

« •> CM • C*' •» >* * LO >0fM r^cM QT>t O CM »-(CM r-l •> r-l * r-l •> 9-1 » r—

1

** * O* O* O* C* O* •-» •> «*• «* «,* CM* r-*+ r-4P r-l *

137

Page 142: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

O o<M

Of-4lAa 00 O • •

•rsifooo

id m h-O fO o <o o «>4 CO en «t ID* 4- n v oor*-o^4 pH 00 00 irtoooo 111 UJ UJ UJ UJ« •> O ao • • • • »- K h- »- >-

ID h«d m m N4 ta4 *m »m Mt-O •-O •» m » 00 00 oo oo OOt-"N IN oo>* H </>** OfOZO *-o zo » zo Oflorvi »- H - »- K-•ICO -Jro OV to ON u> • • < < < < <_Jfl •H —«r- vO •-H •Hrth

• » h0> *^ -00 z 00 oo oo oo 00ec* 0T*- <co 4- <fTl o UJ UJ UJ UJ UJUJsO UJ%0 o H o * •— (Js o o o O o:*N ct** Om •> Oro K «tOO < < < < <oo a* t/)0 jo >t JO 0^-0000 oo oo oo oo 00-jrvi D<V H.-* V «o *< CO • • • • 00 oo oo oo oo—

<

1-1 z * UJ,© «v uj<o tmt UJ UJ UJ UJ UJ» •> turn OO fO Oco ec X X X X X

OOfO OOfO x<© <tco r» <m H-«D Oa-o OTO

3o>or •> » ac + »/iidoo<nj u. a. u. u. IL

UJV UJ>» 0<M m Oro *-*f\ • • • o o o o Ooco co«* or •> HO o KO O •«-'<\j>0

X^H x-< <* O0N v. t^N UJ UJ UJ UJ UJDi^ D«-« o id Cs» m -J H- h- K H- >-Z • Z • ZN oo H Oeo < OO < < < < <

C\i fNJ M0D Om •> Om i— idO ac or or or orVO >0 < •• -J * fM j * HfOODOOKN l-V Xm **« <o sc*+ z • • • • j J J j j—O —IID OO u<o V. wc UJ < < < < <JO JO V. <>*

. !-• <v. z > > > > >wH Ml-I OTh- C0 4- H CDsj- Orgao^i M M M •—

i

Mo * u • cu • o » 00 a.r\jfOoofo or or or or or<f» <.-• UOCsl om —> UfO xrsj « • • or or or or orU.O LL-O OO UJ » «o LU » uj •^rvjm < < < < <V "V N or«o V oroo * vO am H ama a » *v m V in

t» » t-4 Of*> « *m<Ti ID^O

vD •0 O -JO o lac rgr-oo M ID

O ID id V <»> ID ro •#•••• ^z r\j mfrirn ^« ^»t IDZID o>»

H«tOo»d o ON o » (VJ ^«-»zu-c\jf\jDJZfnzzz«tZ ZZlDlDZU.

» »-«o •-I » i-i-O ^<H hO o ZZU.SZZZHZU.U.U.ZILU.U.ZZU.N* oeo OCO « OvC 04- a* o^ •-4- cm U.U.SOU.ILU.SILSSSU.NVSU.U.NO"V » * +—I in »*v » » *«^ ^OfMID^O SSOOnWO^OOOVOOOWOOfO IDvO tn>o.~« idv. iT»P0 mo »D(M Z>-4 • • • oooooooooomooo^toooooo 0.* cl>j-q. cl«* Q.O o.«t a. oo 0£ •»-«Psl4" mr- r-*r-> *t OO ID >0 •-• »-4 f- IC\ «-4 t-tO »$O w-4 r4o *^ N » m >» mid o m O » H »« h- r- * yO t*\ o UJUJUJUJUJ UJ UJUJUJ UJ UJ UJUJ UJ UJ UJ UJ UJ UJ UJm z » Z *Z<NJ ZN Zfn z •> zm Z <MO JJJJJJJJJJJJJJJJJJJJv. oo o<o •• om O-v o«o On o^r-oo 00 00 QOoooooooQaDooooaDooaQflOoooooooOflD

o l-Sor*- Uifl

HO l-N h-00o

<<<<<<<<<<<<<<<<<<<<ocecococQCococccocecocccccocccococoLococ

ID Zoi z**">z * zn z • ZfNJ z * Z ID <<<<<<<<<<<<<<<<<<<<» D • O •Om Orvj OO o » oo O Mfncr »»>>>»>>>>>>>>>>>

f\l U. vO u.<ou.v U. » U.<M U.O U-f\l u> o • • u. u. u. u. u> u. U. U. u. u. u. u. u. u. u. u. U. u. u. u.•v <\J CVJ «* vD »* (NJ N o •Djml-« N >» » CS) o N ovD r» <\J t\J V. o r- 0DvC —* CM V •M m t-i COID o • h- »00ID O » o » f-4 « est » o ao o^<m en 4*^ «o r- od oo» **o H^H •> -«o «NJ^> IM^O (\j>0

138

Page 143: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

u

to

to

<OtoCz

a- ocouoIOUO

o?uouio<o<UCOCCC

LOtOLUOLUh- >c muMftoc a: <J> o

— — llolu<xlulu rv ^--^st^ llO oO m o<-«<\im ot lulolu<tr>a iTiir»»>H»-»»-»r-i oouujuo.'vll •war a:Qf of^ii-ZUJuLLJa.— «-.—u-u-U-u.^ Mocza>,-».-* >t^ «f >f + -f— ot-Q-tua<(\j<*> ccc?''mrorr\ro<"CZ3 xuJim.\tLU.HHHHH(-o:iOjHiOororOcoLLLLLLLLLLCOXrvjror-cocr- 4 + + 4- + ccZ Zcc Q^cfcQcaotoJCOfMCMfvi ——o—»U J UL LL LL LL LLO t-» (X CO >fr O LL «— CC—h|^4 + lHHHrlHZ r-( t-t

Luoar\jr\ir\j«a£a:a:tt:*-i 4- 4-

Oi-«fMr^Q0CMi.LLU-U.U.LJ. —on 00ctaaaa+ + + + + -»a. o.LLLLLLLL.LL •-<•-< .-•«-«•-« O I I

4- 4 4- 4- 0*-<o\ir0^ CO1 0-

OOCDi—»«-«»-i t-*r-< r-4«H«-l «—iO- CLp-JCMf- erCTOCarCt OCa * «» <-»

aoraattu.iiU.iLU- t-i-x •-»*

u,u-u-u.u.+ + + + + mooc4- 4- 4- 4- +OCOOOO>>C + *«-<fVJP-Q0O" r-«f-4.-«r-n-l«-< I V.OX.aaaaaaaaaav^inOMU-U-U-LLLLU-LLLLU-U-xl-Ct* ^*

irOHMfic\j»-» »•> »-fM>00>roco«or-ir.tr,rnmr^rnmxx xXX-v'X'V

>^«—i » »

mroxxxxx^^v.

»~»r—• » » »•> »o»frco

mmxxxXXX.W

rommromxxxxx

<zOLLJz

LLCOCL

t-l XLULU

LUX *H-«Z*~\—<XtO LUax

LUOOLLX< KOOLUOl/Oh-ZLLKLUxa-J

LU_JUJ

t— «—»00

DartooctLua:<ix

LL:

O<totoLUX

cco—

en

a

c\j

o amo mz m z oLL»-4 •>«-! LLCvJCO^»->CLU »> »LU

»-h »OH M IT*—IPv_»,~i»-( tf\(\JCC«—

xro<-« xm»-» *

XX

LL'

o<toto

LU

oLU

m

mz o•> ..LU

m ot-ic fi^*-.roLn o

LUO<totoLUTIto<_J

LL

toLUo<

z UO

c to•— LUH- X<r

o —1

o _l

-J <cc

o LULU LLa. toI-H z«/) <LU cc

orez ou->l-m*> »

<f *o

f0ir\xcr>-<

zz~ULLX» »x

LULULULU LULU LULU LULU LULULU LU LU_i-J_J_j-J_j_j_j_i_)luUj_i_i_j no CC UO aCDCDcrcD0DcDa3CDaDC0_J_JC0cDCD _)-J-J_J-J h--J LU h- -J LU«K<<<i<<<r<<rcDco<<< <<<<< <<zll <<izll

ccGcccecccccccecccCL+*~ccaicc Kht-Kh>>>>>>>>>><<>>> zzzzz Lu<tcoar. LU<itoa:LLU-LLLLLLLLLLLLLLLL>>U.LLLL •— <—t •—••—' •—• Ot/)<H OtO<t

LUuj>-iZ LULU^-ZZ>tO< z>to<

LUlud aK_J LU<<zllor.>OcoLULU»^ZZ>to<LU<t/lQCOtO<It-

LULU^D

<T<Zoc>oLUUJ>—Z>ooLU<00CLO<

aLU

zzll>. iii 'Z</1tO<totoa

UJ

i-irvi inf-* cvjro ^-m vo r- ao a-o f> rom ^m

ft f\ic\jfvJfMf\i<MfMfNj(Mfri foro ^ * **o

139

Page 144: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

<\J t- m KCO —> m i—

i

f\l UJ Z m UJ ZUJ K X UJ H X

111 H- tot <\J UJ K tot ro*- tot 1/) o K tol CO otot wo UJ - M uo UJ -CO UJ - w» UJ >-

UJ o tot «/) UJ o to* COUJ o < 00 UJ UJ o < CO UJo < oo o a < CO o< oo oo UJ < < CO CO UJ <oo oo UJ o on 00 CO UJ O COco UJ ac < z oo CO UJ z < z COUJ Z «/) o UJ UJ z CO o UJz UJ CO tot z z UJ CO — z

> K UJ K > H UJ KUJ K < z < _J UJ »- < z < -1z tol tot u -J z tot tm a -Jtot ec o X o < tot ac O X o <h- o UJ CO J K o UJ CO -JD tot z < ac 3 tot z < QCo oc z J o UJ O ac z -J o UJOC 0. tot u. UJ

Of

onUJ

u.ooz<ac

ec & tot u. UJectot

COUJ

u.COz<or

t-« f\i ro >* o »- t-t CO m * o K* » » » m » » •>

m * » » • » » *m » •> » » • » •>

O o o o O o o om o m CO r> ro o fO m reZ ro z o z o z o Z m zoo Z*-«o ZNOu.ir* »rsi U.OC0CM u»r-forvj U-ODfO <NJ l!0» »ff> Uui-tfOfO tL^rnfO u.»-«m en*>OUJ > »UJ *> •UJ •> » P-t-«H »>OUJ »> »UJ •>> -UJ *> * 00^i»-\r\ ^k *0 »OI- r- »o»- CD »0 ZZh a **m»- O »OK •-• »tf>»- (N» «.in zz*-*intri—•«— m sOO" •—

i

lflMf\N inoorM U.U.Z l^O^Hw sDOCDt-i >0i-i4- »-* <OfM<NJ LLU.1mtn »o roir* *o m»r> »u mm •« * »x mm *o rO>0 »0 mw3 »o coo * • *XXfOt-« » xm—. » Xcoh » xm** m«j •> XfOiH •• XfOr-l » XrOr-4 » xm,M fO^- 1

UJ UJ UJ UJ UJ UJ UJ UJujd ec UO CL uo ec ujd ec U-O DC ilo ac ujd ac UJD DC>--J UJ >-mi UJ -.J UJ K_i UJ H-J UJ t-_J UJ h-_J UJ H J UJ«zu. «2u. «Zli. «z zzu. <<zu. «zu. «zu. <<Z ZZLLOf >OcO ac>ooo flf>OW OC>0 OOoo OOOco ac>oco ac>oco ac>o OOcOUJUJ"—'Z UJUJ—>z UJUJ»»2 UJUjm 1— •—>Z LULU*~Z UJUJMZ UJUJMZ UJUJ tot tot*-zZ>co< z>oo< Z>00< Z>00 C0C0< Z>C0< Z>cO< Z>co< Z>C0 coco<IU<000C Lu<ooor LU<COqC UJ<C0 cocoac LU<o0 0C uj<co ac UJ<C0QC UJ<CO cocoaCOi>1<l- Ooo<»_ l500<h- Ooo< <<»- Ooo<»- OW<h OC0<K Oco< <<H

fN* mUJ UJ

ft« »«

140

Page 145: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

IT

LLI

UJX

in

l/i

UJ \- >—

i

>* UJ H 1—

"

irt- •—

i

oo c >- •—

'

oo^- 0^ u t~ •—

«

oo UJ00 UJ h- oo UJ K

Uj c •—

«

oo u_ e> ^1

UJ O <r 00 U-. U.I o < oo

o < OO c o < oo

< oo 00 U- < < 00 oo UJon oo UJ co z OO oo o~ u o00 UJ z < c oo oo UJ 5. <UJ z oo •-^ UJ UJ 5" o~5- UJ oo - T r UJ oo

>• t- UJ < >- t- UJLU K <I T o _J IXJ 1- <T ?2 1—

i

hx o _J 2" 1—

«

1—

«

•—

>

ot C X _J <J — or o XK O UJ oo h- o UJ f2 •—

t

5: < c o 3 — T <T

r csr5" _J UJ Uj c a 5 -J

ty a >—

<

u_ a1-4

OOUJc

u_00

•z<or

Q a t—

LL

CO <VI (*•

Ci c o o o n c crf c pr O (Ti r<i m o (Ti r» r2 m f" 2vJ m Ztf>0 2«tfO ZSff ? coO zac ZC^OU r-4 »>t LU»-i »>* LLr-ifr\-t u-^r- >* u.t-4 »ir u. •-< r» . IT' u t-<r^m u-ricn O>ouj >OUj •> U_ •>> - r-h- »>oai > »-u > »-u : > i-4

r»-> *rfi>- •st »Of~ ITi Ot— --0 «»C. zz-< h- »Oh ai »Ci- a »oh o »c <c

vfi f>r f—'—

i

OvJ^-(«— vO in -£>>-« vO^Cffl U-U-? >jDf-t-4»— ^a^fx>—

i

sflO-^*- NCW U.rrisO »-t_> r^sO »-o fOvO «*o <r>%C • »x ro^o "-O rovt; »-o (OO »-0 r^r^ » •>

xro^-i xrOf-i XffH Xf —i m J- - xrfrt X(*r-« •- XfT1f-< •• xr1 -^ f*"

UJ UJ UJ U-i UJ Ul u. UJuo cc uo a u 3 a: UO a. ujr> a uo a UJZ) (X uoK-J UJ t-_J Ul h-_J UJ (-_) UJ H--J UJ K J Uj K_J UJ I— _J<<T2TU- <<z-u. «JZlL <<;z* Z'Z'U. <r<zu- «rZu. <<1ZU- <?< Z" 2or>o^ cOOoo Qf>OoO ar>o OC)iS> Qt>O00 a:>Ooo cr >Ooo a'>C5 OUJUJ«--2 LUUJi—

z

UjUJi—2' UiLUi— i-wZ ujuj^-2 U.U "—Z UJUj—'2 UJUJ>- »-H

Z>oo< ?r>oo<i 2>o0< Z>oo oooo< Z>o0< 2>oo< Z>00< 2>o^ oouj<ooar U-KOOQf uj<iooar UJ<TOO ooooct u;<tooae UJ< OO Qf' iLdoorx UJ<00 ooC5O0<»- OoO<T(- Ooo<tt- too^-a

>*•

UJ

C5oo<it— tji/Kt- o^<t- Ooo<

inU.i

*-* •** *<_;

*•*• •»t *

141

Page 146: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

•ooo COOZ.-Z. UJ_JMM Z^KK U=3 oc .-<oo uj UJCDtftfHO a:

»-«0C auOCOC O UJooa: OcoU.LLUJUJ _j i

h-CO UJ

ot.ccmcc ctOUjUJXUJ o<(CCDOUJlLbOIIKZK COOD<».«i—couj oczza uooi UJ

Ol Z MM ka»a+*)HU. KIhhK COCOO M

*-<— UJ •— XH-«i-JLUOQCK»- coI/)mmUZUJ<Z zQCOOZUJflDHO <m«ujQIWO a.U.U.U-OUO X >-

UJUZUJ<0CK»-OUJ - UJo^-»-uja:z<uj UJU.XZtfQ.Mjh ct•~~a o< u.

o_j_i ociijZ ZUJODD <•-0C0COO ux*-ujuj>-Qta:u3 o3JdWOUJ<0 zOOO-tOUJCO o —< —0C_O<Ct0 < H- IL

to coeca. * •>

•"* o «-• ooo<M <MiMfn Q.O «-tiTi

_i HHH(tZZ4'azK>h*Z(MK>KZ mzzaau. » *u. » «o-*aZ » »0U. >LLU- » » •>*« »fOOj(NJ ixiro—

I

.* ir> coa .-«,-«»«a. # <-*>« »u.f-«fM>« »

UJ UJ UJ UJO OocO DOC

LU_J LU_jLU_l UJ_JLbZ ZZZZZZCXZCXU.4ZZU4U.o cooisoo >o >ui>oo >c0«— •——>—«—••—— h-UJ i—

i >— UJZLU•—"—— U-J 3^CO cococococococo>cocox>cococo><«/) cOCOCOcOCOcOUJ<cOUJ<aC«<COcOUJ<QC< <<<<<<»-CO«aHCO>-CO<<KcOfr-

u.

o

ozoa:oou

Xu

COo

3CL

a-jco

—I

a.»

#

UJ

Ooc

ZUU

OXZcoz

oc«tujct»-H-1-4 UJX-JWOODz<<r-J0C"~

><<KOUhUJ-JQtUJUJuou.

COXZco<<QC

U.

0^

•zeo<

2aUJ

hitooujz_J<1UJOCco>-

<XoOfUJCOO

3a

XCO<u.

Oz

•-axoK_J

KOC«0-

COXz

z

QCCL

UJ

CO

XCO<

CO

-JUi

o«-<Zco

colcoouxoujoOCho><

>-ujhtf.-<-JCO•-COouj<xU-

UJUJOzz— UjXQQCUJUJOhUJUJQtoo.

X

*

00«

<X

oUJ

CO

X z

Xo

UJCOOLU<Oco<coCOUJcoxUJ Ox> z

h- UJLL*-0-JLUOocO ooc0-JUJ<ui

UJ«-'*OC0C0ooco<coozq.<coujUJ COcOXXOK UJ Oujcoi-xoetOUJtt ZU.LUXO-flC-*OCO 0»-UJO.JHU.CLO

x x<ht- UJUJCOzaKxujcoujizm aujQCUJUJKO.XOCUJXDocujujuj*oo-ococozOZ<~Ol uj<uj_jUJ 0>«JZUJ OUOi^UJ <QC

QC

»ja o«-*UJ » _)-***0C I COH-* »^4 »C0» fM (NJUJ

««u.a»« •>

UJ UJDO oc_)H-_IUJ UJ<a<oz*:u->x>ZaczfcoUJujUJOhZ>UJ>>K-J<<qc<Oujzoccoa.co<a:Dh-

UJoco

XUJKUJ

CO tarf

X QCO>-0-<-JUJCOOOO-JO

OCO .Jo«->x^u->ooUJQC<

UJQCU.C0ocoo.UJ< +*—KCOCOQCOCHcO<O.Q-•—UJXXX »-•-•o ,11ZU.C0<OUJUJ»-QC XKZKh <UJzoox

<UJUJ<UJOh-OCQC

LULLIQ-OUKJOXUJUJ^UJUJCOOLUfXU-icoaoc

a.

>0.IOOh-<_ja

•wHHMr-h-^i-iz# o-au-

_JLL)UJ_J<Z-J<

UJ> >KJUJ^-h-UJ"-•>COcO>UJ<UJUJ<tOCOh-C-CO

COz«#« *CO

COzooc

*» * # #

142

Page 147: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

UjCD

OcJloo<zCDUj

XOaUJ00

OO<<iO0O0CO I/O

t-C•"-•ctH-a;oec*~u-Q-u-s:

OOUi

z ujLL. UJ< ST2~0ujZuj^Cf <U0Zox—UjOUJ_j<JZ

ar

o

o<ooOOLL

1

czI <u'X002 zUJQC—DUJ<UJOOXoz>oUJocu-a:Q CU'

o->

—1-3IDDC

Z r-Oh>-*&*.OOOCO

<LLCC

•-* —'-J Xr-lO. </)>- 00> •> »tr ^•1 <O | <\JU! •> _j^ir\f-ir-r-i>— r-l u.-< Q.+ * —* »•

UJa 3 a ex:

U.!_|UJU.I UJ UJU- <fU</>^LL z LL

tO>Z<zoO OOZUJ<UJ»-iZ 1—

1

z<>>_J_J< 00 <oc<Oujzar 00 QC»-oo<a3r- <I K

t—

i

<OCr-l UJQ_> -jCO UJ_J< a:

* * *

00XX

UI

croazU-ILIX

I/) CCZ U.UJCatot-c

uJU-acQ.O U-O<Oc2Xco*-00u-'t-zz3T3 OOt-O

u.cr;zuj-i UJCOZ5"

t-OuJZ1/T— Cf OUJ00Ot-ooZU.

<M UJo a.uj C

OCM fM

>••>O -¥ <>

LU<UJZZOZCO t-i-—l-X

00 00 00 00 Ct.

U-OOoOUJUjr-<r<r>-H

LU

OO

•CCUl><az<00oa*o<CC

uo

oUJ

oUJor 00aozoc

-JOUl

xoo<SOc

00zo<e?>

*->Xcr:

U-x><lUJ2:

zUJfjr-»-><Ir-_J<3*os:—3_Jo>-

<3

o

r-

.-4 o»-^<M<r'->tir(>ci^cocoa'a00a <^0" a^cra f-i^• cDcccrcocooDccccccf^ firf

*| fr iroror«'irr> fT-r'rr'

,i(Mfv-•Om romm re rom fr, r<"'x x xx x x x x x x x >>••OX XXX XXXX X •.»•.»«•.»•.»•.•.•>»••O •>•>•>«•>»•>* •.o«-i<\iro>i*ir\>or-onLro«-4<NJ•Or«(\jrr. >fr ITtvOf^- CD CT.—tHHi-iHhhHhhMMM

UJh-UJ<<J>ZZ2'ZZZZZZZZZZZZ ZZZZZZZUJ <I 1-1 •-»1— r- 1-4 I— >— «-4 I—— I— t— l_ 1-4 hM— <—<- l-H •— t-l I—

Z> CO OO OO OO OO CO 00 1/) O000 OO OOOOoOOO00 o~> 00 OO OO 00 {/>

UJo 00 00 00 00 00 00 00 00 00 00 00 0000 00 00 00 00 0000 00 00 00o<i<<r<<<<r<i<j<i<i<T<T<<'<«i<<i<<<i<

00<MoUJ

« ** * * + * »

acc

143

Page 148: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

ooooooooooooooooooooJJJJJJJJJJ***********uouuoouuuu<<<<<<<<<<COCOCOCOCOcOCOCCCOcO

ccoc at accccca.uia.eea. q. a. o, a. a.a a. a. a.

iiiiiiiiiixxxxkxxxxx<<<<<<<<<<CElXZXflZI

m

>»>»» ooocooooo •

f\ipgrsjrjc\jf\if\jfr^c\jrn^ir»^h-coo^«^«M,^iM^,M^»^^«^fvjc\<Psif\i^

UJ LU LU UJ UJ UJ UJID LUUJ Hi UJ LLIUJUJ LUUJUJ UJUJ UJUJ UJLU UJLU Ul UJ UJUJ

zzzzzzzz«««««««««««««««OOoOO(jOOjjJ_i_iJjjJ_)jj_;JJjJjjJ_)jJ_(-JJj-Jjjii)UJUJajiuUJiijiiJUjiiJ

Irt t/>V) V) t/> «/> t/> t/) |S CD OO CD CO CD 80 COCD CD CD CO CD (B CD CD ID CO CD CD CD 00 00 CDCD CD CD CO CD CD CO CD 00 CO CD CD CD CD CD«/>»/) t/il/n </></> </></><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<«!<<<

O»-• Psi co -4" iri >o r- co& ~*

144

Page 149: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

ZZZZZZ2ZZZooooooooool-Hkt~l-t-hl-Kt-<r<<<<«i<r<<r<r

OOaCOCOOOOHMHNHMMHMHJJJJJJJJJJJJJJJJJJJJxz. * *£ * *: ^ *: * *: ^ -« 1-1 <-i >—

<-. »-.— •— •_UOUUOUuOUUI-l-KhhhHH-l-KCDCCCOcCeCaOCOCOCC'CC

>->->v>v>>->va: ct a: a: aa a: a cat a: _j -J _j _j _j _) _j _i_uafl.Q-aa.aa a. a- a. >-iw>-«t-i •—«•—< _i»-.i-«_

ooooouooouOCODOOOOCC<<r««<I<«_I_J-J_J_I-J_J_J_J_JU_U_ILU.U-ULLlU-U.U-

xxxxxxxxxx

»*»»»»»»»» o o ocm cm cm cm cm cm cm cm cm cm cm cm cv cm cv cm cm cm cv cm o^ O (X s C* 0* 0"»»•••.•.••.•.•.•.•.•.-»••_•.»•. OC OC> OO OCT 0> CO OCT•-••-•t-if^i-tr-i-^r^-^r-ioooooooooo men mm com mm mm mm mm»»•>»•>»»»» »OOOOOCOOOO ODX OCX QQX OCX OCX COX OCXOOOCoOOOOOvO'C>OvO-00«0<CvOO HI HI HI Kl H | HI HI»*•>»»••.•.••»•.»»•.»»•.••.

i oa i oa i oa i ca I oa I ca i o•~i<\jm»*ir»£>r-cc o^Of-Tvjm^ir^oi^ono^o >-ico2:<-"oozi-<cozi-«cc2:^-tco^r-ioc2r»-<cc_H_-i_^_-i__l _,_.,_(,_-iCM(MCMfMrMCMCMCMCMCMm com »com com -corn »oDm »com _comaa.Q.aaaa.o.Qao.a.ao.aaQ.aa. a--i.-iH x^t-xnt- Xi-ih xhi-xhi-xhhx ,

<_j_j_j_j_j_j_j__<<<.<<<<aiiiJijjmLiJujduiJijjLUujajLuujUjaiujiiJii;iiJMHh»-Ki-«-(-H-MKt->-'Kh-i-«h-t-h-hK-<i-jjjjjjjjjjjjjjjjjjjjiauui-oc^i-aiiJKaaji-aujKaiDHofuji-aC0C0cC0DCDCCCCCDcDCCaDC0CC00C0c0(I5eDcDCDCi:<tOi--<U)>—i<»/)^-<</)(-H<t/5»-i <1/>i-h<;»/1i—«<o<i««i<<<<i««<<<<<<«iu.it-iJuZKUJZKUjzt-ijjZhiiJZt-ujzhujri>-zl-f-t-f-KHl-^-HHHKhl-h-hhhl-KHl/iai-H/la'-H/iaKl/ltt — 1/>« i^ GO a. -_ CO _'«--' COLLI

^rvjm^irivOf^or.ao rvm^ u^vOr-coo^o4 ,_! ._, _-| _-i -h _4 ,_| r-t {\i ,-< (M (\J CM CM <\J (VI (VI CMm

CM

145

Page 150: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

BIBLIOGRAPHY

1. Heidorn, G.E. , A Comparison of SIMSCRIPT and GPSS - HI , un-

published paper, Department of Industrial Administration, Yale

University, August 1966.

2 . Hillier, F.S. , and Lieberman, G.J. , Introduction to Operations

Research , Chapter 14, Holden Day, 1968.

3. International Business Machines, FORTRAN IV Language , Reference

Manual, C28-6515, 8 August 1969.

4. International Business Machines, FORTRAN Programmer's Guide ,

Reference Manual, C28-6630, 29 March 1969.

5. International Business Machines, Messages and Codes OS/SYS/360Operating System , Reference Manual, C28-6631, 5 December 1969.

6. International Business Machines, GPSS User's Manual , Reference

Manual, H20-0326, 26 June 1968.

7. International Business Machines, GPSS Application Description ,

Reference Manual, H20-0186, June 1968.

8. International Business Machines, GPSS Operations Manual ,

Reference Manual, H20-0136, June 1968.

9. Kivat, P.J., Digital Computer Simulation: Computer Programming

Languages , Memorandum RM-5883-PR, The Rand Corporation,

January 1969

.

10. Kivat, P.J., Digital Computer Simulation: Modeling Concepts ,

Memorandum RM-5378-PR, The Rand Corporation, August 1967.

11 . Kivat, P.J. , and Fishman, G.S. , Digital Computer Simulation :

Statistical Considerations , Memorandum RM-5387-PR, November 1967,

12 . Naylor, T .H . , and others , Computer Simulation Technigues ,

Wiley, April 1968.

13. Merikallio, A.E., The Past, Present and Future in GeneralSimulation Languages , Management Science, v. 6, p. 236-267,November 1964 .

146

Page 151: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

14. Schriber, T.J., General Purpose Simulation System/3 60, Introductory-

Concepts and Case Studies , University of Michigan Press, Pre-

liminary Edition, September 1968.

15 . Tiechroew, D. , and Lubin, F .J. , Computer Simulation-Discussion of

the Technique and Comparison of Languages , Communications of the

ACM, v. 9, p. 723-741, October 1966.

16 . Tiechroew, D. , Lubin, F . J . , and Truit, T . D . , Discussion of

Computer Simulation Techniques and Comparison of Languages ,

Simulation, v. 9, p. 95-98, August 1967.

17. Tocher, K.D., Review of Simulation Languages , Operational ResearchQuarterly, v. 16, p. 189-218, June 1965.

18. Weinert, A.E., A SIMSCRIPT-FORTRAN Cast Study , Communicationsof the ACM, v. 10, p. 784-793, December 1967.

147

Page 152: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

INITIAL DISTRIBUTION LIST

No. Copies

1. Defense Documentation Center 20

Cameron Station

Alexandria, Virginia 22314

2. Library, Code 0212 2

Naval Postgraduate SchoolMonterey, California 93 940

3. Department of Operations Analysis (Code 55) 2

Naval Postgraduate School

Monterey, California 93 940

4. Assoc. Professor Alvin F . Andrus 1

Department of Operations Analysis

Naval Postgraduate SchoolMonterey, California 93940

5. Civil Schools Branch 1

Office of Personnel Operations

Washington, D. C. 20315

6. Major Charles J. Petronis 1

159 Ashford Ave.Dobbs Ferry, New York 10522

INTERNALLY DISTRIBUTED

REPORT

148

Page 153: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

Security Classification

DOCUMENT CONTROL DATA -R&D(Security clas si lie at ion ol title, body ol abstract and indexing annotation must be entered when the overall report is classified)

originating activity (Corporate author)

Naval Postgraduate School

Monterey, California 93940

2a. REPORT SECURITY CLASSIFICATION

Unclassified26. GROUP

REPORT TITLE

A GPSS-FORTRAN Case Study

DESCRIPTIVE NOTES (Type ol report and, inclusive dates)

Master's Thesis; April 1970au THORIS) (First name, middle initial, last name)

Charles Joseph Petronis

REPOR T D A TE

April 1970

7a. TOTAL NO. OF PAGES

149

76. NO. OF REFS

18I. CONTRACT OR GRANT NO.

b. PROJEC T NO

9a. ORIGINATOR'S REPORT NUMBER(S)

06. OTHER REPORT NOISI (Any other numbers that may be assignedthis report)

DISTRIBUTION STATEMENT

This document has been approved for public release and sale; its distribution

is unlimitedI. SUPPLEMENTARY NOTES 12. SPONSORING MILI TAR Y ACTIVITY

Naval Postgraduate School

Monterey, California 93 940

I. ABSTRACT

The objective of this study was to compare two commonly used computer simulation

languages: GPSS and FORTRAN. The comparison was made by simulating an

identical system in both languages. The comparison criteria used to evaluate the

languages were as follows: ability to represent system, simulation time, ability

to represent stocastic phenomena, programming time, computer running time,

monitoring and debugging, storage requirements, data initialization and starting

conditions, replication, data collection and display. The results from this study

indicated that a system may be modeled four to five times faster using GPSS as

compared to FORTRAN. The modeled system was simpler to conceptualize in GPSS,and the model required reduced programming, debugging and monitoring time com-pared to the FORTRAN model.

>D ."i" .1473'N 01 01 -807-681 1

(PAGE 1) 149

Security ClassificationA- 3 1408

Page 154: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

Security Classification

key wo R D s

GPSSFORTRANComputer simulation

Computer language

Computer language comparison

DD ,T:..1473 back) 150

'I

• 9 7 • e S 2 1 Security Classification A - 3 t 409

Page 155: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS
Page 156: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS
Page 157: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

Thesis 120927P457 Petronisc.l A GPSS-FORTRAN

case study.

1 '"• ^ Q 9 7Thesis 161)36^P457 PetronisCK1 A GPSS-FORTRAN

case study.

L

Page 158: A GPSS -FORTRAN CASE STUDY by - CORE · H.STORAGEREQUIREMENT FORTRAN GPSS Comparison REPLICATION FORTRAN GPSS Comparison DATACOLLECTIONANDDISPLAY FORTRAN GPSS 3. Comparison V. CONCLUSIONS

thesP457

A GPSS-FORTRAN case study.

3 2768 001 00185 2DUDLEY KNOX LIBRARY


Recommended