SU1667100A1 - Device for queueing system simulation - Google Patents

Device for queueing system simulation Download PDF

Info

Publication number
SU1667100A1
SU1667100A1 SU894768421A SU4768421A SU1667100A1 SU 1667100 A1 SU1667100 A1 SU 1667100A1 SU 894768421 A SU894768421 A SU 894768421A SU 4768421 A SU4768421 A SU 4768421A SU 1667100 A1 SU1667100 A1 SU 1667100A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
generator
trigger
service
Prior art date
Application number
SU894768421A
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 SU894768421A priority Critical patent/SU1667100A1/en
Application granted granted Critical
Publication of SU1667100A1 publication Critical patent/SU1667100A1/en

Links

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано при моделировании многоканальных систем массового обслуживани  (СМО) с учетом динамики и режимов функционировани . Цель изобретени  - расширение функциональных возможностей устройства за счет ограничени  числа каналов обслуживани , одновременно наход щихс  на техническом обслуживании. Устройство содержит генератор случайного потока импульсов, генератор за вок, генератор тактовых импульсов, счетчик общего числа за вок, суммирующий счетчик, дешифратор, счетчик числа каналов, наход щихс  на обслуживании, схему сравнени , регистр пам ти, два элемента ИЛИ и каналы обслуживани  за вок, каждый из которых может имитировать режимы работы, обслуживани  за вок, отказов и восстановлений и технического обслуживани  обслуживающего прибора. 2 ил.The invention relates to computing and can be used in the simulation of multichannel queuing systems (QS), taking into account the dynamics and modes of operation. The purpose of the invention is to expand the functionality of the device by limiting the number of service channels that are simultaneously under maintenance. The device contains a random pulse generator, a voltage generator, a clock pulse generator, a total number meter, a summing counter, a decoder, a counter for the number of channels in service, a comparison circuit, a memory register, two OR elements, and service channels for , each of which can simulate the operating modes, servicing the demand, failures and restorations and the maintenance of the servicing instrument. 2 Il.

Description

Изобретение относитс  к вычислительной технике и может быть использовано при моделировании многоканальных систем массового обслуживани  с учетом динамики и режимов функционировани .The invention relates to computing and can be used in the simulation of multichannel queuing systems, taking into account the dynamics and modes of operation.

Цель изобретени  - расширение функциональных возможностей путем ограничени  числа каналов обслуживани , одновременно наход щихс  на техническом обслуживании.The purpose of the invention is to enhance the functionality by limiting the number of service channels that are simultaneously under maintenance.

На фиг.1 изображена схема устройства, где раскрыт первый канал; на фиг.2 - то же, где раскрыт последний канал.1 shows a diagram of the device, where the first channel is opened; figure 2 - the same where the last channel is opened.

Устройство содержит генератор 1 случайного потока импульсов, генератор 2 за вок , К каналов моделировани , каждый из которых содержит генератор 3 тактовых импульсов , первый элемент ИЛИ 4, генератор 5 случайных интервалов времени работы, первый элемент И 6, генератор 7 случайныхThe device contains a generator of 1 random stream of pulses, a generator of 2 applications, K modeling channels, each of which contains a generator of 3 clock pulses, the first element OR 4, the generator 5 random intervals of operation, the first element And 6, the generator 7 random

интервалов времени обслуживани  за вок, первый дифференциру ощий элемент 8, второй элемент И 9, блок 10 счетчиков, второй дифференцирующий элемент 11, третий элемент И 12, генератор 13 случайных интервалов времени восстановлени , второй триггер 14, четвертый элемент И 15.service intervals of the order, the first differentiator common element 8, the second element AND 9, the block 10 counters, the second differentiating element 11, the third element AND 12, the generator 13 random recovery time intervals, the second trigger 14, the fourth element And 15.

Кроме того, устройство содержит в последнем канале третий элемент ИЛИ 16, третий дифференцирующий элемент 17, первый триггер 18, п тый элемент И 19, реверсивный счетчик 20, регистр 21 пам ти, генератор 22 случайных интервалов времени технического обслуживани , п тый триггер 23, дев тый элемент И 24, четвертый дифференцирующий элемент 25. счетчик 26 общего числа за вок; в последнем канале восьмой элемент И 27, группу элементов ИЛИ 28, группу элементов И 29. четвертый триггер 30, п тый дифференцирующий элеОIn addition, the device in the last channel contains the third element OR 16, the third differentiating element 17, the first trigger 18, the fifth element AND 19, the reversible counter 20, the memory register 21, the generator 22 random maintenance time intervals, the fifth trigger 23, the ninth element And 24, the fourth differentiating element 25. the counter 26 of the total number of the application; in the last channel, the eighth element And 27, a group of elements OR 28, a group of elements And 29. the fourth trigger 30, the fifth differentiating element

OsOs

vjvj

О ОOh oh

