    GPSS/H MS-DOS STUDENT/DEMO RELEASE 2.0 (OV079)     22 Mar 2000   10:08:28     FILE: g5.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-11/9-10
        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 5
       13    13                 *       time unit = 1 minute
       14    14                 *
       15    15              1          GENERATE   5           Create parts 
       16    16              2          ADVANCE    2           Move to 1st inspector
       17    17              3          TRANSFER   BOTH,,CONV1 Check if he is busy
       18    18              4          SEIZE      INSP1       Get 1st inspector
       19    19              5          ADVANCE    12,9        Inspect
       20    20              6          RELEASE    INSP1       Free inspector
       21    21              7  TAB     TABULATE   TRANSIT     Measure transit time
       22    22              8          TERMINATE  1
       23    23                 *
       24    24              9  CONV1   ADVANCE    2           Move to 2nd inspector
       25    25             10          TRANSFER   BOTH,,CONV2 Check if he is busy
       26    26             11          SEIZE      INSP2       Get 2nd inspector
       27    27             12          ADVANCE    12,9        Inspect
       28    28             13          RELEASE    INSP2       Free inspector
       29    29             14          TRANSFER   ,TAB        Go to tabulate block
       30    30                  
       31    31             15  CONV2   ADVANCE    2           Move to 3rd inspector
       32    32             16          TRANSFER   BOTH,,CONV3 Check if he is busy
       33    33             17          SEIZE      INSP3       Get 3nd inspector
       34    34             18          ADVANCE    12,9        Inspect
       35    35             19          RELEASE    INSP3       Free inspector
       36    36             20          TRANSFER   ,TAB        Go to tabulate block
       37    37                 *
       38    38             21  CONV3   TERMINATE
       39    39                 *
       40    40                 TRANSIT TABLE       M1,5,5,10           Tabulation intervals
       41    41                  
       42    42                 *
       43    43                 *       GPSS/H Control Statements (experiment(s))
       44    44                 *
       45    45                         START       10,NP       Initialise with 10 parts
       46    46                         RESET                   Wipe out statistics
       47    47                         START       1000        Run 1000 parts
       48    48                  
       49    49                         END

ENTITY DICTIONARY (IN ASCENDING ORDER BY ENTITY NUMBER; "*" => VALUE CONFLICT.)

       Facilities: 1=INSP1         2=INSP2         3=INSP3

           Tables: 1=TRANSIT

SYMBOL   VALUE   EQU DEFNS  CONTEXT      REFERENCES BY STATEMENT NUMBER
 
CONV1        9          24  Block           17
CONV2       15          31  Block           25
CONV3       21          38  Block           32
TAB          7          21  Block           29    36
 
INSP1        1              Facility        18    20
INSP2        2              Facility        26    28
INSP3        3              Facility        33    35
 
TRANSIT      1          40  Table           21



STORAGE REQUIREMENTS (BYTES)

COMPILED CODE:      672
COMPILED DATA:       80
MISCELLANEOUS:        0
ENTITIES:           600
COMMON:           10000
-----------------------
TOTAL:            11352



Simulation begins.

RELATIVE CLOCK: 5682.4422   ABSOLUTE CLOCK: 5750.6254



BLOCK CURRENT     TOTAL  BLOCK CURRENT     TOTAL  BLOCK CURRENT     TOTAL  
1                  1137  11                  343  CONV3               137 
2           1      1137  12          1       343 
3                  1136  13                  342 
4                   394  14                  342 
5                   394  CONV2               400 
6                   395  16                  400 
TAB                1000  17                  263 
8                  1000  18                  263 
CONV1               742  19                  263 
10                  743  20                  263 



          --AVG-UTIL-DURING--                                                               
FACILITY  TOTAL  AVAIL  UNAVL     ENTRIES    AVERAGE   CURRENT  PERCENT  SEIZING  PREEMPTING
           TIME   TIME   TIME               TIME/XACT   STATUS   AVAIL     XACT      XACT   
   INSP1  0.835                       395      12.006    AVAIL                  
   INSP2  0.724                       343      11.990    AVAIL             1149 
   INSP3  0.555                       263      11.988    AVAIL                  



TABLE  TRANSIT

ENTRIES IN TABLE   MEAN ARGUMENT   STANDARD DEVIATION   SUM OF ARGUMENTS
       1000.0000         15.7582               5.4991         15758.1964   NON-WEIGHTED

       UPPER    OBSERVED     PERCENT  CUMULATIVE  CUMULATIVE    MULTIPLE   DEVIATION
       LIMIT   FREQUENCY    OF TOTAL  PERCENTAGE   REMAINDER     OF MEAN   FROM MEAN
        ...
     10.0000    176.0000       17.60       17.60       82.40      0.6346     -1.0471
     15.0000    275.0000       27.50       45.10       54.90      0.9519     -0.1379
     20.0000    281.0000       28.10       73.20       26.80      1.2692      0.7714
     25.0000    233.0000       23.30       96.50        3.50      1.5865      1.6806
     30.0000     35.0000        3.50      100.00        0.00      1.9038      2.5898



  RANDOM    ANTITHETIC     INITIAL     CURRENT      SAMPLE   CHI-SQUARE
  STREAM      VARIATES    POSITION    POSITION       COUNT   UNIFORMITY
       1           OFF      100011      101011        1000      0.60



STATUS OF COMMON STORAGE

    9456 BYTES AVAILABLE
     544 IN USE
     880 USED (MAX)

Simulation terminated.  Absolute Clock: 5750.6254



Total Block Executions: 11561

Blocks / second:        231220

Microseconds / Block:   4.32



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