This paper presents a stochastic interval algebra specifically developed to evaluate the time and cost properties of smart factories. This algebra models production tasks as intervals and treats allocation and scheduling as algebraic operations on these intervals, with the goal of analysing the impact of resource allocation decisions on total production time or economic cost. The theoretical foundations of this notation are introduced, and then several simple examples of their use are presented. The proposed algebra can be also applied to describe multi-stage production and service processes, recorded with an activity-on-arrow type of graphs, In addition, it was analysed a real-life application of the described technique to planning and scheduling the activities in restaurants preparing takeaway meals. The data was collected in 30 restaurants throughout Poland, using a bespoken software/hardware Kitchen Delivery System, in which over 65,000 orders were registered. Time criteria for the correctness of individual stages of meal preparation were proposed and, after filtering out incorrect orders, the appropriate probability distributions were fitted to the remaining measured activity durations. The resulting probabilities can then be used in practice to improve the accuracy of predicting the completeness of food preparation, which in turn should improve food delivery planning with greater accuracy and enable more accurate order delivery times to be provided to end customers
References
[1] Allen J. F.: Maintaining knowledge about temporal intervals. Communications of the ACM 26(11), 1983, 832–843.
[2] Bernat G. Colin A., Petters S. M.: WCET analysis of probabilistic hard real-time systems. 23rd IEEE Real-Time Systems Symposium (RTSS 2002), 2002.
[3] Davis R. I., Burns A.: A survey of hard real-time scheduling for multiprocessor systems. ACM computing surveys (CSUR) 43(4), 2011, 1–44.
[4] Deguchi A. et al.: What is society 5.0. Society 5.0, 2020): 1–24.
[5] Dziurzanski P., Singh A. K., Indrusiak L. S.: Energy-aware resource allocation in multi-mode automotive applications with hard real-time constraints. 19th International Symposium on Real-Time Distributed Computing (ISORC), York, UK, 2016, 100–107.
[6] Edgar S., Burns A.: Statistical analysis of WCET for scheduling. 22nd IEEE Real-Time Systems Symposium (RTSS 2001) (Cat. No.01PR1420), London, UK, 2001, 215–224.
[7] Indrusiak L. S., Dziurzanski P.: An interval algebra for multiprocessor resource allocation. International Conference on Embedded Computer Systems: Architectures, Modeling, and Simulation (SAMOS), Samos, Greece, 2015, 165–172.
[8] Korzeń M., Jaroszewicz S.: PaCAL: A Python package for arithmetic computations with random variables. Journal of Statistical Software 57, 2014, 1–34.
[9] Manolache S., Eles P., Peng Z.: Memory and time-efficient schedulability analysis of task sets with stochastic execution time. 13th Euromicro Conference on Real-Time Systems (ECRTS '01). IEEE Computer Society, USA, 2001.
[10] Ustundag A., Cevikcan E.: Industry 4.0: managing the digital transformation. Springer, Cham 2018.
[11] Wilhelm R. et al.: The worst-case execution-time problem – overview of methods and survey of tools. ACM Transactions on Embedded Computing Systems (TECS) 7(3). 2008, 1–53.
[12] Główny Urząd Statystyczny. Rynek wewnętrzny w 2022 roku. 2023.