SU1612311A1 - Device for modeling queueing systems - Google Patents

Device for modeling queueing systems Download PDF

Info

Publication number
SU1612311A1
SU1612311A1 SU894629509A SU4629509A SU1612311A1 SU 1612311 A1 SU1612311 A1 SU 1612311A1 SU 894629509 A SU894629509 A SU 894629509A SU 4629509 A SU4629509 A SU 4629509A SU 1612311 A1 SU1612311 A1 SU 1612311A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
elements
service
inputs
Prior art date
Application number
SU894629509A
Other languages
Russian (ru)
Inventor
Юрий Александрович Капиносов
Александр Николаевич Башкиров
Игорь Анатольевич Ветров
Олег Николаевич Иваненюк
Original Assignee
Киевское Высшее Инженерное Радиотехническое Училище Противовоздушной Обороны Им.Маршала Авиации Покрышкина А.И.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Киевское Высшее Инженерное Радиотехническое Училище Противовоздушной Обороны Им.Маршала Авиации Покрышкина А.И. filed Critical Киевское Высшее Инженерное Радиотехническое Училище Противовоздушной Обороны Им.Маршала Авиации Покрышкина А.И.
Priority to SU894629509A priority Critical patent/SU1612311A1/en
Application granted granted Critical
Publication of SU1612311A1 publication Critical patent/SU1612311A1/en

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано дл  статистического моделировани  систем массового обслуживани . Цель изобретени  - повышение точности моделировани  нелинейного динамического приоритета в обслуживании за вок. Устройство содержит блок элементов задержки, триггер управлени , два генератора импульсов, два элемента ИЛИ, два элемента И, формирователь импульсов и группу каналов обслуживани  за вок, а в каждом канале генератор случайного потока за вок, два триггера, три элемента И, два счетчика, дешифратор, P регистров, P блоков элементов И, блок элементов ИЛИ и блок случайной временной задержки. Устройство предназначено дл  моделировани  СМО с динамическими приоритетами, т.е. таких СМО, в которых приоритет обслуживани  за вок зависит от длительности ожидани  за вок в очереди. Выбор за вок на обслуживание осуществл етс  с учетом текущего значени  функции приоритетности, завис щей дл  за вки каждого типа от времени ожидани  и имеющей в общем случае нелинейный вид. Обслуживание за вок осуществл етс  в пор дке относительного приоритета таким образом, что на обслуживание поступает за вка, обладающа  в данный момент времени максимальным значением функции приоритетности из числа за вок, наход щихс  в очереди. 1 ил.The invention relates to computing and can be used for statistical modeling of queuing systems. The purpose of the invention is to improve the accuracy of modeling a nonlinear dynamic priority in servicing a quotation. The device contains a block of delay elements, a control trigger, two pulse generators, two OR elements, two AND elements, a pulse shaper, and a group of service channels for the batch, and in each channel a random flow generator for the batch, two triggers, three And elements, two counters, a decoder, P registers, P blocks of AND elements, a block of OR elements, and a random time delay block. The device is intended to simulate QS with dynamic priorities, i.e. such QS, in which the priority of service quotation depends on the duration of the waiting quota in the queue. The selection of a service quotation is made taking into account the current value of the priority function depending on the request of each type on the waiting time and having a generally non-linear form. The service of the request is performed in the order of relative priority in such a way that the service comes in with the application possessing at the given time the maximum value of the priority function from among the applications in the queue. 1 il.

Description

(21)4629509/24-24(21) 4629509 / 24-24

(22)02.01.89(22) 02.01.89

(46)07.12.90. Бюл.М 45(46) 12/7/90. Bul.M 45

(72) Ю.А.Капиносов. А.Н.Башкиров(72) Yu.A. Kapinos. A.N. Bashkirov

И.А.Ветров и О.Н.ИваненюкI.А.Vetrov and О.N.Ivanenyuk

(53)681.3(088.8)(53) 681.3 (088.8)

(56)Авторское свидетельство СССР № 983715, кл. G 06 F 15/20, 1981.(56) USSR Author's Certificate No. 983715, cl. G 06 F 15/20, 1981.

Авторское свидетельство СССР Мг 1406600,кл. G 06 F 15/20 1986 (54) УСТРОЙСТВО ДЛЯ МОДЕЛИРОВАНИЯ СИСТЕМ МАССОВОГО ОБСЛУЖИВАНИЯUSSR author's certificate Mg 1406600, cl. G 06 F 15/20 1986 (54) DEVICE FOR MODELING MASS SERVICE SYSTEMS

(57)Изобретение относитс  к вычислительной технике и может быть использовано дл  статистического моделировани  систем массового обслуживани . Цель изобретени -повышение точности моделировани (57) The invention relates to computing and can be used for statistical modeling of queuing systems. The purpose of the invention is to improve the accuracy of modeling

