RU1784993C - Device for first-come-first service systems simulating - Google Patents

Device for first-come-first service systems simulating

Info

Publication number
RU1784993C
RU1784993C SU904851024A SU4851024A RU1784993C RU 1784993 C RU1784993 C RU 1784993C SU 904851024 A SU904851024 A SU 904851024A SU 4851024 A SU4851024 A SU 4851024A RU 1784993 C RU1784993 C RU 1784993C
Authority
RU
Russia
Prior art keywords
input
group
output
service
inputs
Prior art date
Application number
SU904851024A
Other languages
Russian (ru)
Inventor
Николай Васильевич Мохнобров
Евгений Михайлович Домиенко
Владимир Борисович Павлов
Сергей Валентинович Гундоров
Original Assignee
Войсковая часть 60130
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 Войсковая часть 60130 filed Critical Войсковая часть 60130
Priority to SU904851024A priority Critical patent/RU1784993C/en
Application granted granted Critical
Publication of RU1784993C publication Critical patent/RU1784993C/en

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

Изобретение относитс  к автоматике и вычислительной технике, предназначено дл  моделировани  процессов образовани  и регулировани  очередей и может быть использовано при исследовании сложных систем . Цель изобретени  - расширение функциональных возможностей устройства за счет моделировани  режимов отказа и восстановлени  обслуживающих приборов и дообслуживани  за вок после восстановлени  обслуживающих приборов. Устройство содержит элементы И, ИЛИ, сравнени , запрета , счетчики, генератор импульсов, триггер , регистры, блок моделировани  отказов и блок моделировани  обслуживани  за вок . Устройство позволит получить число обслуженных за вок в каналах с выходом из стро  восстановлением и повторным обслуживанием за вок с определением времени их обработки и тем самым вычислить веро тностные характеристики данной системы обслуживани . 4 ил. ЈThe invention relates to automation and computer technology, is intended to simulate the processes of formation and regulation of queues and can be used in the study of complex systems. The purpose of the invention is to expand the functionality of the device by simulating failure modes and recovering service devices and after-service after-wok after restoration of service devices. The device contains AND, OR, comparison, inhibit elements, counters, a pulse generator, a trigger, registers, a fault simulation block, and a wok service simulation block. The device will make it possible to obtain the number of serviced calls in channels with failure to be restored and re-serviced by the wok with the determination of the time of their processing and thereby calculate the probability characteristics of this service system. 4 ill. Ј

Description

Предлагаемое изобретение относитс  к автоматике и вычислительной технике и предназначено дл  моделировани  процессов образовани  и регулировани  очередей и может быть использовано при исследовании и проектировании сложных систем.The present invention relates to automation and computer engineering and is intended to simulate the processes of formation and regulation of queues and can be used in the study and design of complex systems.

Известно устройство дл  моделировани  систем массового обслуживани  (СМО), содержащее генераторы случайных последовательностей импульсов, генератор импульсов , счетчик, реверсивные счетчики, многоканальный блок случайных временных задержек, элементы И, элементы ИЛИ и блок синхронизации.A queuing system simulator (QS) is known which comprises random pulse train generators, a pulse generator, a counter, reverse counters, a multi-channel random time delay unit, AND elements, OR elements, and a synchronization unit.

Это устройство позвол ет моделировать СМО с учетом возможностей возникновени  отказов и устранени  этих отказов.This device allows you to simulate QS taking into account the possibilities of failures and eliminate these failures.

Однако, данное устройство не позвол ет распараллеливать обслуживание за вок на двух и более каналах одновременно.However, this device does not allow parallelization of wok service on two or more channels simultaneously.

Наиболее близким по технической сущности и достигаемому результату к предполагаемому изобретению  вл етс  устройство дл  моделировани  СМО, содержащее генератор случайного потока импульсов, счетчик общего числа за вок, счетчик числа потер нных за вок, шесть элементов И, два элемента ИЛИ, три элемента ЗАПРЕТА, реверсивный счетчик длины очереди, триггер, регистр и схему сравнени , причем выход генератора случайного потока импульсов соединен с входом счетчика общего числа за вок, с первым входом первого элемента Л и информационным входом первого элемента ЗАПРЕТ, управл ющий вход которого и второй вход первого элемента И объединены и подключены к выходу второго элемента И, выход первого элемента И соединен с входом счетчика числа потер нных за вок, выход перво 00The closest in technical essence and the achieved result to the alleged invention is a device for simulating a QS, containing a random pulse flow generator, a total count per wok, a count of the number of lost woks, six AND elements, two OR elements, three BAN elements, reversible a queue length counter, a trigger, a register and a comparison circuit, the output of the random pulse stream generator being connected to the input of the total number counter for woks, to the first input of the first element A and the information input The first element is NOT ALLOWED, the control input of which and the second input of the first AND element are combined and connected to the output of the second AND element, the output of the first AND element is connected to the input of the counter of the number of lost jobs, the output is first 00

N ю ю соN th

го элемента ЗАПРЕТ соединен с информационным входом второго элемента ЗАПРЕТ и первым входом третьего элемента И, второй вход которого и управл ющий вход второго элемента ЗАПРЕТ подключены к выходу триггера, выход второго элемента ЗАПРЕТ соединен с единичным входом триггера и с первым входом первого элемента , ИЛ И, выход третьего элемента И Подключен к суммирующему входу ревер- сивнбго счетчика длины очереди, группа разр диыУвыходов которого соединена соответственно с входами второго элемента И и входами второго элемента ИЛИ, выход которого подключен к первым входам четвертого и п того элементов И и управл ющему входу третьего элемента ЗАПРЕТ, выход которого соединен с нулевым входом триггера, выход четвертого элемента И подключен к второму входу первого элемента ИЛИ, выход шестого элемента И соединен с вторыми входами четвертого и п того элементов И и информационным входом третьего элемента ЗАПРЕТ, перва  группа входов схемы сравнени  подключена к разр дным выходам регистра, а выход схемы соединен с вторым входом шестого элемента И, выход п того элемента И подключен к вычитающему входу реверсивного счетчика длины очереди.of the PROHIBITING element is connected to the information input of the second PROHIBITING element and the first input of the third AND element, the second input of which and the control input of the second PROHIBITING element are connected to the trigger output, the output of the second PROHIBITING element is connected to the single trigger input and to the first input of the first element, OR AND , the output of the third AND element is connected to the summing input of the reverse counter of the queue length, the output group of which is connected respectively to the inputs of the second AND element and the inputs of the second OR element, the output to which is connected to the first inputs of the fourth and fifth elements AND and the control input of the third element is PROHIBITED, the output of which is connected to the zero input of the trigger, the output of the fourth element AND is connected to the second input of the first OR element, the output of the sixth element AND is connected to the second inputs of the fourth and of the elements AND and the information input of the third element is PROHIBITED, the first group of inputs of the comparison circuit is connected to the bit outputs of the register, and the output of the circuit is connected to the second input of the sixth element AND, the output of the fifth element AND under Reversing the queue length counter for prison to the subtractor input.

Недостатком этого устройства  вл етс  невозможность моделировани  систем с очередью, в которых одновременно привлекаемые несколько приборов дл  обслуживани  одной за вки могут выходить из стро  и восстановлени , повтор   процесс обслуживани  за вки. Кроме этого, устройство не обладает достаточной надежностью из-за невозможности определени  числа окончивших обслуживание приборов при случайном или преднамеренном совпадении времен окончани  обслуживани  в них.The disadvantage of this device is the inability to simulate systems with a queue in which several devices for servicing one application at the same time can fail and restore, repeating the process of servicing the applications. In addition, the device does not have sufficient reliability due to the impossibility of determining the number of devices that have finished servicing in case of accidental or deliberate coincidence of the time at which they ended the service.

