Abstract

This note is devoted to multiperiodically operated complex system with inventory couplings transferring waste products from some subsystems as useful components to other subsystems. The flexibility of the inventory couplings is used to force each of the subsystems with its own period and to exploit its particular dynamic properties. This enhances the performance of the complex system endowed with many recycling loops, which reduce the amount of waste products endangering the natural environment. The subsystems are characterized by generalized populations composed of the individuals (the cycles), each of them encompasses its period, its initial state, its local control, and its inventory interaction. An evolutionary optimization algorithm employing such generalized populations coordinated on the basis of the inventory interaction constraints is developed. It includes the stability requirements imposed on the cyclic control processes connected with particular subsystems. The algorithm proposed is applied to the global multiperiodic optimization of some interconnected chemical production processes.

1. Introduction

Optimization of complex production systems composed of cooperating subsystems may essentially enhance their overall performance. Multiperiodically operated complex system with the inventory couplings offers new possibilities of improving the system productivity. In such systems waste products of some subsystems can be transferred to suitably chosen cooperating subsystems utilizing them as useful process components. This concept is connected with the tendency of the rearrangement of complex industrial production systems from an open loop form, yielding many waste products, to a closed loop form recycling waste products, and having desired ecological features [13]. The couplings of inventory type ensure a high degree of autonomy of the subsystems. Their operation periods may be chosen independently to some extent, and adjusted to their particular dynamic properties. This leads to the choice of the multicycle defined as the set of the cycles, each of them encompasses the period, the initial state, the local control, and the inventory interaction connected with the particular subsystems. Thus a new approach of the multiperiodic control is applicable to the class of discussed systems, which generalizes the periodic control approach.

The optimal periodic control (OPC) problem has reached much attention in the literature, where various periodic optimization methods have been presented exploiting the gradient-type hill-climbing [4], the second variation algorithms [512], the Pontryagin maximum principle [9, 1315], the dynamic programming principle [16], the asymptotic series approach [17], the basis functions expansion [1820], the differential flatness approach [21], and the evolutionary search for globally optimal stable cycles [22]. The latter method allows us to incorporate into the process optimization various side constraints difficult for other methods. This concerns the integral state and control constraints, the pointwise state constraints, and the process stability requirements, which may be represented by the restriction of the modulus of the Floquet's multipliers. Assuming low values of these modulus we determine highly stable optimized cycles easy implementable with the help of simple regulating loop, for instance, of relay-type. Moreover, the evolutionary search is oriented at the finding of a globally optimal cycle guaranteeing the best degree of the steady-state performance improvement. This is achieved with the aid of a population of cycles evolving by the crossing, and the mutation operations imitating the mechanism of the natural selection [23, 24].

In the present paper the evolutionary algorithm described in [22] is generalized to complex systems with the inventory couplings. The cycle of each subsystem is encoded by the period duration, by the initial state, by the discretized control, and by the discretized inventory interaction. Such cycles are locally evolved on the basis of genetic optimization scheme, and globally coordinated with the aid of the averaged inventory interaction constraints. Because of the flexibility of the interaction constraints, the operation periods and the stability margins of the subsystems are chosen independently to the extent following from the coordination constraints. The generalized evolutionary algorithm is applied to the multiperiodic optimization of the complex chemical production systems performed in two cooperating cross-recycled chemical reactors. The issue of the paper is referred to the reactor network synthesis and the waste reduction [2528].

2. Problem Formulation

Consider the following globally optimal multiperiodic control (GOMC) problem for systems composed of -subsystems with the inventory couplings (IC): minimize the global objective function

subject for to the -periodic state equations of the subsystems

to the inclusion constraints

to the averaged control constraints

to the stability constraints

and to the averaged inventory interaction constraints

where is the operation period of the th subsystem, is its state at time , is its control at time , is its inventory interaction at time , and the hyperparallelepipeds with the bounds determine the admissible values for the process variables of the th subsystem, and the vector depicts its averaged resource availability or its averaged system flow and

are continuous functions defined on the sets , and , respectively, while is the vector of the eigenvalues of the monodromy matrix of the state equation (2), , and is the local stability level of the th subsystem.

The objective function (1) may represent the averaged production performance of the complex system or the averaged gain from the multiperiodic operation of the IC system, which takes into account the reduction of the utilization costs of the waste products. The -periodic state equation (2) mean that each of the subsystems may be operated with its own period suitable for its particular dynamic properties.

