    GPSS/H MS-DOS STUDENT/DEMO RELEASE 2.0 (OV079)     22 Mar 2000   10:08:21     FILE: g4.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-9/9-8
        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 4
       13    13                 *
       14    14              1          GENERATE    5           Create parts
       15    15              2          QUEUE       INSPQ       Queue for inspector
       16    16              3          ENTER       INSPECT     Get an inspector
       17    17              4          DEPART      INSPQ       Leave queue
       18    18              5          MARK                    Start counting transit time
       19    19              6          ADVANCE     12,9        Inspect
       20    20              7          LEAVE       INSPECT     Free inspector
       21    21              8          TABULATE    TRANSIT     Measure transit time
       22    22              9          TRANSFER    .1,ACC,REJ  Select rejects
       23    23             10  ACC     TERMINATE   1           Accepted parts
       24    24             11  REJ     TERMINATE   1           Rejected parts
       25    25                 *
       26    26                 INSPECT STORAGE     3           Inspectors
       27    27                 TRANSIT TABLE       M1,5,5,10   Tabulation intervals
       28    28                 *
       29    29                 *
       30    30                 *       GPSS/H Control Statements (experiment(s))
       31    31                 *
       32    32                         START       1000                Run 1000 parts
       33    33                  
       34    34                         END

ENTITY DICTIONARY (IN ASCENDING ORDER BY ENTITY NUMBER; "*" => VALUE CONFLICT.)

           Queues: 1=INSPQ

         Storages: 1=INSPECT

           Tables: 1=TRANSIT

SYMBOL   VALUE   EQU DEFNS  CONTEXT      REFERENCES BY STATEMENT NUMBER
 
ACC         10          23  Block           22
REJ         11          24  Block           22
 
INSPQ        1              Queue           15    17
 
INSPECT      1          26  Storage         16    20
 
TRANSIT      1          27  Table           21



STORAGE REQUIREMENTS (BYTES)

COMPILED CODE:      456
COMPILED DATA:       40
MISCELLANEOUS:        0
ENTITIES:           608
COMMON:           10000
-----------------------
TOTAL:            11104



Simulation begins.

RELATIVE CLOCK: 5010.0195   ABSOLUTE CLOCK: 5010.0195



BLOCK CURRENT     TOTAL  BLOCK CURRENT     TOTAL  
1                  1002  REJ                 110 
2                  1002 
3                  1002 
4                  1002 
5                  1002 
6           2      1002 
7                  1000 
8                  1000 
9                  1000 
ACC                 890 



          --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
 INSPECT  0.806                      1002      12.095    AVAIL   100.0            3       2.419           2           3



   QUEUE     MAXIMUM      AVERAGE       TOTAL        ZERO     PERCENT      AVERAGE      $AVERAGE     QTABLE     CURRENT
            CONTENTS     CONTENTS      ENTRIES     ENTRIES     ZEROS      TIME/UNIT    TIME/UNIT     NUMBER    CONTENTS
   INSPQ           3        0.153        1002         705       70.4         0.766         2.586                      0



TABLE  TRANSIT

ENTRIES IN TABLE   MEAN ARGUMENT   STANDARD DEVIATION   SUM OF ARGUMENTS
       1000.0000         12.1144               5.2373         12114.4246   NON-WEIGHTED

       UPPER    OBSERVED     PERCENT  CUMULATIVE  CUMULATIVE    MULTIPLE   DEVIATION
       LIMIT   FREQUENCY    OF TOTAL  PERCENTAGE   REMAINDER     OF MEAN   FROM MEAN
      5.0000    114.0000       11.40       11.40       88.60      0.4127     -1.3584
     10.0000    275.0000       27.50       38.90       61.10      0.8255     -0.4037
     15.0000    261.0000       26.10       65.00       35.00      1.2382      0.5510
     20.0000    284.0000       28.40       93.40        6.60      1.6509      1.5057
     25.0000     66.0000        6.60      100.00       -0.00      2.0637      2.4603



  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
     976 USED (MAX)

Simulation terminated.  Absolute Clock: 5010.0195



Total Block Executions: 10012

Blocks / second:        200240

Microseconds / Block:   4.99



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