SU1242981A1 - Device for simulating two-channel queueing system - Google Patents

Device for simulating two-channel queueing system Download PDF

Info

Publication number
SU1242981A1
SU1242981A1 SU843802526A SU3802526A SU1242981A1 SU 1242981 A1 SU1242981 A1 SU 1242981A1 SU 843802526 A SU843802526 A SU 843802526A SU 3802526 A SU3802526 A SU 3802526A SU 1242981 A1 SU1242981 A1 SU 1242981A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
trigger
channel
pulse generator
Prior art date
Application number
SU843802526A
Other languages
Russian (ru)
Inventor
Иван Владимирович Адерихин
Михаил Алексеевич Калинкин
Владимир Александрович Фукалов
Original Assignee
Войсковая Часть 32103
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 Войсковая Часть 32103 filed Critical Войсковая Часть 32103
Priority to SU843802526A priority Critical patent/SU1242981A1/en
Application granted granted Critical
Publication of SU1242981A1 publication Critical patent/SU1242981A1/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано при аппаратурном исследовании двухканальных систем массового обслуживани  (СМО). Цель изобретени  расширение функциональньк возможностей устройства за счет воспроизведени  динамики и режимов функционировани  двухканальных СМО. Данна  цель достигаетс  тем, что в устройство дополнительно введено дес ть элементов И, двенадцать элементов ИЛИ, семь триггеров, четырнадцать генераторов импульсов. Введение указанных элементов позвол ет существенно повысить точность моделировани  и расширить функциональные возможности устройства , исследовать широкий класс двухканальных СМО с учетом динамики и режимов их функционировани . Положитель- ,ный эффект заключаетс  в повышении точности и расширении функциональных возможностей устройства при исследовании двухканальных СМО с учетом реальных условий, имеющих место при их эксплуатации. 1 ил. о (The invention relates to computing and can be used in the instrumental study of two-channel queuing systems (QS). The purpose of the invention is the expansion of the functional capabilities of the device by reproducing the dynamics and modes of operation of two-channel QS. This goal is achieved by the fact that the device additionally introduced ten elements AND, twelve elements OR, seven triggers, fourteen pulse generators. The introduction of these elements makes it possible to significantly increase the accuracy of modeling and expand the functionality of the device, explore a wide class of two-channel QS taking into account the dynamics and modes of their functioning. The positive effect is to increase the accuracy and enhance the functionality of the device in the study of two-channel QS, taking into account the actual conditions that occur during their operation. 1 il. about (

Description

Изобретение относитс  к специализированным средствам вычислительной техники и предназначено дл  моделиро вани  процессов веро тностного распространени  поступивших за вок межд свободными в момент поступлени  за вок каналами системь; массового обслуживани  и их обслуживани  с учетом режимов и динамики функционировани  каналов этих систем.The invention relates to specialized means of computing and is intended to simulate the processes of probable distribution of incoming applications among free at the time of arrival of the channels of the system; mass service and their service taking into account the modes and dynamics of the functioning of the channels of these systems.

Цель изобретени  - расширение функциональных возможностей устройства за счет учета режимов отказов и восстановлени  каналов обслуживани  устройства.The purpose of the invention is to expand the functionality of the device by taking into account failure modes and restoring the service channels of the device.

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

Устройство содержит триггер 1 управлени , элементы И, 2 и 3, , элементы ЗАПРЕТ 4 и 5, элементы И 6 и 7, информационный вход 8 устройства, элементы ИЛИ 9 и 10, триггеры 11 и 12, элемент И 13, элемент ИЛИ 14, генераторы 15 - 17 импульсов со случайным интервалом следовани , элементы ИЛИ 18 и 19, генераторы 20-23 импуль сов со случайным интервалом следовани , элемент ИЛИ 24, элементы И 25 и 26, триггеры 27 - 29, элементы И 30 и 31, элементы ИЛИ 32 - 37, генераторы 38-44 импульсов ;со случайным интервалом следовани , элементы И 45 - 49, триггеры 50 - 54, выходы 55 и 56 устройства, элементы И 57 и 58,The device contains a trigger 1 control, the elements And, 2 and 3, the elements BAN 4 and 5, the elements AND 6 and 7, the information input 8 of the device, the elements OR 9 and 10, the triggers 11 and 12, the element AND 13, the element OR 14, generators 15–17 pulses with a random spacing interval, elements OR 18 and 19, generators 20–23 pulses with a random spacing interval, element OR 24, elements AND 25 and 26, triggers 27–29, elements AND 30 and 31, elements OR 32-37, generators 38-44 pulses; with a random following interval, elements I 45-49, triggers 50 54, outputs 55 and 56 devices, elements 57 and 58,

Вербальна  модель работы устройства следующа .Verbal model of the device operation is as follows.

В устройстве возможны три состо ни : оба канала свободны; зан т один из каналов; оба канала зан ты. За вки поступают на информационный вход устройства, функционирование которого можно разделить на р д последовательных фаз о В первой фазе в зависимости от положени  управл ющего триггера, в которое он устанавливаетс  с заданной веро тностью Р сигналами, поступающими на управл ющие входы устройства, обеспечиваетс  направление за вок либо в первьй, либо во второй канал.Three states are possible in the device: both channels are free; one of the channels is busy; both channels are you. The applications are sent to the information input of the device, the operation of which can be divided into a series of consecutive phases o In the first phase, depending on the position of the control trigger, into which it is installed with a predetermined probability P, sent to the control inputs of the device, wok either to the first or to the second channel.

Во второй фазе имитируетс  ориентаци  (подготовка) обслуживающего прибора к обслуживанию за вок первого или второго канала, т.е. в зависимости от того, в какой канал поступила за вка.In the second phase, the orientation (preparation) of the servicing device for servicing the charges of the first or second channel, i.e. depending on which channel you entered the application.

В третьей фазе имитируетс  пребы ванне системы в режиме готовности иIn the third phase, the system imitates the dwelling bath in standby mode and

в четвертой фазе имитируетс  непосредственное обслуживание., за вок. Во всех фазах (режимах) работы устройства могут возникать отказы, после чего устройство переходит в режим восстановлени . Через случайный интервал времени  восстановлени  устройство возвращаетс  в исходное состо ние - приему очередной за вки, при этом за вка, наход ща с  з устройстве в момент отказа и восстановлени , тер етс  За вки, поступив- щие в момент зан тости обоих каналов ориентированием обслуживающих 5 приборов или их восстановлением, тер ютс  .in the fourth phase, direct service is simulated. In all phases (modes) of operation of the device, failures can occur, after which the device enters the recovery mode. At a random time interval of recovery, the device returns to its original state — the reception of the next application, while the application located at the device at the time of failure and recovery is lost. The applications received at the moment of both channels being oriented devices, or their recovery, are lost.

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

За вки, поступающие на информа- Q ционный вход 8 устройства, представл ют собой короткие импульсы, распределенные по моделирующему случайному закону поступлени  з.а вок.Модели обслу сивающ е.гр прибора,  вл ющие- 5 с  кан;алами системы массового обслуживани , образованы соответственно генераторами 15, 16, 17, 20, 21, 22 и 23, элементами ШШ 9,. 10, 14, 18, 19 и 24, элементами И 13, 25, 26, 30 и 31, триггерами 11, 12, 27 28 и 29,генераторами 38 - 44,элемента- ми ИЛИ 32 - 37, элементами И 45-49 и триггерами 50 - 54. Наличие сигналов на единичных выходах триггеров 11 и 54 свидетельствует о свободном состо нии соответственно первого и второго каналов, т.е. не о зан тосг ти ориентированием обслужившощего . прибора.The applications arriving at the device information input 8 of the device are short pulses distributed according to the simulated random law of the arrival of wagons. The service models of the device eGr, which are 5 with channels; formed respectively by the generators 15, 16, 17, 20, 21, 22 and 23, the elements of SHSh 9 ,. 10, 14, 18, 19 and 24, by elements of AND 13, 25, 26, 30 and 31, triggers 11, 12, 27 of 28 and 29, by generators 38 - 44, by elements of OR 32 - 37, by elements of And 45-49 and flip-flops 50 - 54. The presence of signals at single outputs of flip-flops 11 and 54 indicates a free state of the first and second channels, i.e. do not care about the orientation of the service provider. device.

В исходном состо нии триггеры 11, 12, 27, 28, 29,50, 51, 52, 53 и 54 наход тс  в нулевом состо нии. Генераторы 15, 16, 17,, 23, 41, 42, 43 и 44 не запущены, генераторы 20, 21, 22, 38, 39 и 40 включены.In the initial state, the triggers 11, 12, 27, 28, 29.50, 51, 52, 53, and 54 are in the zero state. Generators 15, 16, 17 ,, 23, 41, 42, 43 and 44 are not running, generators 20, 21, 22, 38, 39 and 40 are included.

В устройстве; возможны след чсщие состо ни : оба канала, свободны; зан т один из каналов; оба канала зан ты; отказ и восстановление в .одном из каналов, отказ и восстановление двух каналов и т.д.In the device; The following states are possible: both channels are free; one of the channels is busy; both channels are occupied by you; failure and recovery in one of the channels, failure and restoration of two channels, etc.

Работа устройства в состо нии,когда оба канала свободны и могут отказать в любом из режимов.и восстанавливатьс ,, осущ€;ствл етс  след тощим S образом. Входной поток за вок поступает через информационный вход 8 устройства на элементы И 2 и 3, на элементы ЗАПРЕТ 4 и 5. Наличие наThe operation of the device in a state where both channels are free and can be denied in any of the modes. And restored, implies a trail in a skinny manner. The input flow for the wok enters through the information input 8 of the device to the elements And 2 and 3, to the elements BANE 4 and 5. The presence of

00

5five

00

00

1515

2020

инвертирующих входах элементов ЗАПРЕТ 4 и 5 сигналов с триггеров 11 и 54 преп тствует прохождению за вок в каналы . В зависимости от положени  управл ющего триггера 1, в которое он устанавливаетс  с заданной веро тностью Т сигналами, поступающими на управл ющие входы устройства, за вка поступает либо в первый канал, либо во второй через соответствующие зле- JQ менты И 2 и 3.the inverting inputs of the BANKS elements 4 and 5 of the signals from the flip-flops 11 and 54 prevent the passage of the bins into the channels. Depending on the position of the control trigger 1, in which it is installed with a predetermined probability T signals arriving at the control inputs of the device, the input goes either to the first channel or to the second through the corresponding And 2 and 3 signals.

Дл  конкретности изложени  полага ем, что за вка поступила через зле- мент И 2 на вход элемента И 6, который открыт под действием высокого потенциала с единичного выхода триггера 11. Высокий потенциал с инверсного нулевого выхода триггера 12 поступает на первьй вход злемента И 25, открьша  его, низкие потенциалы с нулевых выходов триггеров 27 - 29 закрывают его вторым входом элементы И 26, 30 и 31, не пропуска  тем самым импульсы от генератора 20 - 22, имитирующих отказы первого канала соответственно в режимах ориентации,готовности и обслуживани  за вок.For the sake of concreteness, we assume that the application is received through the And 2 emerald at the input of the And 6 element, which is open under the action of a high potential from the single output of the trigger 11. The high potential from the inverse zero output of the trigger 12 enters the first input of the And 25, open it, the low potentials from the zero outputs of the flip-flops 27 - 29 close elements AND 26, 30 and 31 with its second input, thereby not allowing the pulses from the generator 20-22 to simulate the first channel failures, respectively, in the orientation, readiness and maintenance modes for wok.

Поступивша  за вка с выхода злемента И 6 проходит открытый злемент И 13 и запускает генератор 15, имитиру  начало режима ориентации первого канала к обслуживанию за вки, перебрасывает триггер 27 в единичное состо ние, открыва  тем самым элемент И 26, разреша  поступление импульсов от генератора 20, имитирующих отказ в зтом режиме. Одновременно этот импульс .с выхода элемента И 6, пройд  через злемент ИДИ 9, пе- .ребросит триггер 11 в единичное состо ние , низкий потенциал с выхода которого закроет вход элемента И 13, элемента И 6 и откроет вход элемента ЗАПРЕТ 4 дл  прохождени  очередной за вки в свободный второй канал, а также перебросит в единичное сое- 5 то ние триггер 12, низкий потенцил с выхода которого закроет элемент И 25, прерыва  поступление возложенных отказов от генератора 20 от моA received application from the output of And 6 passes an open element And 13 and starts the generator 15, simulating the beginning of the orientation mode of the first channel to service the application, throws the trigger 27 into one state, thereby opening the element And 26, allowing the arrival of pulses from the generator 20 imitating failure in this mode. At the same time, this impulse. With the output of element AND 6, having passed through the element IDI 9, resetting trigger 11 into a single state, low potential from the output of which closes the input of element 13 and element 6 and opens the input of prohibition 4 for passing another applications to the free second channel, as well as flip-flop 12, the low potential from the output of which closes the element 25, to the single connection, interrupting the flow of the assigned failures from the generator 20 from

2525

30thirty

3535

4040

сит триггер 27 в нулевое состо ние, низкий потенциал с выхода которого закроет злемент И 26,запреща  поступ ление импульсов от генератора 20.Импульс с выхода генератора 15 также запускает генератор 16, имитиру  начал режима готовности. Импульс с выхода генератора 15 через элементы ИЛИ 14, И 57, ИЛИ 10 перебрасывает триггеры 11 и 12, привод  их в исходное состо  ние и устройство готово к приему за вок. Импульс с выхода генератора 15 также перебрасывает триггер 28 в eдинич oe состо ние, открыва  вход эле мента И 30 дл  прохода импульсов от генератора 21, имитирующих отказы в режиме готовности.the trigger 27 is set to the zero state, the low potential from the output of which closes the element I 26, prohibiting the receipt of pulses from the generator 20. The pulse from the output of the generator 15 also starts the generator 16, imitating the start of the ready mode. The pulse from the output of the generator 15 through the elements OR 14, AND 57, OR 10 transfers the triggers 11 and 12, drives them to their original state and the device is ready to receive the request. The pulse from the output of the generator 15 also transfers the trigger 28 to a single oe state, opening the input element And 30 for the passage of pulses from the generator 21, simulating failures in the ready mode.

Если при нахождении канала в режиме ориентации генератор 20 вьфаба- тывает импульс, соответствующий отказу аппаратуры канала, то поступив на вход останова генератора 15, установив его в исходное состо ние, прекратив тем самым режим ориентации,прой дет через элементы И 26, ИЛИ 24 и запустит генератор 23, тем самым имитиру  начало режима устранени  отказа, т.е. восстановление работоспособности канала. Этот же импульс,пройд  через элемент ИЛИ 14, перебросит триг- гер 27 в нулевое состо ние, низкий потенциал с выхода которого закроет вход элемента И 26, запреща  поступ- ление импульсов от генератора 20.If, while the channel is in orientation mode, the generator 20 generated a pulse corresponding to the failure of the channel equipment, having entered the generator 15 stop input, setting it to its initial state, thereby terminating the orientation mode, pass through AND 26, OR 24 and will start the generator 23, thereby imitating the start of the failure recovery mode, i.e. Restoration of the channel. The same impulse, passing through the element OR 14, will transfer the trigger 27 to the zero state, the low potential from the output of which will close the input of the element And 26, prohibiting the arrival of pulses from the generator 20.

Через интервал времени, соответствующий времени восстановлени  канала системы, генератор 23 выработает импульс , который, пройд  через элемент ИЛИ 10, перебросит триггеры 11 и 12 в исходное состо ние,и канал устройству готов к приему очередных за вок.At the time interval corresponding to the restoration time of the system channel, the generator 23 will generate a pulse, which, having passed through the element OR 10, will transfer the triggers 11 and 12 to the initial state, and the channel will be ready for the device to receive the next requests.

Если генератор 20 выработает импульс (отказ) до прихода за вок, то он пройдет через открытые элементы И 25, ИиШ 9, перебросит триггер 11 в единичное состо ние,закрыва  тем самым вход элементов И 13 и 6 и открыва  вход злемента ЗАПРЕТ 4,а пройд  через элемент ШШ 24,запустит генерамента включени  устройства до поступ-50 тор -23, который через интервал времени восстановлени  выработает импульс, который,пройд  через элемент ШШ 10, перебросит триггеры 11 и 12 в нулевое состо ние, открыва  тем самымIf generator 20 generates a pulse (failure) before arriving at the stock, it will pass through open elements I 25, I and Sh 9, transfer trigger 11 to one state, thereby closing the input of elements 13 and 6 and opening the input element BAN 4, having passed through the SHSh 24 element, will launch the device switching on generator to the input-50 torus -23, which, after a recovery time interval, will generate a pulse, which, having passed through the SHSh 10 element, will transfer the triggers 11 and 12 to the zero state, thereby opening

лени  за вки.laziness for vki.

Через интервал времени, соответствующий моделируемому случайному закону времени ориентации первого канала к обслуживанию за вок, генератор 55.вход элементов И 6 и 13 и закрыва  15 вьфабатьшает импульс, имитирующий вход элемента ЗАПРЕТ 4, т.е. вход окончание режима ориентации, который пройд  через элемент ИЛИ 14, перебропервого канала и устройство готово к приему очередных за вок.After a time interval corresponding to the simulated random time law of the orientation of the first channel to service the quota, the generator 55. inputs of elements 6 and 13 and closes 15 takes the pulse imitating the input of the element BAN 4, i.e. The input is the end of the orientation mode, which has passed through the OR 14 element, the first channel and the device is ready to receive the next request.

1515

00

JQ Jq

5 five

5five

00

5five

00

сит триггер 27 в нулевое состо ние, низкий потенциал с выхода которого закроет злемент И 26,запреща  поступ - ление импульсов от генератора 20.Импульс с выхода генератора 15 также запускает генератор 16, имитиру  начало режима готовности. Импульс с выхода генератора 15 через элементы ИЛИ 14, И 57, ИЛИ 10 перебрасывает триггеры 11 и 12, привод  их в исходное состо ние и устройство готово к приему за вок. Импульс с выхода генератора 15 также перебрасывает триггер 28 в eдинич oe состо ние, открыва  вход эле мента И 30 дл  прохода импульсов от генератора 21, имитирующих отказы в режиме готовности.the trigger 27 is set to the zero state, the low potential from the output of which closes the element I 26, prohibiting the arrival of pulses from the generator 20. The pulse from the output of the generator 15 also starts the generator 16, imitating the start of the ready mode. The pulse from the output of the generator 15 through the elements OR 14, AND 57, OR 10 transfers the triggers 11 and 12, drives them to their original state and the device is ready to receive the request. The pulse from the output of the generator 15 also transfers the trigger 28 to a single oe state, opening the input element And 30 for the passage of pulses from the generator 21, simulating failures in the ready mode.

Если при нахождении канала в режиме ориентации генератор 20 вьфаба- тывает импульс, соответствующий отказу аппаратуры канала, то поступив на вход останова генератора 15, установив его в исходное состо ние, прекратив тем самым режим ориентации,пройдет через элементы И 26, ИЛИ 24 и запустит генератор 23, тем самым имитиру  начало режима устранени  отказа, т.е. восстановление работоспособности канала. Этот же импульс,пройд  через элемент ИЛИ 14, перебросит триг- . гер 27 в нулевое состо ние, низкий потенциал с выхода которого закроет вход элемента И 26, запреща  поступ- . ление импульсов от генератора 20.If, when the channel is in orientation mode, the generator 20 generated a pulse corresponding to the failure of the channel equipment, having entered the generator 15 stop input, setting it to its initial state, thereby terminating the orientation mode, passes through AND 26, OR 24 and starts generator 23, thereby simulating the start of the fault recovery mode, i.e. Restoration of the channel. The same impulse, having passed through the element OR 14, will transfer the trig. the ger 27 to the zero state, the low potential from the output of which will close the input of the element And 26, prohibiting the act-. Generating pulses from a generator 20.

Через интервал времени, соответствующий времени восстановлени  канала системы, генератор 23 выработает импульс , который, пройд  через элемент ИЛИ 10, перебросит триггеры 11 и 12 в исходное состо ние,и канал устройству готов к приему очередных за вок.At the time interval corresponding to the restoration time of the system channel, the generator 23 will generate a pulse, which, having passed through the element OR 10, will transfer the triggers 11 and 12 to the initial state, and the channel will be ready for the device to receive the next requests.

Если генератор 20 выработает импульс (отказ) до прихода за вок, то он пройдет через открытые элементы И 25, ИиШ 9, перебросит триггер 11 в единичное состо ние,закрыва  тем самым вход элементов И 13 и 6 и открыва  вход злемента ЗАПРЕТ 4,а пройд  через элемент ШШ 24,запустит генератор -23, который через интервал времени восстановлени  выработает импульс, который,пройд  через элемент ШШ 10, перебросит триггеры 11 и 12 в нулевое состо ние, открыва  тем самымIf generator 20 generates a pulse (failure) before arriving at the stock, it will pass through open elements I 25, I and Sh 9, transfer trigger 11 to one state, thereby closing the input of elements 13 and 6 and opening the input element BAN 4, having passed through the SHSh 24 element, will start the -23 generator, which, after a recovery time interval, will generate a pulse, which, after passing through the SHSh 10 element, will transfer the triggers 11 and 12 to the zero state, thus opening

вход элементов И 6 и 13 и закрыва  вход элемента ЗАПРЕТ 4, т.е. вход input elements And 6 and 13 and closing the input element BAN 4, i.e. entrance

первого канала и устройство готово к приему очередных за вок.the first channel and the device is ready to receive the next call.

Через интервал времени, соответст времени нахождени  первого канала системы в режиме готовности, на выходе генератора 16 по вл етс  импульс, который, пройд  через элемент ИЛИ 18, перебрасывает триггер 28 в нулевое состо ние, закрыва  вход элемента И 30, тем самым запреща  поступление отказов. Этот импульс . также перебрасывает триггер 29 в состо ние , при котором открываетс  вход элемента И 31, тем самым разреша  пропуск импульсов (отказов) от генератора 22, и запускает генератор 17, имитиру  начало непосредственного обслуживани  за вок. After a time interval, corresponding to the time the first channel of the system is in standby mode, a pulse appears at the output of the generator 16, which, having passed through the OR 18 element, flips the trigger 28 to the zero state, closing the input of the AND 30 element, thereby prohibiting the arrival of failures . This impulse. also transfers trigger 29 to the state in which the input of element 31 opens, thereby allowing the pulse (failure) from generator 22 to be omitted, and starts generator 17, imitating the beginning of the direct service of the application.

Через интервал времени, соответствующий времени обслуживани  за вок первым каналом системы, на выходе генератора 17 по вл етс  импульс, который пройд  через элемент ШШ 19, перебросит триггер 29 в состо ние, при котором закрываетс  вход элемента И 31, тем самым запреща  проход импульсов от генератора 22. Импульс с выхода генератора 17 поступает на первый выход 55 устройства и имитирует обслуженную за вку первым каналом систем).At an interval of time corresponding to the servicing time of the order, the first channel of the system, at the output of generator 17, an impulse appears that passes through the element 18, transfers the trigger 29 to the state where the input of element 31 is closed, thereby prohibiting the passage of impulses from generator 22. An impulse from the output of the generator 17 enters the first output 55 of the device and simulates the served channel of the first channel of the systems).