The constraints (5) guarantee the stability of periodic solutions according to the approach depicted in [22].

The constraints (6) mean that the averaged outflow of the th inventory coupling cannot exceed its averaged inflow. If the initial inventory and the coupling capacity are large enough, then such the approximate balancing may be sufficient to ensure that the current inventory will be not in defficiency or in excess over long horizon of the exploitation of the IC system. On the other hand the flexibility of the constraints (6) guarantees such features of the subsystems dynamics as the operation period and the stability margin may be chosen for each subsystem independently to the degree determined by the inventory interaction constraints.

To develop an optimization algorithm suitable for the problem discussed we use the time scaling independently to each subsystem, which reduces the control horizon of the IC system to the unit interval . We approximate the continuous time control of the th subsystem and its inventory interaction with the help of the discrete time control and the inventory interaction for , where and . We set and . We assume that the normalized nonlinear state equation of each subsystem

has the uniquely determined solution for every optimization argument satisfying the constraints (3).

We convert by this way the GOMC problem to the following normalized and discretized form: minimize the global objective function

subject for to the process periodicity constraint

to the inclusion constraints

to the averaged control constraint

to the pointwise state constraints

to the stability constraint

and to the averaged inventory interaction constraint

where is the discrete representation of a controlled cycle of the th subsystem with the generalized control encompassing its local control, and its inventory interaction, while is the solution of (8) for the given .

Setting we reduce the above problem to the globally optimal periodic control (GOPC) problem. The choice of equal operation periods for the subsystems may facilitate the balancing of the inventory interactions. However, it does not exploit fully the dynamic properties of the subsystems possibly having the state equations of various kinds (with polynomial, rational or exponential dependence on the state and control variables). Fixing all the process variables we further reduce the discussed problem to the globally optimal steady-state (GOSS) control problem equivalent to the minimization of the global steady-state objective function

subject for to the steady-state constraints

where is the steady-state control process of the th subsystem.

We are aimed at the comparison of the three nested kinds of the complex process operation, namely, the static one, the periodic one, and the multiperiodic one.

3. Evolutionary Algorithm for the Global Multiperiodic Optimization

The way of coding any optimization problems has a main impact on the effectiveness of the evolutionary algorithm. The wrong choice of individuals can cause that the evolutionary algorithm can stack in local solutions or time of searching can increase to not acceptable value. Owing to complexity of the GOMC problem we think that the best way of coding problem (9)–(15) is to use vectors as individuals with real numbers genes. We propose to represent an individual by the vector where ,   are operation periods of all subsystems, are coordinates of initial states of all subsystems, are discrete-time control coordinates of all subsystems, are discrete-time inventory interactions of all subsystems. Values of the individual's genes are bounded by the set which follows from a set of inclusion constrains

The form of the individual allows us to use the uniform crossing operator, which creates two new individuals , according to the following rule:

where is randomly chosen under the uniform distribution, and

A nonuniform mutation operator can be used together with a uniform crossing operator. It creates a new gene of the individual according to the following relationship:

where , is a number of current generation, is maximum number of generations, is chosen randomly under the uniform distribution, is the tuning parameter. The gene to mutation is chosen randomly under the uniform distribution.

Crossing or mutation operators can give a new individual, which will not fulfil the periodic constraint (10), the averaged control constraint (12), and the averaged inventory interaction constraint (15).

The periodic constraint (10) can be preserved with the help of the Newton method. Using the Newton method we can calculate new initial states according to the following relationship:

The averaged constraints (12) and (15) can be preserved with the help of the reconstruction algorithm. But before we show it we have to define the auxiliary algorithm, which creates the index set.

Algorithm 1 (the auxiliary algorithm). One has the following steps.Step 1. Create set where Step 2. Create function which returns values from the range depending on the value of If the function returns the position of element in the set sorted in nonincreasing order. Otherwise the function returns the position of element in the set sorted in nondecreasing order.Step 3. Calculate probability Step 4. Calculate distribution Step 5. Draw under the uniform distribution and next find for which the following condition is fulfilled. Set Step 6. Set Step 7. If then set If then set Step 8. Draw under the uniform distribution. If go to Step 9. Otherwise go to Step 11.Step 9. If then stop the algorithm. Otherwise set and Step 10. If then stop the algorithm. Otherwise set and go to Step 7.Step 11. If then stop the algorithm. Otherwise set Step 12. If then stop the algorithm. Otherwise set and and go to Step 7.

