VVrema variable 5
INITIAL X$Vrem,5
GENERATE 6,3
SAVEVALUE Vsego+,1
ASSIGN PVrema1,V$VVrema
ASSIGN PVrema2,V$VVrema
QUEUE Och_kanal1
SEIZE kanal1
DEPART Och_kanal1
ADVANCE P$PVrema1
RELEASE kanal1
QUEUE Och_kanal2
SEIZE kanal2
DEPART Och_kanal2
ADVANCE P$PVrema2
RELEASE kanal2
TEST LE (P$PVrema1+P$PVrema2),10,MetBol
TEST L (X$Bol/X$Vsego),.3,MetTerm
SAVEVALUE Vrem,5
MetTerm TERMINATE
MetBol SAVEVALUE Bol+,1
TEST GE (X$Bol/X$Vsego),.3,Met1
SAVEVALUE Vrem,4
MetTerm1 TERMINATE
Met1 SAVEVALUE Vrem,5
TRANSFER, MetTerm1
GENERATE 100
TERMINATE 1
START 1

Результаты моделирования.



2015-11-18 • Просмотров [ 393 ]