мент 31, элемент 32 задержки, седьмой элемент И 33, элемент НЕ 34, первый вход 35 блока 10 счетчиков, второй вход 36 элемента И 6, пр мой вход 37 элемента ИЛИ 4, выход 38 генератора 13 случайных интервалов времени восстановлени , выход 39 генератора 22 случайных интервалов времени технического обслуживани . Устройство содержит также третий элемент ИЛИ 40, вход 41 блока 10 счетчиков, выход 42 генератора 7, выход 43 элемента И 15, выход 44 элемента И 27, выход 45 элемента И 33, второй элемент ИЛИ 46, (К-1)-й выход 47 дешифратора , (К-2)-й выход 48 дешифратора, подключенный к второму входу элемента И 9 (К-1)-го канала, выход 49 элемента И 62 К-го канала, выход 50 элемента И 62 (К-1)-го канала , К-й вход 51 элемента ИЛИ 61, (К-1)-й вход 52 элемента ИЛИ 61. Устройство содержит генератор 53 импульсов, суммирующий счетчик Ь4, дешифратор 55, первый элемент ИЛИ 56, счетчик 57 числа каналов, наход щихс  на техническом обслуживании , третий триггер 58, схему 59 сравнени , регистр 60 пам ти, второй элемент ИЛИ 61, восьмой элемент И 62, шестой элемент И 63, выход 64 нулевого разр да дешифратора 55, выход 65 первого разр да дешифратора 55, первый вход 66 элемента ИЛИ 56, второй вход 67 элемента ИЛИ 61, выход 68 схемы 59 сравнени , первый вход 69 элемента ИЛИ 61, а в последнем канале дев тый 70, дес тый 71 элементы И ичетвертый элемент ИЛИ 72.ment 31, delay element 32, seventh element AND 33, element 34, first 35 of the block of 10 counters, second input 6 of the AND 6 element, direct input 37 of the OR 4 element, output 38 of the generator 13 random recovery time intervals, generator output 39 22 random maintenance intervals. The device also contains the third element OR 40, the input 41 of the block of 10 counters, the output 42 of the generator 7, the output 43 of the element And 15, the output 44 of the element And 27, the output 45 of the element And 33, the second element OR 46, (K-1) -th output 47 decoder, (K-2) -th output 48 of the decoder connected to the second input element And 9 (K-1) -th channel, output 49 element And 62 K-th channel, output 50 element And 62 (K-1) th channel, K-th input 51 of the element OR 61, (K-1) -th input of the 52 element OR 61. The device contains a generator of 53 pulses, a totalizing counter L4, a decoder 55, the first element OR 56, a counter 57 of the number of channels found of maintenance, third trigger 58, comparison circuit 59, memory register 60, second element OR 61, eighth element AND 62, sixth element AND 63, zero output 64 of the decoder 55, output 65 of the first decoder 55, first input 66 elements OR 56, the second input 67 of the element OR 61, the output 68 of the comparison circuit 59, the first input 69 of the element OR 61, and in the last channel the ninth 70, the tenth 71 elements AND the fourth element OR 72.

Устройство моделирует процесс работы системы, имеющей К каналов обслуживани , каждый из которых может находитьс  в четырех режимах (состо ни х): работа, отказ , восстановление, техническое обслуживание по наработке. Обслуживание за вок происходит только во врем  работы. Окончание режима работы соответствует наступлению отказа, при этом канал переходит в режим восстановлени  и одновременно открывает следующий канал, куда поступает очередна  за вка. Необслуженна  вследствие отказа за вка возвращаетс  на вход готового к работе канала.The device simulates the process of operating a system that has K service channels, each of which can be in four modes (states): operation, failure, restoration, maintenance time. Servicing is done only during operation. The end of the operation mode corresponds to the occurrence of a failure, while the channel goes into recovery mode and at the same time opens the next channel to which the next application arrives. Unserved due to rejection, the application returns to the input of the ready-to-work channel.

По истечении некоторого заданного времени наработки каждый канал переходит в режим технического обслуживани , если в системе находитс  в.режиме технического обслуживани  не более заданного числа каналов. В противном случае канал продолжает функционирование. За вки, поступившие во врем  режимов восстановлени  или технического обслуживани , обслуживаютс  в следующем каналеAfter a certain specified time, each channel goes into maintenance mode, if the system is in a maintenance mode no more than a specified number of channels. Otherwise, the channel continues to function. Inquiries received during recovery or maintenance modes are serviced in the next channel.

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

Генератор 1 вырабатывает импульс, который запускает генератор 2 за вок, генератор 53 импульсов, в каждом канале - генератор 3 тактовых импульсов, а также,Generator 1 generates a pulse that triggers generator 2 for wok, a generator of 53 pulses, in each channel a generator of 3 clock pulses, and also,

проход  через элемент ИЛИ 4, в каждом канале запускает генератор 5 случайных интервалов времени. На выходе генератора 5 формирует случайный интервал времени, соответствующий продолжительности ре0 жима работы. За вки с выхода генератора 2 поступают на открытый элемент И 6 и запускают генератор 7 случайных интервалов времени обслуживани , который формирует интервал времени обслуживани  за вок, Поpassage through the element OR 4, in each channel starts the generator 5 random time intervals. The output of the generator 5 generates a random time interval corresponding to the duration of the operating mode. The outputs from the generator 2 are fed to the open element 6 and start the generator 7 random service time intervals, which forms the service time interval for the application,

