SU1275460A1 - Device for simulating the queueing systems - Google Patents

Device for simulating the queueing systems Download PDF

Info

Publication number
SU1275460A1
SU1275460A1 SU843793839A SU3793839A SU1275460A1 SU 1275460 A1 SU1275460 A1 SU 1275460A1 SU 843793839 A SU843793839 A SU 843793839A SU 3793839 A SU3793839 A SU 3793839A SU 1275460 A1 SU1275460 A1 SU 1275460A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
prohibition
channels
occupied
Prior art date
Application number
SU843793839A
Other languages
Russian (ru)
Inventor
Анатолий Дмитриевич Хомоненко
Сергей Васильевич Сычев
Original Assignee
Военный Инженерный Краснознаменный Институт Им.А.Ф.Можайского
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Военный Инженерный Краснознаменный Институт Им.А.Ф.Можайского filed Critical Военный Инженерный Краснознаменный Институт Им.А.Ф.Можайского
Priority to SU843793839A priority Critical patent/SU1275460A1/en
Application granted granted Critical
Publication of SU1275460A1 publication Critical patent/SU1275460A1/en

Links

Abstract

Изобретение относитс  к области вычислительной техники и может быть использовано при исследовании систем массового обслуживани . Цель изобретени  - расширение функциональных возможностей устройства за счет включени  резервных каналов в соответствии с установленным условием и веро тностного распределени  за вок между основными и резервными каналами . Цель достигаетс  за счет введени  в устройство двух регистров пам ти , двзгх схем сравнени , дешифратора , триггера, трех элементов И и элемента запрета с соответствующими функциональными св з ми. 1 ил.The invention relates to the field of computer technology and can be used in the study of queuing systems. The purpose of the invention is to expand the functionality of the device by including backup channels in accordance with the established condition and the probability distribution of the applications between the main and backup channels. The goal is achieved by introducing into the device two memory registers, two comparison circuits, a decoder, a trigger, three AND elements and a prohibition element with corresponding functional connections. 1 il.

Description

ю елyou ate

4;:four;:

05 Изобретение относитс  к вычислительной технике и может быть использовано при исследовании систем массового обслуживани .Целью изобретени   вл етс  расши рение функциональных возможностей за счет включени  резервных каналов в соотве.тствии с установленным усло вием и веро тностного распределени  за вок между основными и резервными каналами. На чертеже изображена схема устройства . Устройство содержит генератор 1 случайньпс импульсов, счетчик 2 поступивших за вок, счетчик 3 необслуженных за вок, реверсивный счетчик 4 зан тых резервных каналов, реверсивный счетчик 5 зан тых основных каналов, первый 6, п тый 7, второй 8, четвертый 9, третий 10 элементы И, первый и, четвертый 12,. второй 13 и третий 1А элементы запрета,пер вый 15 и второй 16 многовходовые элементы И, второй 17, первый 18 и третий 19 элементы ИЛИ, дешифратор 20, второй 21 и первый 22 блоки слу чайной временной задержки, веро тностно-распределительный блок 23, первую 24 и вторую 25 схемы сравнени , первый 26 и второй 27 регистры Устройство работает следующим об разом. Когда в системе свободен хот  бы один резервный канал и число зан ты основных каналов меньше К/ сигналы на выходах многовходовых элементов И 15 и 16 отсутствуют, а на выходе триггера 28 - низкий уровень. При этом элемеить И 6-10 закрыты, а эле менты 1.1-14 запрета открыты, и импульсы от генератора 1 случайных им пульсов через открытые элементы 11 12 запрета и элемент ИЛИ 17 поступа ют на суммирующий вход реверсивного счетчика 5 зан тых основных каналов и одновременно - на вход блока 22 случайной временной задержки, имити рующего процесс обслуживани . Посту ление импульса на суммирующий вход счетчика 5 числа зан тых основных к налов увеличивает его код на единиц что означает включение в работу однрго основного канала. Импульс, по вившийс  на выходе блока 22 через врем , равное случайной длительност обслуживани , поступает на вычитающий вход счетчика 5 и списывает и 602 него единицу, имитиру  тем самым освобождение одного основного канала. В момент времени, когда число зан тых основных каналов достигает значени  К, перва  схема 24 сравнени  вырабатывает сигнал, который переводит триггер 28 в единичное состо ние (высокий уровень). При этом элемент И 7 открываетс , а элемент 12 закрываетс  и импульсы от генератора 1 случайных импульсов через открытые элементы 11 запрета и И 7 поступают в веро тностно-распределительный блок 23, который с веро тностью Р генерирует импульсы по первому выходу и с веро тностью (1-Р) - по второму . Импульс, генерируемый с веро тностью Р по первому выходу, поступает через элемент ИЛИ 18 и открытый элемент 14 на суммирующий вход счетчика 4 зан тых резервных каналов и одновременно на блок 21, имитирующий процесс обслуживани . Поступление импульса на суммирующий вход счетчика 4 зан тых резервных каналов увеличивает его код на единицу, что означает зан тие одного резервного канала. Импульс, по вившийс  на выходе блока 20 череэ врем , равное случайной длительности обслуживани , поступает на вычитающий вход счетчика 4 зан тых резервных каналов и списывает из него единицу, что означает освобождение одного резервного канала. С веро тностью (1-Р) импульс генерируетс  веро тностно-распределительным блоком 23 по второму выходу и поступает через открытый элемент 13 запрета и элементы ИЛИ 19 и 17 на суммирующий вход счетчика 5 зан тых основных каналов и на вход блока 22. В момент времени, когда число зан тых основных каналов Уменьщ 1тс  до значени  К , схема 25 сравнени  вырабатывает сигнал, перевод щий триггер 28 в нулевое состо ние. При этом элемент И 7 закрываетс , а элемент 12 запрета открываетс  и импульсы от генератора 1 случайных импульсов вновь поступают на суммирующий вход счетчика 5 зан тых основных каналов и блока 22 случайных временных задержек . В момент времени, когда зан ты все резервные каналы и свободен хот  бы один основной канал, сигналы с выхода многовходового элемента И 15,05 The invention relates to computing and can be used in the study of queuing systems. The purpose of the invention is to expand the functionality by including backup channels in accordance with the established condition and the probability distribution of applications between the main and backup channels. The drawing shows a diagram of the device. The device contains a generator of 1 random pulses, a counter of 2 incoming orders, a counter of 3 unserved servants, a reversible counter of 4 occupied backup channels, a reversible counter of 5 busy primary channels, the first 6, fifth 5, second 8, fourth 9, third 10 elements And, the first and, the fourth 12 ,. the second 13 and third 1A prohibition elements, the first 15 and second 16 multi-input elements AND, the second 17, the first 18 and third 19 OR elements, the decoder 20, the second 21 and the first 22 random time delay blocks, the probability-distribution block 23, the first 24 and second 25 comparison circuits, the first 26 and second 27 registers. The device works as follows. When at least one backup channel is free in the system and the number of channels occupied is less than K / the signals at the outputs of the multi-input elements 15 and 16 are missing, and the output of the trigger 28 is low. In this case, AND 6-10 are closed, and prohibition elements 1.1-14 are open, and the pulses from the generator 1 of random pulses through the open elements 11 12 of the prohibition and the element OR 17 arrive at the summing input of the reversing counter 5 of the occupied main channels and at the same time - to the input of a random time delay unit 22 simulating the service process. Posting a pulse to the summing input of the counter 5, the number of occupied main pools, increases its code by one, which means that the one main channel is put into operation. The impulse that occurred at the output of block 22 after a time equal to a random service duration, goes to the subtractive input of counter 5 and writes off 602 units, thereby simulating the release of one main channel. At the point in time when the number of occupied main channels reaches the value K, the first comparison circuit 24 produces a signal that translates the trigger 28 into a single state (high level). At that, the element AND 7 opens, and the element 12 closes and the pulses from the generator 1 of random pulses through the open prohibition elements 11 and AND 7 enter the probability-distribution unit 23, which with probability P generates pulses at the first output and with probability ( 1-P) - according to the second. The impulse generated with probability P on the first output goes through the element OR 18 and the open element 14 to the summing input of the counter 4 occupied backup channels and at the same time to the block 21 simulating the service process. The arrival of a pulse to the summing input of the counter of 4 occupied backup channels increases its code by one, which means that one backup channel is occupied. An impulse that occurred at the output of block 20 over a time equal to a random duration of service enters the subtractive input of the counter 4 occupied backup channels and deducts one from it, which means the release of one backup channel. With probability (1-P), a pulse is generated by a probability-distribution unit 23 on the second output and fed through the open interdiction element 13 and the elements OR 19 and 17 to the summing input of the counter 5 occupied main channels and to the input of the block 22. At the moment of time When the number of occupied main channels is reduced to 1 K to the value of K, the comparison circuit 25 generates a signal that triggers the trigger 28 to a zero state. In this case, the element AND 7 is closed, and the prohibition element 12 is opened and the pulses from the generator 1 of random pulses are again fed to the summing input of the counter 5 occupied main channels and the block 22 of random time delays. At the moment when all the backup channels are occupied and at least one main channel is free, signals from the output of the multi-input element I 15,

3131