Если при нахождении канала в режиме готовности генератор 21 вырабатывает импульс, имитирующий отказ, то поступив на вход останова генератора 16, устанавливает его в исходное состо ние , прервав тем самым режим го- товности,, пройдет через элементы И 30, ИЛИ 24 и запустит генератор 23, тем самым имитиру  начало устранени  возникшего отказа. Этот же импульс, Пройд  через элемент ШШ 18, перебросит триггер 28 в состо ние, при котором закроетс  вход элемента И 30. Через интервал времени, соответствую- ший времени восстановлени  канала системы, генератор 23 вырабатывает импульс, который, пройд  через элемент ИЛИ 10 перебросит (или подтвердит ) триггеры 11 и 12 в исходное состо ние и канал устройства готов к приему очередных за вок.If, while the channel is in standby mode, the generator 21 generates a pulse simulating a failure, then arriving at the generator 16 input, sets it to its original state, thereby interrupting the readiness mode, passes through the elements AND 30, OR 24 and starts the generator 23, thereby imitating the beginning of the elimination of the failure. The same impulse, Passing through the SHSh 18 element, transfers the trigger 28 to the state in which the input of the I 30 element closes. After a time interval corresponding to the recovery time of the system channel, the generator 23 generates a pulse that passes through the OR 10 element (or confirm) the triggers 11 and 12 to the initial state and the device channel is ready to receive the next request.