нелинейного динамического приоритета в обслуживании за вок. Устройство содержит блок элементов задержки, триггер управлени , два генератора импульсов, два элемента ИЛИ, два элемента И, формирователь импульсов и группу каналов обслуживани  за вок , а в каждом канале генератор случайного потока за вок, два триггера, три элемента И, два счетчика, дешифратор Р регистров, Р блоков элементов И, блок элементов ИЛИ и блок случайной временной задержки. Устройство предназначено дл  моделировани  СМО с динамическими приоритетами , т.е таких СМО, в которых при- ори :ет обслуживани  за гок зависит от д.)ительности ожидани  за вок в очереди Выбор за вок на обслуживание осуществл етс  с учетом текущего значени  функции приоритетности, завис щей дл  за вки каждого типа от времени ожидани  и имеющей в общем случае нелинейный вид. Обслуживание за вок осуществл етс  в пор дке относительного приоритета таким образом, что на обслуживание поступает за вка, обладающа  а данный момент времени максимальным значением функции приоритетности из числа за вок, наход щихс  в очереди. 1 илnonlinear dynamic priority in servicing a stock. The device contains a block of delay elements, a control trigger, two pulse generators, two OR elements, two AND elements, a pulse shaper, and a group of service channels for the batch, and in each channel a random flow generator for the batch, two triggers, three And elements, two counters, a decoder P of registers, P blocks of AND elements, a block of OR elements, and a random time delay block. The device is designed to simulate a QS with dynamic priorities, i.e., such QSs in which the priority: service depends on the value of waiting for queuing in a queue. dependent for each type of application on waiting time and generally having a nonlinear form. The service of the request is carried out in the order of relative priority in such a way that the service comes in with the application possessing at a given time the maximum value of the priority function from among the applications in the queue. 1 silt

Изобретение относитс  к вычислительной технике и может быть использовано дл  моделировани  систем массового обслуживани  (СМО).The invention relates to computing and can be used to model queuing systems (QS).

Цель изобретени  - повышение точности моделировани  нелинейного динамического приоритета в обслуживании за вок.The purpose of the invention is to improve the accuracy of modeling a nonlinear dynamic priority in servicing a quotation.

На чертеже приведена структурна  схема устройства.The drawing shows a block diagram of the device.

Устройство содержит каналы 1 обслуживани  за вок, каждый из которых состоит из генератора 2 случайного потока за вок первого элемента И 3, первого триггера 4, второго элемента И 5, первого счетчика 6 дешифратора 7, регистров 8, блоков элементов И 9, блока элементов ИЛИ 10, второго счетчика 11, второго триггера 12, третьего элемента И 13 и блока 14 случайной временной задержки.The device contains service channels 1 of the request, each of which consists of a random flow generator 2 of the first element AND 3, the first trigger 4, the second element AND 5, the first counter 6 of the decoder 7, the registers 8, the blocks of elements AND 9, the block of elements OR 10, the second counter 11, the second trigger 12, the third element I 13, and the block 14 of the random time delay.

В состав устройства вход т также второй элемент ИЛИ 15, элемент 16 запрета второй генератор 17 импульсов, блок 18 элементов задержки, формирователь 19 импульсов , элемент И 20, первый генератор 21 импульсов, первый элемент И 22 триггер 23, первый элемент ИЛИ 24. На схеме также обозначены входы 25 счетчика 11 записи разр дные 26, счетный 27 и сброса 28 первый 29, второй 30, третий 31 и четвертый 32 выходы блока 18 элементов задержки.The device also includes the second element OR 15, the prohibition element 16, the second pulse generator 17, the delay element block 18, the pulse generator 19, the AND element 20, the first pulse generator 21, the first element And 22 trigger 23, the first element OR 24. On The circuit also indicates the inputs 25 of the counter 11 of the write bit 26, the counting 27 and the reset 28 of the first 29, second 30, third 31 and fourth 32 outputs of the block 18 delay elements.

Устройство предназначено дл  моделировани  СМО с динамическими приоритетами , т.е. таких СМО, в которых приоритет обслуживани  поступающих за вок зависит от длительности ожидани  за вок в очереди . Выбор за вок на обслуживании осуществл етс  с учетом текущего значени  функции приоритетности, завис щей дл  за вки каждого типа от времени ожидани . Обслуживание за вок осуществл етс  в пор дке относительного приоритета таким образом , что на обслуживание поступает за вка, обладающа  в данный момент времени максимальным значением функции приоритетности из числа за вок, наход щихс  в очереди. Функци  приоритетности за вок имеет нелинейный вид.The device is intended to simulate QS with dynamic priorities, i.e. such QS, in which the priority of servicing the incoming stock depends on the waiting time of the queued queue. The selection of a quota for service is carried out based on the current value of the priority function, depending on the request of each type on the waiting time. The service of the request is performed in the order of relative priority in such a way that the service comes in with the application possessing at the given time the maximum value of the priority function from among the applications in the queue. The priority function of the order is non-linear.