Having Algorithm 1 we can define the reconstruction algorithm for an averaged control and inventory interaction constraints.

Algorithm 2 (reconstruction of control and inventory constraints). One has the following steps.Step 1 (the initialization). Select a control variable or an inventory interaction variable for the reconstruction (a control or inventory interaction which violates constraint (12) or (15), resp.).Step 2 (the creation of the index set). If you chose the control variable to reconstruction, set and . If you chose the inventory interaction to reconstruction, set and where Next, create the index set using Algorithm 1 and set Step 3 (the modification of a control or inventory interaction coordinate). If you chose the control variable, modify an element by the formula If you chose the inventory interaction variable, modify an element by the formula The saturation function is defined as Step 4 (the stop criterion). If the constraint (12) or (15), respectively, is satisfied, stop the reconstruction algorithm. Else set and go to Step 3.

Algorithm 2 is not sufficient in order to have the averaged inventory interaction constraint (15) fulfilled. When we apply Algorithm 2 for a current individual, we receive a new vector of inventory interaction. This new vector causes that the right side of inequality (15) has also a new value. Thus, when we apply algorithm we can receive individual, which still violates the constraint (15). Therefore, apart Algorithm 2 we need another way to keep the inventory interaction constraint fulfilled. We propose to use a penalty term to take into account the mentioned constraint (15) together with state (13) and stability (14) constraints.

We introduce the following extended performance index used at the selection step [23, 24]:

where

is a positive constant satisfying the inequality for and all cycles in the current population, and if otherwise

Having in mind the above remarks, we propose the following.

Algorithm 3 (the evolutionary algorithm for the GOMC problem). One has the following steps.Step 1 (the initialization). Assume initial data: the number of individuals (cycles) in the population, the parameter determining the number of individuals, which take part in competition at the selection step, the maximum number of generations, and parameters of the stop criterion, the tuning parameter (20), and the mutation probability Sample randomly individuals under uniform distribution from the set (11) of the range constraints. Set for the index of the generation.Step 2 (the control reconstruction). Exploiting Algorithm 2, and the Newton method (21) reconstruct the population to individuals satisfying the constraints (10) and (12). If the Newton method is divergent create randomly a new individual according to Step 1, and repeat Step 2.Step 3 (the inventory interaction reconstruction). Exploiting Algorithm 2, reconstruct the population to individuals satisfying the constraints (15). Next, use the Newton method. If the Newton method is divergent, create randomly a new individual according to Step 1, and repeat Step 2.Step 4 (the evaluation). Evaluate the performance index for all individuals in the population and find an individual satisfying constraints (10)–(15) with the minimal value of the function Step 5 (the stop criterion). Let be an individual with the minimal value of the function at the generation If or take as an optimal solution, and stop the computations.Step 6 (the selection). Repeat the following activities until the current population is empty: (i)draw from the current population individuals and (using the formula (25)) compute for them the modified performance index (ii)take from individuals to a new population one individual with the smallest value of the (iii)remove from the current population individuals. Set Step 7 (the reproduction). Applying the crossing operator (18)-(19) to individuals from Step 6, retrieve the population composed of individuals.Step 8 (the mutation). For each cycle sample randomly a number under the uniform probability distribution. If use the mutation operator (20) to create a mutated cycle Next go to Step 2.

Theory says that the probability of finding a globally optimal solution is close to 1 when the number of generations and individuals is infinity [23, 24]. But this condition can not be fulfilled in practice. Thus we need a mechanism, which can stop an evolutionary algorithm in reasonable time. We decided to stop the algorithm after generations or if the performance index is not improved more than within generations.

4. Examples