Если при нахождении канала в режиме обслуживани  за вок генератор 22 вьфабатывает импульс, имитирующий отказ, то, поступив на вход останова генератора 17, устанавливает его в исходное состо ние, прервав тем самьм режим обслуживани , пройдет элементы И 31, ИЛИ 24 и запустит генератор 23 If, while the channel is in maintenance mode, the generator 22 absorbs a pulse that simulates a failure, then, arriving at the generator 17 stop input, sets it to its original state, thereby interrupting the maintenance mode, it will pass AND 31, OR 24 and start generator 23

5five

. .

5 five

00

00

тем самьпу имитиру  .начало устранени  возникшего отказа. Этот же ILмпyльc, пройд  через элемент ИЛИ 19, перебро сит триггер 29 в состо ние, при котором закроетс  вход элемента И 31, Через интерВсШ времени, соответствующий времени восстановлени  канала системы, генератор 23 вырабатывает импульс, который, пройд  через элемент ИЛ1 10, перебросит (или подтвердит ) триггеры 11 и 1 2 в исходное состо ние и устройство готово к приему очередных за вок,,thus simulating imitation. the beginning of the elimination of the resulting failure. The same IL-pulse, having passed through the OR 19 element, flips the trigger 29 into a state in which the input of the AND 31 element closes. Through the intervssh time corresponding to the restoration time of the system channel, the generator 23 generates a pulse that, having passed through the IL1 element 10, transfers (or confirm) the triggers 11 and 1 2 are reset and the device is ready to receive the next calls,