Цель изобретени  - расширение функциональных возможностей устройства за счет моделировани  режимов отказа и восстановлени  обслуживающих приборов и дообслуживани  за вок после восстановлени  обслуживающих приборов,The purpose of the invention is to expand the functionality of the device by simulating failure modes and restoration of service devices and after-service after-wok after restoration of service devices,

Дл  достижени  поставленной цели в устройство дл  моделировани  систем массового обслуживани , содержащее генератор случайного потока за вок, счетчик общего числа за вок, счетчик числа потер нных за вок, шесть элементов И, два элемента ИЛИ, три элемента ЗАПРЕТА, реверсивный счетчик длины очереди, триггер , первый регистр пам ти и схему сравнени , выход генератора случайного потока за вок соединен со счетным входом счетчика общего числа за вок, с первым входомTo achieve this goal, a queuing system simulator comprising a random wok flow generator, total wok count, lost wok counter, six AND elements, two OR elements, three BAN elements, a reverse queue length counter, trigger , the first memory register and the comparison circuit, the output of the random stream generator per wok is connected to the counting input of the total number of wok counter, to the first input

первого элемента И и информационным входом первого элемента ЗАПРЕТА, управл ющий вход которого и второй вход перво- гоо элемента И объединены и подключены кthe first element AND and the information input of the first element BAN, the control input of which and the second input of the first element AND are combined and connected to

выходу второго элемента И, выход первого элемента И соединен со счетным входом счетчика числа потер нных за вок, а выход первого элемента ЗАПРЕТА соединен с информационным входом второго элементаthe output of the second element And, the output of the first element And is connected to the counting input of the counter of the number of lost jobs, and the output of the first element is FORBID connected to the information input of the second element

ЗАПРЕТА и первым входом третьего элемента И, второй вход которого и управл ющий вход второго элемента ЗАПРЕТА подключены к пр мому выходу триггера, выход второго элемента ЗАПРЕТА соединен сFORBID and the first input of the third AND element, the second input of which and the control input of the second FORBID element are connected to the direct output of the trigger, the output of the second FORBID element is connected to

единичным входом триггера и с первым входом первого элемента ИЛИ, выход третьего элемента И подключен к суммирующему входу реверсивного счетчика длины очереди , разр дные выходы которого соединеныa single trigger input and with the first input of the first OR element, the output of the third AND element is connected to the summing input of the reverse counter of the queue length, the bit outputs of which are connected

соответственно с входами второго элемента И и входами второго элемента ИЛИ, выход которого подключен к первым входам четвертого и п того элементов И и управл ющему входу третьего элемента запрета,respectively, with the inputs of the second AND element and the inputs of the second OR element, the output of which is connected to the first inputs of the fourth and fifth AND elements and the control input of the third inhibit element,

выход которого соединен с нулевым входом триггера, выход четвертого элемента И подключен к второму входу первого элемента ИЛИ, а выход шестого элемента И соединен с вторыми входами четвертого и п того элементов И и информационным входом третьего элемента ЗАПРЕТА, информационные входы первой группы схемы сравнени  подключены соответственно к разр дным выходам первого регистра пам ти, а выходthe output of which is connected to the zero input of the trigger, the output of the fourth AND element is connected to the second input of the first OR element, and the output of the sixth AND element is connected to the second inputs of the fourth and fifth AND elements and the information input of the third BAN element, the information inputs of the first group of the comparison circuit are connected respectively to the bit outputs of the first memory register, and the output

равно схемы сравнени  соединен с первым входом шестого элемента И, выход п того элемента И подключен к вычитающему входу реверсивного счетчика длины очереди , дополнительно введены седьмой и восьмой элементы И. блок моделировани  отказов и блок моделировани  обслуживани  за вок, причем блок моделировани  обслуживани  за вок содержит элемент ИЛИ, две группы элементов задержки,equal to the comparison circuit is connected to the first input of the sixth element And, the output of the fifth element And is connected to the subtracting input of the reverse counter of the queue length, the seventh and eighth elements I. are additionally introduced. The fault modeling block and the wok service simulation block, the wok service modeling block contains OR element, two groups of delay elements,

группу элементов ИЛИ, группу генераторов случайных чисел, группу регистров пам ти , группу вычитающих счетчиков, группу формирователей импульсов, и группу элементов ЗАПРЕТА, выходы которых соединен ы соответствен но с входами элемента ИЛ И блока моделировани  обслуживани  за вок , выход которого подключен к второму входу шестого элемента И устройства, в блоке моделировани  обслуживани  за вок выходы элементов задержки первой группы соединены соответственно с входами запуска генераторов случайных чисел группы, выходы которых подключены к информационным входам соответствующего регистраa group of OR elements, a group of random number generators, a group of memory registers, a group of subtracting counters, a group of pulse shapers, and a group of FORBID elements, the outputs of which are connected respectively to the inputs of the OR element AND the service simulation block, the output of which is connected to the second input of the sixth element AND device, in the wok service simulation unit, the outputs of the delay elements of the first group are connected respectively to the start inputs of the random number generators of the group, the outputs of which are connected cheny to the data inputs of the corresponding register

пам ти группы, информационные выходыgroup memory, information outputs