Значени  известной функции приоритетности в дискретные значени  времени заранее занос тс  на группу регистров 8 и считываютс  последовательно с частотой квантовани , задаваемой генератором 17 импульсов. The values of the known priority function in discrete time values are pre-loaded onto the group of registers 8 and are read sequentially at a quantization frequency specified by the pulse generator 17.

Дл  определенности будем считать, что за вки в каналах обслуживани , имеющих меньший номер, имеют более высокий исходный (начальный) приоритет по сравнению с за вками в каналах обслуживани , имеющих больший номер. Генераторы 2 случайного потока за вок имитируют входные потоки за вок на обслуживание различных приоритетных классов.For definiteness, we will assume that applications in service channels that have a smaller number have a higher initial (initial) priority compared to applications in service channels that have a higher number. Generators 2 random flow requests simulate the input flows of the application for servicing different priority classes.

Блок 14 случайной временной задержки имитирует обслуживающий приборе произвольным временем обслуживани .A random time delay unit 14 simulates a serving device with an arbitrary service time.

Элементами, определ ющими приоритет за вки какого-либо канала в любое врем  от момента поступлени  до момента приема на обслуживание,  вл ютс  счетчик 6, дешифратор 7, регистры 8, блоки 9 элементов И и блок 10 элементов ИЛИ каждого канала. На выходе блока 10 элементов ИЛИ будет код, определ ющий значение функции приоритетности за вки на данный момент времени.The elements that determine the priority of a request for any channel at any time from the moment it arrives to the moment it is accepted for service are counter 6, decoder 7, registers 8, blocks 9 of the AND elements and block 10 of the OR elements of each channel. At the output of the block 10 elements OR there will be a code that determines the value of the priority function of the application at the given time.

Генератор 21 импульсов и счетчики 11 каналов осуществл ют сравнение кодов приоритетов за вок на момент освобождени  обслуживающего прибора и обеспечивают выбор за вки на обслуживание, имеющей в данный момент максимальный приоритет. Генератор 17 импульсов вырабатывает импульсы с частотой квантовани  функций приоритетности за вок.Pulse generator 21 and channel counters 11 compare the priority codes of the application at the time of release of the service device and provide the choice of service application having the highest priority at the moment. The pulse generator 17 generates pulses with a frequency of quantization of the priority functions of the wok.

Устройство работает следующим образом ,The device works as follows

В исходном состо нии триггеры 4, 12 и 23 наход тс  в нулевом состо нии, а в счетчиках 6 и 11 каналов записаны нули. Единич- ные потенциалы с инверсных выходовIn the initial state, the triggers 4, 12, and 23 are in the zero state, and in the 6 and 11 channel counters, zeros are written. Single potentials with inverse outputs

триггеров 4 присутствуют на входах триггеров И 3. Кроме того, единичные потенциалы с инверсных выходов триггеров 12 приложены к соответствующим входам элемента И 5 22 и к соответствующим входам элементов И 13. В регистры 8 каналов занесены значени  функций приоритетности за вок различных типов в дискретные моменты времени.flip-flops 4 are present at the inputs of flip-flops AND 3. In addition, unit potentials from the inverse outputs of flip-flops 12 are attached to the corresponding inputs of the And 5 element 22 and to the corresponding inputs of the And 13 elements. The 8 channel registers contain the values of priority functions of different types at discrete moments of time.

10 Импульсы от генераторов 2 случайного потока за вок, имитиру  входные потоки за вок на обслуживание различных приоритетных классов, проход т через открытые элементы И 3 соответствующих каналов на10 The pulses from the generators 2 of the random flow of the flow, imitating the input flow of the flow to service different priority classes, pass through the open elements And 3 corresponding channels on

15 единичные входы триггеров 4 этих каналов, устанавлива  их в единичное состо ние Единичный потенциал с выходов этих триггеров 4 через элемент ИЛИ 15 и элемент 16 запрета запускает генератор 17 импульсов,15 single inputs of the triggers of these 4 channels, set them to the single state. The unit potential from the outputs of these triggers 4 through the OR element 15 and the prohibition element 16 starts the generator 17 of pulses,

20 с выхода которого импульсы с частотой квантовани  функций приоритетности за вок каналов поступают на входы элементов И 5 всех каналов обслуживани  за вок. Эти импульсы поступают на счетные20 from the output of which the pulses with the frequency of quantization of the priority functions for the channels are fed to the inputs of the And 5 elements of all the channels for the service of the channel. These pulses arrive at the counting

25 входы счетчиков 6 тех каналов, в которых зафиксированы за вки на обслуживание, так как высокие потенциалы с единичных выходов триггеров 4 обеспечивают открывание элементов И 5 данных каналов. В ре30 зультате этого на выходах дешифратора 7 этих каналов последовательно с частотой квантовани  по вл ютс  высокие потенциалы , открывающие поочередно блоки 9 элементов И, и коды дискретных значенийThe 25 inputs of the counters 6 of those channels in which the requests for servicing are fixed, since the high potentials from the single outputs of the flip-flops 4 ensure the opening of the elements AND 5 of these channels. As a result, at the outputs of the decoder 7 of these channels, successively with the quantization frequency, high potentials appear, opening in turn blocks of 9 AND elements, and discrete value codes