св занного с разр дагт счетчика 4 зан тых резер.вных каналов, закроет элемент 14 запрета и откроет элемент И 10. В этом случае импульсы с веро тностно-распределительного блока 23, генерируемые с веро тностью Р по первому выходу через элемент ИЛИ 18, открытый элемент И 0 и элементы ИЛИ 19 и 17, поступают на суммирующий вход счетчика 5 зан тых основных каналов и блока 22 случайных временных задержек, имитирующий процесс обслуживани .connected to the discharge counter of the 4 occupied reserve channels, will close the prohibition element 14 and open the element 10. In this case, the pulses from the probability-distribution unit 23 generated with the probability P on the first output through the element 18, open the element AND 0 and the elements OR 19 and 17 are fed to the summing input of the counter 5 occupied main channels and the random time delay unit 22 simulating the service process.

В момент времени, когда зан ты все. каналы, как основные так и резервные , сигналы с выходов многовходовых элементов И 15 и 16 через открытый элемент И 9 откроют элемент И 6 и закроют элемент II запрета. При этом импульсы от генератора 1 через открытый элемент И 9 поступают на счетчик 3.At the moment of time when you are all done. the channels, both primary and backup, the signals from the outputs of the multi-input elements And 15 and 16 through the open element And 9 will open the element And 6 and close the element II of the ban. In this case, the pulses from the generator 1 through the open element And 9 arrive at the counter 3.

Статические характеристики функционировани  системы массового обслуживани , моделируемой данным устройством , вычисл ютс  известными методами на основе показаний счетчиков.The static performance characteristics of the queuing system modeled by this device are calculated by known methods based on meter readings.

Claims (1)

Формула изобретени Invention Formula Устройство дл  моделировани  систем массового обслуживани , содержащее генератор случайнь|х импульсов, выход которого соединен с входом счетчика поступивщих за вок, первым входом первого элемента И и информационным входом первого элемента запрета , второй и третий элементы И, два многовходовых элемента И, второй и третий элементы запрета, два блока случайной временной задержки, реверсивньш счетчик зан тых основных каналов , реверсивный счетчик зан тых резервных каналов, два элемента ИЛИ, счетчик необолуженных за вок, вход которого соединен с выходом первого элемента И, веро тностно-распределительный блок, первый выход которого соединен с первым входом первого элемента ИЛИ, второй вход которого под-кгаочен к выходу второго элемента И, первый вход которого и информационный вход второго элемента запрета объединены и подключены к второму выходу веро тностно-распределительного блока, выход первого многовходо,вого элемента И соединен спервым входом третьего элемента И и управл ю754604A device for simulating queuing systems, containing a random pulse generator, the output of which is connected to the input of the incoming order counter, the first input of the first element And the information input of the first prohibition element, the second and third elements And, two multi-input elements And, the second and third prohibition elements, two random time delay blocks, a reversible counter of the occupied main channels, a reversible counter of the occupied backup channels, two OR elements, a counter of unused bids, whose input is from It is connected with the output of the first element AND, a probability-distribution unit, the first output of which is connected to the first input of the first element OR, the second input of which is sub-to the output of the second element AND, the first input of which and the information input of the second prohibition element are combined and connected to the second the output of the probability distribution block, the output of the first multiple-input element AND is connected with the first input of the third element AND and control 754604 шим входом третьего элемента запрета , разр дные выходы реверсивного счетчика зан тых резервных каналов подключены соответственно к входам J первого многовходового элемента И, выход первого блока случайной временной задержки соединен с вычитающим входом реверсивного счетчика зан тых основных каналов, разр дные выходы 10 которого подключены соответственно к входам второго многовходового элемента И, выход которого соединен с управл ющим входом второго злеменга запрета и вторым входом второго злеТ5 мента И, отличающеес The third input of the prohibition element, the discharge outputs of the reversible counter of occupied reserve channels are connected respectively to the inputs J of the first multiple input element And, the output of the first random time delay block is connected to the subtracting input of the reverse counter of the occupied main channels, whose discharge outputs 10 are connected respectively to the inputs of the second multi-input element And, the output of which is connected to the control input of the second prohibition terminal and the second input of the second zelT5 ment And, characterized by тем, что, с целью расширени  функцнональных возможностей за счет моделировани  включени  резервных каналов в соответствии с установленным усло20 вием и веро тностного распредени  за вок между основными и резервными каналами, оно дополнительно содержит два регистра пам ти, две схемы сравнени , дешифратор, триггер, третийBy the fact that, in order to expand the functional possibilities by simulating the inclusion of backup channels in accordance with the established condition and the probability distribution of the bids between the main and backup channels, it additionally contains two memory registers, two comparison circuits, a decoder, a trigger, a third 25 элемент ИЛИ, четвертый и п тый элементы И, четвертый элемент запрета, причем выходы первого и второго многовходовых элементов И соединены соответственно с первым и вторым входа30 ми четвертого элемента И, выход которого соединен с вторым входом первого элемента И и управл ющим входом первого элемента запрета, выход которого подключен к информационному входу25 OR element, fourth and fifth AND elements, fourth prohibition element, with the outputs of the first and second AND multi-input elements connected respectively to the first and second inputs 30 of the fourth AND element, the output of which is connected to the second input of the first AND element and the control input of the first element ban, the output of which is connected to the information input - четвертого элемента запрета и первому входу п того элемента И, выход п того элемента И соединен с входом ве ро тностно-распределительного блоха, а второй вход п того элемента И и- the fourth element of the prohibition and the first input of the fifth element And, the output of the fifth element And connected to the input of the rotational distribution flea, and the second input of the fifth element And 0 управл ющий вход четвертого элемента запрета подключены к выходу триггера, первый и второй входы которого соединены соответственно с выходами первой и второй схем сравнени , первые0, the control input of the fourth prohibition element is connected to the trigger output, the first and second inputs of which are connected respectively to the outputs of the first and second comparison circuits, the first 5. входы которых подключены соответственно к выходам первого и второго регистров , а вторые входы схем сравнени  объединены и подключены к выходу дешифратора, входы которого соединеg ны соответственно с выходами реверсивного счетчика зан тых основных каналов , суммирующий вход которого соединен с входом первого блока случайной временной задержки и выходом вто5 рого элемента ИЛИ, первый вход которого подключен к выходу четвертого элемента запрета, а второй входк выходу третьего элемента ИЛИ, первый и второй входы которого подключены соответственно к выходам второго элемента запрета и третьего элемента И, второй вход третьего элемента И соединен с выходом первого элемента ИЛИ и информационным входом третьего элемента запрета, выход которого подк/почен к суммирующему входу реверсив1ГОГО счетчика зан тых резервных каналов и входу второго блока случайной временной задержки, выход которого подключен к вычитающему входу реверсивного счетчика зан тых резервных каналов.5. the inputs of which are connected respectively to the outputs of the first and second registers, and the second inputs of the comparison circuits are combined and connected to the output of the decoder, the inputs of which are connected respectively to the outputs of the reversible counter of the occupied main channels, the summing input of which is connected to the input of the first random time delay block and the output of the second OR element, the first input of which is connected to the output of the fourth prohibition element, and the second input of the third OR element, the first and second inputs of which are connected respectively, to the outputs of the second prohibition element and the third element, AND, the second input of the third element, AND is connected to the output of the first element OR and the information input of the third prohibition element, the output of which is connected to the summing input of the reversing counter of the occupied backup channels and the input of the second block of the random time delay The output of which is connected to the subtractive input of the reverse counter of occupied reserve channels.
SU843793839A 1984-09-25 1984-09-25 Device for simulating the queueing systems SU1275460A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU843793839A SU1275460A1 (en) 1984-09-25 1984-09-25 Device for simulating the queueing systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU843793839A SU1275460A1 (en) 1984-09-25 1984-09-25 Device for simulating the queueing systems