которого подключены к разр дным входам соответствующего вычитающего счетчика группы, выход обнулени  которого через соответствующий формирователь импульсов группы соединен с информационным входом соответствующего элемента ЗАПРЕТА группы, выход каждого элемента ИЛИ группы через соответствующий элемент задержки второй группы соединен с входом считывани  соответствующего регистра пам ти группы, блок моделировани  отказов содержит генератор тактовых импульсов, триггер, элемент И, счетчик времени моделировани , группу триггеров, группу генераторов случайного потока импульсов отказов, группу генераторов случайных импульсов восстановлени  и группу коммутаторов , выходы которых соединены соответственно с вычитающими входами вычитающих счетчиков группы блока моделировани  обслуживани  за вок, в блоке моделировани  отказов выход генератора тактовых импульсов соединен с тактовыми входами всех коммутаторов группы и первым входом элемента И, второй вход которого подключен к пр мому выходу триггера блока моделировани  отказов, а выход элемента И соединен со счетным входом счетчика времени моделировани , в блоке моделировани  отказов пр мой выход каждого триггера группы подключен к перврму входу разрешени  работы соответствующего коммутатора группы, второй вход разрешени  работы которого подключен к выходу соответствующего генератора случайных импульсов восстановлени  группы, вход запуска которого соединен с выходом соответствующего генератора случайного потока импульсов отказов группы, выход каждого элемента ЗАПРЕТА группы блока моделировани  обслуживани  за вок соединен с нулевым входом соответствующего триггера группы блока моделирований отказов и соответствующим информационным1 входом второгоо регистра пам ти устройства, разр дные выходы которого соединены соответственно с информационными входами второй группы схемы сравнени , а вход обнулени  второго регистра пам ти устройства подключен к выходу шестого элемента И и нулевому входу триггера блока моделировани  отказов, единичный вход которого и единичные входы триггеров группы блока моделировани  отказов объединены и соединены с выходом первого элемента ИЛ И устройства, с пр мым входом седьмого элемента И устройства и первым входом восьмого элемента И устройства, инверсный вход седьмого элемента И устройства и второй вход восьмого элемента И устройства объединены и  вл ютс  входом задани  режима обслуживани  за вок устройства, выходы седьмого и восьмого элементов И устройства подключены соответственно к 5 первым и вторым входам всех элементов ИЛИ группы блока моделировани  обслуживани  за вок, входы обнулени  регистров пам ти группы и входы элементов задержки первой группы блока моделировани  обслу- 10 живани  за вок обьединены-и соединены с выходом восьмого элемента И устройства, выход каждого генератора случайного потока импульсов отказов группы блока моделировани  отказов соединен с третьим 15 входом соответствующего элемента ИЛИ группы блока моделировани  обслуживани  за вок, управл ющие входы элементов ЗАПРЕТА группы которогоо подключены соот- ветственно к выходам генераторов 0 случайных импульсов восстановлени  группы блока моделировани  отказов.which is connected to the digital inputs of the corresponding subtracting group counter, the zeroing output of which is connected through the corresponding pulse shaper of the group to the information input of the corresponding group FORBID, the output of each OR of the group through the corresponding delay element of the second group is connected to the read input of the corresponding group memory register, block Failure simulation contains a clock generator, a trigger, an And element, a simulation time counter, a group of triggers, g the group of generators of a random flow of failure pulses, a group of generators of random recovery pulses and a group of switches whose outputs are connected respectively to the subtracting inputs of the subtracting counters of the service simulation block, in the failure simulation block, the output of the clock generator is connected to the clock inputs of all the group switches and the first input the And element, the second input of which is connected to the direct output of the trigger of the fault modeling block, and the output of the And element is connected to the account by the input of the simulation time counter, in the fault simulation block, the direct output of each group trigger is connected to the first input of the operation enable of the corresponding group switch, the second operation enable of which is connected to the output of the corresponding random recovery pulse group generator, the start input of which is connected to the output of the corresponding random generator group failure pulse flow, the output of each element of the PROHIBITION group of the service simulation block of the wok is connected to zero by the corresponding trigger of the group of the failure simulation block and the corresponding information1 input of the second register of the device memory, the bit outputs of which are connected respectively to the information inputs of the second group of the comparison circuit, and the input of resetting the second register of the device memory is connected to the output of the sixth element And and the zero input of the block trigger fault simulation, the single input of which and the single inputs of the triggers of the group of the fault modeling block are combined and connected to the output of the first element This OR device, with the direct input of the seventh element AND device and the first input of the eighth element AND device, the inverse input of the seventh element AND device and the second input of the eighth element AND device are combined and are the input of the service mode setting for the device wake up, the outputs of the seventh and eighth elements AND devices are connected respectively to the 5 first and second inputs of all elements of OR group of the service simulation block for woks, inputs of resetting the memory registers of the group and inputs of delay elements of the first group simulations of services for 10 wok services are connected and connected to the output of the eighth element AND of the device, the output of each generator of a random flow of fault pulses from the group of the failure simulation unit is connected to the third 15 input of the corresponding element OR of the group of the modeling service unit for wok, the control inputs of the elements of the PROHIBITION group which, respectively, are connected to the outputs of the generators of 0 random pulses of restoration of the group of the block of failure simulation.

На фиг. 1 приведена блок-схема устройства; на фиг, 2 - структурна  схема блока моделировани  обслуживани  за вок; на 5 фиг. 3 - структурна  схема блока моделировани  отказов; на фиг. 4 - структурна  схема коммутатора блока моделировани  отказов.In FIG. 1 shows a block diagram of a device; Fig. 2 is a block diagram of a wok service simulator; 5 in FIG. 3 is a block diagram of a failure simulation unit; in FIG. 4 is a block diagram of a failure simulation unit switch.

Устройство дл  моделировани  СМО 0 (фиг. 1) содержит генератор 1 случайного потока за вок, счетчик 2 общего числа за вок , счетчик 3 числа потер нных за вок, первый 4, третий 5, п тый 6, четвертый 7, шестой 8 элементы И, первый элемент ИЛИ 5 9, первый-третий элементы 10-12 ЗАПРЕТА , второй элемент И 13, второй элемент ИЛИ 14, реверсивный счетчик 15 длины очереди , триггер 16, блок моделировани  отказов 17, блок моделировани  обслуживани  0 за вок 18, первый регистр 19 пам ти, схему сравнени  20. второй регистр 21 пам ти, седьмой 34 и восьмой 39 элементы И.The device for modeling the QS 0 (Fig. 1) contains a random flow generator 1 per wok, a total count 2 per wok, a count 3 the number of lost per wok, the first 4, third 5, fifth 6, fourth 7, sixth 8 elements AND , the first element OR 5 9, the first-third elements 10-12 FORBIDDEN, the second element AND 13, the second element OR 14, the reverse counter 15 of the queue length, trigger 16, the block simulating failure 17, the block simulating the service 0 for 18, the first register 19 memory, a comparison circuit 20. the second register 21 memory, seventh 34 and eighth 39 elements I.

Генератор 1 случайного потока за вок выходом подключен к суммирующему входу 5 счетчика 2 общего числа за вок, информационному входу первого элемента ЗАПРЕТА 10 и первому входу первого элемента И 4.The random stream generator 1 behind the wok output is connected to the summing input 5 of the total 2 wok counter 2, the information input of the first BAN element 10 and the first input of the first AND element 4.

Первый элемент И 4 вторым входом со- 0 единен с управл ющим входом первого элемента ЗАПРЕТ 10 и подключен к выходу второго элемента И 13, а выходом подключен к счетному входу счетчика 3 числа потер нных за вок.The first element And 4 by the second input is 0 connected to the control input of the first element BAN 10 and is connected to the output of the second element And 13, and the output is connected to the counting input of the counter 3 of the number of lost jobs.

5 Третий элемент И 5 вторым входом соединен с управл ющим входом второго элемента ЗАПРЕТ 11 и подключен к пр мому выходу триггера 16, первым входом соединен с информационным входом второго эле- мента ЗАПРЕТ 11 и подключен к выходу5 The third element And 5, the second input is connected to the control input of the second element is FORBID 11 and connected to the direct output of the trigger 16, the first input is connected to the information input of the second element is FORBID 11 and connected to the output

первого элемента ЗАПРЕТ 10, а выход соединен с суммирующим входом реверсивного счетчика 15 длины очереди.the first element is FORBIDDEN 10, and the output is connected to the summing input of the reverse counter 15 of the queue length.

Реверсивный счетчик 15 длины очереди вычитающим входом подключен к выходу п того элемента И б, а разр дными выходами к входам второго элемента И 13 и второго элемента ИЛИ 14A reversible counter 15 of the queue length by a subtracting input is connected to the output of the fifth element And b, and by bit outputs to the inputs of the second element And 13 and the second element OR 14

П тый элемент И 6 первым входом соединен с первым входом четвертого элемента И 7, с управл ющим входом третьего элемента ЗАПРЕТА 12 и подключен к выходу второго элемента ИЛИ 14, а вторым входом соединен с вторым выходом четвертого элемента И 7, информационным входом третьего элемента ЗАПРЕТА 12, подключен к выходу шестого элемента И 8 и входу обнулени  второго регистра 21 пам ти устройстваThe fifth element And 6, the first input is connected to the first input of the fourth element And 7, with the control input of the third element FORBID 12 and is connected to the output of the second element OR 14, and the second input is connected to the second output of the fourth element And 7, the information input of the third element FORBID 12, connected to the output of the sixth element And 8 and the input zeroing of the second register 21 of the device memory