35 функций приоритетности с соответствующих регистров 8 поступают на группы входов блоков 10 элементов ИЛИ. Таким образом, на группах входов начальной установки 26 счетчиков 11 ф-1ксируютс  зна0 чени  функций приоритетности за вок в зависимости от момента поступлени  за вки .35 priority functions from the corresponding registers 8 are fed to groups of inputs of blocks of 10 OR elements. Thus, on the groups of inputs of the initial installation 26 of the counters 11 f-1, the values of the priority functions of the application depend on the time of receipt of the application.

Выбор очередной за вки на обслуживание осуществл етс  следующим образом. 5The choice of the next request for service is carried out as follows. five

При по влении сигнала, пор док формировани  которого рассматриваетс  ниже, на выходе элемента 14 задержки одного из каналов, имитирующего сигнал конца об0 служивани  (СКО). начинаетс  подготовка отдельных узлов устройства моделировани  к выбору очередной за вки на обслуживание . С этой целью данный сигнал, проход  через элемент ИЛИ 24, устанавливает в ну5 левое состо ние триггер 23, триггеры 12 и счетчики 11 всех каналов. В результате этого открываетс  элемент И 22, высокий потенциал с его выхода поступает на вход элемента И 20 и на вход блока 18 элементовWith the appearance of a signal, the formation order of which is considered below, at the output of the delay element 14 of one of the channels simulating the end of service signal (RMS). The preparation of individual components of the modeling device for the selection of the next request for service begins. For this purpose, this signal, the passage through the OR element 24, sets to the null the left state of the trigger 23, the triggers 12 and the counters 11 of all channels. As a result, the element And 22 opens, the high potential from its output goes to the input of the element And 20 and to the input of the block 18 elements

задержки.delays.

Сигнал с второго выхода 30 блока 18 элементов задержки, задержанный на врем , необходимое дл  установки в исходов состо ние триггеров 12. 23 и счетчиков 11 имитирует сигнал готовности к обслуживанию (СГО) обслуживающего прибора и поступает на управл ющий вход элемента 16 запрета, останавлива  тем самым работу генератора 17 импульсов. После этого сигнал с третьего выхода 31 блока 18 элементов задержки, задержанный на врем , необходимое дл  прекращени  работы генератора 17 импульсов, поступает на вход формировател  19, который выдает импульс на упThe signal from the second output 30 of block 18 of the delay elements, delayed by the time required to set the outcomes of the triggers 12. 23 and counters 11, simulates the ready-for-service signal (CDF) of the serving device and goes to the control input of the prohibition element 16, stopping that the most operation of the generator 17 pulses. After that, the signal from the third output 31 of the block 18 of the delay elements, delayed by the time required to stop the operation of the pulse generator 17, is fed to the input of the driver 19, which gives a pulse to the pack

10ten

- 1 г-г- - -- iJ- j f t4j - 1 yr - - - iJ- j f t4j

счетчиков 11 всех каналов. Формирователь 19 преобразует посто нный высокий потенциал в короткий импульс с длительностью обеспечивающей запись кодов в счетчики 11 каналов. В результате этого значени  кодов с выходов соответствующих регистров соответствующих регистров 8 через соответствующие открытые блоки 9 элементов И и блоки 10 элементов ИЛИ будут записавыходов триггеров 12 соответствующих ка налов по-прежнему будут нулевые потенци алы. Кроме того, нулевой потенциал инверсного выхода триггера 12 приоритет ного канала будет приложен к соответству ющим входам элементов И 13 каналовcounters 11 all channels. The former 19 converts a constant high potential into a short pulse with a duration that ensures the recording of codes into 11-channel counters. As a result of this, the values of the codes from the outputs of the corresponding registers of the corresponding registers 8 through the corresponding open blocks of 9 elements AND and the blocks of 10 elements OR will be the outputs of the triggers 12 of the corresponding channels will still be zero potentials. In addition, the zero potential of the inverse output of the trigger 12 of the priority channel will be applied to the corresponding inputs of the elements And 13 channels

имеющих номер больше, чем у приоритетно го канала.having a number larger than the priority channel.

После завершени  переходных процессов , обусловленных этапом выделени  приоритетного канала, сигналом с выхода 29 блока 18 элементов задержки устанавливаетс  в единичное состо ние триггер 23, Единичный сигнал с пр мого выхода триггераAfter completion of the transient processes caused by the step of allocating the priority channel, the signal from the output 29 of the block 18 of the delay elements is set to one state the trigger 23, the Single signal from the direct output of the trigger

2020

