Keywords

1 Introduction

In current production structure based on ERP (Enterprise Resource Planning) systems, most common are ideas of intelligent production compatible with Industry 4.0. Technological development based on artificial intelligence forces changes in production management, basing on so called cyber-physical systems. Those systems enable global communication between autonomic systems which makes integral unity. Inception of those systems in particular economic areas totally changes ideas of production management. New, complex and dynamic systems can assure unreachable level of efficiency with minimal input of human. Factory of future is efficient in terms of costs but also digitalized and automated production structure. Modern systems of production should be elastic without regard for dynamics of changes, variability and customized production. Production compatible with Industry 4.0 idea is remotely steered, autonomic and robotized structure. In these structures it is necessary to process and analyze large amount of data in real time. Putting analytical and calculation system in data cloud with implementation of advanced decisive algorithms enable access and management from everywhere, anytime.

New production model resign from “mass production” and focus on “mass customization”. Responsive production – fully customized production forces flexibility from production structure. Flexibility is a pure form of customization with short reaction time from a moment of need. Aforementioned parameters are determinant of changes in production system status. To minimize losses on operational level, it is important to keep stability of production structure. This stability can be define in a few different ways – as a cycle of repetitions in certain frequency or invincibility of particular values in realized processes. In the article there is a elaboration on algorithm of intelligent production line balancing. Balance parameter is a level of workflow in single production sockets in dependence to complex production structure as a whole.

In the article there is a presentation of model of indicating level of workflow for complex production system in which a product fully customized product is created. Final products in production chain are analyzed. Those are not input components for any other production systems. The purpose of this model is to indicate variants of workflow levels in complex structure composed from n independent processes (phases of production). Model is based on random variables and on next steps it will help with shaping decisive variables to indicate optimal conditions of work in dynamic and autonomic production system.

2 Characteristics of Analyzed System

There is a consideration of exemplary production system made of n processes (phases of processing). In the model there is assumption that variable machine resources dependent on process. In first phase of modelling there is general theory of complex systems accordingly to this in which analyzed system has been grouped for n independent sub-systems. In consideration there is another assumption that in separated subsystem there is realization of only one process on m n machine resources. Figure 1 presents a scheme of analysed system.

Fig. 1.
figure 1

General scheme of considered production system

Complex production system of h input streams for l = 1, 2, …, h has been modelled and shaped in terms of workflow. In each and every stream there are n independent processes for i = 1, 2, …, n. Single final product Y L consists of N components for L = 1, 2, …, K. In each and every process for i = 1, 2, …, n there are k p elements done, where k p is a number of single tasks determined by the number of orders from clients for p = 1, 2, …, s in t time and from number of y N components from BOM (Bill of Materials). structure. Figure 1 presents a scheme of analyzed structure.

Formulated model of shaping of level of workflow takes into consideration size of production party. Case for k p  ≤ 30 \( \forall \) p = 1, 2, …, s has been considered. Level of workflow has been set, basing on time necessary to do all the tasks and processes of single final product Y L. In the article it has been set that all single final products (Y L) are created from the same number of element y M. Realization time for the single task is random variable marked as τ l,i,j compatible with exponential distribution with characteristic parameter λ l,i separate for i – process in l – stream for each j – τ l,i,j  ~ Exp (λ l,i ). of level of workflow for single final product Y L are expressed with a time necessary to conduct all parts of the processes and can be determined with a formula [1]:

$$ P\left( {\tau \in \langle \tau_{1} ,\tau_{2} \rangle } \right) = \left[ {\prod\limits_{i = 1}^{n} {\lambda_{i,l} } } \right] \cdot \int\limits_{{\tau_{1} }}^{{\tau_{2} }} {\sum\limits_{j = 1}^{n} {\frac{{e^{{ - \lambda_{j,l} \cdot \tau }} }}{{\prod\limits_{\begin{subarray}{l} k \ne j \\ k = 1 \end{subarray} }^{n} {(\lambda_{k,l} - \lambda_{j,l} )} }}d\tau } } $$
(1)