Первый элемент ИЛИ 9 первым входом соединен с единичным входом триггера 16 и подключен к выходу второго элемента ЗАПРЕТА 11, вторым входом подключен к выходу четвертого элемента И 7.The first element OR 9, the first input is connected to a single input of the trigger 16 and is connected to the output of the second element of the BAN 11, the second input is connected to the output of the fourth element And 7.

Триггер 16 нулевым входом подключен к выходу третьего элемента ЗАПРЕТ 12. Шестой элемент И 8 первым входом подключен к выходу Равно схемы 20 сравнени .Trigger 16 with a zero input is connected to the output of the third element. PROHIBIT 12. Sixth element AND 8 with the first input is connected to the output. Equals to the comparison circuit 20.

Схема сравнени  20 первой группой информационных входов подключена к разр дным выходам первого регистра 19, а второй группой информационных входов - к разр дным выходам второго регистра пам ти 21 устройства. Comparison circuit 20 by the first group of information inputs is connected to the bit outputs of the first register 19, and the second group of information inputs is connected to the bit outputs of the second register of the device memory 21.

Блок 18 моделировани  обслуживани  за вок (фиг. 2) содержит элемент ИЛИ 30, две группы 37 и 32 элементов задержки, группу31 элементов ИЛИ, группу 27 генераторов случайных чисел, группу 28 регистров пам ти, группу 29 вычитающих счетчиков, группу 38 формирователей импульсов и группу 3 элементов ЗАПРЕТА.The out-of-service service simulator 18 (Fig. 2) contains an OR element 30, two groups of 37 and 32 delay elements, a group of 31 OR elements, a group of 27 random number generators, a group of 28 memory registers, a group of 29 subtracting counters, a group of 38 pulse generators, and a group of 3 BAN elements.

Выходы группы 33 элементов запроса блока моделировани  обслуживани  за вок соединены соответственно с входами элемента ИЛИ 30, выход которого подключен к второму входу шестого элемента И 8 устройства .The outputs of the group 33 of service request modeling unit request elements are connected respectively to the inputs of the OR element 30, the output of which is connected to the second input of the sixth device element AND 8.

В блоке 18 моделировани  обслуживани  за вок выходы, элементов задержки первой группы 37 соединены соответственно с входами запуска генераторов случайных чисел группы 27, выходы которых подключены к информационным входам соответствующего регистра пам ти группы 28. Информационные выходы регистра пам ти группы 28 подключены к разр дным входам соответствующего вычитающего счетчика группы 29, выход обнулени  которого через соответствующий формирователь импульсов группы 38 соединен с информационным входом соответствующего элемента ЗАПРЕТА группы 33.In the block 18 for simulating service for wake ups, the delay elements of the first group 37 are connected respectively to the start inputs of the random number generators of group 27, the outputs of which are connected to the information inputs of the corresponding memory register of the group 28. The information outputs of the memory register of the group 28 are connected to the bit inputs the corresponding subtracting counter of group 29, the zeroing output of which through the corresponding pulse shaper of group 38 is connected to the information input of the corresponding element Group 33.

Выход каждого элемента ИЛИ группыThe output of each element OR group

31 блока 18 моделировани  обслуживани  за вок через соответствующий элемент задержки второй группы 32 соединен с входом считывани  соответствующего регистра пам ти группы 28.31 of the application service simulation block 18, through the corresponding delay element of the second group 32, is connected to the read input of the corresponding memory register of the group 28.

0 Блок 17 моделировани  отказов содержит генератор тактовых импульсов 41. триггер 46, элемент И 48, счетчик времени моделировани  47, группу триггеров 42, группу генераторов случайного потока им5 пульсов отказов 43, группу генераторов слу- чайных импульсов восстановлени  44 и группу коммутаторов 45, Выходы коммутаторов группы 45 соединены соответственно с вычитающими входами вычитающих счет0 чиков группы 29 блока 18 моделировани  обслуживани  за вок, В блоке 17 моделировани  отказов выход генератора тактовых импульсов 41 соединен с тактовыми входами всех коммутаторов группы 45 и первым0 Block 17 simulation of failures contains a clock generator 41. trigger 46, element And 48, a simulation time counter 47, a group of flip-flops 42, a group of random flow generators 5 fault pulses 43, a group of random recovery generators 44 and a group of switches 45, outputs the group 45 switches are connected respectively to the subtracting inputs of the subtracting counters of the group 29 of the wake-up service simulation unit 18, In the failure simulation block 17, the output of the clock generator 41 is connected to the clock inputs and all the switches of group 45 and the first

5 входом элемента И 48, второй вход которого подключен к пр мому выходу триггера 46. Выход элемента И 48 блока 17 моделировани  отказов соединен со счетным входом счетчика времени моделирова0 ни  47. В блоке моделировани  отказов пр мой выход каждого триггера группы 42 подключен к первому входу разрешени  работы соответствующего коммутатора группы 45, второй вход разрешени  работы5 by the input of the And 48 element, the second input of which is connected to the direct output of the trigger 46. The output of the And 48 element of the fault simulation block 17 is connected to the counting input of the time counter of simulation 47. In the fault simulation block, the direct output of each trigger of group 42 is connected to the first input enable operation of the corresponding group 45 switch, second enable operation input

5 которого подключен к выходу соответствующего генератора случайных импульсов восстановлени  группы 44, вход запуска которого соединен с выходом соответствующего генератора случайного потока импуль0 сов отказов группы 43. Выход каждого элемента запрета группы 33 блока 18 моделировани  обслуживани  за вок соединен с нулевым входом соответствующего триггера группы 42 блока 17 моделировани  отка5 зов и соответствующим информационным входом второго регистра пам ти 21 устройства . Вход обнулени  второго регистра пам ти 21 устройства подключен к выходу шестого элемента И 8 и нулевому входу5 of which is connected to the output of the corresponding random recovery pulse generator of group 44, the start input of which is connected to the output of the corresponding random pulse generator of fault pulses of group 43. The output of each ban element of group 33 of the service simulation block 18 is connected to the zero input of the corresponding trigger of group 42 of the block 17 simulating faults and the corresponding information input of the second memory register 21 of the device. The input zeroing of the second register of the device memory 21 is connected to the output of the sixth element And 8 and the zero input

0 триггера 46 блока 17 моделировани  отказов , единичный вход которого и единичные входы триггеров группы 42 блока 17 моделировани  отказов объединены и соединены с выходом первого элемента ИЛИ0 of the trigger 46 of the failure simulation block 17, the single input of which and the single inputs of the triggers of group 42 of the failure simulation block 17 are combined and connected to the output of the first OR element

