Object model of application for simulation of cyclic queueing systems | Vestnik Tomskogo gosudarstvennogo universiteta. Upravlenie, vychislitelnaja tehnika i informatika – Tomsk State University Journal of Control and Computer Science. 2017. № 40. DOI: 10.17223/19988605/40/8

Object model of application for simulation of cyclic queueing systems

In this paper, we consider the problem of developing the application for simulation of cyclic queueing systems. Cyclic (polling) systems is a class of queuing systems in which servers cyclically connect to various buffers (or inputs) to serve customers from these buffers. In the study of cyclic systems, in most cases, analytical results cannot be obtained, therefore, the development and using software programs for the simulation of such systems is an important problem. In the paper, the following model of cyclic queuing systems is considered. The system has K > 1 inputs where incoming customers arrive. All customers from the input number k go to a single buffer connected to this input. Also, the system has N > 1 servers that periodically connect to the buffers, take customers from them and serve the customers according to the specified service laws. When a service is complete, customers leave the system. In the case of the number of servers N > 1, different versions of their group behavior (disciplines) is possible. In the paper, we consider such group disciplines as a hard group, single devices and a flexible group. Also, there are disciplines of two types for connecting of separate or grouped servers to buffers: time-sharing or exhaustive. Moreover, when the server or group of servers have completed a service of one buffer and they need to switch to the next buffer, it maybe requires a certain switching time. In addition, in the case of the exhaustive discipline, this time should be greater than zero. We use libraries of software package ODIS as a framework for the application implementation. This framework designed for simulation of queuing networks. The main classes of the framework that used in the work are the following: Element which is an abstract parent of all elements of the simulation model. Source which simulates arrivals of customers, Server which implements the service unit, PassiveBuffer which is a buffer with queue organized for customers in it, Call which implements a customer. In addition, the following special classes for simulation of cyclic systems is designed in the work: InputSource combines two objects - a Source instance and a PassiveBuffer one; ConnectionMannager is an object which implements the logic of connecting servers to buffers; Session is an object which is created at the instant when servers pool is connecting to a buffer, it responds for the duration of the connection and controls the movements of incoming customers, customers in the buffer and in servers. Special technique of system events is designed to realize the simulation based on the discrete event model. This technique implements mechanisms of generation, logging and processing of system events. For the simulation of the cyclic systems, it is identified five types of the system events: start of simulation; customer arrival in a particular input; the end of switching time period (if it set that switching requires some time); customer service completion; the end of the session (for time-sharing connection discipline). Processing procedures for scenarios of all these events was designed and implemented. An application was implemented on the designed basis. The application is used for investigations in the field of queuing theory.

Download file
Counter downloads: 203

Keywords

циклическая система массового обслуживания, имитационное моделирование, объектно-ориентированное проектирование, cyclic queueing system, simulation, object-oriented design

Authors

NameOrganizationE-mail
Sonkin Mikhail A.Tomsk Polytechnic Universitysonkin@tpu.ru
Moiseev Alexander N.Tomsk State Universitymoiseev.tsu@gmail.com
Sonkin Dmitriy M.Tomsk Polytechnic Universitysonkind@tpu.ru
Burtovaya Daria A.Tomsk State Universitygottok.inbox@gmail.com
Всего: 4

References

Sztrik J. Basic queueing theory. University of Debrecen, 2011. 193 p.
Cooper R.B. Introduction to queueing theory, 2nd ed. New York : Elsevier North Holland, 1981. 347 p.
Takagi H. Analysis and applications of polling models // Lecture notes in computer science. 2000. V. 1769. P. 423-442.
Borst S.C. Polling systems. Amsterdam : Centrum voor wiskunde en informatica, 1996. 232 p.
Вишневский В.М., Семенова О.В. Математические методы исследования систем поллинга // Автоматика и телемеханика. 2006. № 2. С. 3-56.
Лоу А., Кельтон В. Имитационное моделирование. 3-е изд. СПб. : Питер, 2004. 848 с.
Advances in intelligent modelling and simulation: simulation tools and applications / A. Byrski, Z. Oplatkova, M. Carvalho, M. Kisiel-Dorohinicki. Springer, 2012. 368 p.
GPSS world. URL: http://www.minutemansoftware.com/simulation.htm (дата обращения: 27.01.2017).
Schriber T.J. Simulation using GPSS. New York : Wiley, 1974. 592 p.
Моделирование и симуляция динамических систем для Simulink. URL: http://matlab.ru/products/simulink (дата обращения: 27.01.2017).
Инструмент многоподходного имитационного моделирования AnyLogic. URL: http://www.anylogic.ru (дата обращения: 27.01.2017).
Robinson S. Simulation: the practice of model development and use. Hoboken : Wiley, 2004. 336 p.
Use cases of discrete event simulation: appliance and research / ed. by S. Bangsow. Springer, 2012. 373 p.
Моисеев А.Н. Программная система имитационного моделирования сетей массового обслуживания // Хроники объединенного фонда электронных ресурсов «Наука и образование». 2015. № 11 (78). С. 34.
Мещеряков Р.В., Моисеев А.Н., Демин А.Ю., Дорофеев В.А., Матвеев С.А. Применение параллельных вычислений в имитационном моделировании сетей массового обслуживания // Известия Томского политехнического университета. 2014. Т. 325, № 5. С. 99-109.
Моисеев А.Н., Синяков М.В. Разработка объектно-ориентированной модели системы имитационного моделирования процессов массового обслуживания // Вестник Томского государственного университета. Управление, вычислительная техника и информатика. 2010. № 1 (10). С. 89-93. URL: http://vital.lib.tsu.ru/vital/access/manager/Repository/vtls:000460184
 Object model of application for simulation of cyclic queueing systems | Vestnik Tomskogo gosudarstvennogo universiteta. Upravlenie, vychislitelnaja tehnika i informatika – Tomsk State University Journal of Control and Computer Science. 2017. №  40. DOI:  10.17223/19988605/40/8

Object model of application for simulation of cyclic queueing systems | Vestnik Tomskogo gosudarstvennogo universiteta. Upravlenie, vychislitelnaja tehnika i informatika – Tomsk State University Journal of Control and Computer Science. 2017. № 40. DOI: 10.17223/19988605/40/8

Download full-text version
Counter downloads: 576