[go: up one dir, main page]

SU1536397A2 - Device for modelling queueing systems - Google Patents

Device for modelling queueing systems Download PDF

Info

Publication number
SU1536397A2
SU1536397A2 SU884409614A SU4409614A SU1536397A2 SU 1536397 A2 SU1536397 A2 SU 1536397A2 SU 884409614 A SU884409614 A SU 884409614A SU 4409614 A SU4409614 A SU 4409614A SU 1536397 A2 SU1536397 A2 SU 1536397A2
Authority
SU
USSR - Soviet Union
Prior art keywords
counter
input
output
service
trigger
Prior art date
Application number
SU884409614A
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 SU884409614A priority Critical patent/SU1536397A2/en
Application granted granted Critical
Publication of SU1536397A2 publication Critical patent/SU1536397A2/en

Links

Landscapes

  • Measuring Volume Flow (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано дл  исследовани  систем массового обслуживани . Цель изобретени  - расширение функциональных возможностей устройства за счет моделировани  адаптации плотности потока за вок к числу за вок, в обслуживании которым отказано. Устройство содержит генератор 1 за вок, первый счетчик 2 за вок, первый счетчик 3 отказов, счетчик 4 числа превышений времени обслуживани , первый реверсивный счетчик 5, второй элемент И 6, первый элемент И 7, элемент ИЛИ 8, первый элемент 9 запрета, второй блок 10 и первый блок 11 случайной временной задержки, второй счетчик 12 за вок, второй счетчик 13 отказов, триггер 14, второй элемент 15 запрета, третий элемент И 16, второй реверсивный счетчик 17. Поступающие от генератора 1 за вки обслуживаютс  по моделируемому случайному закону распределени . Если все каналы обслуживани  зан ты, происходит отказ в обслуживании. В зависимости от соотношени  числа посланных за вок и числа за вок, в обслуживании которым отказано, измен етс  значение кода на разр дных выходах второго реверсивного счетчика 17 и происходит изменение плотности потока генератора 1 за вок с управл емой плотностью потока. Это позвол ет определить автоматически значение плотности потока, при которой выдерживаетс  заданное соотношение посланных и потер нных за вок. 1 ил.The invention relates to computing and can be used to study queuing systems. The purpose of the invention is to expand the functionality of the device by simulating the adaptation of the flux density of the quotation to the number of the quotation that is denied service. The device contains a generator 1 for the wok, the first counter 2 for the wok, the first counter 3 failures, the counter 4, the number of exceeding service time, the first reversible counter 5, the second element AND 6, the first element AND 7, the element OR 8, the first element 9 of the ban, the second block 10 and the first block 11 of the random time delay, the second counter 12 of the wok, the second counter 13 of failures, trigger 14, the second prohibition element 15, the third element AND 16, the second reversible counter 17. Those coming from the generator 1 are serviced according to a simulated random law distribution. If all service channels are busy, a denial of service occurs. Depending on the ratio of the number of applications sent and the number of applications that are denied service, the code value changes at the bit outputs of the second reversible counter 17 and the density of the generator 1 flow changes with controlled flow density. This makes it possible to determine automatically the value of the flux density at which the specified ratio of sent and lost bids is maintained. 1 il.

Description

Изобретение относитс  к вычислительной технике, может быть использовано дл  исследовани  систем массового обслуживани  и касаетс  усовершенствовани  устройства по авт. св. № 1 151980.The invention relates to computing, can be used to study queuing systems and relates to the improvement of the device according to the author. St. № 1 151980.

Цель изобретени  - расширение функциональных возможностей устройства путем моделировани  адаптации плотности потока за вок к числу за вок , в обслуживании которым отказано .The purpose of the invention is to expand the functionality of the device by simulating the adaptation of the flux density of the quotation to the number of the denied service.

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

Устройство содержит генератор 1 за вок, первый счетчик 2 за вок, первый счетчик 3 отказов, счетчик 4 числа превышений времени обслуживани , первый реверсивный счетчик 5, второй элемент И 6, первый элемент И 7, элемент ИЛИ 8, первый элемент 9 запрета, второй 10 и первый 11 блоки случайной временной задержки, второй счетчик 12 за вок, второй счетчик 13 отказов, триггер 14, второй элемент 15 запрета, третий элемент И 16, второй реверсивный счетчик 17.The device contains a generator 1 for the wok, the first counter 2 for the wok, the first counter 3 failures, the counter 4, the number of exceeding service time, the first reversible counter 5, the second element AND 6, the first element AND 7, the element OR 8, the first element 9 of the ban, the second 10 and the first 11 blocks of the random time delay, the second counter 12 of the wok, the second counter 13 of the failures, the trigger 14, the second element 15 of the ban, the third element And 16, the second reversible counter 17.

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

Устройство моделирует режим, при котором на врем  обслуживани  за вок накладываетс  ограничение. Таким образом , поступающие в систему за вки тер ютс  не только тогда, когда часть каналов (или все они ) зан ты обслуживанием, а остальные наход тс  в ремонте, но и тогда, когда врем  обслуживани  за вки превышает допустимое . Поступающие от генератора за вки обслуживаютс  прибором по моделируемому.случайному закону распределени . Если все каналы обслуживани  зан ты, то происходит отказ в обслуживании. В зависимости от соотношени  числа посланных за вок и числа отказов в обслуживании периодически производитс  изменение плотности потока генератора за вок с управл емой плотностью потока. Направление этого изменени  автоматически выбираетс  таким, чтобы в устройстве устанавливалось заданное соотношение посланных и потер нных за вок. Это позвол ет автоматически определ ть значение, плотности потока при которой выдерживаетс  заданное соотношение посланных и потер нныThe device simulates a mode in which a limitation is imposed on the service time of the demand. Thus, the applications entering the system are lost not only when part of the channels (or all of them) are serviced, and the rest are under repair, but also when the service time of the application exceeds the allowable one. The applications received from the generator are serviced by the device according to a simulated random distribution law. If all service channels are busy, then a denial of service occurs. Depending on the ratio of the number of applications sent and the number of denials of service, the generator flux density of the application with controlled flux density periodically changes. The direction of this change is automatically chosen so that the device establishes the specified ratio of sent and lost quotations. This allows you to automatically determine the value of the flux density at which the specified ratio of sent and lost values is maintained.

00

5five

00

5five

00

5five

00

5five

00

5five

в результате отказа в обслуживании за вок.as a result of a denial of service charge.

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

Импульсы от генератора 1 за вок поступают на вход счетчика 2 за вок, объем которого рассчитан на весь период проведени  эксперимента по моделированию, и на вход счетчика 12 за вок, объем которого определ ет периодичность проверки соотношени  посланных и потер нных в результате отказа за вок. Кроме этого, импульсы от генератора 1 поступают через открытый элемент 9 запрета на суммирующий вход реверсивного счетчика 5 и на суммирующие входы блоков 10 и 11 случайной временной задержки , имитирующих процесс обслуживани  и процесс задани  предельно допустимого времени, обслуживани  соответственно .The pulses from the generator 1 are received at the input of counter 2, the volume of which is calculated for the entire simulation experiment, and the input of counter 12, the volume of which determines the frequency of checking the ratio of sent and lost as a result of the refusal. In addition, pulses from generator 1 are received through an open prohibition element 9 to the summing input of the reversible counter 5 and to the summing inputs of blocks 10 and 11 of a random time delay simulating the service process and the process of setting the maximum allowable service time, respectively.

Поступление импульса на суммирующий вход счетчика 5 увеличивает его код на единицу, что означает зан тие одного канала. При этом, если врем  обслуживани  за вки не превысит допустимое врем  обслужи - вани , задаваемое блоком 11, то импульс, по вившийс  на выходе блока 10, через врем , равное случайной длительности обслуживани , поступает на вычитающих вход счетчика 5 и списывает из него единицу, имитиру  тем самым освобождение одного канала. Этот же импульс с выхода блока 10 поступает на вход блока 11 случайной временной задержки , запреща  по вление импульса на выходе этого блока.The arrival of a pulse at the summing input of counter 5 increases its code by one, which means that one channel is occupied. At the same time, if the service time of the application does not exceed the allowable service time specified by block 11, then the pulse that appeared at the output of block 10, after a time equal to a random service duration, goes to the subtractors of the input of counter 5 and writes off the unit from it, thereby imitating the release of one channel. The same pulse from the output of block 10 is fed to the input of block 11 of a random time delay, prohibiting the appearance of a pulse at the output of this block.

Если врем  обслуживани  за вки превысит предельно допустимое, то импульс по вившийс  на выходе блока 11 случайной временной задержки через врем , равное случайному значению предельно допустимого времени обслуживани , поступает на вычитающий вход блока 10 случайной временной задержки и на вычитающий вход счетчика 5, имитиру  тем самым прекращение обслуживани  обеспеченной за вки и освобождение одного канала. Кроме того, импульсы с выхода блока 11 случайной временной задержки поступают на вход счетчика 4, подсчитывающего, число за вок, врем  обслуживани  которых превышает предельно допустимое.If the service time of the application exceeds the maximum allowable, then the pulse at the output of the block 11 of the random time delay after a time equal to the random value of the maximum allowable time of the service goes to the subtracting input of the block 10 of the random time delay and to the subtracting input of the counter 5, thereby imitating termination of the service provided by the application and the release of one channel. In addition, the pulses from the output of block 11 of a random time delay arrive at the input of counter 4, counting the number of applications whose service time exceeds the maximum allowable.

5five

В процессе обслуживани  устройства может возникнуть ситуаци , когда все каналы зан ты. В этом случае на выходе элемента И 6 по вл етс  сигнал, поступающий на управл ющий вход элемента 9 запрета и на вход элемента И 7. Элемент 9 запрета запираетс  и импульсы от генератора 1 через открытый элемент И 7 поступают на вход счетчика 3 отказов и счетный вход счетчика 13 отказов, имитиру  поток за вок, получивших отказ в обслуживании из-за отсутстви  свободных каналов.In the process of servicing the device, a situation may arise when all channels are busy. In this case, at the output of the element 6, a signal arrives at the control input of the prohibition element 9 and at the input of the element 7. The prohibition element 9 is blocked and the pulses from the generator 1 through the open element And 7 arrive at the input of the failure counter 3 and the counting counter input 13 failures, imitating the flow of quotations that were denied service because of the lack of free channels.

По мере поступлени  импульсов с выходов блоков 10 и 11 на вычитающий вход реверсивного счетчика 5 элемент 9 запрета вновь отпираетс , разреша  тем самым поступление импульсов от генератора 1 на суммирующие входы блоков 10 и II.As the pulses from the outputs of blocks 10 and 11 are sent to the subtracting input of the reversible counter 5, the prohibition element 9 is re-opened, thereby allowing the arrival of pulses from the generator 1 to the summing inputs of blocks 10 and II.

Объем счетчика 3 отказов рассчитан на весь период проведени  эксперимента по моделированию, а объем счетчика 13 отказов определ етс  максимально допустимым числом отказов за период между проверками соотношени  посланных и потер нных в результате отказа за вок.The counter 3 failure rate is calculated for the entire period of the simulation experiment, and the failure counter 13 volume is determined by the maximum permissible number of failures in the period between checks of the ratio of sent and lost due to a refusal.

На выходе переполнени  счетчика 12 за вок импульс по вл етс  после подсчета определенного количества посланных за вок. Таким образом, счетчик 12 задает период обращени  к данным, накопленным счетчиком 13 отказов. Объем счетчика 13 отказов выбираетс  равным максимально допустимому числу отказов за интервал между проверками соотношени  посланных и потер нных в результате отказов за вок. Следовательно, если за период обращени , задаваемый объемом счетчика 12 за вок, число отказов не превышало максимально допустимое значение, то счетчик 13 отказов не переполнитс  и триггер 14 останетс  в исходном нулевом состо нии , на его выходе будет сигнал логического нул . При этом элемент И 16 будет заперт, а элемент 15 запрета открыт. В конце очередного периода обращени  счетчик 12 за вок переполнитс  и с его выхода переполнени  импульс получает возможность поступать на суммирующий вход реверсивного счетчика 17.At the output of the overflow of the counter 12, a wok impulse appears after counting a certain number of sent applications. Thus, the counter 12 sets the period for accessing the data accumulated by the failure counter 13. The size of the counter 13 failures is equal to the maximum permissible number of failures in the interval between the checks on the ratio of the sent and lost as a result of the failures per wok. Therefore, if during the reference period specified by the volume of the counter 12 of the wake, the number of failures did not exceed the maximum allowable value, then the counter 13 of the failures does not overflow and the trigger 14 remains in the initial zero state, its output will be a logic zero signal. In this case, the element And 16 will be locked, and the element 15 of the ban is open. At the end of the next circulating period, the counter 12 behind the wok overflows and, from its overflow output, the pulse can flow to the summing input of the reversing counter 17.

Если же за период обращени  число отказов в обслуживании превышаетIf, during the period of circulation, the number of service failures exceeds

363976363976

максимально допустимое значение, то счетчик 13 отказов успевает переполнитьс  и импульс с выхода переполнени  этого счетчика, поступив на вход триггера 14, переводит его в единичное состо ние. При этом на выходе триггера 14 по вл етс  логическа  единица, котора  открывает элемент Ю И 16 и элемент 15 запрета. Следовательно , импульс с выхода переполне- ни  счетчика 12 за вок через элемент И 16 может поступать на вход вычитани  реверсивного счетчика 17. 15 Таким образом, каждый импульс переполнени  с выхода счетчика 15 за вок поступает на вход суммировани  или вычитани  реверсивного счетчика 17, разр дные выходы которого 2Q соединены с входами управлени  генератора 1 за вок..the maximum permissible value, then the counter 13 of failures has time to overflow and the pulse from the overflow output of this counter, arriving at the input of the trigger 14, translates it into a single state. At the same time, at the output of trigger 14, a logical unit appears, which opens element YI 16 and element 15 of the prohibition. Therefore, the pulse from the overflow output of the counter 12 of the wok through the element 16 can enter the subtraction input of the reversible counter 17. 15 Thus, each overflow pulse from the output of the counter 15 behind the wok enters the input of the summation or subtraction of the reversible counter 17, bit the outputs of which 2Q are connected to the control inputs of generator 1 for wok.

Подготовка к очередному циклу оценки соотношени  посланных и потер нных за вок осуществл етс  при 25 подаче импульса с выхода переполнени  счетчика 12 за вок на вход сброса счетчика 13 отказов и вход триггера 14, за счет чего счетчик 13 обнул етс  9 а триггер 14 переходит в ис- 30 ходкое нулевое состо ние. Изменение кодовой комбинации на выходе реверсивного счетчика 17 приводит к изменению плотности потока генератора 1 за вок. Таким образом, происходит автоматическа  настройка потока генератора 1 за вок на значение, при котором обеспечиваетс  заданное соотношение между числом посланных за вок и за вок, которым отказано в 40 об служив ании.Preparing for the next evaluation cycle, the ratio of sent and lost orders is carried out with a 25 pulse from the overflow output of the counter 12 for the wok to the reset input of the counter 13 failures and trigger input 14, due to which the counter 13 is zeroed and the trigger 14 goes to IS - 30 is the best-selling zero state. A change in the code combination at the output of the reversible counter 17 leads to a change in the flux density of the generator 1 per wok. Thus, the flow of the generator 1 of the wok is automatically adjusted to a value at which the specified ratio between the number of sent applications and the requisition that is denied in the service 40 is maintained.

Claims (1)

Формула изобретени Invention Formula Устройство дл  моделировани  сис- лс тем массового обслуживани  по авт. св. № 1151980, отличающе. е- с   тем, что, с целью расширени  функциональных возможностей за счет моделировани  адаптации плотности 0 потока за вок к числу за вок, в обслуживании которым отказано, оно дополнительно содержит второй счетчик за вок, второй счетчик отказов, триггер, второй элемент запрета, третий элемент И и второй реверсивный счетчик, причем разр дные выходы второго реверсивного счетчика соединены соответственно с входами управлени  частотой импульса в гене35A device for simulating a system of queuing under aut. St. No. 1151980, different. That is, in order to expand the functionality by simulating the adaptation of the density 0 of the flow of the flow rate to the number of the service that is denied service, it additionally contains a second counter of the flowmeter, the second failure counter, a trigger, the second prohibition element, the third the element And and the second reversible counter, and the bit outputs of the second reversing counter are connected respectively to the inputs of the pulse frequency control in the gene 7 153639787 15363978 раторе за вок, выход которого под-мента И подключен к счетному входуRator quotation, the output of which is a submente AND connected to the counting input Илючен к информационному входу вто-второго счетчика отказов, выходIt is connected to the information input of the second-second counter of failures, output счетчика за вок, выход перепол-переполнени  которого соединен с a wok counter whose overflow-overflow output is connected to нени  которого соединен с входомединичным входом триггера, пр мойwhich is connected to the trigger input of the trigger directly Сброса второго счетчика отказов,выход которого подключен к управл юервым входом третьего элемента И,щему входу второго элемента запретаResetting the second counter of failures, the output of which is connected to the control input of the third element AND, the second input of the prohibition element рулевым входом триггера и информа-и второму входу третьего элементаtrigger trigger input and information and second input of the third element 1)(ионным входо м второго элементаИ, выход которого соединен с вычитаюапрета , выход которого подключен щим входом второго реверсивного1) (the ion inputs of the second element, the output of which is connected to the subtraction of the output, the output of which is connected to the input of the second reversible суммирующему входу второго ревер-счетчика, йивного счетчика, выход первого эле-summing the input of the second rever-counter, a live counter, the output of the first
SU884409614A 1988-04-12 1988-04-12 Device for modelling queueing systems SU1536397A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884409614A SU1536397A2 (en) 1988-04-12 1988-04-12 Device for modelling queueing systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884409614A SU1536397A2 (en) 1988-04-12 1988-04-12 Device for modelling queueing systems

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
SU1151980 Addition

Publications (1)

Publication Number Publication Date
SU1536397A2 true SU1536397A2 (en) 1990-01-15

Family

ID=21368472

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884409614A SU1536397A2 (en) 1988-04-12 1988-04-12 Device for modelling queueing systems

Country Status (1)

Country Link
SU (1) SU1536397A2 (en)

Non-Patent Citations (1)

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

Similar Documents

Publication Publication Date Title
SU1536397A2 (en) Device for modelling queueing systems
RU124415U1 (en) DEVICE FOR MODELING MASS SERVICE SYSTEMS
SU1120342A1 (en) Device for simulating man-machine systems
SU1151980A1 (en) Device for simulating queueing system
SU1267430A1 (en) Device for simulating man-machine systems
SU1096654A1 (en) Device for simulating process for servicing requests with different priorities
SU1405071A1 (en) Device for simulating mass service systems
SU1612311A1 (en) Device for modeling queueing systems
SU1658168A1 (en) Data acquisition abd transmission system simulator
RU120258U1 (en) DEVICE FOR MODELING MASS SERVICE SYSTEMS
SU1196893A1 (en) Device for simulating queueing systems
SU1716535A1 (en) Queue system simulator
SU1387008A1 (en) Queueing system simulator
SU1702386A1 (en) Queuing system simulator
SU1660012A1 (en) Query service simulator
SU1229769A1 (en) Device for simulating queueing system
SU1481790A1 (en) Queueing system simulator
SU1619293A2 (en) Device for modeling queuing systems
RU1784994C (en) Device for first-come-first service systems simulating
SU1236495A2 (en) Device for simulating queueing systems
SU1108458A1 (en) Device for simulating queueing systems
SU1108456A1 (en) Device for simulating queueing systems
SU1307464A2 (en) Stochastic device for simulating two-channel queueing system
SU1550530A1 (en) Device for modeling queuing systems
SU1624472A1 (en) Device for simulating queueing systems