    GPSS/H MS-DOS STUDENT/DEMO RELEASE 2.0 (OV079)     22 Mar 2000   10:08:09     FILE: g3.gps

    LINE# STMT#  IF DO  BLOCK#  *LOC	OPERATION	A,B,C,D,E,F,G	COMMENTS  
 
        1     1                  
        2     2                 *Origin: System simulation, Figure 11-7/9-7
        3     3                 *Author: G. Gordon
        4     4                 *Description: Manufacturing shop
        5     5                  
        6     6                        SIMULATE
        7     7                 *
        8     8                 *      GPSS/H Block Section (model)
        9     9                 *
       10    10                  
       11    11                 *
       12    12                 *      MANUFACTURING SHOP - MODEL 3
       13    13                 *      time unit = 1 minute
       14    14                 *
       15    15              1         GENERATE    5           Create parts
       16    16              2         ENTER       INSP,1      Get an inspector
       17    17              3         ADVANCE     12,9        Inspect
       18    18              4         LEAVE       INSP,1      Free an inspector
       19    19              5         TRANSFER    .1,ACC,REJ  Select rejects
       20    20              6  ACC    TERMINATE   1           Accepted parts
       21    21              7  REJ    TERMINATE   1           Rejected parts
       22    22                 *
       23    23                 INSP   STORAGE     3           Inspectors
       24    24                  
       25    25                 *
       26    26                 *      GPSS/H Control Statements (experiment(s))
       27    27                 *
       28    28                        START       1000        Run 1000 parts
       29    29                  
       30    30                        END 

ENTITY DICTIONARY (IN ASCENDING ORDER BY ENTITY NUMBER; "*" => VALUE CONFLICT.)

         Storages: 1=INSP

SYMBOL   VALUE   EQU DEFNS  CONTEXT      REFERENCES BY STATEMENT NUMBER
 
ACC          6          20  Block           19
REJ          7          21  Block           19
 
INSP         1          23  Storage         16    18



STORAGE REQUIREMENTS (BYTES)

COMPILED CODE:      268
COMPILED DATA:       40
MISCELLANEOUS:        0
ENTITIES:           280
COMMON:           10000
-----------------------
TOTAL:            10588



Simulation begins.

RELATIVE CLOCK: 5332.2072   ABSOLUTE CLOCK: 5332.2072



BLOCK CURRENT     TOTAL  
1                  1002 
2                  1002 
3           2      1002 
4                  1000 
5                  1000 
ACC                 891 
REJ                 109 



          --AVG-UTIL-DURING--                                                                                          
 STORAGE  TOTAL  AVAIL  UNAVL     ENTRIES    AVERAGE   CURRENT  PERCENT    CAPACITY     AVERAGE     CURRENT     MAXIMUM
           TIME   TIME   TIME               TIME/UNIT   STATUS   AVAIL                 CONTENTS    CONTENTS    CONTENTS
    INSP  0.761                      1002      12.142    AVAIL   100.0            3       2.282           2           3



  RANDOM    ANTITHETIC     INITIAL     CURRENT      SAMPLE   CHI-SQUARE
  STREAM      VARIATES    POSITION    POSITION       COUNT   UNIFORMITY
       1           OFF      100000      102002        2002      0.52



STATUS OF COMMON STORAGE

    9520 BYTES AVAILABLE
     480 IN USE
     592 USED (MAX)

Simulation terminated.  Absolute Clock: 5332.2072



Total Block Executions: 6006

Blocks / second:        100100

Microseconds / Block:   9.99



Elapsed Time Used (SEC)
 
PASS1:           0.06
LOAD/CTRL:       0.16
EXECUTION:       0.06
---------------------
TOTAL:           0.28