where: λ i,l  – parameter of exponential composition depends on i – process and l – stream.

Shaping level of workflow for the whole production structure should adjust all processes and all tasks realized in time ∆t. Level of workflow is determined by implemented in company technology, BOM structure and production schedule which comes from clients’ orders. In next part of article, there will be a presentation of model to assign level of workflow for particular processes in time ∆t for k p necessary to execute tasks in i – production process(Fig. 2).

Fig. 2.
figure 2

Scheme of analyzed structure in process

3 Shaping of Workflow of i – production Process

In statistic field we can set so called “small trial” for which it can be assumed that amount of elements in considered system is smaller or equal to 30; and also so called “big trial” for which amount of elements in analyzed system is bigger than 30 [2, 3]. Taking into consideration aforementioned examples for considered structure there was a model created which is used to shape level of workflow which assumes that there is k p for \( { 2\le k_{p} \le 3 0} \) necessary tasks connected to amount of clients’ orders. We do not consider possibility of k p  = 1 as value of workflow level will have been a sum of random variables with exponential configuration. Then level of workflow of single separated sub-system will have been marked with a formula (1). Assumption k = 1 will mean that in whole production structure in time ∆t there are different products Y K produced (one stock of each). In considered example there is assumption that situation is rare, that is why it has been skipped.

When \( {k > 3 0} \) – we can use so called “scale effect” which is about shaping level of workflow in big production party. In this example, we can use property of stability in structure of random variable τ l,i,j  ~ Exp (λ l,i ) we can use central border statement (CLT). Basing on CLT specifics – for sum of variety of independent random variables with the same composition with ended variants – we have to assess of analyzed random variable with normal composition with particular standard aberrance σ and approximate value μ [4].

Level of workflow for particular phase (process or characteristic group of processes) in considered production structure is also a level of workflow, assigned due to the theory of complex systems, separated system [5] (in our consideration it is also production department). To assign level of workflow for the process (or group of processes) realized in area of single department there is a need to set sum of all components of elementary times of realization of each sub-products. Figure 3 shows scheme of acting in shaping of the level of workflow for considered production structure.

Fig. 3.
figure 3

Scheme of workflow in shaping level of effort

To assess level of workflow for i – process (department), where \( {k_{p} \le 3 0} \) in time \( {t_{{i,k_{l} }} } \) there was random variable marked. It is a sum of all realization each k n,h times in i – production process. We know that single realization time for one sub-product τ l,i,j  ~ Exp (λ l,i ) so:

$$ {t_{{i,k_{l} }} = \tau_{i,l , 1} + \tau_{i,l , 2} + \ldots + \tau_{{i,l,k_{l} }} } $$
(2)

where: \( {t_{{i,k_{l} }} } \) – random variable which describes all time of realization k p necessary elements (tasks) in i – process (phase) of production for l – stream of value. Moreover, we know that if τ  l,i,j  ~ Exp (λ l,i ), for all j = 1,2…k p , so t  l,i  ~ Erl (k p , λ l,i ). If there are any e x, yλ l,x  = λ l,y , then t l,x  + t l,y  ~ Erl (x + y, λ l,y ). Where the t l,i  ~ Erl (k p , λ l,i ) mean that random variable t  l,i  is corresponding with Erlang distribution about k p , and λ l,i parameters.

Random variable T i assess time of k p tasks in i – process is a sum of independent random variables \( {t_{{i,k_{l} }} } \).

$$ {T_{i} = \;t_{{i,k_{ 1} }} + t_{{i,k_{ 2} }} + t_{{i,k_{ 3} }} + \ldots + t_{{i,k_{l} }} } $$
(3)

where: T i  ~ Erl (k i , λ i,l ), T i  – random variable describing the whole time of production processes realization for i – process; \( {t_{{i,k_{l} }} } \) – are random variables which set the realization time for k p elements (tasks) on i – process.