5 окончании этого интервала импульс с выхода дифференцирующего элемента 8 через элемент И 9 при наличии напр жени  на генераторе 5 поступает на первый вход блока 10 счетчиков, где подсчитываетс  общее5, the end of this interval is a pulse from the output of the differentiating element 8 through the element AND 9 in the presence of voltage on the generator 5 is fed to the first input of the block of 10 meters, where the total is calculated

0 число обслуженных за вок в К-м канале системы .0 the number of serviced items in the Kth channel of the system.

По окончании интервала времени работы импульс, имитирующий отказ, с выхода дифференцирующего элемента 11 черезAt the end of the time interval of operation, a pulse, imitating a failure, from the output of the differentiating element 11 through

5 элемент И 12 запускает генератор 13. На выходе последнего формируетс  интервал времени, соответствующий режиму восстановлени .5 and 12 starts the generator 13. At the output of the latter, a time interval is formed corresponding to the recovery mode.

Этот же импульс поступает на единич0 ный вход триггера 14 и опрокидывает его, после чего напр жение с выхода триггера 14 поступает на вход элемента И 15. На второй вход элемента И 15 поступают счетные импульсы от генератора 3, которые проход тThe same impulse arrives at the single input of the trigger 14 and overturns it, after which the voltage from the output of the trigger 14 enters the input of the element 15. The second input of the element 15 enters the counting pulses from the generator 3, which pass

5 на третий вход блока 10 счетчиков, подсчитывающих врем  восстановлени  канала.5 to the third input of a block of 10 counters, counting the channel recovery time.

По окончании интервала времени восстановлени  импульс с выхода дифференцирующего элемента 17 через первыйAt the end of the time interval recovery pulse from the output of the differentiating element 17 through the first

0 инверсный вход элемента ИЛИ 4 запускает генератор 5, вновь перевод  К-й канал в режим работы. Этот же импульс поступает на нулевой вход триггера 14, после чего счетные импульсы не поступают на третий0 the inverse input of the element OR 4 starts the generator 5, again switching the K-th channel to the operation mode. The same pulse arrives at the zero input of the trigger 14, after which the counting pulses do not arrive at the third

5 вход блока счетчиков 10. Импульс с выхода элемента ИЛИ 4 поступает также на единичный вход триггера 18, напр женнее выхода которого подаетс  на первый вход элемента И 19, на второй вход которого поступают5 input of the block of counters 10. The pulse from the output of the element OR 4 is also fed to the single input of the trigger 18, the output of which is applied to the first input of the element I 19, the second input of which is fed

0 счетные импульсы от генератора 3, а на третий - единичный потенциал с инверсного выхода триггера 58. Счетные импульсы проход т на вычитающий вход реверсивного счетчика 20 и соответствующее заданному0 counting pulses from the generator 3, and the third - a single potential from the inverse output of the trigger 58. The counting pulses are passed to the subtracting input of the reversible counter 20 and corresponding to the specified

5 времени наработки число начинает уменьшатьс .5 time the number starts to decrease.

Одновременно счетные импульсы поступают на четвертый вход блока 10 счетчиков , через открытый элемент И 63. где подсчитываетс  общее врем  нахождени At the same time, the counting pulses arrive at the fourth input of the block of 10 counters, through an open element And 63. where the total residence time is calculated

системы в режиме работы, По окончании интервала времени работы импульс с выхода элемента И 12 поступает на нулевой вход триггера 18 через элемент ИЛИ 40, после чего счетные импульсы не проход т на счет- чик 20 и четвертый вход блока 10 счетчиков. Как только содержимое реверсивного счетчика 20 примет нулевое значение, импульс с его выхода поступает на единичный вход триггера 58 и опрокидывает его, закрыва  элемент И 19. Единичный сигнал с пр мого выхода триггера 58 поступает на вход элемента И 62.system in operation mode. At the end of the operation time interval, the pulse from the output of the element 12 goes to the zero input of the trigger 18 through the element OR 40, after which the counting pulses do not pass to the counter 20 and the fourth input of the block 10 of the counters. As soon as the contents of the reversible counter 20 have a zero value, the pulse from its output goes to the single input of the trigger 58 and overturns it, closing element I 19. A single signal from the direct output of the trigger 58 goes to the input of the element 62.

Генератор 53 импульсов вырабатывает импульсы, поступающие на суммирующий вход суммирующего счетчика 54 (счет от О до К-1), выходы которого подключены к соответствующим входам дешифратора 55, нулевой выход 64 которого подключен к второму входу элемента И 62. Генератор 53. суммирующий счетчик 54 и дешифратор 55, организуют последовательный опрос каналов , требующих выхода в режим обслуживани .The pulse generator 53 generates pulses arriving at the summing input of the summing counter 54 (counting from O to K-1), the outputs of which are connected to the corresponding inputs of the decoder 55, zero output 64 of which is connected to the second input of the And 62 element. The generator 53. summing counter 54 and a decoder 55, organizes a sequential polling of channels requiring access to the service mode.

