10115 113 ADVANCE 63 1 0
10116 114 RELEASE 62 0 0
10116.1 115 TEST 62 0 0
10117 116 TERMINATE 17 0 0
10117.1 D3 ASSIGN 45 0 0
10117.2 118 ASSIGN 45 0 0
10117.3 119 TRANSFER 45 0 0
10118 B2 SEIZE 36 0 0
10119 121 ADVANCE 36 0 0
10120 122 RELEASE 36 1 0
10121 123 SEIZE 35 0 0
10122 124 ADVANCE 35 1 0
10123 125 RELEASE 34 0 0
10123.1 126 TEST 34 0 0
10124 127 TERMINATE 8 0 0
10125 D4 ASSIGN 26 0 0
10126 129 ASSIGN 26 0 0
10127 130 TRANSFER 26 0 0
10140 B3 SEIZE 53 0 0
10141 132 ADVANCE 53 1 0
10142 133 RELEASE 52 0 0
10143 134 SEIZE 52 0 0
10144 135 ADVANCE 52 0 0
10145 136 RELEASE 52 0 0
10146 137 TEST 52 0 0
10147 138 TERMINATE 13 0 0
10148 D5 ASSIGN 39 0 0
10149 140 ASSIGN 39 0 0
10150 141 TRANSFER 39 0 0
10161 142 GENERATE 54 0 0
10162 143 ASSIGN 54 0 0
10163 144 ASSIGN 54 0 0
10164 145 ASSIGN 54 0 0
10165 146 SEIZE 54 0 0
10166 147 ADVANCE 54 0 0
10167 148 RELEASE 54 3 0
10168 XX SEIZE 77 0 0
10169 150 ADVANCE 77 1 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 09:55:00 page 5
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
10170 151 RELEASE 76 11 0
10180 152 SEIZE 65 0 0
10181 153 ADVANCE 65 0 0
10182 154 RELEASE 65 0 0
10183 155 TEST 65 0 0
10184 156 TEST 47 0 0
10185 157 TEST 36 0 0
10186 158 TERMINATE 0 0 0
10261 159 GENERATE 55 0 0
10262 160 ASSIGN 55 0 0
10263 161 ASSIGN 55 0 0
10264 162 ASSIGN 55 0 0
10265 163 SEIZE 55 0 0
10266 164 ADVANCE 55 1 0
10267 165 RELEASE 54 0 0
10268 VV SEIZE 93 0 0
10269 167 ADVANCE 93 0 0
10270 168 RELEASE 93 15 0
10280 169 SEIZE 78 0 0
10281 170 ADVANCE 78 0 0
10282 171 RELEASE 78 0 0
10283 172 TEST 78 0 0
10284 173 TEST 53 0 0
10285 174 TEST 53 0 0
10286 175 TERMINATE 23 0 0
102000 176 GENERATE 1 0 0
102010 177 TERMINATE 1 0 0
FACILITY ENTRIES UTIL. AVE._TIME AVAILABLE OWNER PEND INTER RETRY DELAY
PC1 116 0.676 5.83 1 263 0 0 0 0
K1 163 0.620 3.80 1 252 0 0 0 2
SW 357 0.807 2.54 1 249 0 0 0 1
K3 305 0.609 2.00 1 0 0 0 0 0
FS 153 0.756 4.94 1 257 0 0 0 0
K2 173 0.865 5.00 1 268 0 0 0 2
PC2 120 0.664 5.53 1 258 0 0 0 0
PC3 118 0.827 7.86 1 168 0 0 0 1
K4 163 0.819 5.02 1 187 0 0 0 0
SW2 319 0.749 2.97 1 195 0 0 0 53
K7 210 0.629 3.00 1 156 0 0 0 0
FS2 105 0.630 6.00 1 0 0 0 0 0
K5 113 0.746 8.37 1 170 0 0 0 5
PC4 89 0.819 9.20 1 175 0 0 0 1
K6 146 0.714 4.89 1 219 0 0 0 0
PC5 107 0.872 8.15 1 272 0 0 0 0
XACT_GROUP GROUP_SIZE RETRY
POSITION 0 0
Вывод: рассмотрел принцип проверки пакетов на статус запрос-ответ.
Контрольная работа №4
Построить сеть:
Листинг программы:
1 ADR1 FUNCTIONRN1,D6
0.15,2/0.3,3/0.45,4/0.6,5/0.85,6/1,7
2 ADR2 FUNCTION RN1,D6
0.15,1/0.3,3/0.45,4/0.6,5/0.85,6/1,7
3 ADR3 FUNCTION RN1,D6
0.15,1/0.3,2/0.45,3/0.6,5/0.85,6/1,7
4 ADR4 FUNCTION RN1,D6
0.15,1/0.3,2/0.45,3/0.6,4/0.85,6/1,7
5 ADR5 FUNCTION RN1,D6
0.15,1/0.3,2/0.45,3/0.6,4/0.85,5/1,7
10 GENERATE 35,5
11 ASSIGN 1,1
12 ASSIGN 2,FN$ADR1
13 ASSIGN 3,0
20 SEIZE PC1
30 ADVANCE 10,1
40 RELEASE PC1
50 BB SEIZE K1
60 ADVANCE 8,1
70 RELEASE K1
80 SEIZE SW
81 ADVANCE 3,1
90 RELEASE SW
91 TEST NE P2,1,A1
92 TEST NE P2,2,A2
93 TEST NE P2,3,A3
94 TEST NE P2,4,A4
94.1 TEST NE P2,5,A4
94.2 TEST NE P2,6,A4
94.3 TEST NE P2,7,A4
95 TERMINATE
96 A3 SEIZE K3
97 ADVANCE 5,1
98 RELEASE K3
99 SEIZE FS
100 ADVANCE 15,1
101 RELEASE FS
102 ASSIGN 2,P1
103 ASSIGN 1,3
103.1 SEIZE K3
103.2 ADVANCE 9,1
103.3 RELEASE K3
104 SEIZE SW
105 ADVANCE 3,1
106 RELEASE SW
107 TEST NE P2,1,A1
108 TEST NE P2,2,A2
108.2 TEST NE P2,4,A4
108.3 TEST NE P2,5,A4
108.4 TEST NE P2,6,A4
109 TERMINATE
111 A2 SEIZE K2
112 ADVANCE 3,1
113 RELEASE K2
114 SEIZE PC2
115 ADVANCE 8,1
116 RELEASE PC2
116.1 TEST NE P3,0,D1
117 TERMINATE
117.1 D1 ASSIGN 2,P1
117.2 ASSIGN 3,1
117.3 TRANSFER ,AA
118 A1 SEIZE K1
119 ADVANCE 8,1
120 RELEASE K1
121 SEIZE PC1
122 ADVANCE 9,1
123 RELEASE PC1
123.1 TEST NE P3,0,D2
124 TERMINATE
124.1 D2 ASSIGN 2,P1
124.2 ASSIGN 3,1
124.3 TRANSFER ,BB
125 GENERATE 35,5
126 ASSIGN 1,2
127 ASSIGN 2,FN$ADR2
127.1 ASSIGN 3,0
128 SEIZE PC2
130 ADVANCE 8,1
140 RELEASE PC2
150 AA SEIZE K2
160 ADVANCE 8,1
170 RELEASE K2
180 SEIZE SW
181 ADVANCE 5,1
182 RELEASE SW
183 TEST NE P2,1,A1
184 TEST NE P2,2,A2
184 TEST NE P2,3,A3
194 TEST NE P2,4,A4
200 TEST NE P2,5,A4
210 TEST NE P2,6,A4
220 TEST NE P2,7,A4
230 TERMINATE
240 A4 SEIZE K8
250 ADVANCE 2,1
260 RELEASE K8
270 SEIZE SW2
280 ADVANCE 3,1
290 RELEASE SW2
300 TEST NE P2,4,B1
310 TEST NE P2,5,B2
320 TEST NE P2,6,B3
330 TEST NE P2,7,B4
340 TERMINATE
1010 GENERATE 35,5
1011 ASSIGN 1,4
1012 ASSIGN 2,FN$ADR3
1013 ASSIGN 3,0
1020 SEIZE PC3
1030 ADVANCE 8,1
1040 RELEASE PC3
1050 ZZ SEIZE K4
1060 ADVANCE 8,1
1070 RELEASE K4
1080 SEIZE SW2
1081 ADVANCE 3,1
1090 RELEASE SW2
1091 TEST NE P2,4,B1
1092 TEST NE P2,5,B2
1093 TEST NE P2,6,B3
1094 TEST NE P2,7,B4
1094.1 TEST NE P2,1,B5
1094.2 TEST NE P2,2,B5
1094.3 TEST NE P2,3,B5
1095 TERMINATE
1096 B4 SEIZE K7
1097 ADVANCE 8,1
1098 RELEASE K7
1099 SEIZE FS2
10100 ADVANCE 15,1
10101 RELEASE FS2
10102 ASSIGN 2,P1
10103 ASSIGN 1,7
10103.1 SEIZE K7
10103.2 ADVANCE 8,1
10103.3 RELEASE K7
10104 SEIZE SW2
10105 ADVANCE 3,1
10106 RELEASE SW2
10107 TEST NE P2,4,B1
10108 TEST NE P2,5,B2
10109 TEST NE P2,6,B3
10109.1 TEST NE P2,1,B5
10109.2 TEST NE P2,2,B5
10109.3 TEST NE P2,3,B5
10110 TERMINATE
10111 B1 SEIZE K4
10112 ADVANCE 8,1
10113 RELEASE K4
10114 SEIZE PC3
10115 ADVANCE 8,1
10116 RELEASE PC3
10116.1 TEST NE P3,0,D3
10117 TERMINATE
10117.1 D3 ASSIGN 2,P1
10117.2 ASSIGN 3,1
10117.3 TRANSFER ,ZZ
10118 B2 SEIZE K5
10119 ADVANCE 8,1
10120 RELEASE K5
10121 SEIZE PC4
10122 ADVANCE 9,1
10123 RELEASE PC4
10123.1 TEST NE P3,0,D4
10124 TERMINATE
10125 D4 ASSIGN 2,P1
10126 ASSIGN 3,1
10127 TRANSFER ,XX
10140 B3 SEIZE K6
10141 ADVANCE 8,1
10142 RELEASE K6
10143 SEIZE PC5
10144 ADVANCE 8,1
10145 RELEASE PC5
10146 TEST NE P3,0,D5
10147 TERMINATE
10148 D5 ASSIGN 2,P1
10149 ASSIGN 3,1
10150 TRANSFER ,VV
10161 GENERATE 35,5
10162 ASSIGN 1,5
10163 ASSIGN 2,FN$ADR4
10164 ASSIGN 3,0
10165 SEIZE PC4
10166 ADVANCE 10,1
10167 RELEASE PC4
10168 XX SEIZE K5
10169 ADVANCE 8,1
10170 RELEASE K5
10180 SEIZE SW2
10181 ADVANCE 3,1
10182 RELEASE SW2
10183 TEST NE P2,4,B1
10184 TEST NE P2,5,B2
10184 TEST NE P2,6,B3
10185 TEST NE P2,7,B4
10186 TEST NE P2,1,B5
10187 TEST NE P2,2,B5
10188 TEST NE P2,3,B5
10189 TERMINATE
10261 GENERATE 35,5
10262 ASSIGN 1,6
10263 ASSIGN 2,FN$ADR5
10264 ASSIGN 3,0
10265 SEIZE PC5
10266 ADVANCE 8,1
10267 RELEASE PC5
10268 VV SEIZE K6
10269 ADVANCE 2,1
10270 RELEASE K6
10280 SEIZE SW2
10281 ADVANCE 3,1
10282 RELEASE SW2
10283 TEST NE P2,4,B1
10284 TEST NE P2,5,B2
10284 TEST NE P2,6,B3
10285 TEST NE P2,7,B4
10286 TEST NE P2,1,B5
10287 TEST NE P2,2,B5
10288 TEST NE P2,3,B5
10289 TERMINATE
10300 B5 SEIZE K8
10310 ADVANCE 3,1
10320 RELEASE K8
10330 SEIZE SW
10340 ADVANCE 3,1
10350 RELEASE SW
10360 TEST NE P2,1,A1
10370 TEST NE P2,2,A2
10380 TEST NE P2,3,A3
10390 TERMINATE
102000 GENERATE 1000
102010 TERMINATE 1
102020 START 1
Отчет GPSSREPT:
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:15:31 page 1
START_TIME END_TIME BLOCKS FACILITIES STORAGES FREE_MEMORY
0 1000 220 17 0 323664
NAME VALUE TYPE
COLUMN 10001 2
POSITION 10002 2
SHAPE 10003 2
ROW 10004 2
TO_COLUMN 10005 2
TO_ROW 10006 2
COLOR 10007 2
ADR1 10008 2
ADR2 10009 2
ADR3 10010 2
ADR4 10011 2
ADR5 10012 2
PC1 10013 2
K1 10014 2
BB 8 3
SW 10016 2
A1 53 3
A2 42 3
A3 22 3
A4 84 3
K3 10021 2
FS 10022 2
K2 10023 2
PC2 10024 2
D1 50 3
AA 71 3
D2 61 3
K8 10028 2
SW2 10029 2
B1 137 3
B2 148 3
B3 159 3
B4 116 3
PC3 10034 2
K4 10035 2
ZZ 102 3
B5 210 3
K7 10038 2
FS2 10039 2
D3 145 3
K5 10041 2
PC4 10042 2
D4 156 3
XX 177 3
K6 10045 2
PC5 10046 2
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:15:31 page 2
NAME VALUE TYPE
D5 167 3
VV 197 3
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
10 1 GENERATE 28 0 0
11 2 ASSIGN 28 0 0
12 3 ASSIGN 28 0 0
13 4 ASSIGN 28 1 0
20 5 SEIZE 27 0 0
30 6 ADVANCE 27 0 0
40 7 RELEASE 27 1 0
50 BB SEIZE 47 0 0
60 9 ADVANCE 47 0 0
70 10 RELEASE 47 1 0
80 11 SEIZE 46 0 0
81 12 ADVANCE 46 0 0
90 13 RELEASE 46 0 0
91 14 TEST 46 0 0
92 15 TEST 46 0 0
93 16 TEST 43 0 0
94 17 TEST 39 0 0
94.1 18 TEST 29 0 0
94.2 19 TEST 20 0 0
94.3 20 TEST 12 0 0
95 21 TERMINATE 0 0 0
96 A3 SEIZE 41 0 0
97 23 ADVANCE 41 0 0
98 24 RELEASE 41 0 0
99 25 SEIZE 41 0 0
100 26 ADVANCE 41 1 0
101 27 RELEASE 40 0 0
102 28 ASSIGN 40 0 0
103 29 ASSIGN 40 0 0
103.1 30 SEIZE 40 0 0
103.2 31 ADVANCE 40 0 0
103.3 32 RELEASE 40 1 0
104 33 SEIZE 39 0 0
105 34 ADVANCE 39 0 0
106 35 RELEASE 39 0 0
107 36 TEST 39 0 0
108 37 TEST 37 0 0
108.2 38 TEST 30 0 0
108.3 39 TEST 25 0 0
108.4 40 TEST 19 0 0
109 41 TERMINATE 18 0 0
111 A2 SEIZE 37 0 0
112 43 ADVANCE 37 0 0
113 44 RELEASE 37 2 0
114 45 SEIZE 35 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:15:31 page 3
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
115 46 ADVANCE 35 0 0
116 47 RELEASE 35 0 0
116.1 48 TEST 35 0 0
117 49 TERMINATE 13 0 0
117.1 D1 ASSIGN 22 0 0
117.2 51 ASSIGN 22 0 0
117.3 52 TRANSFER 22 0 0
118 A1 SEIZE 39 0 0
119 54 ADVANCE 39 1 0
120 55 RELEASE 38 0 0
121 56 SEIZE 38 0 0
122 57 ADVANCE 38 1 0
123 58 RELEASE 37 0 0
123.1 59 TEST 37 0 0
124 60 TERMINATE 15 0 0
124.1 D2 ASSIGN 22 0 0
124.2 62 ASSIGN 22 0 0
124.3 63 TRANSFER 22 1 0
125 64 GENERATE 30 0 0
126 65 ASSIGN 30 0 0
127 66 ASSIGN 30 0 0
127.1 67 ASSIGN 30 0 0
128 68 SEIZE 30 0 0
130 69 ADVANCE 30 1 0
140 70 RELEASE 29 0 0
150 AA SEIZE 51 0 0
160 72 ADVANCE 51 0 0
170 73 RELEASE 51 0 0
180 74 SEIZE 51 0 0
181 75 ADVANCE 51 1 0
182 76 RELEASE 50 0 0
183 77 TEST 50 0 0
184 78 TEST 47 0 0
194 79 TEST 33 0 0
200 80 TEST 20 0 0
210 81 TEST 14 0 0
220 82 TEST 10 0 0
230 83 TERMINATE 0 0 0
240 A4 SEIZE 84 0 0
250 85 ADVANCE 84 0 0
260 86 RELEASE 84 0 0
270 87 SEIZE 84 0 0
280 88 ADVANCE 84 0 0
290 89 RELEASE 84 0 0
300 90 TEST 84 1 0
310 91 TEST 56 1 0
320 92 TEST 35 0 0
330 93 TEST 22 0 0
340 94 TERMINATE 0 0 0
1010 95 GENERATE 28 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:15:31 page 4
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
1011 96 ASSIGN 28 0 0
1012 97 ASSIGN 28 0 0
1013 98 ASSIGN 28 0 0
1020 99 SEIZE 28 0 0
1030 100 ADVANCE 28 1 0
1040 101 RELEASE 27 0 0
1050 ZZ SEIZE 57 0 0
1060 103 ADVANCE 57 1 0
1070 104 RELEASE 56 0 0
1080 105 SEIZE 56 0 0
1081 106 ADVANCE 56 1 0
1090 107 RELEASE 55 0 0
1091 108 TEST 55 0 0
1092 109 TEST 55 0 0
1093 110 TEST 50 0 0
1094 111 TEST 40 0 0
1094.1 112 TEST 33 0 0
1094.2 113 TEST 22 0 0
1094.3 114 TEST 9 0 0
1095 115 TERMINATE 0 0 0
1096 B4 SEIZE 46 0 0
1097 117 ADVANCE 46 1 0
1098 118 RELEASE 45 0 0
1099 119 SEIZE 45 0 0
10100 120 ADVANCE 45 1 0
10101 121 RELEASE 44 0 0
10102 122 ASSIGN 44 0 0
10103 123 ASSIGN 44 1 0
10103.1 124 SEIZE 43 0 0
10103.2 125 ADVANCE 43 0 0
10103.3 126 RELEASE 43 0 0
10104 127 SEIZE 43 0 0
10105 128 ADVANCE 43 0 0
10106 129 RELEASE 43 0 0
10107 130 TEST 43 0 0
10108 131 TEST 39 0 0
10109 132 TEST 36 0 0
10109.1 133 TEST 31 0 0
10109.2 134 TEST 25 0 0
10109.3 135 TEST 20 0 0
10110 136 TERMINATE 20 0 0
10111 B1 SEIZE 45 0 0
10112 138 ADVANCE 45 0 0
10113 139 RELEASE 45 0 0
10114 140 SEIZE 45 0 0
10115 141 ADVANCE 45 0 0
10116 142 RELEASE 45 0 0
10116.1 143 TEST 45 0 0
10117 144 TERMINATE 15 0 0
10117.1 D3 ASSIGN 30 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:15:31 page 5
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
10117.2 146 ASSIGN 30 0 0
10117.3 147 TRANSFER 30 0 0
10118 B2 SEIZE 28 0 0
10119 149 ADVANCE 28 0 0
10120 150 RELEASE 28 0 0
10121 151 SEIZE 28 0 0
10122 152 ADVANCE 28 1 0
10123 153 RELEASE 27 0 0
10123.1 154 TEST 27 0 0
10124 155 TERMINATE 7 0 0
10125 D4 ASSIGN 20 0 0
10126 157 ASSIGN 20 0 0
10127 158 TRANSFER 20 1 0
10140 B3 SEIZE 36 0 0
10141 160 ADVANCE 36 0 0
10142 161 RELEASE 36 0 0
10143 162 SEIZE 36 0 0
10144 163 ADVANCE 36 0 0
10145 164 RELEASE 36 0 0
10146 165 TEST 36 0 0
10147 166 TERMINATE 12 0 0
10148 D5 ASSIGN 24 0 0
10149 168 ASSIGN 24 0 0
10150 169 TRANSFER 24 0 0
10161 170 GENERATE 28 0 0
10162 171 ASSIGN 28 0 0
10163 172 ASSIGN 28 0 0
10164 173 ASSIGN 28 1 0
10165 174 SEIZE 27 0 0
10166 175 ADVANCE 27 0 0
10167 176 RELEASE 27 0 0
10168 XX SEIZE 46 0 0
10169 178 ADVANCE 46 1 0
10170 179 RELEASE 45 0 0
10180 180 SEIZE 45 0 0
10181 181 ADVANCE 45 0 0
10182 182 RELEASE 45 0 0
10183 183 TEST 45 0 0
10184 184 TEST 41 0 0
10185 185 TEST 33 0 0
10186 186 TEST 27 0 0
10187 187 TEST 17 0 0
10188 188 TEST 12 0 0
10189 189 TERMINATE 0 0 0
10261 190 GENERATE 28 0 0
10262 191 ASSIGN 28 0 0
10263 192 ASSIGN 28 0 0
10264 193 ASSIGN 28 0 0
10265 194 SEIZE 28 0 0
10266 195 ADVANCE 28 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:15:31 page 6
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
10267 196 RELEASE 28 0 0
10268 VV SEIZE 52 0 0
10269 198 ADVANCE 52 0 0
10270 199 RELEASE 52 1 0
10280 200 SEIZE 51 0 0
10281 201 ADVANCE 51 0 0
10282 202 RELEASE 51 0 0
10283 203 TEST 51 0 0
10284 204 TEST 41 0 0
10285 205 TEST 41 0 0
10286 206 TEST 30 0 0
10287 207 TEST 22 0 0
10288 208 TEST 18 0 0
10289 209 TERMINATE 16 0 0
10300 B5 SEIZE 85 0 0
10310 211 ADVANCE 85 0 0
10320 212 RELEASE 85 0 0
10330 213 SEIZE 85 0 0
10340 214 ADVANCE 85 0 0
10350 215 RELEASE 85 0 0
10360 216 TEST 85 1 0
10370 217 TEST 50 0 0
10380 218 TEST 23 0 0
10390 219 TERMINATE 0 0 0
102000 220 GENERATE 1 0 0
102010 221 TERMINATE 1 0 0
FACILITY ENTRIES UTIL. AVE._TIME AVAILABLE OWNER PEND INTER RETRY DELAY
PC1 65 0.612 9.42 1 129 0 0 0 1
K1 86 0.688 8.00 1 117 0 0 0 3
SW 221 0.772 3.49 1 137 0 0 0 2
K3 81 0.565 6.98 1 0 0 0 0 0
FS 41 0.617 15.05 1 113 0 0 0 0