To assign level of workflow for process (or group of processes) realized in area of single department it is necessary to name formula of thickness which is a sum of random variable with Erlang composition. Basing on [6, 7] there was formula of realization time k p of grouped tasks in single production department:

$$ \begin{aligned} f_{Ti} \left( \tau \right) = & \,\sum\limits_{p = 1}^{s} {\left( {\lambda_{i,l} } \right)\,^{{k_{p} }} } \, \cdot \,e^{{ - \tau \, \cdot \,\lambda_{i,l} }} \, \cdot \,\sum\limits_{j = 1}^{{k_{p} }} {\frac{{\left( { - 1} \right)\,^{{k_{p} - j}} }}{{\left( {j - 1} \right)\,!}}} \, \cdot \,\tau^{j - 1} \, \cdot \\ & \, \,\sum\limits_{\begin{subarray}{l} m_{1} + \ldots + m_{g} = k_{p} - j \\ \;\;\;\;\;\;\;\;m_{i} = 0 \end{subarray} } {\prod\limits_{\begin{subarray}{l} g = 1 \\ g \ne i \end{subarray} }^{s} {\left( {\begin{array}{*{20}c} {k_{g} + m_{g} - 1} \\ {m_{g} } \\ \end{array} } \right)\frac{{\left( {\lambda_{i,g} } \right)\,^{{k_{g} }} }}{{\left( {\lambda_{i,g} - \lambda_{i,l} } \right)\,^{{k_{g} + m_{g} }} }}} } \\ \end{aligned} $$
(4)

where: \( f_{Ti} \left( \tau \right) \) – probability density function of a T i variable random; λ l,i  – parameter of exponential configuration, k h – parameter of shape in Erlang composition, m 1 , m 2, …, m n ∈ N – parameters of combination in which m i  = 0 and \( {\sum\limits_{g = 1}^{n} {m_{g} = k_{p} - j} } \) for all i = 1, 2, …, n and j = 1, 2, .., k p . Medium of random variable T i is τ > 0.

Value ET i marked with a formula (4) of thickness in random variable T i is expected value in necessary time for execution of k p tasks in area of one department. In the same time ET i is nominal level of workflow for i – phase of production (department). ET i is counted accordingly to the formula:

$$ {ET_{i} = \sum\limits_{l = 1}^{h} {\frac{{k_{l} }}{{\lambda_{i,l} }}} } $$
(5)

To assign differences in level of workflow from average value for separate process it is important to assign variation of random variables T i . Variant of random variable VarT i is assigned accordingly:

$$ {Var\;T_{i} = Var\;t_{{i,k_{ 1} }} + Var\;t_{{i,k_{ 2} }} + \ldots + Var\;t_{{i,k_{h} }} } $$
(8)

Assigned variants of level of workflow for particular processes informs us about stability (or about lack in stability) which is connected to the fact of the differences in realized tasks. Equipoising level of workflow for all particular processes (or groups of processes) should be adjusted to the expected value (ET) for all production system. That is why in the next part there will be designation of level of workflow for production system considered as a whole.

If with T we assign random variable which is a sum of independent random variable T i , we are able to assign expected level of workflow for whole production structure. Random variable T is assigned accordingly to the formula:

$$ {T = T_{ 1} + T_{ 2} + \ldots + T_{n} } $$
(9)

Expected value of the random variable and its’ variant look like:

$$ {ET = \sum\limits_{i = 1}^{n} {\sum\limits_{l = 1}^{h} {\frac{{k_{l} }}{{\lambda_{i,l} }}} } } $$
(10)
$$ {Var\;T = \sum\limits_{i = 1}^{n} {\sum\limits_{l = 1}^{h} {\frac{{k_{l} }}{{\lambda_{i,l}^{\;\;2} }}} } } $$
(11)

