CHANNELS EQU 4
STATION STORAGE 4
INITIAL X$LAMBDA0
INITIAL X$PZK
INITIAL X$TPK
VSEGO GENERATE (POISSON(1,0.005))
SAVEVALUE LAMBDA0,((1-(N$OTKAZ/N$VSEGO))#5.333)
SAVEVALUE PZK,((X$LAMBDA0/0.34)/CHANNELS)
SAVEVALUE TPK,((1-X$PZK)/(1.229#X$PZK))
* Логика маршрутизации транзактов
TEST GE S$STATION,(CHANNELS-1) BLOK1
TEST E S$STATION,CHANNELS BLOK2
GATE LR KEY1,BLOK2
TEST E S$STATION,5 OTKAZ
BLOK1 ENTER STATION,2
LOGIC S KEY1
ADVANCE (UNIFORM(5,0,(1.471+(-1.471#LOG(UNIFORM(5,0,1))))))
LEAVE STATION,2
LOGIC R KEY1
CHANNEL2 TERMINATE
BLOK2 ENTER STATION,1
ADVANCE (UNIFORM(5,0,(2.941+(-2.941#LOG(UNIFORM(5,0,1))))))
LEAVE STATION,1
CHANNEL1 TERMINATE
OTKAZ TERMINATE
GENERATE 1440
TERMINATE 1
START 1
Q0hBTk5FTFMgRVFVIDQgICAgICAKU1RBVElPTiBTVE9SQUdFIDQgICAgCgpJTklUSUFMIFgkTEFNQkRBMCAgIApJTklUSUFMIFgkUFpLICAgICAgCklOSVRJQUwgWCRUUEsgICAgICAgCgpWU0VHTyBHRU5FUkFURSAoUE9JU1NPTigxLDAuMDA1KSkgIApTQVZFVkFMVUUgTEFNQkRBMCwoKDEtKE4kT1RLQVovTiRWU0VHTykpIzUuMzMzKSAKU0FWRVZBTFVFIFBaSywoKFgkTEFNQkRBMC8wLjM0KS9DSEFOTkVMUykgICAgICAgClNBVkVWQUxVRSBUUEssKCgxLVgkUFpLKS8oMS4yMjkjWCRQWkspKSAgICAgICAgCiog0JvQvtCz0LjQutCwINC80LDRgNGI0YDRg9GC0LjQt9Cw0YbQuNC4INGC0YDQsNC90LfQsNC60YLQvtCyClRFU1QgR0UgUyRTVEFUSU9OLChDSEFOTkVMUy0xKSBCTE9LMSAKVEV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