5 9 устройства, с пр мым входом седьмого элемента И 34 устройства и первым входом восьмого элемента И 39 устройства. Инверсный вход седьмого элемента И 34 устройства и второй вход восьмого элемента И 39 устройства объединены и  вл ютс  входом 40 задани  режима обслуживани  за вок устройства. Выходы седьмого 34 и восьмого 39 элементов И устройства подключены соответственно к первым 35 и вторым 33 входам всех элементов ИЛИ 31 группы блока 18 моделировани  обслуживани  за вок. Входы обнулени  регистров пам ти группы 28 и входы элементов задержки первой группы 37 блока 18 моделировани  обслуживани  за вок объединены и соединены с выходом 36 восьмого элемента И 39 устройства. Выход 49 каждого генератора случайного потока импульсов отказов группы 43 блока 17 моделировани  отказов соединен с третьим входом соответствующего элемента ИЛИ группы 31 блока 18 моделировани  обслуживани  за вок, управл ющие входы 50 элементов запрета группы 33 которого подключены соответственно к выходам генераторов случайных импульсов восстановлени  группы 44 блока 17 моделировани  отказов.5 to 9 of the device, with the direct input of the seventh AND element 34 of the device and the first input of the eighth AND element 39 of the device. The inverse input of the seventh device element AND 34 and the second input of the eighth device element AND 39 are combined and are the service mode setting input 40 of the device wizard. The outputs of the seventh 34 and eighth 39 elements AND devices are connected respectively to the first 35 and second 33 inputs of all elements OR 31 of the group of the wok service simulation unit 18. Group 28 memory register zeroing inputs and the delay element inputs of the first group 37 of the wake-up service modeling unit 18 are combined and connected to the output 36 of the eighth device element AND 39. The output 49 of each generator of a random flow of fault pulses of group 43 of the failure simulation block 17 is connected to the third input of the corresponding OR element of group 31 of the service simulation block 18 for woks, the control inputs of which 50 inhibit elements of group 33 are connected respectively to the outputs of the random recovery pulses of restoration group 44 of the block 17 failure simulations.

Коммутатор блока моделировани  отказов 45 (фиг. 4) содержит элементы ЗАПРЕТ 45-1 и И 45-2, первый 51 и второй 50 входы разрешени  работы, тактовый вход 52 и выход 24,The switch of the failure simulation unit 45 (Fig. 4) contains the elements FORBID 45-1 and AND 45-2, the first 51 and second 50 inputs for enabling operation, clock input 52 and output 24.

В исходном состо нии в счетчиках 2, 3 и 15 - О.In the initial state, counters 2, 3, and 15 are O.

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

В случае, когда оч ереди нет и приборы обслуживани  свободны от за вок, (при этом триггер 16 и регистр 21 наход тс  в нулевом состо нии), импульсы, имитирующие поток за вок, от генератора 1 через открытые элементы 10-11 ЗАПРЕТА поступают на единичный вход триггера 16, перевод  его в единичное состо ние, на выходе которого по вл етс  сигнал, поступающий на вход элемента ЗАПРЕТ 11, что свидетельствует о том, что параллельно работающие приборы обслуживани  зан ты обслуживанием за вки в режиме распараллеливани , одновременно импульс от генератора 1 через элемент ИЛИ 9 поступает на вход запуска блока 17 моделировани  отказов и через элемент И 39 на входы группы элементов задержки 37 блока 18, запуска  каналы и случайные времена обслуживани  за вок. Через случайное врем  продолжительности обработки в каждом приборе на одном из выходов 25 группы элементов запрета 33 и выходе 26 элемента ИЛИ 30 блока 18 моделировани  обслуживани  за вок по вл ютс  импульсы, поступающие в соответствующие приборам разр ды второго регистра 21.In the case when there is no advance and the service devices are free from interruptions (in this case, the trigger 16 and register 21 are in the zero state), pulses simulating the flow of interruptions from the generator 1 through the open elements 10-11 are FORBIDDEN a single input of trigger 16, its transition to a single state, at the output of which a signal arrives at the input of the element BAN 11, which indicates that parallel service devices are engaged in servicing applications in parallel mode, simultaneously a pulse from the generator 1 through the OR element 9, it enters the start input of the failure simulation block 17 and through the And 39 element to the inputs of the group of delay elements 37 of the block 18, the start channels and random servicing times for woks. After a random time of the processing time in each device, pulses appearing in the corresponding bits of the second register 21 appear on one of the outputs 25 of the group of prohibition elements 33 and the output 26 of the OR element 30 of the wake-up service modeling unit 18.

При этом работоспособными считаютс  те обслуживающие приборы, дл  которых вAt the same time, those service devices for which

соответствующем разр де регистра 19 заранее записана единица и только она и соответствующие разр ды регистра 21 подаютс  на сравнение.A unit is pre-recorded in the corresponding bit of the register 19 and only it and the corresponding bits of the register 21 are sent for comparison.

5 Как только код числа, записанный в регистр 19 совпадает с кодом числа регистра 21, означающим, что все работающие каналы закончили обслуживание, схема сравнени  20 выдает разрешающий импульс на5 As soon as the number code recorded in register 19 matches the number code of register 21, which means that all working channels have finished the service, comparison circuit 20 gives an enable pulse to

0 вход элемента И 8 При этом, импульс с выхода элемента И 8 через открытый элемент ЗАПРЕТ 12- поступит на нулевой вход триг- гера 16, перевод  его в нулевое состо ние (разреша  прохождение импульсов через0 input of the element And 8 In this case, the pulse from the output of the element And 8 through the open element is PROHIBITED 12- will go to the zero input of the trigger 16, transferring it to the zero state (allowing the passage of pulses through

5 элемент ЗАПРЕТ 11), сбрасывает в нулевое состо ние регистр 21, что свидетельствует об освобождении приборов обслуживани  от за вок. Импульсы, по вл ющиес  на выходах 25 группы элементов ЗАПРЕТ 33 бло0 ка 18 также подаютс  на нулевые входы группы триггеров 42 блока. 17 моделирова- нй  отказов, прекраща  подсчет квантов обслуживани  за вки в соответствующем приборе.5, the element BAN 11) resets the register 21 to the zero state, which indicates the release of service devices from the call. Pulses appearing at the outputs 25 of the group of elements BAN 33 of block 18 are also applied to the zero inputs of the group of triggers 42 of the block. 17 simulated failures, stopping the calculation of service quanta of applications in the corresponding device.

5 В случае, когда приборы зан ты обслуживанием за вки, импульсы От генератора 1 не проход т через элеметчт ЗАПРЕТ 11, а через открытый элемент И 5 поступают на Суммирующий вход реверсивного счетчика5 In the case when the devices are engaged in servicing applications, pulses from the generator 1 do not pass through the element FORBID 11, but through the open element And 5 are fed to the summing input of the reverse counter

0 15, увеличива  его код на единицу и имитиру  тем самым постановку поступившей за вки в очередь на обслуживание. В том случае, когда в очереди за вки есть, на выходе элемента ИЛИ 14 присутствует сигнал,0 15, increasing its code by one and simulating thereby placing a queue for service received. In the case when there are applications in the queue, a signal is present at the output of the OR element 14,

5 открывающий элементы И и 7 и закрывающий элемент ЗАПРЕТ 12. В данном случае, при завершении обслуживани  за вки во всех работающих приборах с выхода элемента И 8 по вл етс  импульс, который по0 падает на вычитающий вход реверсивного счетчика 15, уменьша  его код на единицу и имитиру  тем самым сн тие одной за вки из очереди и поставку ее на обслуживание (через открытый элемент И 7).5, the opening elements And and 7 and the closing element are FORBIDDEN 12. In this case, upon completion of service applications in all operating devices, an output appears from the output of the element And 8, which impinges on the subtracting input of the counter 15, decreasing its code by one and thereby simulating the removal of one application from the queue and its delivery to the service (through the open element And 7).

5 В момент полного заполнени  очереди на выходе элемента И 13 по витс  сигнал, который закроет элемент И 10 и откроет элемент И 4. В результате от генератора 1 начнут поступать на счетчик 3 числа поте0 р нных за вок. В зависимости от сигнала поступающего на вход 40 задани  режима обслуживани  за вок импульсы с выхода элемента ИЛИ 9 проход т либо через седьмой элемент И 34, либо через восьмой эле5 мент И 39, обеспечива  тем самым обслуживание за вки с посто нным или случайным временем обработки в одном из приборов системы.5 At the moment the queue is completely filled at the output of the And 13 element, a signal will appear that will close the And 10 element and open the And 4 element. As a result, the number 3 of lost entries will begin to flow from counter 1 to counter 3. Depending on the signal of the service mode input input 40, the pulses from the output of the OR element 9 pass either through the seventh element And 34 or through the eighth element And 39, thereby providing service for applications with a constant or random processing time in one of the instruments of the system.