Publications (1)

Publication Number Publication Date
SU1275460A1 true SU1275460A1 (en) 1986-12-07

Family

ID=21139677

Family Applications (1)

Application Number Title Priority Date Filing Date
SU843793839A SU1275460A1 (en) 1984-09-25 1984-09-25 Device for simulating the queueing systems

Country Status (1)

Country Link
SU (1) SU1275460A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 858000, кл. G 06 F 15/20, 1979. Авторское свидетельство СССР 1239726, кл.G 06 F 15/20, 1984. *

Similar Documents

Publication Publication Date Title
SU1275460A1 (en) Device for simulating the queueing systems
SU1244674A1 (en) Device for simulating queueing systems
SU1305701A1 (en) Device for simulating the queueing systems
SU1479938A1 (en) Queueing system simulator
SU1432551A1 (en) Device for simulating mass service systems
SU1191916A1 (en) Device for simulating queueing systems
SU1406753A1 (en) Programmable delay line
SU1249527A1 (en) Device for determining minimum sections
SU1387033A1 (en) Device for fetching data from storage unit
SU1111172A1 (en) Device for simulating queueing systems
SU1124320A1 (en) Device for simulating queueing system
SU1095187A1 (en) Device for simulating queueing systems
SU1325564A1 (en) Memory
SU760050A1 (en) Electric signal synchronizing device
SU634288A1 (en) Arrangement for statistic testing
SU1168962A1 (en) Device for simulating queueing systems
SU1144109A1 (en) Device for polling information channels
SU1644156A1 (en) Multiuser servicing system simulator
SU1026143A1 (en) Device for monitoring discrete objects
SU1156245A1 (en) Device for delaying pulses
SU1229769A1 (en) Device for simulating queueing system
SU1304032A1 (en) Device for determining deterministic characteristics of graph
SU962976A1 (en) Device for computing correlation function of pulse train
SU1196890A1 (en) Device for finding optimum tree of graph
SU1737483A1 (en) Device for information receiving and transmitting