ныв счетчики 11, те в них будут забикги Ч лвнного пассв,в рованы значени  ФvнкuиГпn fnl ±Л r l., приоритетного канала п оканалов , отк рывает только тот из них, который принадлежит приоритетному каналу. В результате на выходе элемента И 13 приоритетного канала и, следовательно, на соответствующем блоке 14 этого канала по вл етс  сигнал, имитирующий сигнал начала обслуживани  за вки.When counters are 11, those in them will be zapikgi H i vnnnogo passv, the values of ФвнкииГпn fnl ± Л r l., of the priority channel and channels, are indicated, only the one that belongs to the priority channel opens. As a result, at the output of the element And 13 of the priority channel and, consequently, on the corresponding block 14 of this channel, a signal appears, imitating the start of application service.

По истечении времени, равного времени обслуживани  за вки данного класса, наAfter a time equal to the service time of the application of this class,

рованы значени  функций приоритетности за вок различных классов на момент прихода сигнала СГО. В период отсутстви  сигна- ла готовности элемент 16 запрета открываетс  и генератор 17 импульсов возобновл ет свою работу.The values of the priority functions of the orders of various classes at the time of arrival of the signal of CGO are specified. In the absence of the ready signal, the inhibit element 16 opens and the pulse generator 17 resumes its operation.

По истечении времени, необходимого дл  записи кодов в счетчики 11, сигналом с четвертого выхода 32 блока 18 элементов задержки через открытый элемент И 20 запускаетс  генератор 21 импульсов.After the time required to write the codes to the counters 11 has expired, a signal from the fourth output 32 of the block 18 of delay elements through the open element 20 starts the pulse generator 21.

Импульсы с выхода генератора 21 с большой частотой повторени  поступают на счетные входы 27 счетчиков 11 всех каналов обслуживани  за вок. Счетчики 11 выполн ют функцию определени  за вки (канала) с максимальным значением функции приоритетности на момент прихода сигнала СГО. Так как емкость счетчиков 11 одинакова.Pulses from the output of the generator 21 with a high repetition rate arrive at the counting inputs of 27 counters 11 of all service channels of the quota. Counters 11 perform the function of determining the application (channel) with the maximum value of the priority function at the time of the arrival of the CX signal. Since the capacity of the counters 11 is the same.

30thirty

1- - f-- -- -.,.-,-, rvuiic /fa м1- - f-- - -., .-, -, rvuiic / fa m

 вл ютс  сигналы конца обслуживани , который устанавливает в нулевое состо ние триггер 4 этого канала, который, в свою очередь , сигналом с нулевого выхода обнул ет счетчик 6 и открывает элемент И 3 данного кенала. Кроме того, через элемент ИЛИ 24 устанавливает в исходное состо ние триггеры 12, 23 и счетчики 11 всех каналов. Дальнейша  работа устройства аналогична рассмотренной выше.are the end of service signals, which sets to zero the trigger 4 of this channel, which, in turn, zeroes the counter 6 and opens the element AND 3 of this kenal by a signal from the zero output. In addition, through the OR element 24, the triggers 12, 23 and the counters 11 of all channels are reset. Further operation of the device is similar to that discussed above.

Возможны случаи, когда две или несколько за вок на обслуживание имеют одинаковые приоритеты, т.е. коды счетчиков 11 этих каналов в момент прихода сигнала го- 40 товкости к обслуживанию окажутс  равными . То.гда сигнал по вл етс  на выходе элемента И 13 того канала, в котором имитируютс  за вки более приоритетного класса , так как нулевой сигнал с инверсногоThere are cases when two or more service bids have the same priorities, i.e. The counter codes of these 11 channels at the time of arrival of the signal for service readiness will be equal. Then the signal appears at the output of the element And 13 of that channel in which the applications of a higher priority class are imitated, since the zero signal from the inverse

3535

и:Г:еГеГ„ :::ГсГГа Г; Г.Г , е Ге ;i rS VC.po.c.e вди„„н„се состо ние .р„„ер 2 з™™ ка- 50 Й™ ,„ и;ГпоГд„гГсГ;;оГ«о „ :Го°аand: G: eGeG „::: GGGa G; GG, eGe; i rS VC.po.ce go in „„ on „all state .r„ „er 2 s ™ ka-50 th ™,„ and; ggogd „gsg ;; oG“ o „: Go ° a

нала.Nala

Низкий потенциал с инверсного выхода данного триггера 12 поступает на соответствующий вход элемента И 22, в результате чего закрываютс  элементы И 22 и 20, а генератор 21 импульсов прекращает свою работу. На втором входе элемента И 13 приоритетного канала присутствует единичный потенциал, в то врем  как на вторых входах элементов И 13 остальных каналов с пр мыхThe low potential from the inverse output of this trigger 12 is fed to the corresponding input of the element And 22, as a result of which the elements 22 and 20 are closed, and the pulse generator 21 stops its operation. At the second input of the element And 13 of the priority channel there is a single potential, while at the second inputs of the elements And 13 of the other channels from the direct