In reference to assigned level of workflow for whole production system and for single processes (or groups of processes) we can assign sensitive (critical) departments (production sockets) in which there are wastes of 3M – (jap. “muri”, “mura”, “muda”). Department (production socket) which expected value of level of workflow is significantly bigger than value of level of workflow in comparison to other process (or group of processes) and it is “narrow throat” of whole production structure. On the other hand, department (production socket) in which there are significant lacks in average expected level of workflow can generate over-production or there is unnecessary awaiting in sockets. In this case there is waste of “muda” group. We can notice that 3M wastes are dependent and strictly connected. Elimination of one can cause elimination (or decrease) or all the rest [8, 9]. That is why optimization of production processes should adjust analysis of single (separated) processes but not in separation of whole production system [10].

3.1 Balancing Production Line

Balancing production line is this kind of assignment in which there is constant flow in n production processes and indicator of changes of workflow level V P for grouped processes is near to zero in whole production stream [11, 12]. In complex production structure there are limited technological possibilities in constant decrease of production cycle (C/T). In result – it is important to assign it in particular phases of production, necessary to execute elementary tasks in way in which expected value of designated levels of workflow is the same and stable for whole structure.

Assigned variant of levels of workflow for particular processes enables assignment of probability to execute system of h tasks in area of three standard deviations (±3 σ). In next consideration there is a formula which sets probability that value of workflow level for single, particular phases of processing can be set in area of maximum three standard deviations (±3 σ) from expected value of the whole production structure – ET. Basing on formula (4) of thickness function in random variable T i and with formulas (10), (11), accordingly to expected value and variant of random variable T will be set with formula to count probability that random variable T i will take value from \( {\left( {ET - 3\, \cdot \,\sqrt {VarT} } \right)} \) do \( {\left( {ET + 3\, \cdot \,\sqrt {VarT} } \right)} \). Probability is assigned accordingly to the formula:

$$ {\begin{array}{*{20}l} {P\left( {ET - 3\; \cdot \;\sqrt {VarT} < T_{i} < ET + 3\; \cdot \;\sqrt {VarT} } \right)\, = \,\int\limits_{{ET - 3\; \cdot \;\sqrt {VarT} }}^{{ET - 3\; \cdot \;\sqrt {VarT} }} {f_{{T_{i} }} \left( \tau \right)\,d\tau } \,} \hfill \\ { = \,\int\limits_{{\sum\limits_{i = 1}^{n} {\sum\limits_{l = 1}^{h} {\frac{{k_{l} }}{{\lambda_{i,l} }}\, - \, 3\, \cdot \,\sqrt {\sum\limits_{i = 1}^{n} {\sum\limits_{l = 1}^{h} {\frac{{k_{l} }}{{\left( {\lambda_{i,l} } \right)^{ 2} }}} } } } } }}^{{\sum\limits_{i = 1}^{n} {\sum\limits_{l = 1}^{h} {\frac{{k_{l} }}{{\lambda_{i,l} }}\, + \, 3\, \cdot \,\sqrt {\sum\limits_{i = 1}^{n} {\sum\limits_{l = 1}^{h} {\frac{{k_{l} }}{{\left( {\lambda_{i,l} } \right)^{ 2} }}} } } } } }} {\left[ {\begin{array}{*{20}l} {\sum\limits_{p = 1}^{h} {(\lambda_{i,l} )^{{k_{p} }} } \cdot e^{{ - \tau \cdot \lambda_{i,l} }} \cdot \sum\limits_{j = 1}^{{k_{p} }} {\frac{{\left( { - 1} \right)^{{k_{p} - j}} }}{{\left( {j - 1} \right)!}}\, \cdot \,} \tau^{j - 1} \cdot } \hfill \\ {\sum\limits_{{\begin{array}{*{20}c} {m_{ 1} + \ldots + m_{g} = k_{p} - j} \\ {m_{i} = 0} \\ \end{array} }} {\prod\limits_{{\begin{array}{*{20}c} {g = 1} \\ {g \ne i} \\ \end{array} }}^{h} {\left( {\begin{array}{*{20}c} {k_{g} + m_{g} - 1} \\ {m_{g} } \\ \end{array} } \right)\frac{{\left( {\lambda_{i,g} } \right)^{{k_{g} }} }}{{\left( {\lambda_{i,g} - \lambda_{i,l} } \right)^{{k_{g} \, + \,m_{g} }} }}} } } \hfill \\ \end{array} } \right]} d\tau } \hfill \\ \end{array}} $$
(12)

