Читайте также:
|
|
vrema table m1,200,250,20
generate (exponential(1,0,125))
select min vibor,1,5,qm
queue p$vibor
seize p$vibor
advance (normal(1,490,90))
release p$vibor
depart p$vibor
tabulate vrema
savevalue kolresch+,1
terminate
generate,,150000,1
terminate 100
start 100
Отчёт
GPSS World Simulation Report - Untitled Model 1.3.1
Friday, March 16, 2012 08:15:56
START TIME END TIME BLOCKS FACILITIES STORAGES
0.000 150000.000 12 5 0
NAME VALUE
KOLRESCH 10002.000
VIBOR 10001.000
VREMA 10000.000
LABEL LOC BLOCK TYPE ENTRY COUNT CURRENT COUNT RETRY
1 GENERATE 1214 0 0
2 SELECT 1214 0 0
3 QUEUE 1214 36 0
4 SEIZE 1178 0 0
5 ADVANCE 1178 3 0
6 RELEASE 1175 0 0
7 DEPART 1175 0 0
8 TABULATE 1175 0 0
9 SAVEVALUE 1175 0 0
10 TERMINATE 1175 0 0
11 GENERATE 1 0 0
12 TERMINATE 1 0 0
FACILITY ENTRIES UTIL. AVE. TIME AVAIL. OWNER PEND INTER RETRY DELAY
1 234 0.765 490.276 1 1183 0 0 0 16
2 236 0.767 487.719 1 1202 0 0 0 13
3 238 0.782 493.159 1 0 0 0 0 0
4 235 0.746 475.911 1 0 0 0 0 0
5 235 0.754 480.971 1 1166 0 0 0 7
QUEUE MAX CONT. ENTRY ENTRY(0) AVE.CONT. AVE.TIME AVE.(-0) RETRY
1 20 17 250 0 5.235 3141.130 3141.130 0
2 19 14 249 0 5.262 3170.049 3170.049 0
3 19 0 238 0 5.323 3354.725 3354.725 0
4 19 0 235 0 5.143 3283.079 3283.079 0
5 19 8 242 0 5.067 3140.894 3140.894 0
TABLE MEAN STD.DEV. RANGE RETRY FREQUENCY CUM.%
VREMA 3239.510 2099.598 0
200.000 - 450.000 28 2.38
450.000 - 700.000 85 9.62
700.000 - 950.000 56 14.38
950.000 - 1200.000 62 19.66
1200.000 - 1450.000 59 24.68
1450.000 - 1700.000 54 29.28
1700.000 - 1950.000 56 34.04
1950.000 - 2200.000 67 39.74
2200.000 - 2450.000 45 43.57
2450.000 - 2700.000 45 47.40
2700.000 - 2950.000 56 52.17
2950.000 - 3200.000 41 55.66
3200.000 - 3450.000 34 58.55
3450.000 - 3700.000 47 62.55
3700.000 - 3950.000 29 65.02
3950.000 - 4200.000 43 68.68
4200.000 - 4450.000 34 71.57
4450.000 - 4700.000 36 74.64
4700.000 - _ 298 100.00
SAVEVALUE RETRY VALUE
KOLRESCH 0 1175.000
FEC XN PRI BDT ASSEM CURRENT NEXT PARAMETER VALUE
1202 0 150013.308 1202 5 6
VIBOR 2.000
1183 0 150024.501 1183 5 6
VIBOR 1.000
1216 0 150147.430 1216 0 1
1166 0 150450.706 1166 5 6
VIBOR 5.000
Этот же пример можно решить с использованием объектов типа память для имитации функционирования очереди
Текст программной модели
buf 1 equ 1
buf 1 storage 1000
buf 2 equ 2
buf 2 storage 1000
buf 3 equ 3
buf 3 storage 1000
buf 4 equ 4
buf 4 storage 1000
buf 5 equ 5
buf 5 storage 1000
vrema table m1,200,250,20
generate (exponential(1,0,125))
select min vibor,1,,qm
queue p$vibor
seize p$vibor
advance (normal(1,490,90))
release p$vibor
depart p$vibor
tabulate vrema
savevalue kolresch+,1
terminate
generate,,150000,1
terminate 100
start 100
Отчёт
GPSS World Simulation Report - Untitled Model 1.19.1
Friday, March 16, 2012 08:08:20
START TIME END TIME BLOCKS FACILITIES STORAGES
0.000 150000.000 12 5 5
NAME VALUE
BUF1 1.000
BUF2 2.000
BUF3 3.000
BUF4 4.000
BUF5 5.000
KOLRESCH 10007.000
VIBOR 10006.000
VREMA 10005.000
LABEL LOC BLOCK TYPE ENTRY COUNT CURRENT COUNT RETRY
1 GENERATE 1214 0 0
2 SELECT 1214 0 0
3 ENTER 1214 36 0
4 SEIZE 1178 0 0
5 ADVANCE 1178 3 0
6 RELEASE 1175 0 0
7 LEAVE 1175 0 0
8 TABULATE 1175 0 0
9 SAVEVALUE 1175 0 0
10 TERMINATE 1175 0 0
11 GENERATE 1 0 0
12 TERMINATE 1 0 0
FACILITY ENTRIES UTIL. AVE. TIME AVAIL. OWNER PEND INTER RETRY DELAY
1 234 0.765 490.276 1 1183 0 0 0 16
2 236 0.767 487.719 1 1202 0 0 0 13
3 238 0.782 493.159 1 0 0 0 0 0
4 235 0.746 475.911 1 0 0 0 0 0
5 235 0.754 480.971 1 1166 0 0 0 7
STORAGE CAP. REM. MIN. MAX. ENTRIES AVL. AVE.C. UTIL. RETRY DELAY
BUF1 1000 983 0 20 250 1 5.235 0.005 0 0
BUF2 1000 986 0 19 249 1 5.262 0.005 0 0
BUF3 1000 1000 0 19 238 1 5.323 0.005 0 0
BUF4 1000 1000 0 19 235 1 5.143 0.005 0 0
BUF5 1000 992 0 19 242 1 5.067 0.005 0 0
TABLE MEAN STD.DEV. RANGE RETRY FREQUENCY CUM.%
VREMA 3239.510 2099.598 0
200.000 - 450.000 28 2.38
450.000 - 700.000 85 9.62
700.000 - 950.000 56 14.38
950.000 - 1200.000 62 19.66
1200.000 - 1450.000 59 24.68
1450.000 - 1700.000 54 29.28
1700.000 - 1950.000 56 34.04
1950.000 - 2200.000 67 39.74
2200.000 - 2450.000 45 43.57
2450.000 - 2700.000 45 47.40
2700.000 - 2950.000 56 52.17
2950.000 - 3200.000 41 55.66
3200.000 - 3450.000 34 58.55
3450.000 - 3700.000 47 62.55
3700.000 - 3950.000 29 65.02
3950.000 - 4200.000 43 68.68
4200.000 - 4450.000 34 71.57
4450.000 - 4700.000 36 74.64
4700.000 - _ 298 100.00
SAVEVALUE RETRY VALUE
KOLRESCH 0 1175.000
FEC XN PRI BDT ASSEM CURRENT NEXT PARAMETER VALUE
1202 0 150013.308 1202 5 6
VIBOR 2.000
1183 0 150024.501 1183 5 6
VIBOR 1.000
1216 0 150147.430 1216 0 1
1166 0 150450.706 1166 5 6
VIBOR 5.000
Дата добавления: 2015-08-02; просмотров: 71 | Нарушение авторских прав
<== предыдущая страница | | | следующая страница ==> |
Текст программной модели | | | Затверджую |