Единичный сигнал с выхода 68 схемы 59 сравнени  поступает на третьи входы элементов 62 каждого канала, в случае если число каналов, наход щихс  в режиме технического обслуживани , меньше допустимого числа каналов, которым разрешен выход в режим технического обслуживани . Допустимое число записываетс  в регистр 60 перед началом процесса моделировани . В случае, когда на техническом обслуживании находитс  масимально допустимое чис- ло каналов, нулевой сигнал с выхода схемы 59 сравнени  запирает элемент И 62 и запрещает запуск генератора 22.В противном случае вывод очередного канала в режим технического обслуживани  разрешен, и импульс с выхода элемента И 62 поступает на установочный вход генератора 5, запускает генератор 22 и поступает на первый вход 66 (дл  первого канала) элемента ИЛИ 56, с выхода которого импульс поступает на суммирующий вход счетчика 57 каналов, наход щихс  в режиме технического обслуживани .A single signal from the output 68 of the comparison circuit 59 is supplied to the third inputs of the elements 62 of each channel, in case the number of channels in the maintenance mode is less than the allowable number of channels allowed to enter the maintenance mode. The allowable number is written to register 60 before the start of the simulation process. In the case when the maximally permissible number of channels is under maintenance, the zero signal from the output of the comparison circuit 59 locks the AND 62 element and prevents the generator 22 from starting. Otherwise, the output of the next channel to the maintenance mode is allowed and the pulse from the output of the AND 62 enters the installation input of the generator 5, starts the generator 22 and enters the first input 66 (for the first channel) of the element OR 56, from the output of which a pulse arrives at the summing input of the counter 57 channels that are in technical mode skoy service.

При поступлении сигнала на установочный вход генератора 5 заканчиваетс  ин- тервал времени работы. Так как напр жение с выхода генератора 22 подаетс  на инверсный вход элемента И 12, то запрещаетс  прохождение импульса на генератор 13. Импульс с выхода элемента И 62 опрокидывает триггер 23. напр жение с выхода которого подаетс  на вход элемента И 24,.на первый вход которого поступают счетные импульсы от генератора 3. Импульсы проход т на вход 41 блока 10 счетчиков.When a signal arrives at the installation input of the generator 5, the operation time interval ends. Since the voltage from the output of the generator 22 is applied to the inverted input of the element 12, the passage of a pulse to the generator 13 is forbidden. The pulse from the output of the element i 62 overturns the trigger 23. the voltage from the output of which is fed to the input of the element 24, to the first input which receives the counting pulses from the generator 3. The pulses are passed to the input 41 of the block of 10 counters.

где подсчитываетс  общее врем  нахождени  системы в режиме технического обслуживани  (ТО). Кроме того, импульс с выхода элемента И 62 поступает на нулевой вход триггера 58 переключа  его. а также через элемент ИЛИ 40 сбрасывает триггер 18 и счет общего времени работы устройства прекращаетс .where the total time the system is in maintenance mode (TS) is calculated. In addition, the pulse from the output of the element And 62 is supplied to the zero input of the trigger 58 by switching it. as well, through the element OR 40 resets the trigger 18 and the counting of the total operating time of the device is terminated.

По окончании интервала времени технического обслуживани  на выходе дифференцирующего элемента 25 по вл етс  импульс, который через элемент ИЛИ 4 поступает на запуск генератора 5, перевод  канал в режим работы. Этот же импульс поступает на нулевой вход триггера 23, после чего прекращаетс  поступление счетных импульсов на вход блока 10 счетчиков, а также поступает на вход регистра 21, в котором записано число, соответствующее заданному времени наработки. Это число с приходом импульса записываетс  в параллельном коде в реверсивный счетчик 20. Кроме того, импульс с выхода дифференцирующего элемента 25 проходит через элемент ИЛИ 61 и поступает на вычитающий вход счетчика 57, уменьша  его содержимое на единицу.At the end of the maintenance time interval, a pulse appears at the output of the differentiating element 25, which through the element OR 4 enters the start of the generator 5, switching the channel to the operation mode. The same pulse arrives at the zero input of the trigger 23, after which the counting pulses stop at the input of the block 10 of the counters, and also enters the input of the register 21, in which the number corresponding to the specified operating time is recorded. With the arrival of a pulse, this number is recorded in a parallel code in the reversible counter 20. In addition, the pulse from the output of differentiating element 25 passes through the OR element 61 and goes to the subtracting input of counter 57, reducing its content by one.

В режимах работы, восстановлени  и технического обслуживани  первого канала с выходов генератора 22, 7,13 соответственно через элемент ИЛИ 28 второго канала моделировани  поступает импульс на первый вход элемента И 29 этого же канала.In the modes of operation, restoration and maintenance of the first channel from the outputs of the generator 22, 7.13, respectively, through the element OR 28 of the second modeling channel a pulse arrives at the first input of the element AND 29 of the same channel.

На второй вход элемента И 29 второго канала поступают за вки от генератора 2 за вок и проход т на второй канал моделировани  дл  их обслуживани . Аналогично при отказе или техническом обслуживании во втором канале за вки от генератора 2 поступают на третий канал и т.д.The second input element And 29 of the second channel receives requests from the generator 2, the request and passes to the second modeling channel for their service. Similarly, in case of failure or maintenance in the second channel, applications from generator 2 are sent to the third channel, etc.