Блок 18 (фиг. 2) моделирует процесс обслуживани  за вок в приборах Поступающий с выхода элемента И 39 импульс, имитирующий подачу за вки на прибор обслуживани  с случайным временем обработки, обнул ет содержимое регистров пам ти 28 и через элементы задержки 37 группы (через врем , необходимое на переходные процессы в регистрах пам ти 28), запускает генераторы 27 случайных чисел, которые вырабатывают случайные двоичные числа соответствующие времени обслуживани , поступающие в параллельном коде в регистры 28. Этот же импульс поступает через элементы ИЛИ 31 и задержки 32 на вход считывани  чисел с регистров пам ти 28, которые в параллельном коде поступают в счетчики 29.Block 18 (Fig. 2) simulates the service process for devices in the device. The pulse coming from the output of the And 39 element simulating the application for the service device with a random processing time resets the contents of the memory registers 28 and through the delay elements of group 37 (after a while required for transients in the memory registers 28), starts random number generators 27, which generate random binary numbers corresponding to the service time, received in parallel code in the registers 28. The same pulse is received via e or cops 31 and delay 32 to the read input numbers with the memory registers 28 which are fed to the counters 29 in the parallel code.

Если моделируетс  процесс обслуживани  за вок с за ранее определенным временем обработки в приборах, которое в этом случае устанавливаетс  на регистрах пам ти 28 (цепи установки на фиг. 2 не показаны), то поступающий через седьмой элемент И 34 импульс не запускает генераторы 27, а подаетс  только на вход считывани  регистров пам ти 28.If the process of servicing an application with a previously determined processing time in devices, which in this case is set on the memory registers 28 (the installation circuits in Fig. 2 are not shown), is simulated, then the pulse transmitted through the seventh element And 34 does not start the generators 27, but fed only to the read-in of the memory registers 28.

На вычитающие входы счетчиков 29 из блока моделировани  отказов 17 поступают импульсы, имитирующие квант обслуживани . Счетчики 29 содержат текущее значение оставшегос  времени обслуживани  за вки.The subtractive inputs of the counters 29 from the failure simulation unit 17 receive pulses simulating a quantum of service. Counters 29 contain the current value of the remaining service time for applications.

Когда обслуживание на одном из приборов завершаетс , соответствующий счетчик 29 переходит в нулевое состо ние, при этом по выработанному на его выходе единичному сигналу с помощью формировател  импульсов 38 формируетс  импульс. Этот импульс через элемент ЗАПРЕТ 33 поступает на нулевой вход триггера 42 группы блока 17 моделировани  отказЪв. во второй регистр 21 устройства и через элемент ИЛИ 30 на второй вход шестого элемента И 8 устройства .When the service at one of the devices is completed, the corresponding counter 29 goes to the zero state, and a pulse is generated from the single signal generated at its output using the pulse shaper 38. This pulse, through the element BAN 33, is supplied to the zero input of the trigger 42 of the group of the block 17 of the simulation of failure. in the second register 21 of the device and through the OR element 30 to the second input of the sixth element AND 8 of the device.

Поступающий с выходов генераторов 43 блока 17 импульс подаетс  через элементы ИЛИ 21 и задержки 32 на вход считывани  регистра пам ти 28 в блоке 18 моделировани  обслуживани  за вок, переписыва  записанное в регистре число в счетчик 29.The pulse coming from the outputs of the generators 43 of block 17 is supplied through the OR 21 and delay 32 elements to the read input of the memory register 28 in the service simulation block 18, by copying the number recorded in the register to the counter 29.

В блоке 17 моделировани  отказов (фиг. 3) вырабатываютс  импульсы на выходах коммутаторов 45 соответствующие единицам времени обслуживани  I, которые определ ютс  частотой тактового генератора 41In the failure simulation block 17 (Fig. 3), pulses are generated at the outputs of the switches 45 corresponding to the units of service time I, which are determined by the frequency of the clock generator 41

Поступающий в блок 17 моделировани  отказов импульс с элемента ИЛИ 9 переводит триггеры 42 и 46 в единичное состо ние, разреша  прохождение импульсов от такто- вогоо генератора 41 через коммутаторы 45The pulse arriving in the block 17 simulation of failures from the element OR 9 puts the triggers 42 and 46 in the single state, allowing the passage of pulses from the clock generator 41 through the switches 45

на выходы 24 блока 18 моделировани  обслуживани  за вок, а через элемент И 48 в счетчик 47 времени моделировани .to the outputs 24 of the wok service simulation block 18, and through the And 48 element to the simulation time counter 47.

В процессе работы приборов возможноDuring the operation of the devices, it is possible

5 возникновение отказов. Этому соответствует по вление импульсов на выходах генера- торов 43 случайных потоков импульсов отказов. Эти импульсы поступают на соответствующие генераторы 44 случайных им0 пульсов восстановлени  и на входы 49 группы элементов ИЛИ 31 блока 18 моделировани  обслуживани  за вок. На выходе генераторов 44 начинают формироватьс  интервалы времени, соответствующие ре5 жиму восстановлени . Напр жение с выхода генератора 44 блокирует коммутатор 45, запреща  прохождение импульсов тактового генератора 41 на вычитающие входы счетчиков 29 блоха 18, и подаетс  на5 occurrence of failures. This corresponds to the appearance of pulses at the outputs of the generators 43 of random flows of failure pulses. These pulses are fed to the respective generators 44 of random recovery pulses and to the inputs 49 of the group of elements OR 31 of the service simulation block 18. At the output of the generators 44, time intervals corresponding to the recovery mode 5 begin to form. The voltage from the output of the generator 44 blocks the switch 45, prohibiting the passage of pulses of the clock generator 41 to the subtracting inputs of the counters 29 of the flea 18, and is applied to

0 управл ющие входы элементов ЗАПРЕТ 33 блока 18. После окончани  интервала времени восстановлени  снимаетс  напр жение с выходов генераторов 44 и импульсы с генератора 41 снова начинают поступать на0 control inputs of the elements BAN 33 of the block 18. After the end of the recovery time interval, the voltage is removed from the outputs of the generators 44 and the pulses from the generator 41 again begin to arrive at

5 вычитающие входы счетчиков 29 блока 1б. При этом импульс, имитирующий окончание обслуживани  за вки, поступает в блок 17 моделировани  отказов на соответствующий триггер 42, перевод  его в нулевое со0 сто ние и тем самым прекраща  прохождение импульсов тактового генератора 41 на соответствующий вычитающий счетчик 29 блока 18 моделировани  обслуживани  за вок. При завершении обслужи5 вани  за вки во всех работающих приборах, поступающий с выхода элемента И 8 в блок 17 импульс переводит триггер 46 в нулевое состо ние, тем самым прекращаетс  поступление импульсов тактового генератора5 subtracting inputs of counters 29 of block 1b. In this case, a pulse simulating the end of service of an application is supplied to the failure simulation unit 17 to the corresponding trigger 42, its transition to the zero state, and thereby stopping the passage of the pulses of the clock generator 41 to the corresponding subtracting counter 29 of the service simulation unit 18. Upon completion of servicing applications in all operating devices, the pulse coming from the output of element And 8 to block 17 transfers the trigger 46 to the zero state, thereby stopping the receipt of clock pulses