При поступлении за вки во второй канал она проходит через элементы И 3 на вход элемента И 7, который открыт под действием высокого потенциала с единичного выхода триггера 54. Элемент И 25 в исходном состо нии открыт, элементы И 26, 30 и 31 закрыты за счет соответствующих потендиа- лов с выходов триггеров 12, 27, 28 и 29 соответственно.Upon receipt of a bid in the second channel, it passes through the AND 3 elements to the input of the AND 7 element, which is open under the action of a high potential from the single output of the trigger 54. The AND element 25 is open in the initial state, the AND elements 26, 30 and 31 are closed due the corresponding potentials from the outputs of the triggers 12, 27, 28, and 29, respectively.

Пришедша  за вка с выхода И 7 проходит элемент И 49 и запускает генератор 42-,, имитиру  начало режима ориентации второго канала к обслуживанию за вки, перебрасывает триггер 50 в состо ние, при котором открываетс  элемент И 45, тем самым разреша  поступление импульсов от генератора 38, имитирующих отказ второго канала в этом ре даме. Одновременно этот же импульс с выхода элемента И75пройд  через элемент ИЛИ 37 , перебросит триггер 54 в состо ние,при котором закроетс  элемент И 49 и 7 и открываетс  вход элемента И 5 дл  прохождени  очередной за вки в свободный первый канал, а также перебросит триггер 53 в состо ние,при котором элемент И 48 закроетс .Coming in from output 7 and passing through element 49 and starting generator 42-, imitating the beginning of the orientation mode of the second channel for servicing the application, moving trigger 50 to the state in which element 45 opens, thereby allowing the arrival of pulses from the generator 38, imitating the failure of the second channel in this mode. At the same time, the same impulse from the output of the element I75 passes through the element OR 37, transfers the trigger 54 to the state in which the element 49 and 7 closes and the input of the element 5 opens to pass the next application to the free first channel and also flips 53 the state in which the AND element 48 is closed.

