Изобретение относитс к вычислительной технике и может быть использовано дл статистического моделировани потока за вок в смстемзх массового обслуживани . i1звecтe генератор случайных -.змпульсов , содержащий генератор равномерно рзспределенных случайных чисел, цифроаналоговый преобразователь, блок сравнени , блок ограничени длительност1 ммпульса, формирователь импульсов, счетчик , элемент И , ключ, генератор экспоненциального напр жени . Данное устройство позвол ет моделировать широкий класс случайных потоков, относ щихс к потокам Эрлаигз. При этом коэффициент вариации моделирующих потоков должен быть меньше лп, равен 1, Генератор позвол ет получать высакую точность представлени потоков з случае совпадени коэффициента вариации модепируемого потока со значенЧ ми 1.1/ V2 х х1/ , ..,, I/VN, где N - пор док потока Эрланга. Недостаток известного устройства - относительно узкие функциональные возможиости , обусловленные тем, что генератор tie позвол ет моделировать потоки, имеющие коэффициент оариации больше единицы. Наиболее близким к предлагаемому вл етс устройство, содержа цее с первого по третий датчики случай1- ых чисел, первуй и второй генераторы экспоненциального напр жени , первый м второй цмфроаналоговые преобразователи, первый и второй формирователи импульсов, первый и второй элементы И, элемент ИЛИ, триггер. с первого по тритий блоки сравнени , элемент задержки. Данное устройство позвол ет с зысокой точностью моделировать потоки за вок, и.меющие козффицлент вариации больше или равный единице. 0,а,нако, при моделировании реальных процессов часто приходитс измен ть параметры потока импульсов. Гасчет пзраметров и коэффициентов может просодитьс по формулам, приведенные.; а 11. Рассмотренное устройство не позвол ет изменить параметры и козффициснт от реализации потока к сле,цующему. Цель изобретени - расширение функциональных возможностей устройства за счет увеличени числа формируемых потоков импульсов. Дл достижени поставленной це/ги в генератор случайных импульсов, содерхо1ций первый и второй датчики случайных чисел, первый и второй цифрол -;а/ огопыэ преобр,эзователи, первый и второй блоки сравнени , датчик экспоненциального напр жени и формировагель иг.-.пульсоп, выход которого вл етс выходом генератора, а йход подключен к выходу первого блока сравкени , пврй.ый вход которого подключен к выходу первого цифрозналосоаого преобразовател , вход которого подключе;- к выходу первого датчика случайны;; чисел, ко второ,му входу первого блока сргвиенив подключен выход датчика экспоненциального напр жени , выход второго датч1ка случайных чисел подключен к входу вторОгО цифроаналогового преобразовзтэлй. выход которого подключен к первому входу второго блока сравнени , введены третий цифроаналоговый преобразователь и коммутатор, выход которого соединен с управл ющим вхо,дом датчика экспоненциального иапр жонип , выход второго блока сравнени соед1-1не с управл ющим входом коммутатора, к nopBiOMy и второму информационнь м входам которого подключены шинь задани первой и второй посто нной времени, шина задани коэффициента подключена к входу третьего цифроаналогового преобразовател , выход которого соединен со вторым входом второго блока сравнени , выход формироз тел импульсов подключен к выходам первого и второго датчика случайных чисел и к выходу запуска датчи ;а экспоненциального напр жени . ПрС зеде1П ый нализ г гтентной 1л тех 41/ - Сской литератур ; покз..ал отсутствие технических решений со схо.цными признаками , что указывает на существенные отличи пр8дложеЬ|НОго устройства. Ьа чертеже приведена структурна схема устройства. Устройства состоит (фиг. 1) из первого 1 и второго 2 датчиков случайных чисел, первого 3, второго 4 и третьего 5 игфролналоговых преобразователей, датчика 6 экспоненциального напр жени , первого 7 и второго 8 блоков сравнй- и , формировател импульсогз 9 11 комглутагора 10. Устройсгпо работает следуюи-им образогл , Перед началом работы по трем порвьч.) начальным фактооиальным моментам на ши1-- ах задани первой и второй посто нной времени г)0омй;)у;отс значени пйраметроо 1 Л /-2, а на щине задани коэффициента 3 -1ачвн /1е этого коз4фициентз. ульс с выхода формировател 9,перед; Фр01-;том запускает датчики 1 и 2 случайных и датчик б экспоноициальнего игпр же;- и . Цифро з:1гь1огопый преобрззойлтель 4 преобр,::зуст код рлвномернс рэспргделе -1ИО 0 случЕйного числа с выхода датчика 2 в cooTBGTCTByiOL j,ce млпрлжгм ие. Вол1-г:и -; йтогт; наппр;; см;- cnTtiMiUs;; The invention relates to computer technology and can be used to statistically simulate an overhead flow in queuing systems. i1-sound random-pulse generator containing a uniformly distributed random number generator, a digital-to-analog converter, a comparison unit, a 1 mm pulse duration limiting unit, a pulse shaper, a counter, an AND element, a key, an exponential voltage generator. This device allows modeling a wide class of random streams related to Earlaiges streams. In this case, the coefficient of variation of the modeling flows should be less than ln, equal to 1, the Generator allows to obtain the highest accuracy of representation of the flows in case of coincidence of the coefficient of variation of the modeled stream with the values 1.1 / V2 x x1 / .. ,, I / VN, where N - order of the Erlang stream. A disadvantage of the known device is its relatively narrow functionality, due to the fact that the tie generator allows simulating flows having an ovation coefficient greater than unity. Closest to the proposed device is a device containing from the first to the third random number sensors, the first and second exponential voltage generators, the first and second digital-to-analog converters, the first and second pulse shapers, the first and second AND elements, the OR element, the trigger . first through tritium comparison blocks, delay element. This device allows with high accuracy to simulate flows for woks, and variations having co-coefficient of greater than or equal to unity. 0, but, when modeling real processes, it is often necessary to change the parameters of the pulse flux. The calculation of coefficients and coefficients can be calculated using the formulas given .; 11. The device under consideration does not allow changing the parameters and the coefficient from the flow realization to the next one. The purpose of the invention is to expand the functionality of the device by increasing the number of generated pulse flows. In order to achieve the set value in the random-pulse generator, the first and second random number sensors, the first and second digital clocks; a / o conversion, electronic, first and second comparison blocks, an exponential voltage sensor and a pulse generator, ... the output of which is the output of the generator, and the input is connected to the output of the first comparison unit, the first input of which is connected to the output of the first digital-to-digital converter, the input of which is connected; - to the output of the first sensor are random ;; number, to the second input of the first block, the output of the exponential voltage sensor is connected, the output of the second random number sensor is connected to the input of the second digital-to-analog converter. the output of which is connected to the first input of the second comparison unit, a third digital-to-analog converter and a switch are introduced, the output of which is connected to the control input, the house of the exponential sensor and the input, the output of the second comparison unit is connected not to the control input of the switch, to nopBiOMy and the second information the inputs of which the reference bus of the first and second constant time is connected, the reference bus of the coefficient is connected to the input of the third digital-to-analog converter, the output of which is connected to the second input of the second unit a comparator, the output pulses formiroz bodies connected to the outputs of the first and second random number and to start the output of the transducer, and the exponential voltage. PrS ze1Py naliz g gtentnoy 1l of those 41 / - Sskoy literature; pokz..al lack of technical solutions with good features, which indicates significant differences pr8dloshe | NOGO device. The drawing shows a structural diagram of the device. The device consists (Fig. 1) of the first 1 and second 2 random number sensors, the first 3, the second 4 and the third 5 analog-to-analog converters, the exponential voltage sensor 6, the first 7 and second 8 comparison blocks, and the pulse shaper 9 11 commutator 10 . The device operates as follows, Before starting work in three different ways.) The initial factual moments on the steps 1-- ax of setting the first and second time constant d) 0 ohm;) y; from the value of parameter 1 L / -2, and on the bus setting a coefficient of 3 -1aqvn / 1e of this goat4fenders. pulse from the output of the driver 9, before; Фр01-; Tom launches random sensors 1 and 2 and sensor b of the exponential game; - and. The number is: 1, 1, 1, the prefixer is 4 prefixes, :: is the random code code for the random output -1IO 0 random number from the output of the sensor 2 in cooTBGTCTByiOL j, ce mlprlzhgme. Vol1-g: and -; ytogt; napr ;; cm; - cnTtiMiUs ;;
на блоке 8 с величиной напр жени с выхода цифре/аналогового преобразовател 5, соответствующей значению веро тностного коэффициента, установленному на шине задани коэффициента.on block 8 with the voltage value from the output of the digit / analog converter 5 corresponding to the value of the probability coefficient set on the coefficient reference bus.
Если величина напр жени с выхода цифроаналогового преобразовател 4 больше величины напр жени на выходе цифроаналогового преобразовател 5, то блок 8 сравнени вырабатывает сигнал, в соответствии с которым коммутатор 10 подключй-эт к входу задани посто нной времени 6 экспоненциального напр жени шину задани первой посто нной времени Если меньше, то к входу задани посто мной времени датчика будет подключека коммутатором 10 шина задани второй посто нной времени .If the voltage value from the output of the digital-to-analog converter 4 is greater than the voltage value at the output of the digital-to-analog converter 5, then the comparator 8 generates a signal, according to which the switch 10 connects the exponential voltage of the reference to the constant input 6 of the reference constant voltage reference bus to the first constant If less, then to the task input, the sensor time constant will be connected by the switch 10 to the task bus of the second constant time.
Цифроаналоговый преобразователь 3 преобразует код случайного числа с вL4хода датчика 1 в соответствующее напр жение, которое подаетс на первый вход блока 7 сравнени . Датчик 6 экспоненциального напр жени вырабатывает в соответствии с параметром /л или //2 экспоненциально измен юш .еес напр жение, поступающее на второй вход блока 7 сравнени . При равенстве величин напр жений на входах блок 7 вырабатывает сигнал, по которому формирователь 9 вырабатывает импульс, который поступает на выход устройства и вновь запускает датчики 1 и 2 равномерно распределенных случайных чисел и датчик 3 экспоненциального напр жени , в результате чего процесс формировани импульса повтор етс .The digital-to-analog converter 3 converts the random number code from the L4 input of the sensor 1 to the corresponding voltage, which is supplied to the first input of the comparison unit 7. The exponential voltage sensor 6 generates, in accordance with the parameter / l or // 2, an exponentially changing voltage supplied to the second input of the comparison unit 7. If the voltage values at the inputs are equal, block 7 generates a signal according to which the driver 9 generates a pulse, which is fed to the output of the device and again starts the sensors 1 and 2 of evenly distributed random numbers and the sensor 3 of the exponential voltage, as a result of which the pulse formation process is repeated .
Таким образом, на выходе устройства в соответствии со значени ми параметров /л и- //2 и веро тного коэффициента, формируетс поток импульсов, временные интервалы между которыми распределены по гиперэкспоненциальному закону.Thus, at the output of the device, in accordance with the values of the parameters / l and - // 2 and the probability coefficient, a pulse stream is formed, the time intervals between which are distributed according to the hyperexponential law.