Abstract
In this paper, we consider optimal control problems (OCPs) applied to large-scale linear dynamical systems with a large number of states and inputs. We attempt to reduce such problems into a set of independent OCPs of lower dimensions. Our decomposition is ‘exact’ in the sense that it preserves all the information about the original system and the objective function. Previous work in this area has focused on strategies that exploit symmetries of the underlying system and of the objective function. Here, instead, we implement the algebraic method of simultaneous block diagonalization of matrices (SBD), which we show provides advantages both in terms of the dimension of the subproblems that are obtained and of the computation time. We provide practical examples with networked systems that demonstrate the benefits of applying the SBD decomposition over the decomposition method based on group symmetries.
Keywords: Decoupling, optimal control, simultaneous block diagonalization
I. INTRODUCTION
Optimal control of high-dimensional dynamical systems and networks has recently attracted much attention from the scientific community, see e.g., [1], [2], [3], [4], [5], [6], [7], [8]. A major issue with computing the solution of optimal control problems with many states and inputs is the computational complexity of the matrix operations that must be performed. In addition, running these operations in parallel is often nontrivial. Here we propose a novel method to decouple large optimal control problems into independent subproblems of the lowest dimension, which also provides a way to parallelize the solution.
A vast literature [9], [10], [11] has focused on reducing the dimensionality of complex dynamical systems. The fundamental approach of model reduction is to generate a lower order model that preserves key features of the original system, see e.g., [12], [13], [14], [15], [16], [17]. Typically, this implies that information about the dominant modes/components of the system is preserved, while information about the non-dominant modes/components is removed. Our approach in this paper is to consider decompositions that are ‘exact’ in the sense that all the information about the original system and the original objective function is preserved.
Symmetries are common in both natural and engineering systems [18], [19], [20], [21], [22], [23]. The analysis of symmetries has been exploited in various disciplines such as semi-definite programming [24], [25], [26], network synchronization [27], [28], arithmetic optimization methods [29], the backward computation of reachable sets for nonlinear discrete-time control systems [30], and stability of interconnected subsystems [31], thus making it a popular approach for reducing the computation complexity associated with high dimensional problems.
Several studies have exploited symmetry to decouple linear OCPs involving large-scale systems into simpler subsystems. For example, Ref. [32] used symmetry to reduce the computational complexity involved in the controller synthesis of a linear system. Ref. [33] analyzed networked systems with symmetries in their interconnection topology and obtained a dimension reduction in their certification performance. Ref. [34] exploited symmetries in interior-point algorithms involved in the solution of optimization problems. References [35], [36], [37] used symmetry to reduce the computational complexity required by the solution of model predictive control problems. While all these papers have exploited symmetry to reduce the computational complexity involved in the solution of problems of different nature, in this paper we recognize that sometimes dimensionality reductions are possible even in systems that do not possess symmetry. As an example of this, the reader may consider the distinction between ‘orbit partitions’ and ‘equitable partitions’ in graph theory [38], where the former is generated by symmetry, while the latter is not. References [26], [32], [36], [39], [40], [41] have focused on a decomposition based on the symmetries of the system and, if applicable, of the objective function, which requires calculation of the irreducible representations (IRR) of the symmetry group. The goal of this paper is to compare the symmetry approach with an alternative symmetry-independent approach, which we will show yields better and faster decompositions.
In particular, we present a decomposition strategy, based on the techniques for simultaneous block diagonalization (SBD) of matrices, which is exact in the sense that it preserves all the available information about the system and the objective function (in contrast to model reduction methods) and requires fewer assumptions in comparison with the group theory approach. One example shows that our SBD approach can decompose an OCP into smaller subproblems than the symmetry-based decomposition. Furthermore, the decoupled OCPs resulting from the application of the SBD transformation have the finest size; hence, the SBD transformation is guaranteed to reduce the original problem into subproblems of the lowest dimension. Computing the decomposition with our method is also typically faster than with the symmetry approach.
In Section II, we introduce the preliminaries that are used throughout this paper. In Section III, we discuss the fundamentals of the SBD problem and briefly describe how to find the proper transformation matrix. In Section IV, we decouple the OCP for large-scale systems into a set of lower-dimensional OCPs. In Section V, we discuss how the SBD approach can be applied to a large-scale system in the form of a network of coupled sub-systems. In Section VI, we demonstrate the effectiveness of our method when compared to the symmetry-based approach by using three examples. Finally, the conclusions are presented in Section VII.
II. PRELIMINARIES
Here, we introduce the mathematical notation that will be used throughout this paper. We denote with the null subspace of a matrix.
Definition 1:
The vectorizing function vec : takes a matrix as input and returns a vector by stacking the columns of the matrix on top of each other.
Algorithm 1:
The SBD Transformation [46].
| Input: | |
| Output: T | |
| 1: | |
| 2: | |
| 3: | |
| 4: | Reshape vec(U) into and set |
| 5: | T is a matrix with eigenvectors of U as its columns |
| 6: | return T |
Taken two matrices and , the Kronecker product and the direct sum are defined as follows,
An important property of the Kronecker product is the mixed-product property: taking two square matrices C and D with the same dimension m, and other two square matrices E and F with the same dimension n, the nm-dimensional square matrix . A property of the direct sum is that if G and H are square and invertible matrices, then [42].
III. BACKGROUND
In this section, the SBD decomposition is introduced, and an algorithm to calculate the similarity transformation, which we will use throughout this paper, is provided.
Definition 2.
Simultaneous Block Diagonalization of Matrices (SBD) [43], [44], [45], [46]: Given a set of M square n-dimensional matrices , an SBD transformation is an orthogonal square matrix T (herefater, transformation matrix) with dimension n such that
| (1) |
where the symbol is the direct sum of matrices, l denotes the number of blocks, each block is a square matrix with the dimension bj and .
Definition 3.
Finest SBD: The finest SBD is an SBD for which the resulting blocks cannot be further refined by any other similarity transformation [43].
Maehara, Murota et al. proposed algebraic techniques to SBD a set of matrices in [44], [45], [46]. Their approach is to find a basis that diagonalizes the *-algebra associated with the algebra generated by . Among other applications, the SBD approach has been used to decouple the stability analysis of networks of oscillators, see for example [47], [48], [49], [50]. We present below Algorithm 1 introduced in [46] to find the transformation T. In Section I of the Supplementary Information, we discuss the effects of the sparsity level of the input matrices on the computation time of the Algorithm 1.
The mathematical proofs that provide support to Algorithm 1 can be found in [46]. Other references [46], [47], [48] also provide MATLAB codes of other numerical SBD algorithms.
IV. DECOUPLING OPTIMAL CONTROL PROBLEMS
Consider the OCP,
| (2) |
where is the vector of the system states, and is the vector of the system inputs, and , , , and , , where . Under the assumption that the pair (A, B) is controllable and that the pair is observable, a unique solution for (2) exists. We rewrite (2) as
| (3a) |
| (3b) |
where now all the matrices , and both vectors , and . In (3) we set,
| (4) |
where the additional input vector is appended to so that , and is an arbitrary positive definite matrix. The additional inputs do not affect the dynamics since their corresponding coefficients in B and F are zero.
Remark 1:
The solution of the OCP with (2) coincides with the solution of the OCP with (3), with .
This follows from the fact that the particular choice of RO and uO is independent of the original OCP. The modified OCP will break into two independent OCPs, one in , and one in .
The orthogonal similarity transformation matrix T,
| (5) |
is applied to decouple the original large problem into a set of L lower dimensional problems by simultaneously block diagonalizing the following matrices,
| (6a) |
| (6b) |
| (6c) |
The blocks all have the same size . (3b) is pre-multiplied by ,
| (7) |
By defining and , and using results from (6) and (7), (3b) is rewritten,
| (8) |
The cost J from (3a) is rewritten in terms of the new variables by setting and as
So, the transformed OCP is
| (9a) |
| (9b) |
Lemma 1:
The large dimensional optimization problem from (9) decouples into a set of smaller independent sub-problems,
| (10) |
, with , , and .
Proof:
After applying the transformation T, the OCP from (3) is transformed to,
where , and and are independent from one another and , and . Also, the states and the inputs are decoupled, so we conclude the large OCP is decoupled into L independent OCPs. This concludes the proof.
Remark 2:
The dimension of the controllable and observable subspaces and the open-loop poles of the transformed system (8) are the same as those of the system (3).
This is due to the fact that we have obtained the transformed system by application of a similarity transformation, which preserves the rank and the eigenvalues of the matrices [51].
We have provided an algebraic method to decouple a large OCP into a set of L smaller OCPs. There are two advantages of this decomposition. The first one is that the lower-dimension OCPs are easier to solve since the algebraic operations have lower computational complexity for lower-dimension matrices; the second one is that the lower-dimension OCPs can be solved in parallel (since they are independent of one another.)
Next, we discuss in detail how the closed-form solutions of the sample OCP (3) is affected by the SBD transformation. The Hamiltonian for the OCP (3) is,
| (11) |
where is the time-varying costate vector. By solving the following equations simultaneously,
| (12a) |
| (12b) |
| (12c) |
the optimal solution can be found. From (12c), we obtain:
| (13) |
Now, (12a) and (12b) should be solved for and . By assuming , we write,
| (14a) |
| (14b) |
| (14c) |
| (14d) |
To decouple and , we find P that sets . Note that is the standard form of the algebraic Riccati equation in the matrix P [52],
| (15) |
After solving for P, (14a) can be solved for and independently. To find the analytical solution, we set where and,
| (16) |
Finding is now straightforward: by solving (15) for P, and then solving (14a) for and to evaluate , we can be substitute back in (13) to find .
In general, solving (15) and (16) can be computationally challenging for large n. Using the SBD decomposition, the n × n algebraic Riccati equation from (15) and the n × n controllability Gramian from (16) are broken into L smaller independent equations in the blocks of the matrices , and ,
| (17) |
| (18) |
The computational complexities associated with solving the Riccati equation and the controllability Gramian are [53] and [54], respectively. By means of the decomposition, the overall complexity reduces to , and , where the equality corresponds to the case L = 1.
Remark 3:
The solution of (17) can be transformed back to obtain the solution of (15), i.e., .
To show this, consider (17) and construct ,
| (19) |
| (20) |
| (21) |
After pre-multiplying and post-multiplying (21) by T and , respectively, we get,
| (22) |
Hence, is the transformed solution of the original Riccati equation. The controllability Gramian also reduces to smaller-dimension Gramians after the application of the transformation T. Similar derivation for will show that .
Remark 4:
We note here that the case of the infinite horizon OCP can be decomposed in a similar fashion, see Section II of the Supplementary Information.
To conclude, the large OCP in (3) has been decoupled into a set of smaller OCPs in (10) by the simultaneous application of the orthogonal similarity transformation matrix T to the system dynamics and the quadratic cost. By solving the lower dimensional OCPs separately, the control law for the large system is then recovered.
V. DECOUPLING NETWORKED SYSTEMS
Networked systems are formed of individual systems coupled together to form a network. Many real-world systems are naturally described as networked systems. For instance, social networks, power grids, and computer networks are all examples of networked systems. A large literature has dealt with optimal control of networked systems [55], [56], [57], [58], [59], [60], [61], [62], [63].
In this paper, we consider a networked system defined by the graph , where is the set of N nodes/vertices and is the set of edges, i.e., ordered pairs of nodes . Each node of the graph is a subsystem and an edge between two nodes represents coupling between them. We also assume that the graph is heterogeneous, i.e, it contains different types of nodes. Thus, the set of nodes can be partitioned into S clusters formed of nodes of the same type, , , for , with where Ns is the number of nodes in cluster , . The dynamics of this networked system consisting of N n-dimensional interacting sub-systems obeys [64],
| (23) |
and . The subscript labels the unique cluster to which node i belongs. Hence, also identifies the dynamical matrices , , and for the sub-system i. The term , describes the dynamics of each sub-system, the term , describes the effect of the control signals on each sub-system, and , and is the overall coupling that sub-system i receives from the other sub-systems in the network. The symmetric matrix is the adjacency matrix that describes how the individual network systems are coupled to one another, namely if systems i and j are coupled, , otherwise .
Definition 4:
We define the N-dimensional indicator matrix Es as,
| (24) |
Given a general networked system represented by the graph , and system dynamics (23), one can follow the 4 steps below to decouple the system into multiple OCPs and solve them in parallel to reduce the computation time.
1). Obtain the State Space Representation:
The first step is to convert the dynamics of the system to a standard state space form. We do so by first reordering the system states. Without loss of generality, the first N1 sub-systems are set to be of type 1, the second N2 sub-systems to be of type 2, etc. This results in the following indicator matrices, Es for
| (25) |
The new re-ordered system can now be easily converted to the desired form. Using (25), (23) can be rewritten in the following compact form,
| (26) |
where , .
It can be seen that (26) is a standard state space representation with the vector X representing the states and the vector U representing the inputs.
2). Define the Cost Function:
The second step is to define a cost function depending on the particular OCP. Given the system is in the standard state space representation, a quadratic cost function can be written as,
| (27) |
The matrices Q and WQ are positive semi-definite (and so is the matrix ). The matrices R and WR are positive definite (and so is the matrix ). In particular, and are weighing matrices for the network systems. These matrices contain information on the weights given to the states and inputs of each sub-system relative to the other sub-systems. Instead, the matrices and are weighing matrices for the individual sub-system states and inputs respectively. These matrices measure how the states (inputs) of a single sub-system are weighted relative to other states (inputs) of the same sub-system. For example, by properly choosing these matrices, one can drive individual sub-system states towards desirable values while limiting the effort to do so.
3). Add Additional Input Channels if needed:
This is done in an analogous way to the process to obtain (3) from (2) described in Section IV. Namely, a sub-system with m number of input channels, m < n needs to be transformed to a subsystem with n number of input channels. This can be done by adding n – m input channels; hence and , and we set their corresponding coefficients to zero in the input matrix, . Doing so does not change the original dynamics of the system. Further, we replace the matrix WR by a new matrix where is an arbitrary positive definite matrix.
4). Apply the SBD Transformation:
The final step is to apply the SBD transformation. In order to show how the system dynamics and the objective function are decoupled by our proposed method, we present some key properties of the SBD transformation matrix. In particular, we define the concept of a canonical SBD transformation.
Definition 5:
The transformation matrix T is a canonical SBD transformation if each indicator matrix, , maps back to itself (but with permuted rows and columns) after the application of the transformation T. A canonical transformation matrix is block-diagonal in S blocks, and the size of each block is equal to .
This follows from the property that in order to commute with , the matrix U from Algorithm 1 must have the same block diagonal structure as . Hence, since the columns of the matrix T are the eigenvectors of U, T must have the same block structure as U. Moreover, because of the block structure of both the matrix T and the matrices , we have that maps back to Es, but possibly with permuted rows and columns.
Next, we consider the application of a canonical SBD transformation matrix T to the optimal control problem (26). The matrix
| (28) |
transforms the matrices , G, Q, R into a block diagonal form with P blocks of dimension , and G, Q and R into , and respectively.
| (29) |
| (30) |
| (31) |
where the Ms matrices are the transformed indicator matrices.
Note that each one of the matrices Ms is a diagonal matrix where the elements on the main diagonal are the same as those of the matrices Es but permuted and consequently have the same block-diagonal structure as , , and . We now pre-multiply (26) by , and define the following:
| (32) |
Thus, (26) can be re-written,
| (33) |
From (32), it is clear that and . Therefore, the cost function from (27) is rewritten as,
| (34) |
Since the states and inputs are of the form, , , it is clear that the system dynamics has been decoupled into P independent equations and the cost function into P independent cost functions,
| (35a) |
| (35b) |
where , and .
Each OCP described by (35) can be solved independently and in parallel. Furthermore, the solution to the original OCP can be recovered by inverting the SBD transformation.
VI. CASE STUDIES
The computation time for solving OCPs using our proposed approach depends on two major factors; 1) the dimensions of the OCPs resulting from the decomposition and 2) the time to compute the transformation matrix. The two examples that follow show that our proposed method based on the SBD transformation outperforms methods based on symmetry in both these aspects. A third example of HVAC control is used to demonstrate the effectiveness of our method.
A. EXAMPLE 1: MASS-SPRING-DAMPER SYSTEM
With this example we show that the reduction based on our method produces finer blocks than the symmetry method. We compare the reduction from the SBD transformation with that of an IRR transformation applied to a system of connected mass-spring-dampers. Fig. 1 shows the topology of the connections between the masses. Here each node represents a mass and each edge represents a connection (spring and damper) between the connected masses.
FIGURE 1.
(a) Eight identical masses (M) are connected with identical linear springs (K) and dampers (C). Friction and gravity are negligible. and are positions and velocities of the masses. are input forces. The direction of positive position, velocity, and input force is to the right-hand side of the figure. Masses of the same color are in the same orbital partition, and masses with the same background (either empty or dotted) are in the same equitable partition. (b) shows the topology of the connectivity between the masses. Here each node represents a mass and each edge represents a connection (spring and damper) between the connected masses.
Following the steps outlined in Section V, we first derive the state space representation of the system. Since all our masses are the same, S = 1, so we set , , , and ,
| (36) |
Note that the second column of the matrix B with entries that are all zeros is used here to make the dimensions of the matrices in (36) consistent. The adjacency matrix corresponding to the graph in Fig. 1 is,
| (37) |
The compact dynamical equation of the coupled masses via springs and dampers is
| (38) |
For step 2, we consider a quadratic cost function as in (27). We set R = I8 and,
| (39) |
This choice of Q indicates that we want to force masses 5 and 6 to go to the origin, while we want masses 1 and 2, masses 3 and 4, and masses 7 and 8 to follow the same trajectory (i.e., we want the difference between their positions and velocities to go to zero.) We note that the matrices WQ and WR do not play a role in finding the transformation T, but they are required to find the optimal control input .
Next, we compare our approach with the symmetry based approach. In order to compute the transformation matrix P that transforms the system in the irreducible representation coordinates, we use the algorithm proposed in [27]. A Python code of this algorithm is also provided in [65]. The orbital partition for this network is {1, 2, 3, 4}, {5, 6}, {7, 8}. The symmetry-based transformation
| (40) |
transforms G and Q into and ,
![]() |
(41a) |
![]() |
(41b) |
We see that the original N = 8-dimensional problem is decoupled into two 3-dimensional problems and two 1-dimensional problems by using the symmetry-based decomposition.
We now consider the SBD approach, and using the algorithm presented in [46], we compute the transformation matrix which is equal to (42) shown at the bottom of the next page, and transforms the matrices G and Q into and .
| (42) |
![]() |
(43a) |
![]() |
(43b) |
We see that the transformation derived from SBD decomposes the N = 8-dimensional problem into one 3-dimensional, one 2-dimensional, and three 1-dimensional problems. Therefore, this example shows that the decomposition using the SBD transformation is finer (the blocks generated are smaller) than the symmetry-based transformation.
B. EXAMPLE 2: POWERGRID SYSTEM
The purpose of this example is to show that the SBD decomposition can be computed in less time than the symmetry-based decomposition. Here, we use the Irreducible Representation (IRR) code from Ref. [27] and the SBD code from Ref. [47]. Our comparison is applied to real power grid networks of increasing dimension, i.e., with an increasing number of busses. For all the networks that we consider, the equitable and orbital partitions are the same [28], therefore, the inputs provided to both codes are exactly the same, i.e., one adjacency matrix that describes the topology of the network, and indicator matrices that provide information on the clusters to which each node belongs. Table 1 contains information about the selected power grids.
TABLE 1.
Real power grids. For each power grid network, we report the number of nodes N, the number of edges E, and the number of non-trivial clusters C. All networks are undirected and unweighted.
| Name | N | E | C |
|---|---|---|---|
| case5 | 5 | 6 | 2 |
| case9target | 9 | 9 | 3 |
| casel5nbr | 15 | 14 | 2 |
| case22 | 22 | 21 | 3 |
| case24_ieee_rts | 24 | 34 | 1 |
| case30 | 30 | 41 | 1 |
| case39 | 39 | 46 | 3 |
| case57 | 57 | 78 | 1 |
| case60nordic | 60 | 72 | 4 |
| case85 | 85 | 84 | 10 |
| casel41 | 141 | 140 | 7 |
Fig. 2 shows the CPU-time required for running both algorithms (SBD and IRR). We use an Intel Core i7–10700 CPU to run the algorithms. Power grids are chosen such that at least one non-trivial orbital partition (a partition with more than one node in it) is present. The computation complexities associated with the SBD code (Algorithm 1) and the IRR code are and , respectively, where N is the number of nodes in the network. Fig. 2 shows that the CPU time grows faster as N increases for the IRR code compared to the SBD code.
FIGURE 2.
We plot the CPU time to run the SBD code and the IRR code for 11 selected power grids with different numbers of nodes. Additional information on the topology of these networks is provided in Table 1. We see that the SBD algorithm is faster in all cases. As the number of nodes increases, the CPU time for both codes increases, but the CPU time for the IRR algorithm grows more rapidly.
C. EXAMPLE 3: HVAC SYSTEM
Here we show how the run-time required by the solution of a large-dimensional HVAC optimal control problem is reduced by using the SBD decomposition method. We consider a graph-based HVAC model that was originally introduced in [66]. This model is linear time-invariant and continuous time. It takes the temperature of the walls and zones as states, and the control strategy is to regulate the zones’ temperatures while using the minimum amount of energy. The time evolution of the temperatures is modeled with an RC circuit consisting of lumped thermal resistors and capacitors, whose resistances and capacitances are calculated based on [18]. The procedure to find the linear model is described in Algorithm 1 of [66]. First, an undirected weighted graph is created, for which nodes represent either the walls, the zones, or the ambient. Nodes that are thermally connected share an edge. Connections are between walls and zones, and between the walls and the ambient. Internal walls connect zones and external floor/ceiling walls connect the zones and the ambient. The weight of a connection is the inverse of the thermal resistance between the two connected nodes. We assumed that the resistance of the floor/ceiling walls is greater than that of the internal walls by a factor of 4, and the resistance of the external walls is greater than that of the internal walls by a factor of 1.1. The Laplacian matrix corresponding to the graph of the network formed of walls, zones, and ambient is equal to L = D − A where A is the adjacency matrix that describes the topology of the HVAC system, and D is a diagonal matrix with entries on the main diagonal equal to the row sums of the matrix A.
Next, the continuous time model for the HVAC problem is generated based on the remaining steps of Algorithm 1 from [66]. Discretization of the model is done using a 10 min sampling time. For simplicity, since our focus here is on comparing run-times between the original and the transformed OCP, we assumed that the ambient temperature is 0°C and no disturbance is present. Hence, the dynamical equation of the system is,
| (44a) |
| (44b) |
where is the vector of the temperatures of all the walls and is the vector of the temperatures of all the zones at time k. Note that we have added an appropriate number of zero columns to the matrix B in order to make it square. The cost function is quadratic in the form,
| (45) |
where Q is a positive semi-definite diagonal matrix, with entries on the main diagonal that are either one for the zone states, or zero for all the other states. The matrix R is a positive definite diagonal matrix, such that , where I is an identity matrix with appropriate dimension; and for simplicity, we set to be a diagonal matrix with all entries on the main diagonal equal to 0.1. As a result, the original OCP can be written,
| (46a) |
| (46b) |
The transformation matrix T is equal to,
| (47) |
and is numerically computed using the SBD algorithm from [46]. This matrix has been applied to decompose the OCP in a similar fashion to Section IV. The complete derivation is provided in Section II of the Supplementary Information. The OCP (46a) is then decomposed in a form similar to (10) with the difference that l is used as the superscript here,
| (48) |
.
To investigate the effect of the decompositions on the runtime, we use the base structure for the zones, walls, and ambient, which is shown in Fig. 3, and vary the number of zones, Nz. In the analysis that follows, we expand this structure up to Nz = 62.
FIGURE 3.
Base structure of the zones and walls for three different cases corresponding to different number of zones: , , and . Narrow black lines indicate the internal walls, and thick black lines are the external walls. Floor/ceiling walls are not shown here.
The total number of states is equal to the total number of elements coupled together, i.e., the number of ceiling/floor walls, the number of ambient walls, the number of internal walls, and the number of zones. For the examples in Fig. 3, the number of ceiling/floor walls is equal to ; the number of ambient walls is equal to ; the number of internal walls is equal to ; and the number of zones is equal to . Then the total number of states of the linear discrete-time system is equal to . As a benchmark, we timed the Matlab command dlqr using the Matlab command timeit. The command dlqr finds the optimal feedback gain matrix for the linear quadratic regulator problem in discrete time. This command first solves the algebraic discrete-time Riccati equation and then computes the optimal gain matrix. The average CPU times out of 20 simulations for the original discrete-time OCP and the transformed OCP are shown in Fig. 4. We see from Fig. 4 that the CPU times for the transformed problems are significantly lower than those of the original problem since the decoupled OCPs are lower in dimension and they can be solved using parallel computing. For this particular problem, we were able to break the original large OCP into several smaller OCPs with dimensions equal to or smaller than 2. As an example, in Fig. 5 the matrices A, B, Q, and R from (46) for the case with are visualized before and after application of the transformation T.
FIGURE 4.
The CPU time for running dlqr Matlab command for the original and transformed OCPs for the HVAC example. Here we plot the CPU time corresponding to the transformed OCP, which is obtained by running the decomposed OCPs in parallel on 16 workers.
FIGURE 5.
HVAC problem with Nz = 22: comparison between the matrices A, B, Q, and R from (46) before and after application of the transformation matrix T. The nonzero entries of the original matrices and of the transformed matrices are shown as blue squares. A very good reduction is achieved in this case as the original 24-dimension system is decoupled into 20 subsystems of which 16 have dimension 1 and 4 have dimension 2.
We remark that the dimensionality reduction achieved in Fig. 5 is very good as it enables the solution of several OCPs with much reduced computational effort. Table 2 provides detailed information about the dimension of the linear systems, and the number of subsystems of dimension 1 and 2 obtained after the application of the transformation. Overall the table demonstrates the usefulness of the SBD approach in decomposing these OCPs.
TABLE 2.
Dimensionality reduction for the HVAC systems. The table shows the number of zones Nz, the overall dimension of the linear system Nsys, the total number of subsystems obtained after the decomposition , the number of subsystems of dimension 1 after the decomposition , and the number of subsystems of dimension 2 after the decomposition .
| Nz | Nsys | |||
|---|---|---|---|---|
| 22 | 24 | 20 | 16 | 4 |
| 32 | 51 | 42 | 33 | 9 |
| 42 | 88 | 72 | 56 | 16 |
| 52 | 135 | 110 | 85 | 25 |
| 62 | 192 | 156 | 120 | 36 |
We note that in the process of generating the dynamical matrices A and B, the Laplacian matrix that describes the connectivity of the zones, walls, and the ambient is broken into pieces; see Step 2 of Algorithm 1 in [66]. Since the IRR code [27] requires either the adjacency matrix or the Laplacian matrix as an input, we were unable to use the IRR code to decompose this HVAC problem.
In Fig. 6, the memory, in kilobytes (kB), measured by the MATLAB command whos to store data for running dlqr in MATLAB is plotted as the number of zones increases. Since the application of the SBD transformation sets the transformed matrices into a block diagonal form, this results in substantial memory saving, as the dimension of the matrices increases.
FIGURE 6.
HVAC example. Memory used for storing data when running the dlqr Matlab command for the original and the transformed OCPs. Here we plot the memory in kilobytes corresponding to the transformed OCP, obtained by running the decomposed OCPs in parallel on 16 workers.
VII. CONCLUSION
In this paper, we have shown that an SBD-based strategy can be conveniently adopted to decouple optimal control problems into lower dimensional problems. These lower dimensional OCPs can then be solved in parallel to achieve faster computation runtimes. In particular, we have shown that the SBD transformation can be used to break the original Riccati equation and the original controllability Gramian into a set of lower-dimensional (and easier to solve) Riccati equations and controllability Gramians, respectively. We have called these reductions ‘exact’ because no information about the original system and the objective function is lost with the decomposition. Therefore, important properties such as stability and the dimension of the controllable and observable subspaces are preserved while the computation time is reduced.
We have used three examples with application to networked systems to demonstrate the advantages of our proposed method when compared to the IRR reduction method. The first example of a simple spring-damper mechanical system demonstrates that the SBD approach decouples the system into lower-dimensional subproblems than the IRR decomposition. In the second example, we have used real data about the topology of several power grid networks of various sizes, and shown that the computation time to compute the SBD transformation is always lower than the IRR method. Finally, our third example combines both these aspects and demonstrates the application of the method to a real-life example; an HVAC control problem.
Supplementary Material
ACKNOWLEDGMENT
Authors thank A. Heydari and K. Murota for insightful conversations.
This work was supported by the NIH under Grant 1R21EB028489-01A1.
Biographies