Через интервал времени, соответствующий моделируемому случайному закону времени .ориентации второго канала к обслуживанию за вок, генератор 42 вырабатывает импульс, имитирующий окончание режима ориентации, который, .пройд  через элемент ИЛИ 34, перебросит триггер 50 в состо ние, при котором закроетс  элемент Н 45, запреща  поступление импульсов от генератора 38. Импульс с выхода генератора 42 также запускает генератор 43, имитиру  начало режима готовност, импульс с выхода генератора 42, пройд  через элемента ИЛИ 34, И 58, ИЛИ 33, перебрасывает триггеры 53 и 54 в исходное состо ние и канал устройства готов к приему очередной за вки. Импульс с выхода генератора 42 также перебрасывает триггер 51 в состо ние при котором открываетс  элемент И 46 дл  прохода импульсов от генератора 39, имитирующих отказы в режиме готовности второго канала.At a time interval corresponding to the simulated random time law. The orientation of the second channel to service the request, generator 42 generates a pulse simulating the end of the orientation mode, which, through the OR 34 element, flips trigger 50 to the state where H 45 closes , prohibiting the arrival of pulses from the generator 38. The pulse from the output of the generator 42 also starts the generator 43, simulating the beginning of the ready mode, the pulse from the output of the generator 42, passing through the element OR 34, AND 58, OR 33, throws three The gages 53 and 54 are in the initial state and the device channel is ready to receive the next application. The pulse from the output of the generator 42 also transfers the flip-flop 51 to the state in which the element E 46 opens for the passage of pulses from the generator 39, simulating failures in the ready mode of the second channel.

Если при нахождении канала в режи ме ориентации генератор 38 вьфаба- тывает импульс, соответствующий отказу аппаратуры второго канала, то, поступив на вход останова генератора 42, установив его в исходное состо ние , прекратив тем самым режим ори- ентац ии, пройд  через элементы И 45, ИЛИ 32 и запустит генератор 41, имитиру  тем самым начало режима устранени  отказа, т.е. восстановлени  работоспособности канала. Этот же импульс, пройд  через элемент ИЛИ 34 перебросит триггер 50 в состо ние, при котором закроетс  вход элемента И 45, запреща  поступление импульсов от генератора 38.If, when the channel is in the orientation mode, the generator 38 absorbs a pulse corresponding to the failure of the second channel equipment, then, having entered the stop input of the generator 42, setting it to its initial state, thereby terminating the orientation mode 45, OR 32 and will start the generator 41, thereby simulating the start of the fault recovery mode, i.e. recovery of the channel. The same impulse, having passed through the element OR 34, flips the trigger 50 into a state in which the input of the element 45 is closed, prohibiting the arrival of pulses from the generator 38.