0 41 в счетчике 47.0 41 in counter 47.

Коммутаторы 45 блока моделировани  отказов 17 (фиг. 4) коммутируют на вычитающие входы счетчиков 29 блока 18 импульсы от тактового генератора 41. Когда наThe switches 45 of the failure simulation block 17 (Fig. 4) switch pulses from the clock generator 41 to the subtracting inputs of the counters 29 of the block 18. When on

5 первом разрешающем входе 51 элемента ЗАПРЕТ 45-М - нуль, а на втором 50-1, импульсы, поступающие от тактового генератора 41 на тактовый вход 52 элемента И 45-I-2, будут пропущены на вход Счетчика 295, the first enable input 51 of the element BAN 45-M is zero, and at the second 50-1, pulses from the clock generator 41 to the clock input 52 of the element And 45-I-2 will be passed to the input of the Counter 29

0 блока 18.0 block 18.

Таким образом блок 17 моделировани  отказов позвол ет имитировать процессы выхода из стро  и восстановлени  приборов и определ ет дисциплину и врем  обслужи5 вани  за вки всеми приборами одновременно .Thus, the failure simulation unit 17 allows simulating the failure and recovery processes of devices and determines the discipline and service time of applications for all devices at the same time.

Предлагаемое устройство по сравнению с известным повышает точность моделировани  и расшир ет функциональные возможности моделируемой СМО за счетThe proposed device in comparison with the known increases the accuracy of modeling and extends the functionality of the simulated QS due to

формировани  импульсов, соответствующих моментам выхода из стро  и восстатгов- лени  приборов, моментам повторного возвращени  за вки в прибор, отключени  приборов на врем  их восстановлени  от обслуживани  за вки и формировани  пачки импульсов, характеризующей длительность обслуживани  за вки всеми приборами, позвол   при этом моделировать широкий класс реально существующих и перспективных систем с учетом режимов и динамики функционировани ;the formation of pulses corresponding to the moments of failure and rebuilding of devices, the moments of repeated return of applications to the device, disconnection of devices during their recovery from service applications and the formation of a burst of pulses characterizing the duration of service of applications by all devices, while allowing simulating a wide a class of really existing and promising systems taking into account the modes and dynamics of functioning;

Фчэрмула изобретени  Устройство дл  моделировани  систем массового обслуживани , содержащее генератор случайного потока за вок, счетчик общего числа за вок, счетчик числа note- р нных за вок, шесть элементов И, два элемента ИЛИ, три элеме.нта запрета, реверсивный счетчик длины очереди; Тр ггер , первый регистр пам ти и схему сравнени , выход генератора случайного потока за вок соединен со счетным входом счетчика общего числа за вок, с первым входом первого, элемента И и информационным входом первого элемента запрета, управл ющий вход которого и второй вход первого элемента И объединены и подключены к выходу второго элемента И, выход первого элемента И соединен со счетным входом счётчика числа потер нных за вок, а выход первого элемента запрета соединен с информационным входом второго элемента запрета и первым входом третьего элемента И, второй вход которого и управл ющий вход второго элемента запрета подключены к пр мому выходу триггера, выход второго элемента запрета соединен с единичным входом триггеру и с первым входом перво- го элемента ИЛИ, выход третьего элемента И подключен к суммирующему входу реверсивного счетчика длины очереди, разр дные выходы которого соёдийёны со- ответственйо с йхЩамй второго элемента И и входами второгоY ,. элемента ИЛИ, выход которого подключен к первым входам четвёртого и п того элементов И и управл - щему входу третьего элемента запрета ; выход которого соединен с нулевым входом триггера, выход четвёртого элемента И подключен к второму входу первого элемента ИЛИ, а выход шестого элемента И соединен с вторыми входами четвертого и п того элементов И и информационным входом треть- его элемента запрета, информационные входы первой группы схемы сравнени  подключены соответственно к разр дным выходам первого регистра пам ти, а выход Равно схемы сравнени  соединен с первым входом шестого э лемента И, выход п того элемента И подключен к вычитающему входу реверсивного счетчика длиньгочере- ди, о тли ч а ю щ ё ее   тем, что; с Целью расширени  функциональных возможностей за счет моделировани  режимов отказа и восстановлени  обслуживающих приборов и дообслуживани  за вок после восстановлени  обслуживающих приборов, оно дополнительно содержит седьмой и восьмой элементы И, блок моделировани  отказов и блок моделировани  обслуживани  за вок, причём блок моделировани  обслуживани  за вШ;5 даёржйт элемент ИЛИ, две группы элементов задержки, группу элементов ИЛИ, группу генераторов случайных чисел, группу регистров па- м ти; tpynnf вШйтаю формирователей импульсов и группу элементов запрета,Шхбдта ртор й сЪёдинены сОотвётственйЬ; а ИЛИFermula of the invention A queuing system simulator comprising a random wok flow generator, a total wok count, a note wok count, six AND elements, two OR elements, three bar elements, a reverse queue length counter; Tragger, the first memory register and the comparison circuit, the output of the random stream generator per wok is connected to the counting input of the total number of wok counter, to the first input of the first, AND element and the information input of the first prohibition element, the control input of which and the second input of the first element And combined and connected to the output of the second AND element, the output of the first AND element is connected to the counting input of the counter for the number of lost woks, and the output of the first inhibit element is connected to the information input of the second inhibit element and the first input the third AND element, the second input of which and the control input of the second inhibit element are connected to the direct output of the trigger, the output of the second inhibit element is connected to a single input of the trigger and the first input of the first OR element, the output of the third AND element is connected to the summing input of the reverse counter the length of the queue, the bit outputs of which are connected, respectively, with the second element AND and the inputs of the second Y,. an OR element, the output of which is connected to the first inputs of the fourth and fifth of the AND elements and to the control input of the third prohibition element; the output of which is connected to the zero input of the trigger, the output of the fourth AND element is connected to the second input of the first OR element, and the output of the sixth AND element is connected to the second inputs of the fourth and fifth AND elements and the information input of the third inhibit element, information inputs of the first group of the comparison circuit respectively connected to the bit outputs of the first memory register, and the output of the Comparison circuit is connected to the first input of the sixth element AND, the output of the fifth element AND is connected to the subtracting input of the reverse counter ka long ligaments, but only because of the fact that; For the purpose of expanding the functionality by simulating failure modes and restoring service devices and after-service for woks after restoring service devices, it additionally contains the seventh and eighth AND elements, a fault modeling unit and a wok service modeling unit, moreover, a unit for modeling service for HW; 5 hold an OR element, two groups of delay elements, a group of OR elements, a group of random number generators, a group of memory registers; tpynnf I am a Shaper of pulse shapers and a group of prohibition elements, Shhbdta r-th are connected with RESPONSIBILITY; and OR