AMIRHOSSEIN NAZERIAN (Graduate Student Member, IEEE) is currently working toward the Ph.D. degree in mechanical engineering at the University of New Mexico, Albuquerque, NM, USA. His research interests include optimal control, nonlinear control, model predictive control, network control, and synchronization in dynamical networks.

KSHITIJ BHATTA (Graduate Student Member, IEEE) received the bachelor’s degree in mechanical engineering from the University of New Mexico, Albuquerque, NM, USA, in 2020. He is currently working toward the Ph.D. degree in mechanical engineering with the University of Virginia, Charlottesville, VA, USA. His research interests include control system analysis and automation for smart manufacturing systems.

FRANCESCO SORRENTINO (Senior Member, IEEE) received the master’s degree in industrial engineering and the Ph.D. degree in control engineering from the University of Naples Federico II, Naples, Italy, in 2003 and 2007, respectively. His expertise is in dynamical systems and controls, with particular emphasis on nonlinear dynamics and adaptive decentralized control. His work includes studies on dynamics and control of complex dynamical networks and hypernetworks, adaptation in complex systems, sensor adaptive networks, coordinated autonomous vehicles operating in a dynamically changing environment, and identification of nonlinear systems. He has authored or coauthored more than 50 papers in international scientific peer-reviewed journals. His research interests include applying the theory of dynamical systems to model, analyze, and control the dynamics of complex distributed energy systems such as power networks and smart grids. Subjects of the current investigation are evolutionary game theory on networks (evolutionary graph theory), the dynamics of large networks of coupled neurons, and the use of adaptive techniques for dynamical identification of communication delays between coupled mobile platforms.
REFERENCES
- [1].Summers TH, Cortesi FL, and Lygeros J, “On submodularity and controllability in complex dynamical networks,” IEEE Trans. Control Netw. Syst, vol. 3, no. 1, pp. 91–101, Mar. 2016. [Google Scholar]
- [2].Liu Y-Y, Slotine J-J, and Barabási A-L, “Controllability of complex networks,” Nature, vol. 473, no. 7346, pp. 167–173, May 2011. [DOI] [PubMed] [Google Scholar]
- [3].Yuan Z, Zhao C, Di Z, Wang W-X, and Lai Y-C, “Exact controllability of complex networks,” Nature Commun., vol. 4, no. 1, Dec. 2013, Art. no. 2447. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [4].Gao J, Liu Y-Y, D’Souza RM, and Barabási A-L, “Target control of complex networks,” Nature Commun., vol. 5, no. 1, Dec. 2014, Art. no. 5415. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [5].Iudice FL, Garofalo F, and Sorrentino F, “Structural permeability of complex networks to control signals,” Nature Commun., vol. 6, no. 1, Dec. 2015, Art. no. 8349. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [6].Zhang X, Wang H, and Lv T, “Efficient target control of complex networks based on preferential matching,” PLoS One, vol. 12, no. 4, 2017, Art. no. e0175375. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [7].Commault C, Woude JVD, and Boukhobza T, “On the fixed controllable subspace in linear structured systems,” Syst. Control Lett, vol. 102, pp. 42–47, 2017. [Google Scholar]
- [8].Iudice FL, Sorrentino F, and Garofalo F, “On node controllability and observability in complex dynamical networks,” IEEE Contr. Syst. Lett, vol. 3, no. 4, pp. 847–852, Oct. 2019. [Google Scholar]
- [9].Benner P, Breiten T, Faßbender H, Hinze M, Stykel T, and Zimmermann R, Model Reduction of Complex Dynamical Systems. Berlin, Germany: Birkhäuser Springer Nature, 2021.
- [10].Antoulas AC, Beattie CA, and Güğercin S, Interpolatory Methods for Model Reduction. Philadelphia, PA, USA: Soc. Ind. Appl. Math, 2020.
- [11].Lordejani SN, Besselink B, Abbasi MH, Kaasa G-O, Schilders WHA, and Wouw NVD, “Control-oriented modeling for managed pressure drilling automation using model order reduction,” IEEE Trans. Control Syst. Technol, vol. 29, no. 3, pp. 1161–1174, May 2021. [Google Scholar]
- [12].Padoan A, Forni F, and Sepulchre R, “Model reduction of dominant feedback systems,” Automatica, vol. 130, 2021, Art. no. 109695. [Google Scholar]
- [13].Choi Y, Brown P, Arrighi W, Anderson R, and Huynh K, “Space–time reduced order model for large-scale linear dynamical systems with application to Boltzmann transport problems,” J. Comput. Phys, vol. 424, 2021, Art. no. 109845. [Google Scholar]
- [14].Duff IP and Kürschner P, “Numerical computation and new output bounds for time-limited balanced truncation of discrete-time systems,” Linear Algebra its Appl., vol. 623, pp. 367–397, 2021. [Google Scholar]
- [15].Benner P. and Werner SW, “Hankel-norm approximation of large-scale descriptor systems,” Adv. Comput. Math, vol. 46, no. 3, pp. 1–31, 2020. [Google Scholar]
- [16].Besselink B, Wouw NVD, Scherpen JM, and Nijmeijer H, “Model reduction for nonlinear systems by incremental balanced truncation,” IEEE Trans. Autom. Control, vol. 59, no. 10, pp. 2739–2753, Oct. 2014. [Google Scholar]
- [17].Cheng X, Kawano Y, and Scherpen JM, “Model reduction of multiagent systems using dissimilarity-based clustering,” IEEE Trans. Autom. Control, vol. 64, no. 4, pp. 1663–1670, Apr. 2019. [Google Scholar]
- [18].Boodi A, Beddiar K, Amirat Y, and Benbouzid M, “Simplified building thermal model development and parameters evaluation using a stochastic approach,” Energies, vol. 13, no. 11, 2020, Art. no. 2899. [Google Scholar]
- [19].Frazzoli E, Dahleh MA, and Feron E, “Maneuver-based motion planning for nonlinear systems with symmetries,” IEEE Trans. Robot, vol. 21, no. 6, pp. 1077–1091, Dec. 2005. [Google Scholar]
- [20].Collins JJ and Stewart IN, “Coupled nonlinear oscillators and the symmetries of animal gaits,” J. Nonlinear Sci, vol. 3, no. 1, pp. 349–392, 1993. [Google Scholar]
- [21].Vlase S, Năstac C, Marin M, and Mihălcică M, “A method for the study of the vibration of mechanical bars systems with symmetries,” ACTA Technica Napocensis-Series: Appl. Math. Mechanics, Eng, vol. 60, no. 4, pp. 539–544, 2017. [Google Scholar]
- [22].Bhatta K, Hayat MM, and Sorrentino F, “Modal decomposition of the linear swing equation in networks with symmetries,” IEEE Trans. Netw. Sci. Eng, vol. 8, no. 3, pp. 2482–2494, Jul.–Sep. 2021. [Google Scholar]
- [23].Bhatta K, Nazerian A, and Sorrentino F, “Supermodal decomposition of the linear swing equation for multilayer networks,” IEEE Access, vol. 10, pp. 72658–72670, 2022. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [24].Polak SC, “Symmetry reduction to optimize a graph-based polynomial from queueing theory,” SIAM J. Appl. Algebra Geometry, vol. 6, no. 2, pp. 243–266, 2022. [Google Scholar]
- [25].Vallentin F, “Symmetry in semidefinite programs,” Linear Algebra Appl., vol. 430, no. 1, pp. 360–369, 2009. [Google Scholar]
- [26].Boyd S, Diaconis P, Parrilo P, and Xiao L, “Fastest mixing Markov chain on graphs with symmetries,” SIAM J. Optim, vol. 20, no. 2, pp. 792–819, 2009. [Google Scholar]
- [27].Pecora LM, Sorrentino F, Hagerstrom AM, Murphy TE, and Roy R, “Cluster synchronization and isolated desynchronization in complex networks with symmetries,” Nature Commun., vol. 5, no. 1, pp. 1–8, 2014. [DOI] [PubMed] [Google Scholar]
- [28].Siddique AB, Pecora L, Hart JD, and Sorrentino F, “Symmetry-and input-cluster synchronization in networks,” Phys. Rev. E, vol. 97, no. 4, 2018, Art. no. 42217. [DOI] [PubMed] [Google Scholar]
- [29].Moustrou P, Naumann H, Riener C, Theobald T, and Verdure H, “Symmetry reduction in AM/GM-based optimization,” SIAM J. Optim, vol. 32, no. 2, pp. 765–785, 2022. [Google Scholar]
- [30].Maidens J. and Arcak M, “Exploiting symmetry for discrete-time reachability computations,” IEEE Contr. Syst. Lett, vol. 2, no. 2, pp. 213–217, Apr. 2018. [Google Scholar]
- [31].Arcak M, Meissen C, and Packard A, Networks of Dissipative Systems: Compositional Certification of Stability, Performance, and Safety. Cham, Switzerland: Springer, 2016. [Google Scholar]
- [32].Cogill R, Lall S, and Parrilo PA, “Structured semidefinite programs for the control of symmetric systems,” Automatica, vol. 44, no. 5, pp. 1411–1417, 2008. [Google Scholar]
- [33].Ferreira ASR, Meissen C, Arcak M, and Packard A, “Symmetry reduction for performance certification of interconnected systems,” IEEE Trans. Control Netw. Syst, vol. 5, no. 1, pp. 525–535, Mar. 2018. [Google Scholar]
- [34].Kanno Y, Ohsaki M, Murota K, and Katoh N, “Group symmetry in interior-point methods for semidefinite program,” Optim. Eng, vol. 2, no. 3, pp. 293–320, 2001. [Google Scholar]
- [35].Danielson C. and Borrelli F, “Symmetric linear model predictive control,” IEEE Trans. Autom. Control, vol. 60, no. 5, pp. 1244–1259, May 2015. [Google Scholar]
- [36].Danielson C, “An alternating direction method of multipliers algorithm for symmetric model predictive control,” Optimal Control Appl. Methods, vol. 42, no. 1, pp. 236–260, 2021. [Google Scholar]
- [37].Danielson C. and Borrelli F, “Symmetric explicit model predictive control,” IFAC Proc. Volumes, vol. 45, no. 17, pp. 132–137, 2012. [Google Scholar]
- [38].Kudose S, “Equitable partitions and orbit partitions,” Chicago, IL, USA: The University of Chicago, 2009. [Online]. Available: http://www.math.uchicago.edu/~may/VIGRE/VIGRE2009/REUPapers/Kudose.pdf [Google Scholar]
- [39].Salova A, Emenheiser J, Rupe A, Crutchfield JP, and D’Souza RM, “Koopman operator and its approximations for systems with symmetries,” Chaos: An Interdiscipl. J. Nonlinear Sci, vol. 29, no. 9, 2019, Art. no. 093128. [DOI] [PubMed] [Google Scholar]
- [40].Li Z, Wu H, Li Y, and Cao L, “Block-diagonalization of the variational nodal response matrix using the symmetry group theory,” J. Comput. Phys, vol. 351, pp. 230–253, 2017. [Google Scholar]
- [41].Li Y, Li Z, Wu H, and Zheng Y, “Improved variational nodal method based on symmetry group theory,” Nucl. Sci. Eng, vol. 190, no. 2, pp. 134–155, 2018. [Google Scholar]
- [42].Steeb W-H and Hardy Y, Matrix Calculus and Kronecker Product: A Practical Approach to Linear and Multilinear Algebra. Singapore: World Scientific Publishing Company, 2011. [Google Scholar]
- [43].Uhlig F, “Simultaneous block diagonalization of two real symmetric matrices,” Linear Algebra Appl., vol. 7, no. 4, pp. 281–289, 1973. [Google Scholar]
- [44].Maehara T. and Murota K, “Error-controlling algorithm for simultaneous block-diagonalization and its application to independent component analysis,” JSIAM Lett., vol. 2, pp. 131–134, 2010. [Google Scholar]
- [45].Maehara T. and Murota K, “A numerical algorithm for block-diagonal decomposition of matrix *-algebras with general irreducible components,” Jpn. J. Ind. Appl. Math, vol. 27, no. 2, pp. 263–293, 2010. [Google Scholar]
- [46].Maehara T. and Murota K, “Algorithm for error-controlled simultaneous block-diagonalization of matrices,” SIAM J. Matrix Anal. Appl, vol. 32, no. 2, pp. 605–620, 2011. [Google Scholar]
- [47].Panahi S, Klickstein I, and Sorrentino F, “Cluster synchronization of networks via a canonical transformation for simultaneous block diagonalization of matrices,” Chaos: An Interdiscipl. J. Nonlinear Sci, vol. 31, no. 11, 2021, Art. no. 111102. [DOI] [PubMed] [Google Scholar]
- [48].Zhang Y. and Motter AE, “Symmetry-independent stability analysis of synchronization patterns,” SIAM Rev., vol. 62, no. 4, pp. 817–836, 2020. [Google Scholar]
- [49].Irving D. and Sorrentino F, “Synchronization of dynamical hypernetworks: Dimensionality reduction through simultaneous block-diagonalization of matrices,” Phys. Rev. E, vol. 86, Nov. 2012, Art. no. 056102. [DOI] [PubMed] [Google Scholar]
- [50].Nazerian A, Panahi S, Leifer I, Phillips D, Makse HA, and Sorrentino F, “Matryoshka and disjoint cluster synchronization of networks,” Chaos: Interdiscipl. J. Nonlinear Sci, vol. 32, no. 4, 2022, Art. no. 041101, doi: 10.1063/5.0076412. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [51].Horn RA and Johnson CR, Matrix Analysis. Cambridge, U.K.: Cambridge Univ. Press, 2012. [Google Scholar]
- [52].Lancaster P. and Rodman L, Algebraic Riccati Equations. Oxford, U.K.: Clarendon Press, 1995. [Google Scholar]
- [53].Ramesh AV, Utku S, and Garba JA, “Computational complexities and storage requirements of some Riccati equation solvers,” J. Guidance, Control, Dyn, vol. 12, no. 4, pp. 469–479, 1989. [Google Scholar]
- [54].Klickstein I. and Sorrentino F, “Selecting energy efficient inputs using graph structure,” Int. J. Control, pp. 1–13, 2022, doi: 10.1080/00207179.2021.2022218. [DOI]
- [55].Fornasini E. and Valcher ME, “Optimal control of Boolean control networks,” IEEE Trans. Autom. Control, vol. 59, no. 5, pp. 1258–1270, May 2014. [Google Scholar]
- [56].Yan G, Tsekenis G, Barzel B, Slotine J-J, Liu Y-Y, and Barabási A-L, “Spectrum of controlling and observing complex networks,” Nature Phys., vol. 11, no. 9, pp. 779–786, Sep. 2015. [Google Scholar]
- [57].Klickstein I, Shirin A, and Sorrentino F, “Energy scaling of targeted optimal control of complex networks,” Nature Commun., vol. 8, Apr. 2017, Art. no. 15145. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [58].Klickstein I, Shirin A, and Sorrentino F, “Locally optimal control of complex networks,” Phys. Rev. Lett, vol. 119, no. 26, Dec. 2017, Art. no. 268301. [DOI] [PubMed] [Google Scholar]
- [59].Zhao Y, Li Z, and Cheng D, “Optimal control of logical control networks,” IEEE Trans. Autom. Control, vol. 56, no. 8, pp. 1766–1776, Aug. 2011. [Google Scholar]
- [60].Celi F, Baggio G, and Pasqualetti F, “Distributed learning of optimal controls for linear systems,” in Proc. IEEE 60th Conf. Decis. Control, 2021, pp. 5771–5776. [Google Scholar]
- [61].Baggio G, Bassett DS, and Pasqualetti F, “Data-driven control of complex networks,” Nature Commun., vol. 12, no. 1, pp. 1–13, 2021. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [62].Menara T, Qin Y, Bassett DS, and Pasqualetti F, “Relay interactions enable remote synchronization in networks of phase oscillators,” IEEE Contr. Syst. Lett, vol. 6, pp. 500–505, 2022. [Google Scholar]
- [63].Allibhoy A, Celi F, Pasqualetti F, and Cortés J, “Optimal network interventions to control the spreading of oscillations,” IEEE Open J. Control Syst, vol. 1, pp. 141–151, 2022. [Google Scholar]
- [64].Mahmoud MS and Xia Y, “Secure control design techniques,” in Networked Control Systems, Mahmoud MSand Xia Y, Eds. Oxford, U.K.: Butterworth-Heinemann, 2019, ch. 5, pp. 167–257. [Google Scholar]
- [65].Hagerstrom AM, Jun. 2016. [Online]. Available: https://sourceforge.net/projects/networksym/
- [66].Chandan V. and Alleyne A, “Optimal partitioning for the decentralized thermal control of buildings,” IEEE Trans. Control Syst. Technol, vol. 21, no. 5, pp. 1756–1770, Sep. 2013. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.