Через интервал времени, соответствующий времени восстановлени  второго канала системы, генератор 41 вырабатывает импульс, который, пройд  через элемент ИЛИ 33, перебросит триггеры 53 и 54 в исходное состо ние и канал устройства готов к приему очередных за вок.At a time interval corresponding to the recovery time of the second channel of the system, the generator 41 generates a pulse, which, having passed through the OR element 33, transfers the triggers 53 and 54 to the initial state and the device channel is ready to receive the next requests.

Если генератор 38 вырабатывает импульс (отказ) до прихода за вки, то он проходит через открытые элементы И 48, ИПИ 37, перебрасывает триггер 54 в состо ние, при котором закрываетс  вход элементов И 49 и 7, а пройд  через элемент ИЛИ 32, запустит генератор 41, который через интервал времени восстановлени  вырабатывает импульс, который, пройд  через элемент ИЛИ 33, перебросит триггеры 53 и 54 в состо ние, при которых открываютс  входы элементов- И 7 и 49, т.е. вход второго канала устройства дл  приема очередных за во1с.If the generator 38 generates a pulse (failure) before the arrival of the application, it passes through the open elements AND 48, the IPI 37, flips the trigger 54 to a state in which the input of the elements And 49 and 7 is closed, and passed through the element OR 32, will start generator 41, which, after a time interval of recovery, produces a pulse, which, having passed through the element OR 33, will transfer the triggers 53 and 54 to the state where the inputs of the elements 7 and 7 and 49 are opened, i.e. the input of the second channel of the device for receiving the next for 1P

Через интервал времени, соответствующий времени нахождени  второго канала -системы в режиме готовности, на выходе генератора 43 по вл етс  импульс, который, пройд  через элемент ИЛИ 35, перебрасывает триггерAfter a time interval corresponding to the time the second channel of the с system is in standby mode, a pulse appears at the output of the generator 43, which, having passed through the OR 35 element, flips the trigger

51в состо ние, при котором закрываетс  вход элемента И 46 - триггер51 in the state in which the input of the element is closed AND 46 - trigger

52в состо ние, при котором открываетс  вход элемента И 47, разреша 52 in the state in which the input of the element AND 47 opens, allowing

тем самым проход импульса (отказов) от генератора 40, и запускает генератор 44,имитиру  начало непосредственного обслуживани  за вок. Через интервал времени, соответствующий времени обслуживани  за вок вторым каналом системы, на выходе генератора 44 по вл етс  импульс, JQ который, пройд  через элемент ИЛИ 36, перебросит триггер 52 в состо ние, при котором закрываетс  вход элемента И 47, запреща  тем самым проход импyлJьcaм от генератора 40. Импульс ., с выхода генератора 44 поступает на второй выход 56 устройства и имитирует обслуженную за вку ;во втором кй- нале системы.thereby, the passage of a pulse (failure) from the generator 40, and starts the generator 44, simulating the beginning of the direct service of the quotation. At a time interval corresponding to the servicing time of the queuing, the second channel of the system, at the output of generator 44, appears a pulse, JQ, which, having passed through the OR 36 element, transfers the trigger 52 to the state at which the input of the AND 47 element is closed, thereby prohibiting the passage impulse from the generator 40. Impulse., from the output of the generator 44 enters the second output 56 of the device and simulates the served charge; in the second channel of the system.

Если при нахождении канала в режи- 2Q ме готовности генератор 39 вырабатывает импульс, имитирующий отказ, то, поступив на вход останова генератора 43, прерывает режим готовности и, пройд  элементы И 46, ИЛИ 32, запус- 2 ТИТ генератор .41, тем самым имитиру  начало устранени  возникшего отказа . Этот же импульс, пройд  через элемент ИЛИ 35, перебросит триггер 51 в состо ние, при котором закроетс  вход элемента И 46. Через интервал времени, соответствующий времени восстановлени  второго канала системы, генератор 41 вьфабатывает импульс, который, пройд  через элемент ИЛИ 33, перебросит (или прдтвер- дит) триггеры 53 и 54 в исходное состо ние и канал устройства готов к приему очередных за вок.If, when the channel is in the 2Q ready mode, the generator 39 generates a pulse simulating a failure, then, having entered the generator 43 stop input, it interrupts the ready mode and, after passing elements AND 46, OR 32, starting the 2 TIT generator .41, thereby imitating the beginning of the elimination of the resulting failure. The same impulse, passed through the element OR 35, transfers the trigger 51 to the state in which the input of the element 46 closes. After a time interval corresponding to the recovery time of the second channel of the system, the generator 41 detects the impulse that passes through the element OR 33 transfers (or sends) the triggers 53 and 54 to the initial state and the device channel is ready to receive the next request.

Если при нахождении второго канала в режиме обслуживани  за вок генератор 40 вырабатывает импульс, имитирующий отказ, то, поступив на вход останова генератора 44, устанавливает его в исходное состо ние, прервав тем самым режим обслуживани , пройдет элементы И 47, ИЛИ 32 и.запустит генератор 41, тем самым имитиру  начало устранени  возникшего отказа. Этот же импульс, пройд  через элемент ИЛИ 36, перебросит триг- гер 52 в состо ние, при котором закроетс  вход элемента И 47. Через интервал времени, соответствующий времени восстановлени  канала системы , генератор 41 вырабатывает импульс, 5 который,пройд  через элемент ИЛИ 33, перебросит (или подтвердит) триггеры, 53 и 54 в исходное состо ние и канал готов к приему очередных за вок.If, while the second channel is in service mode, the generator 40 generates a pulse simulating a failure, then, arriving at the generator 44 stop input, sets it to its original state, thereby interrupting the service mode, AND 47, OR 32, and generator 41, thereby simulating the beginning of the elimination of the failure. The same impulse, passed through the element OR 36, transfers the trigger 52 to the state in which the input of the element AND 47 closes. After a time interval corresponding to the recovery time of the system channel, the generator 41 generates a pulse, 5 which passes through the element OR 33 , flips (or confirms) the triggers, 53 and 54 to the initial state and the channel is ready to receive the next request.

