    GPSS/H MS-DOS STUDENT/DEMO RELEASE 2.0 (OV079)     22 Mar 2000   10:07:58     FILE: g2.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-6/9-5
        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  2
       13    13                 *      Time unit = 1 minute
       14    14                 *
       15    15                  
       16    16              1         GENERATE    5           Create parts
       17    17              2         SEIZE       INSPECTR    Get inspector
       18    18              3         ADVANCE     4,3         Inspect
       19    19              4         RELEASE     INSPECTR    Free inspector
       20    20              5         TRANSFER    .1,ACC,REJ  Select rejects
       21    21              6  ACC    TERMINATE   1           Accepted parts
       22    22              7  REJ    TERMINATE   1           Rejected parts
       23    23                  
       24    24                 *
       25    25                 *      GPSS/H Control Statements (experiment(s))
       26    26                 *
       27    27                        START       1000        Run 1000 parts
       28    28                        END                     Remove model

ENTITY DICTIONARY (IN ASCENDING ORDER BY ENTITY NUMBER; "*" => VALUE CONFLICT.)

       Facilities: 1=INSPECTR

SYMBOL   VALUE   EQU DEFNS  CONTEXT      REFERENCES BY STATEMENT NUMBER
 
ACC          6          21  Block           20
REJ          7          22  Block           20
 
INSPECTR     1              Facility        17    19



STORAGE REQUIREMENTS (BYTES)

COMPILED CODE:      236
COMPILED DATA:       40
MISCELLANEOUS:        0
ENTITIES:           264
COMMON:           10000
-----------------------
TOTAL:            10540



Simulation begins.

RELATIVE CLOCK: 5347.5459   ABSOLUTE CLOCK: 5347.5459



BLOCK CURRENT     TOTAL  
1                  1000 
2                  1000 
3                  1000 
4                  1000 
5                  1000 
ACC                 884 
REJ                 116 



          --AVG-UTIL-DURING--                                                               
FACILITY  TOTAL  AVAIL  UNAVL     ENTRIES    AVERAGE   CURRENT  PERCENT  SEIZING  PREEMPTING
           TIME   TIME   TIME               TIME/XACT   STATUS   AVAIL     XACT      XACT   
INSPECTR  0.760                      1000       4.067    AVAIL                  



  RANDOM    ANTITHETIC     INITIAL     CURRENT      SAMPLE   CHI-SQUARE
  STREAM      VARIATES    POSITION    POSITION       COUNT   UNIFORMITY
       1           OFF      100000      102000        2000      0.54



STATUS OF COMMON STORAGE

    9744 BYTES AVAILABLE
     256 IN USE
     368 USED (MAX)

Simulation terminated.  Absolute Clock: 5347.5459



Total Block Executions: 6000

Blocks / second:        6000000

Microseconds / Block:   0.17



Elapsed Time Used (SEC)
 
PASS1:           0.05
LOAD/CTRL:       0.22
EXECUTION:       0.00
---------------------
TOTAL:           0.27