5555

служивани  установ тс  в исходное состо ние триггеры 12, 23 и счетчики 11, а сигнал готовности к обслуживанию вырабатыватьс  не будет, так как элемент И 22 закрыт нулевым потенциалом с выхода элемента ИЛИ 15, Такое состо ние характерно дл  устройства и при первоначальном включении его в работу.the triggers 12, 23 and counters 11 are set to the initial state, and the ready-to-service signal will not be generated, since the AND 22 element is closed with zero potential from the output of the OR 15 element. Such a condition is characteristic of the device when it is initially turned on work

При выдаче одним из генераторов 2 слу- йного потока за вок осуществл етс  уста0When one of the generators 2 produces a random flow, the order is carried out

выходов триггеров 12 соответствующих каналов по-прежнему будут нулевые потенциалы . Кроме того, нулевой потенциал с инверсного выхода триггера 12 приоритетного канала будет приложен к соответствующим входам элементов И 13 каналов,the outputs of the triggers of the 12 corresponding channels will still be zero potentials. In addition, the zero potential from the inverse output of the trigger 12 of the priority channel will be applied to the corresponding inputs of the elements And 13 channels,

имеющих номер больше, чем у приоритетного канала.having number more than at the priority channel.

После завершени  переходных процессов , обусловленных этапом выделени  приоритетного канала, сигналом с выхода 29 блока 18 элементов задержки устанавливаетс  в единичное состо ние триггер 23, Единичный сигнал с пр мого выхода триггераAfter completion of the transient processes caused by the step of allocating the priority channel, the signal from the output 29 of the block 18 of the delay elements is set to one state the trigger 23, the Single signal from the direct output of the trigger

лвнного пассв,в l., приоритетного канала п оканалов , отк рывает только тот из них, который принадлежит приоритетному каналу. В результате на выходе элемента И 13 приоритетного канала и, следовательно, на соответствующем блоке 14 этого канала по вл етс  сигнал, имитирующий сигнал начала обслуживани  за вки. The first pass channel, in the l channel, of the channels, opens only one of them that belongs to the priority channel. As a result, at the output of the element And 13 of the priority channel and, consequently, on the corresponding block 14 of this channel, a signal appears, imitating the start of application service.

По истечении времени, равного времени обслуживани  за вки данного класса, наAfter a time equal to the service time of the application of this class,

Ч лвнного пассв,в l., приоритетного канала п о0The main passw, in l., Priority channel p o0

1- - f-- -- -.,.-,-, rvuiic /fa м1- - f-- - -., .-, -, rvuiic / fa m

 вл ютс  сигналы конца обслуживани , который устанавливает в нулевое состо ние триггер 4 этого канала, который, в свою очередь , сигналом с нулевого выхода обнул ет счетчик 6 и открывает элемент И 3 данного кенала. Кроме того, через элемент ИЛИ 24 устанавливает в исходное состо ние триггеры 12, 23 и счетчики 11 всех каналов. Дальнейша  работа устройства аналогична рассмотренной выше.are the end of service signals, which sets to zero the trigger 4 of this channel, which, in turn, zeroes the counter 6 and opens the element AND 3 of this kenal by a signal from the zero output. In addition, through the OR element 24, the triggers 12, 23 and the counters 11 of all channels are reset. Further operation of the device is similar to that discussed above.

Возможны случаи, когда две или несколько за вок на обслуживание имеют одинаковые приоритеты, т.е. коды счетчиков 11 этих каналов в момент прихода сигнала го- 0 товкости к обслуживанию окажутс  равными . То.гда сигнал по вл етс  на выходе элемента И 13 того канала, в котором имитируютс  за вки более приоритетного класса , так как нулевой сигнал с инверсногоThere are cases when two or more service bids have the same priorities, i.e. The counter codes of these 11 channels at the time of arrival of the signal for service readiness will be equal. Then the signal appears at the output of the element And 13 of that channel in which the applications of a higher priority class are imitated, since the zero signal from the inverse

5five

, е Ге ;i rS VC.po.c.e 50 Й™ ,„ и;ГпоГд„гГсГ;;оГ«о „ :Го°а , eGe; i rS VC.po.c.e 50 ™ ™, “and; GGoGd“ gGS ;; oG “o”: H o ° a

5555

служивани  установ тс  в исходное состо ние триггеры 12, 23 и счетчики 11, а сигнал готовности к обслуживанию вырабатыватьс  не будет, так как элемент И 22 закрыт нулевым потенциалом с выхода элемента ИЛИ 15, Такое состо ние характерно дл  устройства и при первоначальном включении его в работу.the triggers 12, 23 and counters 11 are set to the initial state, and the ready-to-service signal will not be generated, since the AND 22 element is closed with zero potential from the output of the OR 15 element. Such a condition is characteristic of the device when it is initially turned on work

