SU1472914A1 - Queueing system simulator - Google Patents
Queueing system simulator Download PDFInfo
- Publication number
- SU1472914A1 SU1472914A1 SU874294382A SU4294382A SU1472914A1 SU 1472914 A1 SU1472914 A1 SU 1472914A1 SU 874294382 A SU874294382 A SU 874294382A SU 4294382 A SU4294382 A SU 4294382A SU 1472914 A1 SU1472914 A1 SU 1472914A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- generator
- random
- trigger
- Prior art date
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Изобретение относитс к области вычислительной техники и может быть использовано при моделировании систем массового обслуживани с учетом динамики и режимов функционировани . Цель изобретени - расширение функциональных возможностей за счет воспроизведени режимов работы системы в услови х возникновени отказов всей системы в целом, а также любого из обслуживающих приборов. Дл достижени цели в устройство введены генератор случайных импульсов отказа системы, два элемента ИЛИ,четыре элемента И, а в каждую из моделей обслуживающих приборов дополнительно введены два дифференцирующих элемента, элемент И, триггер и генератор случайных интервалов времени отказа. По показани м счетчиков можно оценить различные веро тные и временные показатели процесса обслуживани за вок с учетом режимов и динамики функционировани системы массового обслуживани . 1 ил.The invention relates to the field of computer technology and can be used in the simulation of queuing systems, taking into account the dynamics and modes of operation. The purpose of the invention is to expand the functionality by reproducing the system operation modes in the event of a failure of the entire system as a whole, as well as any of the serving devices. To achieve the goal, a random system failure pulse generator, two OR elements, four AND elements are entered into the device, and two differentiating elements, the AND element, a trigger and a random failure time interval generator are added to each of the service device models. Based on the meter readings, it is possible to evaluate various probable and temporary indicators of the process of servicing the quorum, taking into account the modes and dynamics of operation of the queuing system. 1 il.
Description
Изобретение относитс к вычислительной технике и может быть использовано при моделировании систем массового обслуживани (СМО) с учетом динамики и режимов функционировани .The invention relates to computing and can be used in modeling queuing systems (QS), taking into account the dynamics and modes of operation.
Цель изобретени - расширение функциональных возможностей устройства за счет воспроизведени режимов работы системы в услови х возникновени отказов всей системы в целом, а также любого из обслуживающих приборов .The purpose of the invention is to expand the functionality of the device by reproducing the system operation modes in the event of a failure of the entire system as a whole, as well as any of the serving devices.
На чертеже представлена схема устройства .The drawing shows a diagram of the device.
Устройство содержит генератор 1 случайного потока импульсов, имитирующих запуск устройства, генератор 2 случайных импульсов команд, генератор 3 счетных импульсов, шестой элемент И4, второй дифференцирующий элемент 5, первый 6, второй 7 триггеры, п тый 8, седьмой 9 элементы И, первый элемент ИЛИ 10, дев тый 11, дес тый 12, восьмой 13 элементы И, генератор I4 случайных интервалов времени готовности, генератор 15 импульсов за вок, второй элемент И 16, генератор 17 случайных интервалов времени обслуживани за вок, первый дифференцирующий элемент 18, третий 19, первый 20, четвертый 21 элементы И, блок 22 счетчиков, п моделей (разнотипных ) обслуживающих приборов, имеющих первый и второй входы 23 и 24. Устройство также содержит генератор 25 случайных импульсов отказа систе4Ь The device contains a generator of 1 random stream of pulses simulating the start of the device, a generator of 2 random command pulses, a generator of 3 counting pulses, the sixth element I4, the second differentiating element 5, the first 6, the second 7 triggers, the fifth 8, the seventh 9 elements And, the first element OR 10, ninth 11, tenth 12, eighth 13 elements AND, generator I4 of random availability time intervals, generator 15 impulses of the quotation, second element AND 16, generator 17 of random intervals of the service time of the quota, first differentiating element 18, tr etiy 19, first 20, fourth 21 elements AND, block 22 counters, n models (of different types) serving devices, having first and second inputs 23 and 24. The device also contains a generator of 25 random failure pulses of the system
гоgo
соwith
мы, двенадцатый 26, одиннадцатый 27 элементы И, второй элемент ИЛИ 28. Кажда k- (,n) модель обслуживающего прибора содержит третий 29, второй- 30, первый 31 дифференцирующи элементы, элемент И 32, генератор 33 импульсов подготовки, второй 34, первый 35 триггеры, генератор 36 случайных интервалов времени отказа.we are the twelfth 26, eleventh 27 elements AND, the second element OR 28. Each k- (, n) model of the serving device contains the third 29, the second 30, the first 31 differentiating elements, the element 32, the generator 33 training pulses, the second 34, The first 35 triggers, a generator of 36 random failure time intervals.
Генератор 25(33) выполнен в виде генератора импульсов случайной длительности .The generator 25 (33) is designed as a pulse generator of random duration.
Устройство моделирует работу СМО, содержащей группы разнотипных обслуживающих приборов. Система может находитьс в режимах ожидани , обслуживани , готовности к работе, отказа Отказы могут происходить и в каждом из разнотипных приборов. В исходном состо нии СМО находитс в режиме ожидани .The device simulates the operation of the QS containing groups of different types of servicing devices. The system can be in standby, service, standby, failure modes. Failures can occur in each of the different types of devices. In the initial state, the QS is in standby mode.
С приходом распор жени (команды) ъ системе начинаетс режим подготовки всей группы обслуживающих приборов . Окончание режима подготовки у каждого прибора случайное. По завершении режима подготовки всей группы приборов СМО переходит в режим готовности и обслуживани за вок, после чего цикл повтор етс . В процессе функционировани могут возникнуть отказы обслуживающих приборов, а также других элементов системы, после чего имитируетс режим восстановлени .With the advent of the command (command), the system begins to prepare the entire group of service devices. The end of the preparation mode for each device is random. Upon completion of the preparation mode of the entire group of instruments, the QS switches to the readiness and servicing mode of the application, after which the cycle repeats. In the course of operation, failures of servicing devices, as well as other elements of the system, may occur, after which a recovery mode is simulated.
Устройство работает следующим образом .The device works as follows.
Генератор 1 случайного потока импульсов вырабатывает импульс, который запускает генератор 2 случайных импульсов команд, генератор 3 счетных импульсов и генератор 25 случайных импульсов отказа всей системы. На выходе генератора 2 формируетс импульс, длительность которого соответствует времени ожидани , который через пр мой вход элемента И26 поступает на пр мой вход элемента И4 и на нулевой вход триггера 6, устанавлива его в исходное состо ние. С выхода элемента Й4 импульс поступает на дифференцирующий элемент 5. В момент окончани импульса команды на выходе генератора 2 на выходе дифференцирующего элемента 5 по вл етс отрицательный импульс, который через инверсный единичный вход триггера 6 опрокидывает его. Генератор 25 случайных импульсов отказа системы вThe random pulse generator 1 generates a pulse that triggers a generator of 2 random command pulses, a generator of 3 counting pulses and a generator of 25 random failure pulses of the entire system. At the output of the generator 2, a pulse is formed, the duration of which corresponds to the waiting time, which, through the direct input of the element I26, goes to the direct input of the element I4 and to the zero input of the trigger 6, sets it to its initial state. From the output of the element H4, the pulse arrives at the differentiating element 5. At the moment of the end of the pulse of the command at the output of the generator 2, at the output of the differentiating element 5 a negative pulse appears, which through the inverse single input of the trigger 6 overturns it. Generator 25 random system failure pulses
00
00
5five
00
5five
00
5five
00
5five
случайный момент времени вырабатывает импульс случайной длительности, который поступает на инверсный вход элемента И26, запреща тем самым прохождение импульсов команд. Импульс с выхода генератора 25 поступает также на первый вход элемента Й27, на второй вход которого поступают счетные импульсы с генератора 3, которые через элемент И27 поступают на восьмой вход блока 22 счетчика, где подсчитываетс общее врем нахождени в отка- зовом состо нии всей системы. Кроме того импульс с выхода генератора 25 поступает через элемент ИЛИ 28 на нулевые входы триггеров 35, сбрасыва их в О, а запирает элемент И13 на врем восстановлени системы. С выхода триггера 6 напр жение поступает на пр мой вход элемента И8 и при отсутствии сигнала на его инверсном входе запускает через вход 23 генератор 33, генератор 36 и через дифференцирующий элемент 30 устанавливает триггер 34 в нулевое состо ние. В каждом из п моделей обслуживающих приборов на выходе генерато ра 33 формируетс импульс, .длительность которого соответствует времени подготовки , причем в каждой из моделей эта длительность различна. С выхода генератора 33 импульс через дифференцирующий элемент 31 и пр мой вход элемента И32 поступает на инверсный единичный вход триггера 35 и опрокидывает его своим задним фронтом. Напр жение с выхода триггера 35 первой из моделей поступает на первый вход элемента И 13, напр жение с выхода триггера 35 второй из п моделей поступает на второй вход элемента И13, а с выхода триггера 35 n-й модели - на n-й вход элемента И13.a random moment of time produces a pulse of random duration, which is fed to the inverse input of element I26, thereby prohibiting the passage of command pulses. The pulse from the output of the generator 25 also goes to the first input of the element J27, the second input of which receives counting pulses from the generator 3, which through the element J27 goes to the eighth input of the counter block 22, where the total time in the fault state of the whole system is calculated. In addition, the pulse from the output of the generator 25 is supplied through the OR element 28 to the zero inputs of the flip-flops 35, dropping them into O, and locking the element I13 for the recovery time of the system. From the output of the trigger 6, the voltage enters the direct input of the element I8 and, in the absence of a signal at its inverse input, starts the generator 23 through the input 23, the generator 36 and sets the trigger 34 to the zero state through the differentiating element 30. In each of the n service device models, a pulse is formed at the output of the generator 33, the duration of which corresponds to the preparation time, and in each of the models this duration is different. From the output of the generator 33, the pulse through the differentiating element 31 and the direct input of the element I32 enters the inverse single input of the trigger 35 and overturns it with its falling edge. The voltage from the output of the trigger 35 of the first of the models goes to the first input of the element I 13, the voltage from the output of the trigger 35 of the second of the n models goes to the second input of the element I13, and from the output of the trigger 35 of the nth model to the nth input of the element And 13.
Когда режим подготовки во всех модел х окончен, на выходе элемента И13 по вл етс сигнал, который запускает генератор 14 случайных интервалов времени готовности и генератор 15 импульсов за вок. Дл сброса триггера 35 каждой из п моделей обслуживающих приборов выход элемента И13 также соединен через элемент ИЛИ 28 и вход 24 каждой из п моделей с нулевым входом триггера 35. На выходе генератора 14 формируетс импульс, длительность которого соответствует времени пребывани системы в режиме готовности . С выхода генератора 14 импульс поступает на второй вход элемента И16, на первый вход которого поступают импульсы с выхода генератора 15, которые через элемент И16 поступают на п тый вход блока 22 счетчика , где подсчитываетс общее число за вок, пришедших в систему в режиме готовности. На выходе генератора 36 в случайный момент времени формируетс импульс, длительность которого соответствует времени нахождени п-го обслуживающего прибора в режиме отказа . С выхода генератора 36 через дифWhen the preparation mode in all models is finished, a signal appears at the output of the element I13, which starts the generator 14 at random intervals of readiness time and the generator 15 of the impulses. To reset the trigger 35 of each of the n models of servicing devices, the output of element I13 is also connected via the element OR 28 and input 24 of each of the n models with zero input of the trigger 35. At the output of the generator 14, a pulse is generated, the duration of which corresponds to the time the system is in standby mode. From the output of generator 14, a pulse arrives at the second input of element I16, the first input of which receives pulses from the output of generator 15, which through element I16 arrive at the fifth input of block 22 of the counter, where the total number of applications that have entered the system in standby mode is counted. At the output of the generator 36, a pulse is formed at a random moment of time, the duration of which corresponds to the time the p-th servicing device is in the failure mode. From the output of the generator 36 through differential
на подготовку системы не происходит. По окончании этого импульса вход элемента И8 открываетс и устройство готово к прохождению команд и подготовке обслуживающих приборов. С выхода генератора 17 напр жение также поступает на второй вход элемента И21, на первый вход которого поступают счетные импульсы с выхода генератора 3} которые через элемент И21 поступают на второй вход блока 22 счетчиков, где подсчитываетс общее врем нахождени устройства вon the preparation of the system does not occur. At the end of this pulse, the input of element I8 opens and the device is ready for the passage of commands and the preparation of service devices. From the output of the generator 17, the voltage also goes to the second input of the element I21, the first input of which receives the counting pulses from the output of the generator 3} which through the element I21 arrive at the second input of the block 22 of counters, where the total time the device is located
ференцирующий элемент 29 импульс пос- 15 режиме обслуживани за вок, тупает на единичный вход триггера 34 С выхода элемента И8 напр жение и опрокидывает его своим передним фронтом. С выхода триггера 34 напр жение поступает на инверсный вход элемента И32, запреща прохождение им- 20 пульса с выхода генератора 33 на триггер 35 в каждой из моделей. Кроме тотакже поступает на единичный вход триггера 7 и опрокидывает его, посл чего напр жение с выхода триггера поступает на первый вход элемента И9, на второй вход которого -поступают счетные импульсы с выхода генератора 3, которые через элемент И9 поступают на третий вход блока 2 счетчиков, где подсчитываетс врем нахождени устройства в режиме подготовки . Моменту окончани режима подготовки соответствует по вление импульса на выходе элемента И13, ко торый поступает на нулевой вход три гера 7, привод его в исходное состо ние , после чего счетные импульс не проход т через элемент И9 и подсчет времени подготовки прекращаетс С выхода генератора 2 импульс также поступает на второй вход элемента И20, на первьй вход которого поступают счетные импульсы от генератор 3, которые через элемент И20 поступают на первый вход блока 22 счетчи ков, где подсчитываетс врем нахож дени системы в режиме ожидани . С выхода генератора 14 напр жение так поступает на инверсный вход элементThe fermentation element 29 serves the impulse after the servicing mode of the flow, bounces on the single input of the trigger 34. From the output of the element I8, the voltage and overturns it with its leading front. From the output of the trigger 34, the voltage goes to the inverse input of the element I32, prohibiting the passage of the pulse 20 from the output of the generator 33 to the trigger 35 in each of the models. In addition, it also enters the single input of the trigger 7 and overturns it, after which the voltage from the trigger output goes to the first input of the element I9, the second input of which is the counting pulses from the output of the generator 3, which through the element I9 arrive at the third input of the block 2 meters where the time the device is in preparation mode is calculated. The moment of termination of the preparation mode corresponds to the appearance of a pulse at the output of the element I13, which enters the zero input of three ger 7, drives it to its original state, after which the counting pulse does not pass through the element I9 and the calculation of the preparation time stops. It also arrives at the second input of the element I20, to the first input of which counting pulses are received from the generator 3, which through the element I20 arrive at the first input of the counter block 22, where the time for the system to wait in the standby mode is counted. From the output of the generator 14, the voltage thus arrives at the inverse input element
го, напр жение с выхода триггера 34go voltage from trigger output 34
каждой из п моделей через элемент ИЛИ 10 поступает на первые входы эле- ментов И11, 12 и второй инверсный вход элемента И19. На второй вход элемента И11 поступают счетные импульсы с выхода генератора 3, которые затем поступают на шестой вход блока 22 счетчиков, где подсчитьгаа-, етс общее врем нахождени обслуживающих приборов в неисправном состо нии . За вки с выхода элемента И16 также запускают генератор 17 случайных интервалов времени обслуживани , длительность которого соответствует времени обслуживани за вок. С выхода генератора 17 импульсов через элемент И12 поступает на седьмой вход блока 22 счетчиков, где подсчитываетс число отказов обслуживающих приборов , возникших в режиме обслуживани за вок. Импульс с выхода генератора 17 также поступает через дифференцирующий элемент 18 на второй инверсный вход элемента И19. Если на пр мом входе элемента И19 находитс напр жение с выхода генератора 14, то в момент окончани импульса на выходе генератора 17 на выходе дифференцирующего элемента 18 по вл етс импульс, который через элемент И19 поступает на четвертый вход блока 22 счетчиков, где подсчитываетс число полностью обслуженных за вок.Each of the n models through the element OR 10 enters the first inputs of the elements I11, 12 and the second inverse input of the element I19. The second input of the element I11 receives counting pulses from the output of the generator 3, which are then fed to the sixth input of the block 22 of counters, where the countdown is the total time the servicing devices are in a faulty state. The applications from the output of element I16 also trigger the generator 17 random service time intervals, the duration of which corresponds to the service time of the application. From the output of the pulse generator 17, through the element I12 enters the seventh input of the block 22 of counters, where the number of service device failures occurring in the service mode of the charge is counted. The pulse from the output of the generator 17 also flows through the differentiating element 18 to the second inverse input of the element I19. If the voltage from the generator 14 output is at the direct input of the element E19, then at the moment the pulse ends at the output of the generator 17, a pulse appears at the output of the differentiating element 18, which through the element E19 goes to the fourth input of the counter block 22, where the number is counted served for wok.
С момента по влени импульса на выходе генератора 14 закрываетс элемент И8, тем самым прохождение командSince the moment of appearance of the pulse at the output of the generator 14, the element E8 is closed, thereby passing the commands
режиме обслуживани за вок, С выхода элемента И8 напр жение service mode for the wok, With the output of the element I8 voltage
также поступает на единичный вход триггера 7 и опрокидывает его, после чего напр жение с выхода триггера 7 поступает на первый вход элемента И9, на второй вход которого -поступают счетные импульсы с выхода генератора 3, которые через элемент И9 поступают на третий вход блока 22 счетчиков, где подсчитываетс врем нахождени устройства в режиме подготовки . Моменту окончани режима подготовки соответствует по вление импульса на выходе элемента И13, который поступает на нулевой вход триггера 7, привод его в исходное состо ние , после чего счетные импульсы не проход т через элемент И9 и подсчет времени подготовки прекращаетс . С выхода генератора 2 импульс также поступает на второй вход элемента И20, на первьй вход которого поступают счетные импульсы от генератора 3, которые через элемент И20 поступают на первый вход блока 22 счетчиков , где подсчитываетс врем нахождени системы в режиме ожидани . С выхода генератора 14 напр жение также поступает на инверсный вход элементаalso arrives at the single input of the trigger 7 and overturns it, after which the voltage from the output of the trigger 7 enters the first input of the element I9, the second input of which receives the counting pulses from the output of the generator 3, which through the element I9 goes to the third input of the block 22 of the counters where the time the device is in preparation mode is calculated. The moment of termination of the preparation mode corresponds to the appearance of a pulse at the output of element I13, which arrives at the zero input of trigger 7, drives it to its initial state, after which the counting pulses do not pass through the element I9 and the preparation time is stopped. From the output of generator 2, the pulse also enters the second input of element I20, the first input of which receives counting pulses from generator 3, which through element I20 arrive at the first input of block 22, where the standby time of the system is counted. From the output of the generator 14, the voltage also enters the inverse input of the element
И4, что обеспечивает прохождение команды при отсутствии напр жени на выходе генератора 14, т.е. когда система не зан та обслуживанием.I4, which ensures the passage of the command in the absence of voltage at the output of the generator 14, i.e. when the system is not in service.
По показани м счетчиков, объединенных в блоке 22 счетчиков, можно оценить различные веро тностные и временные показатели процесса обслу-- живани за вок с учетом режимов и динамики функционировани системы массового обслуживани .According to the indications of the counters, united in a block of 22 counters, it is possible to evaluate various probabilistic and temporal indicators of the service process, taking into account the modes and dynamics of the operation of the queuing system.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874294382A SU1472914A1 (en) | 1987-08-06 | 1987-08-06 | Queueing system simulator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874294382A SU1472914A1 (en) | 1987-08-06 | 1987-08-06 | Queueing system simulator |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1472914A1 true SU1472914A1 (en) | 1989-04-15 |
Family
ID=21323300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874294382A SU1472914A1 (en) | 1987-08-06 | 1987-08-06 | Queueing system simulator |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1472914A1 (en) |
-
1987
- 1987-08-06 SU SU874294382A patent/SU1472914A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1086435, кл. G 06 F 15/20, 1982. Авторское свидетельство СССР № 1180923, кл. G 06 F 15/20, 1984. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1472914A1 (en) | Queueing system simulator | |
SU1180923A1 (en) | Device for simulating queueing system | |
SU1667100A1 (en) | Device for queueing system simulation | |
SU1405069A1 (en) | Device for simulating mass service systems | |
SU1683029A1 (en) | Queuing systems simulator | |
RU2045775C1 (en) | Communication system simulating device | |
SU1418730A1 (en) | Device for simulating mass service systems | |
SU1520536A1 (en) | Device for modeling queueing systems | |
SU858000A1 (en) | Mass servicing system simulating device | |
RU2024929C1 (en) | Device for simulating mass queueing systems | |
SU826358A1 (en) | Device for simulating mass servicing system | |
RU2254609C2 (en) | Device for modelling processes of operation of surface mobile measuring complex during normal operation | |
SU1193686A1 (en) | Device for simulating process for servicing requests with different priorities | |
SU1277132A1 (en) | Device for simulating man-machine systems | |
RU2263965C1 (en) | Device for modelling functioning processes of ground measuring complex during operation | |
SU1503044A1 (en) | Device for modeling mass service systems | |
RU1775725C (en) | Probabilistic graph simulating device | |
SU1487062A1 (en) | Sophisticated system failure simulator | |
SU1651292A1 (en) | Communication systems simulator | |
SU1644155A1 (en) | Data transmission system simulator | |
SU1328824A1 (en) | Apparatus for simulating mass service system | |
SU1545226A1 (en) | Device for modeling activity of man-operator system | |
SU1307464A2 (en) | Stochastic device for simulating two-channel queueing system | |
SU1275461A1 (en) | Device for simulating the queueing systems | |
SU1488828A1 (en) | Computer system simulator |