In other changes we receive difference of incomplete Gamma functions [13]:

$${ \begin{array}{*{20}l} {P\left( {\sum\limits_{i = 1}^{n} {\sum\limits_{l = 1}^{h} {\frac{{k_{l} }}{{\lambda_{i,l} }}\, - \, 3\, \cdot \,\sqrt {\sum\limits_{i = 1}^{n} {\sum\limits_{l = 1}^{h} {\frac{{k_{l} }}{{\left( {\lambda_{i,l} } \right)^{ 2} }}} } } } } < T_{i} < \sum\limits_{i = 1}^{n} {\sum\limits_{l = 1}^{h} {\frac{{k_{l} }}{{\lambda_{i,l} }}\, + \, 3\, \cdot \,\sqrt {\sum\limits_{i = 1}^{n} {\sum\limits_{l = 1}^{h} {\frac{{k_{l} }}{{\left( {\lambda_{i,l} } \right)^{ 2} }}} } } } } } \right)} \hfill \\ = {\sum\limits_{p = 1}^{h} {\sum\limits_{j = 1}^{{k_{p} }} {\frac{{\left( { - \lambda_{i,l} } \right)^{{k_{p} - j}} }}{{\left( {j - 1} \right)!}}\, \cdot \,\sum\limits_{{\begin{array}{*{20}c} {m_{ 1} + \ldots + m_{g} = k_{p} - j} \\ {m_{i} = 0} \\ \end{array} }} {\prod\limits_{{\begin{array}{*{20}c} {g = 1} \\ {g \ne i} \\ \end{array} }}^{h} {\left( {\begin{array}{*{20}c} {k_{g} + m_{g} - 1} \\ {m_{g} } \\ \end{array} } \right)\frac{{\left( {\lambda_{i,g} } \right)^{{k_{g} }} }}{{\left( {\lambda_{i,g} - \lambda_{i,l} } \right)^{{k_{g} \, + \,m_{g} }} }}\, \cdot } } } } } \hfill \\ {\left[ {\begin{array}{*{20}l} {\varGamma \left( {j;\;\left( {\sum\limits_{i = 1}^{n} {\sum\limits_{l = 1}^{h} {\frac{{k_{l} }}{{\lambda_{i,l} }}} - 3\; \cdot \;\sqrt {\sum\limits_{i = 1}^{n} {\sum\limits_{l = 1}^{h} {\frac{{k_{l} }}{{\left( {\lambda_{i,l} } \right)\;^{ 2} }}} } } } } \right)\;\lambda_{i,l} } \right) - } \hfill \\ {\varGamma \left( {j;\;\left( {\sum\limits_{i = 1}^{n} {\sum\limits_{l = 1}^{h} {\frac{{k_{l} }}{{\lambda_{i,l} }}} + 3\; \cdot \;\sqrt {\sum\limits_{i = 1}^{n} {\sum\limits_{l = 1}^{h} {\frac{{k_{l} }}{{\left( {\lambda_{i,l} } \right)\;^{ 2} }}} } } } } \right)\;\lambda_{i,l} } \right)} \hfill \\ \end{array} } \right]} \hfill \\ \end{array} }$$
(13)

Finally, after changes we receive:

$${ \begin{array}{*{20}l} {P\left( {ET - 3\; \cdot \;\sqrt {VarT} < T_{i} < ET + 3\; \cdot \;\sqrt {VarT} } \right)\, } \hfill \\ = {\sum\limits_{p = 1}^{h} {\sum\limits_{j = 1}^{{k_{p} }} {\frac{{\left( { - \lambda_{i,l} } \right)^{{k_{p} - j}} }}{{\left( {j - 1} \right)!}}\, \cdot \,\sum\limits_{{\begin{array}{*{20}c} {m_{ 1} + \ldots + m_{g} = k_{p} - j} \\ {m_{i} = 0} \\ \end{array} }} {\prod\limits_{{\begin{array}{*{20}c} {g = 1} \\ {g \ne i} \\ \end{array} }}^{h} {\left( {\begin{array}{*{20}c} {k_{g} + m_{g} - 1} \\ {m_{g} } \\ \end{array} } \right)\frac{{\left( {\lambda_{i,g} } \right)^{{k_{g} }} }}{{\left( {\lambda_{i,g} - \lambda_{i,l} } \right)^{{k_{g} \, + \,m_{g} }} }}\, \cdot } } } } } \hfill \\ {\left( {j - 1} \right) \cdot e^{{ - ET \cdot \lambda_{i,l} }} \cdot \left[ {\sum\limits_{r = 0}^{j - 1} {\left( {\begin{array}{*{20}l} {e^{{ 3\; \cdot \;\sqrt {VarT} \; \cdot \;\lambda_{i,l} }} \, \cdot \,\frac{{\left( {\left( {ET - 3\, \cdot \,\sqrt {VarT} } \right)\lambda_{i,l} } \right)^{r} }}{r!} - } \hfill \\ {e^{{ - 3\; \cdot \;\sqrt {VarT} \; \cdot \;\lambda_{i,l} }} \, \cdot \,\frac{{\left( {\left( {ET + 3\, \cdot \,\sqrt {VarT} } \right)\lambda_{i,l} } \right)^{r} }}{r!}} \hfill \\ \end{array} } \right)} } \right]} \hfill \\ \end{array} }$$
(14)

Value of three standard deviations has been set after basing on three sigma rule, strictly connected with its’ standard deviation. In practice, it is rare tahat there are results which are different than value ±3 σ. It does not mean that their appearance is impossible. Situation in which difference bigger than ±3 σ appears means that circumstances which appeared were anomaly. Figure 4 presents process of balancing production lines in area of level of workflow for single, grouped production tasks in reference to three standard deviations for whole production process.

Fig. 4.
figure 4

Scheme of balance in the level of workflow

If probability of realization time is not in area of three standard deviations of whole production structure means that production system was overstretched or under-stretched. In case of overstretch – it will result with losses like awaiting for components for all of the next processes – process 1 Fig. 4. In case of under-stretch – process 3 Fig. 4 – we have a situation in which there are too many resources to execute tasks (processes). In this phase of processing (process 3) there is permanent expectation. Optimization based on balancing of workflow in real time Is obliged to permanent expectation of resources. It is possible to achieve with use of digitalization of whole production process and interaction of physical objects (machines) with virtual (software).

In intelligent production systems aforementioned algorithm of shaping workflow of separated areas in complex production structure will help with programming the steering process of assigning the production resources. Presented model enables control of workflow levels of assigned tasks in single production processes. Use of advanced counting algorithms based on formula number (14) enables assignation of optimal parameters customized to resources and fully-correlated to clients’ needs.

4 Conclusion

Level of workflow in particular production subsystems is different and depends on implemented technology, type of product, level of its’ complexity and phases necessary to process. Moreover, depending on availability of resources (or their lack), single elements can be produced unto different technologies. This situation significantly change level of workflow in considered time. In the article there is a presentation of a model of shaping level of workflow for production structure which consists of n phases. In optimized, autonomic production system decomposition of tasks for single machines must be correlated with all mechanical and human resources. In consideration there is an assumption that cooperation between robot and operator is necessary (when operator has universal abilities of operating with variety of machines and operator is able to execute a lot of tasks in different processes). Presented model assumes flexibility of separated subsystems in area of realized processes in which tasks are assigned accordingly to autonomic decisive systems.

Wrought software with the use of presented model can be an element of intelligent production system in area of analysis and calculations. Exceeding borders in range of three standard deviations in whole production system can be an alert of early warning before critical situation.