При выдаче одним из генераторов 2 слу- йного потока за вок осуществл етс  установка соответствующего триггера 4 в единичное состо ние, что приводит к запуску генератора 17 импульсов, открыванию элемента И 5 данного канала и открыванию элемента И 22 устройства, сигнал с выхода которого обеспечивает формирование сигнала готовности к обслуживанию. В ходе дальнейшей работы устройства поступивша  за вка выдаетс  на обслуживание, так .как в счетчиках 6 и. следовательно, в счетчиках 11 остальных каналов записаны нули.When one of the generators 2 outputs a random flow, the application installs the corresponding trigger 4 into one state, which starts the pulse generator 17, opens element 5 of this channel and opens element 22 of the device, the output signal of which signal ready for service. In the course of further operation of the device, the incoming application is issued for maintenance, as in counters 6 and. therefore, in the counters of the 11 remaining channels, zeros are written.

Получение характеристик СМО осуществл етс  известными способами.Characterization of QS is carried out by known methods.

Claims (1)

Формула изобретени Invention Formula Устройство дл  моделировани  систем массового обслуживани , содержащее два элемента ИЛИ. два элемента И. блок элементов задержки, триггер и группу каналов обслуживани  за вок, каждый из которых состоит из генератора случайного потока за вок, двух триггеров, трех элементов И, блока элементов И. счетчика и блока случайной временной задержки, причем в каждом канале обслуживани  за вок выход генератора случайного потока за вок соединен с первым входом первого элемента И. выход которого подключен к единичному входу первого триггера, пр мой выход которого соединен с первым входом второго элемента И. выход третьего элемента И подключен к входу блока случайной временной задержки , выход которого соединен с нулевым входом первого триггера, инверсный выход которого подключен к второмуlewdj y riepeo- го элемента И. выходы блоков случайной временной задержки всех каналов обслуживани  за вок группы соединены соответственно с входами первого элемента ИЛИ устройства, выход которого подключен к нулевым входам вторых триггеров всех каналов обслуживани  за вок группы и к нулевому входу триггера устройства, пр мой выход которого соединен с первыми входами третьих элементов И всех каналов обслуживани  за вок группы, пр мые выходы первых триггеров всех каналов обслужи- вани  за вок группы подключены соответственно к входам второго элемента ИЛИ устройства, выход которого соединен с первым входом первого элемента И устройства , первый выход блока элементов за держки подключен к единичному входу триггеров устройства, инверсный выход второго триггера К-го канала обслуживани  за вок группы (К 1, М) соединен с (К + 1)-м входом первого элемента И устройства и с (К + 2)-ми входами третьих элементов И всехA device for simulating queuing systems comprising two OR elements. two elements I. a block of delay elements, a trigger and a group of service channels of the order, each of which consists of a random flow generator, two triggers, three AND elements, a block of I. elements of the counter, and a random time delay block, with each service channel The output of the random flow generator is connected to the first input of the first element I. The output of which is connected to the single input of the first trigger, the direct output of which is connected to the first input of the second element I. The output of the third element key to the random time delay block input, the output of which is connected to the zero input of the first trigger, the inverse output of which is connected to the second left and right I element I. the outputs of the random time delay blocks of all service channels of the group, respectively, the output of which is connected to the zero inputs of the second triggers of all service channels of the group's order and to the zero input of the device trigger, the direct output of which is connected to the first inputs of the third elements all service channels of the group's order, the direct outputs of the first triggers of all service channels of the group's orders are connected respectively to the inputs of the second element OR device whose output is connected to the first input of the first element AND device, the first output of the block of delay elements the device triggers, the inverse output of the second trigger of the K-th service channel, the group's quotes (K 1, M) are connected to the (K + 1) th input of the first element AND device and to the (K + 2) th inputs of the third element каналов обслуживани  за вок группы, имеющих номер, больший чем К, пр мой выход второго триггера К-го канала обслуживани  за вок группы подключен к (К +1}-му входу 5 третьего элемента И своего канала обслуживани  за вок группы, отличающеес  тем, что. с целью повышени  точности моделировани  динамического приоритета в обслуживании за вок, оно дополнительно 10 содержит элемент запрета, два генератора импульсов и формирователь импульсов, а каждый канал обслуживани  за вок группы дополнительно содержит дешифратор, второй счетчик, блок элементов ИЛИ, Р регист- 15 ров (где.Р - количество дискретных значений функции приоритетности) и (Р-1) блоков элементов И. причем в каждом канале обслуживани  за вок группы выход второго элемента И соединен со счетным 20 входом первого счетчика, разр дные выходы которого подключены соответственно к входам дешифратора, выходы которого соединены с управл ющими входами соо твет- ствующих блоков элементов И, разр дные 5 входы регистров подключены к информационным входам соответствующих блоков элементов И, выходы которых соединены соответственно с входами блока элементов ИЛИ. выходы которого соединены соответ- 0 ственно с разр дными второго счетчика, выход переполнени  которого подключен к единичному входу второго триггера, инверсный выход первого триггера подключен к входу обнулени  первого 5 счетчика, выход первого элемента И устройства соединен с первым входом второго эле- мента И устройства и входом блока элементов задержки, второй выход которого соединен с управл ющим входом элемен- 0 та запрета, третий выход - с входом формировател  импульсов, а четвертый выход - с вторым входом второго элемента И устройства, выход которого подключен к входу первого генератора импульсов, выход 5 которого соединен со счетными входами вторых счетчиков всех каналов обслуживани  за вок, выход второго элемента ИЛИ устройства подключен к информационному входу элемента запрета, выход которого со- 0 единен с входом второго генератора импульсов , выход коГорого подключен к счетным входам первых счетчиков всех ка- . налов обслуживани  за вок группы, выход формировател  импульсов соединен с вхо- 5 дами записи вторых счетчиков всех каналов обслуживани  за вок группы, входы установки в нулевое состо ние которых объединены и подключены к выходу первого элемента ИЛИ устройства.The service channels of the group's order, having a number greater than K, the direct output of the second trigger of the Kth service channel, the group's subscription is connected to (K +1} th input 5 of the third element And its service channel of the group's request, which, in order to increase the accuracy of modeling the dynamic priority in servicing a claim, it additionally contains 10 a prohibition element, two pulse generators and a pulse shaper, and each service channel of the group request additionally contains a decoder, a second counter, a block element OR, P registers (where.Р is the number of discrete values of the priority function) and (P-1) blocks of elements I. And in each service channel of the group’s order, the output of the second element I is connected to the counting 20 input of the first counter, These outputs are respectively connected to the inputs of the decoder, the outputs of which are connected to the control inputs of the corresponding blocks of units And, the bit 5 inputs of registers are connected to the information inputs of the corresponding blocks of elements And, the outputs of which are connected respectively to moves block elements OR. the outputs of which are connected respectively to the bits of the second counter, the overflow output of which is connected to the single input of the second trigger, the inverse output of the first trigger is connected to the zero input of the first 5 counter, the output of the first And device element is connected to the first input of the second element And device and the input of the block of delay elements, the second output of which is connected to the control input of the prohibition element 0, the third output - to the input of the pulse former, and the fourth output - to the second input of the second element I The output of which is connected to the input of the first pulse generator, the output 5 of which is connected to the counting inputs of the second counters of all service channels of the station, the output of the second OR element is connected to the information input of the prohibition element, the output of which is connected to the input of the second pulse generator, the output is connected to the counting inputs of the first counters of all ka-. The service unit of the group orders, the output of the pulse generator is connected to the recording inputs of the second counters of all the service channels of the group request, the set inputs to the zero state of which are combined and connected to the output of the first OR element of the device.
SU894629509A 1989-01-02 1989-01-02 Device for modeling queueing systems SU1612311A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894629509A SU1612311A1 (en) 1989-01-02 1989-01-02 Device for modeling queueing systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894629509A SU1612311A1 (en) 1989-01-02 1989-01-02 Device for modeling queueing systems