Дл  подсчета числа необслуженных за вок , поступивших во врем  работы каналов , во врем  восстановлени  или технического обслуживани , выходы генераторов 13 и 22 в последнем канале (фиг.2) подключены к первому и второму входам элемента ИЛИ 16 соответственно, выход которого соединен с первым входом элемента И 27, на второй вход которого поступают за вки от генератора 2, прошедшего через элемент И 29. Эти за вки пройдут на п тый вход блока 10 счетчиков только при наличии разрешающего напр жени  на первом входе элемента И 27 от генератора 13 или 22.To count the number of unserved applications received during the channel operation, during restoration or maintenance, the outputs of the generators 13 and 22 in the last channel (FIG. 2) are connected to the first and second inputs of the OR 16 element, respectively, whose output is connected to the first input element 27, to the second input of which applications are received from generator 2 that passed through element i 29. These applications will go to the fifth input of the block of 10 meters only if there is an enabling voltage at the first input of element 27 from generator 13 or 22.

По показани м счетчиков можно оценить веро тностные показатели обслуживани  за вок.Based on the meter readings, it is possible to estimate the probabilistic indicators of the service quotation.

Дл  устранени  потери за вки, наход щейс  на обслуживании, при отказе канала осуществл етс  возврат необслуженной за вки на вход К-го канала, готового к работе, следующим образом. За вка, прин та  в канал на обслуживание, пройдет через элемент И 6 и на единичный вход триггера 30, на выходе которого устанавливаетс  высокий уровень. В это врем  происходит отказ канала, т.е. генератор 5 интервалов случайных импульсов работы прекращает работу. Запускаетс  генератор 13 случайных импульсов восстановлени . Высокий уровень с его выхода поступает на вход элемента ИЛИ 46 и, проход  через него, поступает на нулевой вход триггера 30, Последний установитс  в нулевое состо ние. На выходе дифференцирующего элемента 31 по витс  импульс, так как он срабатывает по срезу импульса. Этот импульс поступит на вход элемента И 33. Импульс, свидетельствующий о том, что за вка обслужена, на элементе И 9 не по витс , так как произошел отказ канала, Следовательно, на выходе элемента НЕ 34 установитс  высокий уровень. Через элемент 32 задержки он поступит на второй вход элемента И 33. На выходе элемента И 33 в результате по витс  импульс, имитирующий за вку. Эта за вка поступает на входы каналов обслуживани  и происходит повторное прин тие к обслуживанию за вки ,In order to eliminate the loss of a maintenance-related application, in the event of a channel failure, an unserved application is returned to the input of the K-th channel, ready for operation, as follows. The application received in the channel for service will pass through the element 6 and onto the single input of the trigger 30, the output of which is set to a high level. At this time, the channel fails, i.e. generator 5 intervals of random pulses of work stops working. The generator 13 random recovery pulses is started. A high level from its output enters the input of the element OR 46 and, passing through it, enters the zero input of the trigger 30, the latter is set to the zero state. At the output of the differentiating element 31, a pulse is produced, since it is triggered by a cut of the pulse. This impulse will go to the input of the element And 33. The impulse, indicating that the service is served, on the element 9 does not work, as the channel has failed, therefore, a high level will be set at the output of the element 34. Through the delay element 32, it will go to the second input of the And 33 element. At the output of the And 33 element, as a result, a pulse simulating a charge is obtained. This application goes to the inputs of the service channels and re-accepts the service of the application,

Claims (1)