блока моделировани  обслуживани  за вок; выход которого пбйключён к второму входу шести го элемента И устройства, в блоке моделировани  обслуживани  за вок вьс- ходы элементов зёдержШ гтервой группы соединены соответственно с входами запуска генераторов случайных чисел группы, выходы которых подключены к информационным входам соответствующего регистра пам ти группы, информационные выходы которого подключены к разр дным входам соответствующего вычитающего счетчика группы, выход обнулени  которого через соответствующий формирователь импульсов группы соединен с информационным входом соответсТвуЮщё гЬ элемента запрета- группы, выход каждого элемента ИЛИ группы через соответствующий элемент задержки второй группы соединен с входом считывани  соответствующего регистра .пам ти группы, блок моделировани  отказов содержит генератор тактовых импульсов , триггер. элёментИ, счетчик времени моделировани , группу триггеров, группу генераторов случайного потока импульсов отказов, группу генераторов случайных импульсов восстановлени  и группу коммутаторов, выходы которых соединены соответственно с вычитающими входами вычитающих счетчиков группы блока моделировани  обслуживани  за вок, в блоке моделировани  отказов выход генератора тактовых импульсов соединен с тактовыми входами всех коммутаторов группы и первым входом элемента И, второй вход которого подключен к пр мому выходу триггера блока моделировани  отказов, а выход элемента И соединен со счетным входом счетчика времени моделировани , в блокеwok service simulator; the output of which is connected to the second input of the sixth element AND of the device, in the service simulation block for all the inputs of the first group of elements are connected respectively to the start inputs of the random number generators of the group, the outputs of which are connected to the information inputs of the corresponding group memory register, the information outputs of which connected to the digital inputs of the corresponding subtracting counter of the group, the zeroing output of which through the corresponding pulse shaper of the group is connected to the information With the corresponding input of the corresponding element of the prohibition group, the output of each element of the OR group through the corresponding delay element of the second group is connected to the read input of the corresponding register of the memory of the group, the failure simulation block contains a clock pulse generator, a trigger. elements, simulation time counter, group of triggers, group of generators of random flow of failure pulses, group of generators of random recovery pulses and group of switches, the outputs of which are connected respectively to the subtracting inputs of the subtracting counters of the group of the service simulation block for woks, in the block of failure simulation the output of the clock pulse generator is connected with the clock inputs of all the switches in the group and the first input of the AND element, the second input of which is connected to the direct output of the trigger block and simulation of failures, and the output of the AND element is connected to the counting input of the simulation time counter, in the block

моделировани  отказов пр мой выход каждого триггера группы подключен к первому входу разрешени  работы соответствующего коммутатора группы, второй вход разрешени  работы которого подключен к выходу соответствующего генератора случайных импульсов восстановлени  группы, вход запуска которого соединен с выходом соответствующего генератора случайного потока импульсов отказов группы, выход каждого элемента запрета группы блока моделировани  обслуживани  за вок соединен с нулевым входом соответствующего триггера группы блока моделировани  отказов и соответствующим информационным входом второго регистра пам ти устройства, разр дные выходы которого соединены соответственно с информационными входами второй группы схемы t сравнени , а вход обнулени  второго регистра пам ти устройства подключен к выходу шестого элемента И и нулевому входу триггера блока моделировани  отказов, единичный вход которого и единичные входы триггеров группы блока моделировани  отказов объединены и соединены с выходом первого элемента ИЛИfault simulation, the direct output of each group trigger is connected to the first enable input of the corresponding group switch, the second enable input of which is connected to the output of the corresponding random recovery pulse group generator, the start input of which is connected to the output of the corresponding random failure pulse stream generator of the group, the output of each element prohibiting the group of the block simulating the service of the wok is connected to the zero input of the corresponding trigger of the group of the block faults and the corresponding information input of the second register of the device memory, the bit outputs of which are connected respectively to the information inputs of the second group of the comparison circuit t, and the zeroing input of the second register of the device memory is connected to the output of the sixth element And and the zero input of the trigger of the fault simulation unit, single the input of which and the single inputs of the triggers of the group of the failure simulation block are combined and connected to the output of the first element OR

устройства, с пр мым входом седьмого элемента И устройства и первым, входом восьмого элемента И устройства, инверсный вход седьмого элемента И устройства и второй вход восьмого элемента И устройства объединены и  вл ютс  входом задани  режима обслуживани  за вок устройства, выходы седьмого и восьмого элементов И устройства подключены соответственно кdevices, with the direct input of the seventh element AND of the device and the first input of the eighth element AND of the device, the inverse input of the seventh element of the device AND the second input of the eighth element of the device are combined and are the input of the service mode setting for the device wound, the outputs of the seventh and eighth elements of AND devices are connected respectively to

первым и вторым входам всех элементов ИЛИ группы блока моделировани  обслуживани  за вок, входы обнулени  регистров пам ти группы и входы элементов задержки первой группы блока моделировани  обслуживани  за вок объединены и соединены с выходом восьмого элемента И устройства, выход каждого генератора случайного потока импульсов отказов группы блока моделировани  отказов соединен с третьим входомthe first and second inputs of all OR elements of the wok service simulator block, the zero registers of the group memory registers and the delay elements of the first group of the wok service simulator delay elements are combined and connected to the output of the eighth device element AND, the output of each generator of a random flow of fault pulses of the group block failures fault simulation connected to the third input

соответствующего элемента ИЛИ группы блока моделировани  обслуживани  за вок , управл ющие входы элементов запрета группы которого подключены соответственно к выходам генераторов случайных импульсов восстановлени  группы блока моделировани  отказов.the corresponding OR element of the service simulator block, the control inputs of the group inhibit elements of which are connected respectively to the outputs of the random pulse generators of the recovery group of the fault simulator block.

Фиг.ЗFig.Z

SU904851024A 1990-07-10 1990-07-10 Device for first-come-first service systems simulating RU1784993C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU904851024A RU1784993C (en) 1990-07-10 1990-07-10 Device for first-come-first service systems simulating

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU904851024A RU1784993C (en) 1990-07-10 1990-07-10 Device for first-come-first service systems simulating

Publications (1)

Publication Number Publication Date
RU1784993C true RU1784993C (en) 1992-12-30

Family

ID=21527459

Family Applications (1)

Application Number Title Priority Date Filing Date
SU904851024A RU1784993C (en) 1990-07-10 1990-07-10 Device for first-come-first service systems simulating

Country Status (1)

Country Link
RU (1) RU1784993C (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1043661, кл. G 06 F 15/20, 1981. Авторское свидетельство СССР № 1196893, кл. G 06 F 15/20, 1983. *

Similar Documents

Publication Publication Date Title
RU1784993C (en) Device for first-come-first service systems simulating
SU1732352A1 (en) Queue system simulator
SU1024929A1 (en) Device for simulating servicing requests with different priorities
SU1667100A1 (en) Device for queueing system simulation
SU1096654A1 (en) Device for simulating process for servicing requests with different priorities
SU1080146A1 (en) Device for simulating queueing systems
RU2018946C1 (en) Device for modelling process of servicing applications
SU1418730A1 (en) Device for simulating mass service systems
RU2024055C1 (en) Device simulating servicing of different-priority requests
SU826358A1 (en) Device for simulating mass servicing system
RU1783539C (en) Device for modelling of queueing systems
SU1612309A1 (en) Device for modeling queueing systems
RU1784994C (en) Device for first-come-first service systems simulating
SU1038948A1 (en) Device for simulating systems of man-computer type
SU1108458A1 (en) Device for simulating queueing systems
SU1418740A1 (en) Device for simulating mass service systems
SU1619293A2 (en) Device for modeling queuing systems
SU636638A2 (en) Arrangement for simulating the process of handling non-stationary streams of priority applications
SU1124320A1 (en) Device for simulating queueing system
SU1647586A1 (en) Multiuser system simulating device
SU1709336A1 (en) Queue system simulator
SU1683029A1 (en) Queuing systems simulator
SU1488828A1 (en) Computer system simulator
SU955116A2 (en) Device for calculating transmitting radio center
RU2024929C1 (en) Device for simulating mass queueing systems