Example 1. Let the parallel chemical reactions take place in two continuously stirred tank reactors with the inventory interactions (see Figure 1), where is the raw material of the th reactor, is its desired product, and is its waste product (). Assume that the th reactor is -periodically operated, and denote by its concentrations of , respectively, by its input concentration of , by its flow rate, by its inventory interaction transferring the waste product of the cooperating subsystem as the supplement of the raw material of the th subsystem. Consider the following GOMC problem for the discussed system: minimize the global objective function subject for to the constraints where is the state of the th subsystem, and is its control. The reactions obey the power law with the exponents . The optimization goal is equivalent to the maximization of the summary gain of the cooperating systems for the gain coefficients connected with the th useful product . We compare the optimal static control process with periodic, and multiperiodic control processes putting the special emphasis on the choice of the operation periods for the particular subsystems.
The evolutionary algorithm is time consuming. Therefore one should first run -test [5, 8, 29] to check if there exists a periodic or multiperiodic solution, which can improve the efficiency of the process in comparison to steady-state solution. Assuming the following subsystem parameters we obtained the -curves shown in Figure 2. The presented -curves were calculated for optimal steady-state solution which gives the performance index . The form of the -curves shows that there exists a periodic and multiperiodic control ensuring a performance index better than in case of using an optimal steady-state control. The solutions obtained with the help of evolutionary Algorithm 3, which was implemented in Mathematica system [30], confirm the results of the test. Algorithm 3 after 565 generations calculated the suboptimal periodic solution which gave the performance index This performance index corresponds to a suboptimal period Algorithm 3 had to generate 837 generations in order to find a suboptimal multiperiodic solution shown in Figures 3, 4, 5, 6, and 7. The suboptimal multiperiodic controls and inventory interactions shown in Figures 3 and 4 together with and ensured the performance index One can see that Algorithm 3 found a suboptimal multiperiodic solution, which improves the optimal steady-state performance index about 228% and a suboptimal periodic performance index about 3%. The presented results were obtained for the following parameters of the evolutionary Algorithm 3:
Since the nonzero conditions for the product concentrations occur in the solutions obtained (see Figure 5), the start-up phase of the chemical reactors should be used to carry out the initial state with the non-zero condition on the reactant but with the zero conditions on the product concentrations to the desired state with non-zero conditions for all the process components. Next the (multi) periodic control is implemented. The start-up phase may be neglected in the system performance evaluation because its duration is small as compared with long horizon exploitation of the (multi) periodic control. The start-up phase can be implemented with the help of the control determined from the standard (minimum-time) two-point boundary value problem, for which the Pontryagin maximum principle is applicable.

Example 2. Let us consider the same GOMC problem as in Example 1 but with different interpretation of the inventory interactions. We assume that the inventory interaction of the first subsystem transfers the waste product of the cooperating subsystem as the catalyst for the chemical reaction while the inventory interaction transfers the waste product of the cooperating subsystem as the supplement of its raw material. This means that the state equations of the subsystems take the form where . The reactions obey the power law with the exponents
The results presented below were obtained for the following subsystem parameters: Just like in the previous example the optimal static control process was compared with periodic, and multiperiodic control processes. The optimal steady-state solution gives the performance index The test results obtained for the optimal steady-state solution (see Figure 8) show that periodic and multiperiodic processes can improve the efficiency of reactions. The results of test confirm results obtained by means of the evolutionary Algorithm 3. Algorithm 3 found a suboptimal periodic solution (with a period ensuring which improves a steady-state solution about 251%. Of course Algorithm 3 also found a suboptimal multiperiodic process (see Figures 9, 10, 11, 12, 13, 14, and 15) which gave the best performance index. The controls and inventory interactions shown in Figure 9, 10, 11, and 12 and the periods gave the performance index The suboptimal multiperiodic process improves the optimal static process about 283% and the suboptimal periodic process about 9%. The evolutionary Algorithm 3 was run for the same parameters as in Example 1. We have to add that the suboptimal periodic solution was found after 368 generations and the suboptimal multiperiodic solution was found after 1290 generations.

5. Conclusion

Multiperiodically operated complex system with the inventory couplings has been modelled and characterized as a system with a high degree of freedom. The operation period, the initial state, the discretized control, and the discretized inventory interaction have been assumed as the local finite-dimensional optimization argument (the controlled cycle of the subsystem). The set of the cycles connected with all the subsystems has been treated as the controlled multicycle of the complex system and optimized by the evolutionary algorithm dealing with the generalized populations coordinated with the aid of the averaged inventory interaction constraints. The use of different operation periods and different stability margins of the subsystems has been taken into account. It has been shown that the multiperiodic operation of the complex cross-recycled chemical production systems may improve its global performance as compared with the static operation, and the periodic operation. This may enhance the utilization of waste products endangering the natural environment.