Формула изобретени  Устройство дл  моделировани  систем массового обслуживани , содержащее генератор случайного потока импульсов, выход которого подключен к входу запуска генератора за вок, выход которого соединен с входом счетчика общего количества за вок, К каналов моделировани  обслуживани , группу из (К-1)-го элемента ИЛИ, группу из (К-1)-го элемента И, каждый канал моделировани  обслуживани  содержит с первого по седьмой элементы И, с первого по п тый дифференцирующие элементы, первый, второй, третий, четвертый триггеры , генератор случайных интервалов времени восстановлени , генератор случайных интервалов времени технического обслуживани , генератор тактовых импульсов, реверсивный счетчик, регистр пам ти, первый и второй элементы ИЛИ, генератор случайных интервалов времени обслуживани  за вок , генератор случайных интервалов времени работы, элемент задержки, элемент НЕ, блок счетчиков, К-й канал моделировани  обслуживани  содержит восьмой элемент И и третий элемент ИЛИ, в каждом канале моделировани  обслуживани  выход первого элемента И соединен с входом запуска генератора случайных интервалов времени обслуживани  за вок которого подключен через первый дифференцирующий элемент к инверсному входу второго элемента И, выход которого соединен с первым информационным входом блокаClaims An apparatus for simulating queuing systems, comprising a random pulse generator, the output of which is connected to the start input of the generator, the output of which is connected to the input of the total number of requests, K service simulation channels, a group of (K-1) -th the OR element, a group of (K-1) -th element AND, each service simulation channel contains from the first to the seventh elements AND, the first to fifth differentiating elements, the first, second, third, fourth triggers, the generator with Array recovery time intervals, random maintenance time interval generator, clock pulse generator, reversible counter, memory register, first and second OR elements, random time service interval generator, random time interval generator, delay element, NOT element, block counters, the K th channel of the service simulation contains the eighth element AND and the third element OR, in each channel of the service simulation the output of the first element AND is connected to the input of the input increasing the random time interval generator for servicing the order of which is connected through the first differentiating element to the inverse input of the second element AND whose output is connected to the first information input of the block счетчиков, выход генератора случайного потока импульсов подключен к входу запуска генератора тактовых импульсов и пр мому входу первого элемента ИЛИ, выход которого соединен с единичным входом первогоcounters, the output of the generator of a random stream of pulses is connected to the trigger input of the clock pulse generator and the direct input of the first OR element, the output of which is connected to the single input of the first 0 триггера и входом запуска генератора случайных интервалов времени работы, выход которого подключен к первому входу первого элемента И, пр мому входу второго элемента И и входу второго дифференциру5 ющего элемента, выход которого соединен с первым инверсным входом третьего элемента И, выход которого подключен к единичному входу второго триггера и входу запуска генератора случайных интервалов0 of the trigger and the start input of the random operation time generator, the output of which is connected to the first input of the first element AND, the direct input of the second element AND and the input of the second differentiating element, the output of which is connected to the first inverse of the third element AND whose output is connected to the unit the input of the second trigger and the start input of the random interval generator 0 времени восстановлени , выход которого соединен с входом третьего дифференцирующего элемента и первым входом второго элемента ИЛИ, выход третьего дифференцирующего элемента соединен с первым ин5 версным входом первого элемента ИЛИ и нулевым входом второго триггера, пр мой выход которого подключен к первому входу четвертого элемента И, второй вход которого соединен с выходом генератора тактовых0 recovery time, the output of which is connected to the input of the third differentiating element and the first input of the second element OR, the output of the third differentiating element is connected to the first progressive input of the first element OR and the zero input of the second trigger, the direct output of which is connected to the first input of the fourth element And, the second input of which is connected to the output of the clock generator 0 импульсов и первыми входами п того и шестого элементов И, выход шестого элемента И подключен к второму информационному входу блока счетчиков, выход четвертого элемента И соединен с третьим информаци5 онным входом блока счетчиков, выход генератора случайных интервалов времени технического обслуживани  соединен с вторым инверсным входом третьего элемента И и входом четвертого дифференцирующего0 pulses and the first inputs of the fifth and sixth elements I, the output of the sixth element I is connected to the second information input of the counter block, the output of the fourth element I is connected to the third information input of the block of counters, the output of the random maintenance intervals is connected to the second inverse of the third element And and the input of the fourth differentiating 0 элемента, выход которого подключен к второму инверсному входу первого элемента ИЛИ и входу считывани  регистра пам ти, разр дные выходы которого соединены с разр дными входами реверсивного счетчи5 ка, выход второго элемента ИЛИ соединен с нулевым входом четвертого триггера, пр мой выход которого подключен к входу п того дифференцирующего элемента, выход которого соединен с первым входом седь0 мого элемента И, выход которого соединен с выходом генератора за вок, второй вход седьмого элемента И подключен к выходу элемента задержки, вход которого соединен с выходом элемента НЕ, вход которого0 element, the output of which is connected to the second inverse input of the first element OR and the read input of the memory register, the bit outputs of which are connected to the bit inputs of the reversible counter, the output of the second element OR is connected to the zero input of the fourth trigger, the direct output of which is connected to the input of the fifth differentiating element, the output of which is connected to the first input of the seventh element And, the output of which is connected to the output of the generator, the second input of the seventh element And is connected to the output of the delay element, od connected to the output of NOT circuit whose input 5 подключен к выходу второго элемента И и второму входу второго элемента ИЛИ, единичный вход четвертого триггера соединен с выходом первого элемента И, а пр мой выход первого триггера подключен к второму входу п того элемента И, выход которого5 is connected to the output of the second element AND and the second input of the second element OR, the single input of the fourth trigger is connected to the output of the first element AND, and the direct output of the first trigger is connected to the second input of the fifth element AND, whose output соединен с вычитающим входом реверсивного счетчика, выход обнулени  которого подключен к единичному входу третьего триггера, в К-м канале моделировани  обслуживани  первый и второй входы третьего элемента ИЛИ соединены с выходами соответственно генератора случайных интервалов времени технического обслуживани  и генератора случайных интервалов времени восстановлени , а выход третьего элемента ИЛИ подключен к первому входу восьмого элемента И, выход которого соединен с четвертым информационным входом блока счетчиков, выход генератора за вок соединен с вторым входом первого элемента И первого канала моделировани  обслуживани  и первыми входами элементов И группы устройства, вторые входы которых подключены соответственно к выходам элементов ИЛИ группы устройства , выход 1-го элемента И группы устройства (1 1, К-2) соединен с вторым входом первого элемента И (i+1)-ro канала моделировани  обслуживани , а выход (К-1}-го элемента И группы устройства подключен к второму входу первого элемента И и второму входу восьмого элемента И К-го канала моделировани  обслуживани , первый вход j-ro элемента ИЛИ группы (j 1, К-1) соединен с выходом генератора случайных интервалов времени обслуживани  J-ro канала моделировани  обслуживани , второй вход j-ro элемента ИЛИ группы соединен с выходом генератора интервалов времени восстановлени , а третий вход j-ro элемента ИЛИ группы соединен с выходом генератора интервалов времени технического обслу- живани  J-ro канала моделировани  обслуживани , отличающеес  тем, что. с целью расширени  функциональных возможностей за счет ограничени  числа каналов , одновременно наход щихс  на техническом обслуживании, оно дополнительно содержит генератор импульсов, суммирующий счетчик, дешифратор, два элемента ИЛИ, регистр пам ти, схему сравнени  и счетчик числа каналов, наход щихс  на техническом обслуживании, каналы моделировани  обслуживани  с первого по (К-1)-й дополнительно содержат п тый триггер , восьмой и дев тый элементы И и третий элемент ИЛИ, К-й канал моделировани  обслуживани  дополнительно содержит п тый триггер, дев тый и дес тый элементы И и четвертый элемент ИЛИ, причем в каналах моделировани  обслуживани  с первого по (К-1}-й пр мой выход третьего триггера подключен к первому входу восьмого элемента И. выход которого подключен к входу генератора случайных интервалов времени технического обслуживани , входу останова генератора случайных интервалов времени работы, первому входу третьего элемента ИЛИ, единичному входу п того триггера и нулевому входу третьего триггера, инверсный выход которого подключен к третьему входу п того элемента И, выход третьего элемента ИЛИ соединен с нулевым входом первого триггера, пр мой выход которогоconnected to the subtracting input of the reversible counter, the zeroing output of which is connected to the single input of the third trigger, in the K th service simulation channel the first and second inputs of the third OR element are connected to the outputs of the random maintenance time interval generator and random recovery time interval generator, and the output The third element OR is connected to the first input of the eighth element AND, the output of which is connected to the fourth information input of the counter block, the output of the generator The torus is connected to the second input of the first element AND of the first service simulation channel and the first inputs of the device elements AND groups, the second inputs of which are connected respectively to the outputs of the elements of the device OR group, the output of the 1st element AND of the device group (1 1, K-2) connected to the second input of the first element I (i + 1) -ro of the service modeling channel, and the output (K-1} of the element AND of the device group is connected to the second input of the first element And and the second input of the eighth element of the K-th service modeling channel first The input of the j-ro element OR of the group (j 1, K-1) is connected to the output of the random service time generator J-ro of the service modeling channel, the second input of the j-ro element OR group is connected to the output of the recovery time interval generator, and the third input The j-ro element of the OR group is connected to the output of the generator of time intervals for the maintenance of the J-ro service simulation channel, characterized in that. in order to extend the functionality by limiting the number of channels that are simultaneously in maintenance, it additionally contains a pulse generator, a summing counter, a decoder, two OR elements, a memory register, a comparison circuit and a counter for the number of channels being maintained, the first to (K-1) -th service simulation channels additionally contain the fifth trigger, the eighth and ninth elements AND, and the third element OR, the Kth service simulation channel additionally contains the first trigger, the ninth and tenth elements AND, and the fourth element OR, and in the service simulation channels from the first to the (K-1} -th direct output of the third trigger is connected to the first input of the eighth element I. maintenance intervals, the stopping input of the random operation time generator, the first input of the third element OR, the single input of the fifth trigger and the zero input of the third trigger, the inverse output of which is connected to the third input of the fifth element AND, the output of the third element OR is connected to the zero input of the first trigger, the direct output of which 0 подключен к второму входу шестого элемента И, выход третьего элемента И соединен с вторым входом третьего элемента ИЛИ, выход четвертого дифференцирующего элемента соединен с нулевым входом п того0 is connected to the second input of the sixth element And, the output of the third element And is connected to the second input of the third element OR, the output of the fourth differentiating element is connected to the zero input of the fifth 5 триггера, пр мой выход которого подключен к первому входу дев того элемента И, второй вход которого подключен к выходу генератора тактовых импульсов, выход дев того элемента И подключен к четвертому5 flip-flops, the direct output of which is connected to the first input of the ninth element And, the second input of which is connected to the output of the clock generator, the output of the ninth element And is connected to the fourth 0 информационному входу блока счетчиков, вторые входы восьмых элементов И подключены соответственно к выходам дешифратора устройства, а третьи входы восьмых элементов И соединены с выходом Мень5 ше схемы сравнени , в К-м канале моделировани  обслуживани  пр мой выход третьего триггера подключен к первому входу дев того элемента И, выход которого подключен к входу генератора случайных0 to the information input of the counter block, the second inputs of the eighth elements And are connected respectively to the outputs of the device decoder, and the third inputs of the eighth elements And are connected to the output Less of the comparison circuit, in the Km service modeling channel, the direct output of the third trigger is connected to the first input of the ninth element And, the output of which is connected to the input of the random generator 0 интервалов времени технического обслуживани , входу останова генератора случайных интервалов времени работы, первому входу четвертого элемента ИЛИ, единичному входу п того триггера и нулевому входу0 maintenance time intervals, random stop time generator stop input, first input of the fourth OR element, single trigger input and zero input 5 третьего триггера, инверсный выход которого подключен к третьему входу п того элемента И, выход четвертого элемента ИЛИ соединен с нулевым входом первого триггера , пр мой выход которого подключен к вто0 рому входу шестого элем-ента И, выход третьего элемента И соединен с вторымвхо- дом четвертого элемента ИЛИ, выход четвертого дифференцирующего элемента соединен с нулевым входом п того тригге5 ра, пр мой выход которого подключен к первому входу дес того элемента И, второй вход которого подключен к выходу генератора тактовых импульсов, выход дес того элемента И соединен с п тим информаци0 онным входом блока счетчиков, второй вход дев того элемента И соединен с соответствующим выходом дешифратора устройства, а третий вход дев того элемента И соединен с выходом Меньше схемы сравнени , ин5 формационные входы первой и второй групп которой соединены с выходами соответственно регистра пам ти и разр дными выходами счетчика числа каналов, наход щихс  на техническом обслуживании, суммирующий вход которого соединен с5 of the third trigger, the inverse output of which is connected to the third input of the fifth element AND, the output of the fourth element OR is connected to the zero input of the first trigger, the direct output of which is connected to the second input of the sixth element And, the output of the third element I is connected to the second input the house of the fourth element OR, the output of the fourth differentiating element is connected to the zero input of the fifth trigger, the direct output of which is connected to the first input of the tenth element And, the second input of which is connected to the output of the clock pulse generator the output of the tenth element I is connected to the fifth information input of the counter block, the second input of the ninth element I is connected to the corresponding output of the device decoder, and the third input of the ninth element I is connected to the output Smaller comparison circuit, the information inputs of the first and second groups of which are connected to the outputs of the memory register respectively and the bit outputs of the counter of the number of channels being maintained, the summing input of which is connected to выходом первого элемента ИЛ И устройства,лировани  обслуживани  и выход дев того а вычитающий вход - с выходом второгоэлемента И К-го канала моделировани  об- элемента ИЛИ устройства, выход генерато-служивани  подключены соответственно к ра импульсов соединен со счетным входомвходам первого элемента ИЛИ устройства, суммирующего счетчика, разр дные выхо-5 а входы второго элемента ИЛИ устройства ды которого подключены соответственно кподключены соответственно к выходам чет- входам дешифратора, выходы восьмых эле-вертых дифференцирующих элементов всех ментов И с первого по (К-1)-й каналов моде-каналов моделировани  обслуживани .the output of the first element of the IL AND device, the service ligation and the output of the ninth and subtractive input — with the output of the second element and the K-th channel of the simulation of the OR element, the output of the generation service is connected respectively to the pulse pa connected to the counting input of the first element OR of the device summing counter, the bit outputs 5 and the inputs of the second element OR of which the devices are connected respectively to connected respectively to the outputs of the four inputs of the decoder, the outputs of the eighth elements differentiating And all the elements of the cops of the first to (K-1) th channel mode channel simulation service. 10ten
SU894768421A 1989-10-31 1989-10-31 Device for queueing system simulation SU1667100A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894768421A SU1667100A1 (en) 1989-10-31 1989-10-31 Device for queueing system simulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894768421A SU1667100A1 (en) 1989-10-31 1989-10-31 Device for queueing system simulation