30thirty

В случае, если один из каналов за н т, то открьшающийс  в этом случае элемент И 5 или элемент И 4 разрешает гфохождение за вки в свободный канал, а отсутствие сигнала на втором входе элемента И 6 или элемента И 7 запрещает прохождение за вки в зан тый канал.In the event that one of the channels is closed, then the element And 5 or element 4 that decides in this case permits the finding of the application to the free channel, and the absence of a signal at the second input of the element 6 or element 7 prevents the passage of the application this channel.

В случае, если оба канала зан ты, за вка из-за отсутстви  сигналов на вторых входах элементов И 6 и 7 получает отказ. В случае, завершени  ориентации одного из каналов, поступивша  за вка принимаетс  этим кана- лом и даже процесс повтор етс .In case both channels are occupied, the application receives a refusal due to the absence of signals at the second inputs of elements 6 and 7. In the event that the orientation of one of the channels is completed, the application received is received by this channel and even the process is repeated.

Claims (1)

Формула изобретени Invention Formula - Устройство дл  моделировани  двух- Device for modeling two канальной системы массового обслуживани , содержащее триггер управлени  ,и два канала обслуживани ,каждый из которых содержит первый триггер, элемент ЗАПРЕТ, два элемента И, еди Ничный и нулевой входы триггера управлени   вл ютс  соответственно входами выбора первого и второго канала обслуживани  устройства, а единичный и нулевой выходы триггера управлени  соединены с первыми входами первых элементов И соответственно первого и второго каналов обслуживани , вторые входы которых объединеныchannel queuing system, containing a control trigger, and two service channels, each of which contains a first trigger, a BAN element, two AND elements, one Single and zero control trigger inputs, respectively, are the input selectors of the first and second service channel of the device, and the single and the zero outputs of the control trigger are connected to the first inputs of the first And elements, respectively, of the first and second service channels, the second inputs of which are combined между собой и  вл ютс  информацион„ among themselves and are informational ным ВХОДОМ устройства, который сое- динен также с пр мыми входами элементов ЗАПРЕТ первого и второго каналов обслуживани , выход элемента ЗАПРЕТ первого канала обслуживани  объединен с выходом первого элемента И второго канала обслуживани  и подключен к первому входу второго элемента И второго канала обслуживани , второ вход которого объединен с инерсным входом элемента ЗАПРЕТ второго канала обслуживани , выход которого объединен с вьгходом первого элемента И первого канала обслуживани  и подключен к первому входу втррого элемента И первого каНала обслуживани , второй вход которого соединен с инверсным входом элемента ЗАПРЕТ первого канапа обслуживани , отличающеес  тем, что, с целью расширени  функциональных возможное- тей за счет учета режимов отказов и восстановлени  каналов обслуживани  устройства, каждый канал обслужиThe INPUT of the device, which is also connected to the direct inputs of the BANNER elements of the first and second service channels, the output of the BANNER element of the first service channel is combined with the output of the first element AND of the second service channel and connected to the first input of the second element AND of the second service channel, the second input which is combined with the inertial input of the BANNER element of the second service channel, the output of which is combined with the input of the first element AND of the first service channel and connected to the first input of the second element And the first service channel, the second input of which is connected to the inverted input of the first inverted Canape service, characterized in that, in order to expand the functional vozmozhnoe- Tei by taking into account failure conditions and restore service device channels, each channel cater Q 5 Q 5 00 00 сwith - 5 - five 00 5five 00 вани  содержит шесть элементов ИЛИ, п ть триггеров, шесть элементов И и генераторов импульсов со случайным интервалом следовани , в каж- , дом канале обслуживани  единичный выход первого триггера соединен с вторым входом второго элемента И, выход которого соединен с единичным входом второго триггера, с первым входом третьего элемента И и с первым входом первого элемента ИЛИ, выход которого соединен с единичным входом первого триггера, нулевой вход которого объединен с нулевым входом второго триггера и подключен к выходу второго элемента ИЛИ, а нулевой выход первого триггера соединен с вторым входом третьего элемента И, выход которого соединен с единичным входом третьего триггера и с входом Пуск первого генератора импульсов со случайным интервалом следовани , выход которого соединен с входом Пуск второго генератора импульсов со случайным интервалом следовани , с единичным входом четвертого триггера и с первым входом,третьего элемента ИЛИ, выход которого соединен с нулевьм входом третьего триггера и с первым входом четвертого элемента И, выход которого соединен с первым входом второго элемента ИЛИ, выход второго генератора импульсов со случайным интервалом следовани  соединен с входом Пуск третьего генератора импульсов со случайным интервалом следовани , с единичным входом п того триггера и с первым входом четвертого элемента ИЛИ, выход которого соединен с нулевым входом четвертого триггера, выход третьего генератора импульсов со случайным интервалом следовани   вл етс  выходом данного канала обслуживани  устройства и соединен с первым входом п того элемента ИЛИ, выход которого соединен с. нулевым входом п того триггера, нулевой выход второго триггера соединен с первым входом п того элемента И,, выход которого соединен с вторым входом первого элемента ШШ и с первым входом шестого элемента И.ПИ, вьпсод которого соединен с входом Пуск четвертого генератора импульсов со случайным интервалом следовани , выход которого соединен с вторым входом второго элемента ИЛИ, выход п того генератора импульсовThe van contains six OR elements, five flip-flops, six AND elements and pulse generators with a random following interval, in each house service channel, the unit output of the first trigger is connected to the second input of the second element AND, the output of which is connected to the unit input of the second trigger, with the first input of the third element And with the first input of the first OR element, the output of which is connected to the single input of the first trigger, the zero input of which is combined with the zero input of the second trigger and connected to the output of the second element and OR, and the zero output of the first trigger is connected to the second input of the third element AND, the output of which is connected to the single input of the third trigger and to the Start input of the first pulse generator with a random interval, the output of which is connected to the Start input of the second pulse generator with a random interval, with a single input of the fourth trigger and with the first input, the third element OR, the output of which is connected to the zero input of the third trigger and with the first input of the fourth element AND, the output of which is connected to n The first input of the second element OR, the output of the second pulse generator with a random interval, is connected to the input of the Third pulse generator with a random interval, with a single input of the fifth trigger and the first input of the fourth OR element, the output of which is connected to the zero input of the fourth trigger, output the third pulse generator with a random interval of the next is the output of this channel of service of the device and is connected to the first input of the fifth OR element, the output of which is connected with. the zero input of the fifth trigger, the zero output of the second trigger is connected to the first input of the fifth element I, the output of which is connected to the second input of the first SH and the first input of the sixth element I.PI, which is connected to the start of the fourth pulse generator with a random the following interval, the output of which is connected to the second input of the second element OR, the output of the nth pulse generator со случайным интервалом следовани  . соединен с входом Стоп первого генератора импульсов со случайным ин- , тервалом следовани , с вторым входом третьего элемента ИЛИ, с вторым входом п того элемента И и с первым входом шестого элемента И, выход которого соединен с вторым входом шестого элемента ИЛИ, единичный выход .третьего триггера соединен с вторыми входами четвертого и шестого элементов И, выход шестого генератора импульсов со случайным интервалом следовани  соединен с входом Стоп рого генератора импульсов со случайным интервалом следовани , с вторым входом четвертого элемента ИЛИ и сwith a random following interval. connected to the input Stop the first pulse generator with a random interval, the next interval, with the second input of the third element OR, with the second input of the fifth element And and with the first input of the sixth element And, the output of which is connected to the second input of the sixth element OR, single output. the third trigger is connected to the second inputs of the fourth and sixth elements, and the output of the sixth pulse generator with a random interval following is connected to the input of the stop pulse generator with a random interval following, with the second input four of the element OR with Редактор В. ИвановаEditor V. Ivanova Составитель А. КарасовCompiled by A. Karasov Техред М.Ходанич Корректор Л. ПатайTehred M. Khodanich Proofreader L. Patay Заказ 3707/49Тираж 671ПодписноеOrder 3707/49 Circulation 671 Subscription ВНИИШ Государственного комитета СССРVNIISH State Committee of the USSR по делам изобретений и открытий 113035, Москва, Ж-35, Раушска  наб.,д. 4/5for inventions and discoveries 113035, Moscow, Zh-35, Raushsk nab., d. 4/5 Производственно-полиграфическое предпри тие, г. Ужгород, ул. Проектна , 4Production and printing company, Uzhgorod, st. Project, 4 первым входом седьмого элемента И, выход которого соединен с третьим входом шестого элемента ИЛИ, единичный выход четвертого триггера соединен с вторым входом седьмого элемента И, выход седьмого генератора импульсов со случайным интервалом следовани  соединен с входом Стопthe first input of the seventh And element, the output of which is connected to the third input of the sixth OR element, the single output of the fourth trigger is connected to the second input of the seventh And element, the output of the seventh pulse generator is connected to the Stop input at random intervals третьего генератора импульсов со. случайным интервалом следовани , с вторым входом п того элемента ИЛИ и с первым входом восьмого элемента И, ВЫХОД которого соединен с четвертьмthird pulse generator with. at random intervals, with the second input of the fifth OR element and with the first input of the eighth AND element, the OUTPUT of which is connected to a quarter входом шестого элемента ИЛИ, единич- ньш выход п того триггера соединен с вторым входом восьмого элемента И.the input of the sixth element OR, the unit output of the first flip-flop is connected to the second input of the eighth element I.
SU843802526A 1984-10-19 1984-10-19 Device for simulating two-channel queueing system SU1242981A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU843802526A SU1242981A1 (en) 1984-10-19 1984-10-19 Device for simulating two-channel queueing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU843802526A SU1242981A1 (en) 1984-10-19 1984-10-19 Device for simulating two-channel queueing system