Publications (1)

Publication Number Publication Date
SU1612311A1 true SU1612311A1 (en) 1990-12-07

Family

ID=21419274

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894629509A SU1612311A1 (en) 1989-01-02 1989-01-02 Device for modeling queueing systems

Country Status (1)

Country Link
SU (1) SU1612311A1 (en)

Similar Documents

Publication Publication Date Title
SU1612311A1 (en) Device for modeling queueing systems
SU1732352A1 (en) Queue system simulator
SU1406600A1 (en) Device for simulating queueing systems
SU1418730A1 (en) Device for simulating mass service systems
SU1005067A1 (en) Mass service system simulating device
RU2024929C1 (en) Device for simulating mass queueing systems
SU1674148A1 (en) Device for queuing system simulation with variable number of channels
SU1688256A1 (en) A queueing system simulator
SU1120342A1 (en) Device for simulating man-machine systems
SU1037265A1 (en) Device for simulating request servicing
SU1124320A1 (en) Device for simulating queueing system
SU1231510A2 (en) Device for simulating process for servicing requests with different priorities
SU1095187A1 (en) Device for simulating queueing systems
SU1716535A1 (en) Queue system simulator
SU1536397A2 (en) Device for modelling queueing systems
SU1111172A1 (en) Device for simulating queueing systems
SU1115057A1 (en) Device for simulating process for servicing requests with different priorities
SU1681308A1 (en) Multichannel queuing systems simulator
SU807309A1 (en) Device for simulating mass servicing systems
SU1495811A1 (en) Unit for simulation of requestservicing process
SU1193686A1 (en) Device for simulating process for servicing requests with different priorities
SU1683029A1 (en) Queuing systems simulator
SU1061149A1 (en) Device for simulating process of servicing requests with different priorities
SU1612309A1 (en) Device for modeling queueing systems
SU1267430A1 (en) Device for simulating man-machine systems