Publications (1)

Publication Number Publication Date
SU1667100A1 true SU1667100A1 (en) 1991-07-30

Family

ID=21484308

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894768421A SU1667100A1 (en) 1989-10-31 1989-10-31 Device for queueing system simulation

Country Status (1)

Country Link
SU (1) SU1667100A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР Me 1180920, кл. G 06 F 15/20, 1985. Авторское свидетельство СССР № 1503044, кл. G 06 F 15/20, 1987. *

Similar Documents

Publication Publication Date Title
SU1667100A1 (en) Device for queueing system simulation
SU1732352A1 (en) Queue system simulator
SU1168962A1 (en) Device for simulating queueing systems
SU1503044A1 (en) Device for modeling mass service systems
SU1180923A1 (en) Device for simulating queueing system
SU1418730A1 (en) Device for simulating mass service systems
RU1820386C (en) Device for majority selection of async signals
SU1661787A1 (en) Man-machine system simulator
RU1837288C (en) Device for dynamic priority
RU1784993C (en) Device for first-come-first service systems simulating
SU1472914A1 (en) Queueing system simulator
SU1683029A1 (en) Queuing systems simulator
RU2041492C1 (en) Device for solving task of analysis of operations in queuing systems
SU1305701A1 (en) Device for simulating the queueing systems
SU826358A1 (en) Device for simulating mass servicing system
SU1024929A1 (en) Device for simulating servicing requests with different priorities
SU1649563A1 (en) Device for simulating a dual channel queueing system
SU1117645A1 (en) Device for studying transport system model
SU1481790A1 (en) Queueing system simulator
SU1196893A1 (en) Device for simulating queueing systems
SU962900A1 (en) Device for interfacing subscriber's post with digital computer
SU1487062A1 (en) Sophisticated system failure simulator
SU1242981A1 (en) Device for simulating two-channel queueing system
SU858000A1 (en) Mass servicing system simulating device
SU1267430A1 (en) Device for simulating man-machine systems