Publications (1)

Publication Number Publication Date
SU1242981A1 true SU1242981A1 (en) 1986-07-07

Family

ID=21143035

Family Applications (1)

Application Number Title Priority Date Filing Date
SU843802526A SU1242981A1 (en) 1984-10-19 1984-10-19 Device for simulating two-channel queueing system

Country Status (1)

Country Link
SU (1) SU1242981A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Четвериков В.Н. и др. Вычислительна техника дл статического моделировани . М.: Советское радио, 1978, с. 281. Авторское свидетельство СССР :№ 1037268, кл. G 06 F 15/20, 1982. *

Similar Documents

Publication Publication Date Title
SU1242981A1 (en) Device for simulating two-channel queueing system
SU1499365A1 (en) Arrangement for simulating mass service systems
RU2024929C1 (en) Device for simulating mass queueing systems
SU1418730A1 (en) Device for simulating mass service systems
SU1732352A1 (en) Queue system simulator
SU1552197A2 (en) Device for modeling queueing systems
SU1196889A1 (en) Device for simulating node of graph
SU1667100A1 (en) Device for queueing system simulation
SU1061149A1 (en) Device for simulating process of servicing requests with different priorities
SU1716534A1 (en) For simulation of queueing system
SU1247887A1 (en) Device for simulating process for servicing requests with different priorities
SU1325502A1 (en) Device for modelling waiting systems
SU1145345A1 (en) Model of queueing system
SU1259282A2 (en) Device for simulating the servicing process of requests with different priorities
SU1275461A1 (en) Device for simulating the queueing systems
SU1649563A1 (en) Device for simulating a dual channel queueing system
SU1278881A1 (en) Device for simulating process for servicing requests with different priorit ies
SU1361573A2 (en) Request service unit
RU1774344C (en) Mass service system simulator
SU1310838A1 (en) Device for simulating the queueing systems
SU1048480A1 (en) Device for simulating queueing system
SU1619293A2 (en) Device for modeling queuing systems
SU1088004A1 (en) Device for simulating markovian signal arrivals
SU1451716A1 (en) Device for modeling mass service priority systems
SU962969A1 (en) Device for simulating servicing process of requests with different priority