SU1503044A1 - Device for modeling mass service systems - Google Patents
Device for modeling mass service systems Download PDFInfo
- Publication number
- SU1503044A1 SU1503044A1 SU874346969A SU4346969A SU1503044A1 SU 1503044 A1 SU1503044 A1 SU 1503044A1 SU 874346969 A SU874346969 A SU 874346969A SU 4346969 A SU4346969 A SU 4346969A SU 1503044 A1 SU1503044 A1 SU 1503044A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- generator
- random
- service
- Prior art date
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано при моделировании многоканальных систем массового обслуживани с учетом динамики и режимов функционировани . Цель изобретени - расширение функциональных возможностей за счет исключени потери за вок во врем отказов каналов. В устройство дл моделировани систем массового обслуживани , содержащее генератор случайного потока импульсов, генератор за вок, счетчик общего числа за вок, K каналов моделировани обслуживани , каждый из которых содержит блок счетчиков, с первого по седьмой элементы И, первый, второй, третий и четвертый дифференцирующие элементы, первый, второй и третий триггеры, генератор случайных интервалов времени восстановлени , генератор случайных интервалов времени технического обслуживани , генератор счетных импульсов, реверсивный счетчик, регистр пам ти, первый элемент ИЛИ, генератор случайных интервалов времени обслуживани за вок, генератор случайных интервалов времени работы, а в последнем канале - второй элемент ИЛИ и восьмой элемент И, введены четвертый триггер, п тый дифференцирующий элемент, элемент задержки, восьмой элемент И, элемент НЕ и третий элемент ИЛИ. Это позвол ет улучшить дисциплину обслуживани и сократить веро тность потери за вок, число обслуженных задач в среднем увеличилось на 11%, за счет рационального использовани машинного времени. 2 ил.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 eliminating the loss of inventory during channel failures. Into a device for simulating queuing systems, comprising a random pulse generator, a generator, a total number of orders, K service simulation channels, each of which contains a block of counters, from first to seventh elements And, first, second, third and fourth differentiating elements, first, second and third triggers, random recovery time interval generator, random maintenance time interval generator, counting pulse generator, reversible counter, the memory register, the first element OR, the generator of random service intervals of the request, the generator of random intervals of operation, and in the last channel the second element OR and the eighth element AND, the fourth trigger, the fifth differentiating element, the delay element, the eighth element AND are entered , the element is NOT and the third element is OR. This improves the discipline of servicing and reduces the likelihood of loss of quota, the number of tasks served has increased by an average of 11%, due to the rational use of computer time. 2 Il.
Description
Изобретение относитс к вычислительной технике и может быть использовано при моделировании многоканальных систем массового обслуживани .The invention relates to computing and can be used in the simulation of multi-channel queuing systems.
Цель изобретени - расщирение функциональных возможностей за счет исключени потери за вок при отказах каналов.The purpose of the invention is to extend the functionality by eliminating the loss of inventory in the event of channel failures.
На фиг.1 изображена схема устройства , где раскрыт первый канал; на1 shows a diagram of the device, where the first channel is opened; on
фиг.2 - схема устройства, где раскрыт последний канал.figure 2 - diagram of the device, where the last channel is opened.
Устройство содержит генератор 1 случайного поток.а импульсов, К каналов 2 моделировани , каждый из которых содержит генератор 3 счетных импульсов, первый элемент ИЛИ 4, генератор 5 случайных интервалов време ни работы, первый элемент И 6, генератор 7 слуЧ4айных интервалов времениThe device contains a generator of 1 random flow. And pulses, K channels 2 simulations, each of which contains a generator of 3 counting pulses, the first element OR 4, the generator 5 random intervals of operation, the first element And 6, the generator 7 random time intervals
3П03П0
обслуживани за вок, первый дифференцирующий элемент 8, второй элемент И 9, блок 10 счетчиков, второй ференцирующий элемент 11, третий элемент И 12, генератор U случайных интервалов времени восстановпени , второй триггер 14, четвертый элемент И 15, в последнем канале второй элемент ИЛИ 16, третий дифференцирующий элемент 17, первый триггер 18, п тый элемент И 19, реверсивный счетчик 20 регистр 21 пам ти, генератор 22 слу чайных интервгшов времени технического обслуживани , третий триггер 23, шестой элемент И 24, четвертый диф ференцирующий элемент 25, счетчик 26 общего количества за вок, в последнем канале - седьмой элемент И 27. УсТ ройство также содержит группу элемен- тов ИЛИ 28 и группу элементов И 29. В состав каналов 2 моделировани обслуживани также вход т четвертый триггер 30, п тый дифференцирующий элемент 31, элемент 32 задержки, восьмой элемент И 33 и элемент НЕ 34 Позици ми 35 45 обозначены входы и выходы отдельных элементов. В состав канала моделировани обслуживани входит третий элемент ИЛИ 46, а в состав устройства - генератор 47 за вок.service order, the first differentiating element 8, the second element AND 9, the block of 10 counters, the second activating element 11, the third element AND 12, the generator U random intervals of repair, the second trigger 14, the fourth element AND 15, in the last channel the second element OR 16, the third differentiating element 17, the first trigger 18, the fifth element And 19, the reversible counter 20 memory register 21, random service time generator 22, the third trigger 23, the sixth element 24, the fourth differential element 25, the score In the last channel, the seventh element is AND 27. The device also contains a group of elements OR 28 and a group of elements AND 29. The service simulation channels 2 also includes a fourth trigger 30, the fifth differentiating element 31 , delay element 32, eighth element AND 33, and element NOT 34. The positions 35 and 45 denote the inputs and outputs of the individual elements. The service simulation channel includes the third element OR 46, and the device includes a generator 47 for the wok.
Устройство моделирует процесс функционировани CMC, имеющей К каналов обслуживани , каждый из которых может находитьс в четырех режимах (состо ни х): работа, отказ, восстановление , техническое обслуживание по наработке. Обслуткивание за вок происходит только во врем работы. Окончание режима работы соответствует наступлению отказа, при этом канал переходит в режим восстановлени и одновременно открывает следующий канал, куда поступает очередна за вка , необслуженна из-за отказа за вк возвращаетс на вход готового к работе канала. При истечении некоторого заданного времени наработки каждый К-й канал переходит в режим технического обслуживани , за вки, поступающие во врем режимов восстановлени или технического обслуживани в (К-1) канале, обслуживаетс в К-м канале.The device simulates the operation of a CMC having K service channels, each of which can be in four modes (states): operation, failure, recovery, maintenance, and service time. Splitting occurs only during operation. The end of the operation mode corresponds to the failure, while the channel goes into recovery mode and at the same time opens the next channel, where the next request arrives, unserved without failure due to a failure, returns to the input of the ready-to-work channel. When a predetermined operating time has elapsed, each K-th channel goes into maintenance mode, and applications received during recovery or maintenance modes on the (K-1) channel are served in the K-th channel.
Устройство работает следующим образом.The device works as follows.
Генератор 1 случайного потока импульсов вьфабатывает импульс, котоThe generator 1 of a random stream of pulses eliminates the impulse that
0 5 О 0 5 o
5five
5five
00
5five
рый запускает генератор 47 за вок, в каждом канале генератор 3 счетных импульсов, а также, проход через пр мой вход элемента ИЛИ 4, в каждом канале запускает генератор 5 случайных интервалов времени работы. На выходе генератора 5 формируетс случайный интервал времени, соответствующий продолжительности режима рабо ты. За вки с выхода генератора 47 поступают на второй вход открытого элемента И 6 и запускают генератор 7 случайных интервалов времени обслуживани , который формирует интервал времени обслуживани за вок. По окончании этого интервала импульс с выхода дифференцирующего элемента 8 через элемент И 9 при наличии напр жени на генераторе 5 поступает на первый вход блока 10 счетчиков, где подсчитываетс общее число обслуженных за вок в К-м канале системы.The generator starts 47 generator 47, each generator generates 3 counting pulses, and also, passing through the direct input of the element OR 4, each channel starts a generator of 5 random operation time intervals. At the output of the generator 5, a random time interval is formed corresponding to the duration of the operation mode. The quotes from the output of the generator 47 are fed to the second input of the open element 6 and start the generator 7 of random service time intervals, which forms the service time interval of the order. At the end of this interval, a pulse from the output of differentiating element 8 through element I 9 when there is voltage on generator 5 is fed to the first input of block 10 of counters, where the total number of serviced quotations in the Kth channel of the system is counted.
По окончании интервала времени работы импульс, имитирующий отказ, с выхода дифференцирующего элемента 11 через элемент И 12 запускает генератор 13 случайных интервалов времени восстановлени . На выходе генератора 13 формируетс интервал времени, соответствующий режиму восстановлени . Этот же импульс поступает на единичный вход триггера 14 и опрокидывает его, после чего напр жение с выхода триггера 14 поступает на вход элемента И 15. На второй вход элемента И 15 поступают счетные импульсы от генератора 3, которые, проход т на третий вход блока 10 счетчиков, подсчитывающего врем восстановлени канала. По окончании интервала времени восстановлени импульс с выхода дифференцирующего элемента 17 через первый инверсный вход элемента ИШ 4 запускает генератор 5, вновь перевод К-й канал в режим работы. Этот же импульс поступает на нулевой вход триггера 14, после чего счетные импульсы не поступают на третий вход блока счетчиков 10. Импульс с выхода элемента ИЛИ 4 поступает также на единичный вход триггера 18, напр жение с выхода которого подаетс на вход элемента И 19, на второй вход которого поступают счетные импульсы от генератора 3. Счетные импульсы проход т на вычитающий вход реверсивного счетчика 20, и соответствующее заданному вре515At the end of the time interval of operation, a pulse, imitating a failure, from the output of the differentiating element 11, through the element 12, starts the generator 13 of the random recovery time intervals. At the output of the generator 13, a time interval is formed corresponding to the recovery mode. 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 to the third input of the block 10 counters, counting the recovery time of the channel. At the end of the recovery time interval, a pulse from the output of the differentiating element 17 through the first inverse input of the ISh 4 element starts the generator 5, again switching the Kth 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 input of the counter block 10. The pulse from the output of the element OR 4 also goes to the single input of the trigger 18, the voltage from the output of which is fed to the input of the element 19, the second input of which receives counting pulses from generator 3. Counting pulses are passed to the subtracting input of the reversing counter 20, and corresponding to a given time 515
мен наработки число начинает умень-- шатьс .change in the number of time starts to decrease.
Одновременно счетные импульсы пос тупают на четвертый вход блока 10 счетчиков, где подсчитываетс общее врем нахождени системы в режиме работы. По окончании интервала времени работы импульс с выхода элемента И 12 поступает на нулевой вход триггера 18, после чего счетные импульсы не проход т на счетчик 20 и четвертый вход блока 10 счетчиков. Как только показани реверсивного счетчика 20 примут нулевое значение, импу1гьс с его вьп о71:а запускает гене-- ратор 22 случайных интервалов времени , который начинает формирова1гиеAt the same time, the counting pulses arrive at the fourth input of the block of 10 meters, where the total time the system has been in operation is calculated. At the end of the operating time interval, the pulse from the output of the element 12 goes to the zero input of the trigger 18, 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 reading of the reversible counter 20 takes a zero value, it is charged from its top 71: and the generator starts up 22 random time intervals, which starts
интервала времени, соответствующего режиму технического обслуживани . Этот же импульс поступает на устано- вочньй вход генератора 5, при этом заканчиваетс интервал времени работы . Канал переходит в режим восс а- 11овлени , так как }1апр жение с выход генератора 22 подаетс на пторой инверсный лход элемента И 12 и запре иаетс прохождение импульса на генератор 13. Импульс с реверсивного счетчика 20 поступает также на еди- 11ИЧИЫЙ в:;од триггера 23, напр жение с выхода которого подаетс на второй вход элемента И 24, на первый вхпд которого поступают счетные импульсы от 1-енер,1тора 3. Эти импульсы проход т на второй вход блока 10 счетчиков , где подсчитываетс общее врем нахождени системы в режиме технического обслуживани . По окончании интервала времени технического обслуживани на выходе дифференцирующего элемента 25 по вл етс импульс, который через второй инверсный вход элемента №ТИ 4 поступает на запуск генератора 5, перевод канал в режим работы . Этот же импульс поступает на нулевой вход триггера 23, после чего прекращаетс поступление счетных импульсов на второй вход блока 10 счетчиков, а также поступает на вход регистра 21, в котором записано число, соответствующее заданному времени наработки. Это число с приходом импульса записываетс в параллельном коде в реверсивный счетчик 20interval of time corresponding to the maintenance mode. The same impulse arrives at the stationary input of the generator 5, and the time interval of operation ends. The channel goes into reconstructing mode, since} 1jump from generator output 22 is fed to the second inverse element of the I 12 element and the pulse to the generator 13 is blocked. The pulse from the reversing counter 20 also goes to the single in:; the trigger 23, the voltage from the output of which is fed to the second input of the element 24, to the first inlet of which counts are received from 1-ener, 1 of clock 3. These pulses are passed to the second input of the block 10 of counters, where the total time spent by the system in the mode maintenance. At the end of the maintenance time interval, a pulse appears at the output of differentiating element 25, which, through the second inverse input of element No. 4, enters the start of 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 second 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 the pulse, this number is written in parallel code to the reversible counter 20
В режимах работы восстановлени и технического обслуживани с выходов генератора 22, 7, 13 соответственноIn the operation modes of restoration and maintenance from the generator outputs 22, 7, 13, respectively
66
ПЛИ 28,PLI 28,
00
(ерез элемент И.чи 1Ь поступает импульс на первый вход элемента И 29.(Through the element I.chi 1b a pulse arrives at the first input of the element I 29.
На второй вход элемента И 29 поступают за вки от генератора 2 за вок и проход т на второй канал моделиро-- иани дл их обслуживани . Аналогично при отказе или техническом обслуживании во втором канале за вки от генератора.2 поступают на третий канал и т.д.The second input element And 29 receives applications from the generator 2, the application and passes to the second channel of the simulation 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.
Дл подсчета числа необслуженных за вок, пришедших во врем работы каналов, во врем восстановлени 5 или технического обслуживани в последнем канале используютс элементы ШШ 16 и И 27.To calculate the number of unserved applications received during the operation of the channels, during restoration 5 or maintenance, in the last channel, elements ШШ 16 и И 27 are used.
По показани м счетчиков мол.но оценить веро тностные показатели 0 обслуживани за вок.According to the readings of the counters, it is possible to estimate the likelihood indices of the 0 service quotation.
устранени потери за вки, лахол щейс на обслуживании, при тказр канала осуществл етс возврат необслужснной за вки на вход другого 5 канала, готового к работе, следующим образом, за вка,прин та в канал на обслуживание, проходит через элемент И 6 и на единичный вход триггера 30, на йыходс которого устанавливаетс высокий уровень. Если в это врем происходит отказ канала, т.е. генератор интервалов случайных импульсов работы 5 прекращает работу. Запуска - етс генератор 13 случайных импульсов восстановлени . Высокий ровень с его выхода поступает на вход элемента HIU-l 46,и.5 проход через него, :шступает на нулевой вход триггера 30. Триггер 30 устанавливаетс в нулевое состо ние. На выходе дифференцирующего элемента 31 по вл етс импульс, так как он срабатывает по заднему фронту. Этот импульс поступает на вход элемента И 33. И 4пульс, свидетельствующий о том, что за вка обслужена, на элементе И 9 не по вл етс , так как произошел отказ канала . Следовательно, на выходе элемента НЕ 34 устанавливаетс высокий уровень. Через элемент 32 задержки он поступает на второй вход элемента И 33, на выходе которого в результате по вл етс импульс, имитирующий за вку. Эта за вка поступает на входы каналов, и происходит повторное обслуживание за вки. elimination of loss of service for the service, when the channel is reverted, the unsolicited application is returned to the input of another channel 5, ready for operation, as follows, the application received in the channel for service passes through the element 6 and the unit trigger input 30, on which the high level is set. If a channel fails at this time, i.e. the generator of intervals of random pulses of operation 5 stops working. The start-up is a generator of 13 random recovery pulses. A high level from its output enters the input of the HIU-l 46 element, and 5 passing through it,: steps to the zero input of the trigger 30. The trigger 30 is set to the zero state. A pulse appears at the output of the differentiating element 31, since it is triggered by a falling edge. This impulse arrives at the input of the And 33 element. And the 4 pulse, indicating that the application is served, on the And 9 element does not appear, as the channel has failed. Consequently, the output element HE 34 is set to a high level. Through the delay element 32, it arrives at the second input of the AND element 33, the output of which as a result results in a pulse imitating a charge. This application enters the inputs of the channels, and the application is re-serviced.
В случае, когда за вка в канал не поступила, а произошел отказ, схема работает следующим образом.In the case when the application has not entered the channel, but a failure has occurred, the scheme works as follows.
00
5five
00
5five
00
5five
Триггер 30 установлен в О, Высокий уровень с генератора 13 не игзмен ет его состо ние. Следовательно, на входе и выходе элемента И 33 О. Следо- вательно, возврата за вки не произойдет .The trigger 30 is set to O. The high level from the generator 13 does not change its state. Consequently, the input and output of the element And 33 O. Consequently, no refund will occur.
Задержка необходима дл обеспечени одновременного поступлени импульсов на входы элемента И 33 с вы- хода дифференцирующего .элемента 31 и выхода элемента И 9. Врем задержки равно времени срабатывани дифференцирующего элемента, В случае безотказной работы канала на выходе элемента И 9 присутствует импульс, который свидетельствует об обслуживании за вки. Он поступает на вход элемента НЕ 34 и нулевой вход триггера 30, на выходе которого устанавли- ваетс низкий уровень, на выходе дифференцирующего элемента 31 по вл етс импульс и поступает на второй вход элемента И 33. В это врем на первом входе элемента И 33 низкий уровень, поэтому импульс, имитирующий за вку, на выходе элемента И 33 не по вл етс . Следовательно, возврата за вки не произойдет, так как в этом нет необходимости.The delay is necessary to ensure simultaneous arrival of pulses at the inputs of the AND 33 element from the output of the differentiating element 31 and the output of the element 9. The delay time is equal to the response time of the differentiating element. In the case of failure-free operation of the channel, the output of the element 9 also contains a pulse service for vki. It enters the input element HE 34 and the zero input trigger 30, the output of which is set to a low level, the output of the differentiating element 31 appears pulse and enters the second input element AND 33. At this time, at the first input element AND 33 a low the level, therefore, the impulse imitating the taste, at the output of the element 33 does not appear. Consequently, no refund will occur, as this is not necessary.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874346969A SU1503044A1 (en) | 1987-12-21 | 1987-12-21 | Device for modeling mass service systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874346969A SU1503044A1 (en) | 1987-12-21 | 1987-12-21 | Device for modeling mass service systems |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1503044A1 true SU1503044A1 (en) | 1989-08-23 |
Family
ID=21343653
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874346969A SU1503044A1 (en) | 1987-12-21 | 1987-12-21 | Device for modeling mass service systems |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1503044A1 (en) |
-
1987
- 1987-12-21 SU SU874346969A patent/SU1503044A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1086435, кл. G 06 F 15/20, 1982. Авторское свидетельство СССР № 1168962, кл. G 06 F 15/20, 1984. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1503044A1 (en) | Device for modeling mass service systems | |
SU1667100A1 (en) | Device for queueing system simulation | |
SU1315994A1 (en) | Device for simulating human operator activities in ergatic systems | |
SU1168962A1 (en) | Device for simulating queueing systems | |
SU1196893A1 (en) | Device for simulating queueing systems | |
SU1765812A1 (en) | Computing system synchronizing device | |
SU1644156A1 (en) | Multiuser servicing system simulator | |
SU858000A1 (en) | Mass servicing system simulating device | |
SU1716534A1 (en) | For simulation of queueing system | |
SU826358A1 (en) | Device for simulating mass servicing system | |
SU1418730A1 (en) | Device for simulating mass service systems | |
SU1180923A1 (en) | Device for simulating queueing system | |
SU1487062A1 (en) | Sophisticated system failure simulator | |
SU1089582A1 (en) | Device for simulating queueing systems | |
SU1472914A1 (en) | Queueing system simulator | |
SU1405071A1 (en) | Device for simulating mass service systems | |
SU1156251A1 (en) | Multistage counter with check | |
SU1481790A1 (en) | Queueing system simulator | |
RU1783539C (en) | Device for modelling of queueing systems | |
SU1010611A1 (en) | Multi-computer complex synchronization device | |
SU1086435A1 (en) | Device for simulating queueing systems | |
SU1151959A1 (en) | Frequency multiplier | |
SU1305703A1 (en) | Device for breaking graph into subgraphs | |
SU1244674A1 (en) | Device for simulating queueing systems | |
RU1775725C (en) | Probabilistic graph simulating device |