Energy-optimal predictive control of discrete-time port-Hamiltonian systems: Closed-loop practical stability
Abstract
We study a dissipativity-based model predictive control (MPC) scheme for energy-optimal constrained output stabilization of a discrete-time nonlinear SISO port-Hamiltonian system described by difference and differential representation. For the optimal control problem to be solved in each MPC step, we establish a measure turnpike behavior. The turnpike set in our work is obtained from the underlying port-Hamiltonian structure without assuming existence of steady-states or periodic orbits. In particular, unlike existing results which typically establish the turnpike property w.r.t. a controlled forward invariant set such as optimal steady-states or optimal periodic orbits, we do not require the turnpike set to be forward control invariant. For MPC, we establish recursive feasibility and show practical stability to the turnpike set w.r.t. the MPC closed loop leveraging both dissipativity and the port-Hamiltonian structure. Finally, we demonstrate our results using two numerical examples.
Keywords: Economic model predictive control, turnpike behavior, strict dissipativity, difference and differential representation
1 Introduction
Port-Hamiltonian (pH) systems provide a systematic and modular framework for modeling, analysis, and control of physical systems governed by energy exchange, interconnection, and dissipation [40, 41]. Their defining structure separates power-conserving interconnection mechanisms from dissipative components and external ports through which energy is exchanged between the system and its environment [39]. This representation is particularly suitable for interconnected and networked systems that include energy networks [8, 13, 38, 37], mechanical systems [31] and thermodynamic processes [30].
Beyond modeling and control, pH systems have also attracted considerable attention in network optimization and optimal control problems, where their energy-based structure enables the systematic incorporation of physical constraints into optimization formulations, see for instance [2, 29]. For optimal control problems on pH systems with input and passive output , a natural candidate for the cost function is the energy supplied to the system at time integrated on the time horizon . Such control problems are referred as energy-optimal control problem (EOCP). For instance, given state , input , output and Hamiltonian , pointwise skew-symmetric and pointwise symmetric positive semi-definite11 1 The set of real numbers is , and is -dimensional column vector with all its elements in . The space of measurable and absolutely integrable functions is denoted by . , a finite-horizon energy-optimal output stabilization problem for continuous-time nonlinear pH system has the form
| (CT-EOCP) | ||||
In [27], a thermodynamically consistent version of (CT-EOCP) has been discussed under the assumption that optimal trajectories are uniformly bounded in and it has been established that the open-loop optimal solutions of (CT-EOCP) spend most of their time around the set , where and 22 2 The Cholesky factor of is denoted by . is the conservative manifold of the pH system. This behavior of open-loop optimal solution of (CT-EOCP), also termed as turnpike behavior, follows from the strict dissipativity w.r.t manifold property of (CT-EOCP) which is described by the dissipation inequality
for some 33 3 A continuous function is said to be of class if , is strictly increasing and unbounded. For a set , denote .. The set is termed as turnpike set. An energy-optimal set-point tracking version of (CT-EOCP) for linear pH systems is presented in [33], for linear descriptor pH system is addressed in [7], for nonlinear descriptor pH systems is discussed in [14] and for infinite-dimensional pH system is in [28]. All of the aforementioned works exploit the underlying pH structure to establish strict dissipativity of the OCP, and hence obtain the turnpike behavior of open-loop optimal solutions, w.r.t. a conservative subspace/manifold. Note that the structure in the cost function of an energy-optimal control problem poses significant challenges [6], however its advantages over standard cost functions such as have been studied numerically and presented in [36, 34].
Motivated by these works, in [32] we investigated the EOCP for a discrete-time nonlinear pH system and utilized a difference and differential representation [20, 23] to retrieve the strict dissipativity of the EOCP and turnpike property of open-loop optimal solutions in the discrete-time setting. Retrieving the turnpike property of open-loop optimal solutions for EOCP is particularly important to utilize optimization-based control such as (economic) model predictive control [10], where one iteratively solves a finite-horizon optimal control problem to define a nonlinear feedback law and the resulting closed-loop trajectory is obtained by applying a portion of the computed open-loop optimal input sequence to the system. While the turnpike property of open-loop optimal solutions has been discussed in aforementioned works on energy-optimal OCPs, the MPC closed-loop behavior has never been investigated before. In this work, we bridge this gap by embedding the EOCP within a receding-horizon framework and analyzing the performance of the resulting closed-loop system. In particular, we utilize ideas from the field of dissipativity-based model predictive control (MPC), also known as economic MPC [10].
Dissipativity-based MPC, in the absence of terminal ingredients, usually relies on strict dissipativity of the optimal control problem and on appropriate reachability assumptions to establish turnpike behavior with respect to an optimal steady-state i.e. to ensure that the open-loop optimal solutions remain in a neighborhood of the optimal steady-state for majority of the time-horizon [4, 9, 5]. Extension to problems when the turnpike object is a periodic orbit instead of a steady-state are discussed in [11, 25, 26, 42] and to problems where turnpike object is a general control-invariant set are in [12, 3]. To utilize the turnpike properties of the open-loop optimal solutions for obtaining performance guarantees on the closed-loop solutions, the forward control invariance property of the turnpike object plays an essential role in all these aforementioned works. For EOCP of discrete-time pH systems considered in this work, the turnpike object is a set constructed using the conservative subspace/manifold of the system, which is available directly from the dynamics of the system and the cost function of the optimal control problem. Hence, unlike [32, Section V], we do not rely on solution of a steady-state optimization problem for defining the turnpike object. However, such a turnpike object does not have forward control invariance property, which makes it difficult to comment on the nature of the closed-loop solution obtained by applying dissipativity-based MPC algorithm. Note that, to the best of our knowledge, this is first work to establish stability properties of the closed-loop optimal solution of energy-optimal control of pH systems.
In this work, we consider the energy-optimal output stabilization of a discrete-time nonlinear single-input single-output (SISO) pH system and establish practical stability of the closed-loop optimal trajectories, obtained via a receding horizon dissipativity-based MPC algorithm, to a set . The construction of the set stems naturally from the structure of the underlying pH system and the tracking output stabilization objective and hence does not require the knowledge of steady-states. We obtain the stability guarantees without imposing the restriction that the set has to be forward control-invariant. This generalizes the existing results on stability guarantees for dissipativity-based MPC algorithms such as [12, Theorem 4.2], where the set is an optimal steady-state [12, Section 5], an optimal periodic orbit [26] or a general forward control invariant set [3]. To overcome the challenge posed by our set , we use strict dissipativity of our OCP with respect to this set and establish a measure turnpike property that is weaker than the standard notion of measure turnpike used in MPC literature [10, Chapter 8]. Note that the pH structure also plays important role in establishing recursive feasibility of the EMPC algorithm. The rest of the paper is organized as follows: In Section 2 we summarize the difference and differential (DD) representation for discrete-time pH systems with quadratic Hamiltonian and we formulate the problem addressed in our work. In Section 3 we present our results on recursive feasibility, the measure turnpike property and the practical stability of the closed-loop system. We illustrate our results using a linear and a nonlinear example in Section 4. We draw conclusions in Section 5.
Notation: The set of natural numbers is . Denote and given such that , denote . The set of real numbers is and . A continuous function is said to be of class if and is strictly increasing. If, in addition, is unbounded, then is said be of class . We say if is decreasing with . For a set , denotes its cardinality and . Let define the interior of set . Identity matrix and zero matrix of dimension are denoted by and , respectively, and is a column vector with all its element zero.
2 Preliminaries and problem description
In this section, we recall the DD representation of discrete-time nonlinear systems from [22, Chapter 4], discuss the notion of strict dissipativity with respect to a set and state our problem formulations. In our previous work [32], this particular representation was crucial in retrieving certain results of [33] and [27] for the discrete-time pH setting. While the DD representation has been discussed for general non-linear pH systems, we restrict the discussion to pH system with quadratic Hamiltonian as that is sufficient for problem addressed in this work. We direct the reader to [20], [23], [24] and to the references therein for detailed discussion on DD representation of pH systems.
Difference and differential representation: Let be such that and is positive-definite. Given the Hamiltonian , the difference and differential representation of the dynamics of a discrete-time single-input single-output (SISO) nonlinear pH system is
| (2.1) | ||||
| (2.2) |
where is the state, is the input, is the output, is pointwise skew-symmetric, is pointwise positive semi-definite, ,
| (2.3) |
and is the initial condition. By computing explicit expression in terms of from (2.3) and using it to rewrite (2.1)-(2.2), the dynamics of the pH-system is expressed in an explicit form
| (2.4) | ||||
| (2.5) |
for each and initial condition , where for any
The invertibility of for positive semi-definite and is established in [32, Lemma 1]. Henceforth, we refer to the system described by (2.4)-(2.5) as the considered discrete-time pH system. Note that an explicit representation of the pH system is possible because of the quadratic Hamiltonian function , which also allows us to directly compute
| (2.6) |
The aforementioned equation induces an energy balance, which is an inherent characteristics of pH systems [40]. Indeed, from (2.6) we have , where the equality holds for any if and only if . Hence, interpreting as the supplied energy, (2.6) dictates that the change in energy (represented by ) of the pH-system can never exceed the supplied energy. Define
| (2.7) |
and note that is a manifold on which the non-negative dissipation term on the right-hand side of (2.6) vanishes and the Hamiltonian of the pH system is preserved. Hence, we refer to as the conservative manifold of the pH system.
Remark 2.1 (Nonlinear descriptor form).
Strict dissipativity of a discrete-time OCP: We recall the notion of strict dissipativity w.r.t to a manifold from [32, Definition 1]. Let and be the set of admissible state and input values. For and initial state , denote , where is the state at time subject to and application of .
Definition 2.2 (Strict dissipativity of discrete-time OCPs).
For , the discrete-time OCP
is said to be strictly dissipative w.r.t. a set if there exists storage function and such that for all optimal control sequences and associated optimal state , the dissipation inequality
| (2.8) |
holds for each . Note that (2.8) leads to , when summed over .
Problem description: For the system in (2.4)-(2.5), consider the finite-horizon energy-optimal output stabilization problem
| (E-OCP) | ||||
Here is the initial condition, is a compact, convex control constraint set with , , is a constant reference, and
| (2.9) |
for some positive scalar .
Remark 2.3.
In the context of (E-OCP), we define the following notations and terminology: For , a control input is said to be an admissible input if and state obtained by applying this input lies in . For , a control sequence is said to be admissible if for all and for each , where is the state at time-instant obtained by solving (2.4) via control sequence . Whenever there is no ambiguity, we denote . For any and , define the optimal value function for (E-OCP) as
| (2.10) |
To ensure the existence of optimal input sequence for (E-OCP), we impose the assumption below.
Assumption 2.4.
For each , there exists an optimal input sequence such that holds for (E-OCP).
Next, we present the closed-loop system that is obtained by applying a receding horizon control algorithm and then state the objective of this work. For , let denote a feedback control law. The dynamics of the resulting closed-loop system is
| (2.11) |
with , where is the closed-loop state obtained by applying the feedback control at time-step and . For horizon length and initial condition , denote the closed-loop cost function by . To identify and corresponding closed-loop state trajectory , we fix an optimization horizon and employ the following receding horizon MPC algorithm: (i) Measure the current state of the system for . (ii) With initial condition , solve for control action that minimizes subject to the constraint in (E-OCP) and denote the corresponding optimal solution by . (iii) Define the feedback control value and apply to obtain the next state . (iv) Repeat Steps (i)-(iii) until . The goal of this work is to establish the practical stability of the closed-loop state trajectory obtained by applying the receding horizon controller in (2.11) to solve (E-OCP).
Remark 2.5 (Extension to multi-input multi-output setting).
Since we consider a constant input map , an extension of the DD representation to multiple inputs is expected to be relatively straightforward. We nevertheless restrict our attention to the single-input case in order to focus on the main objective of this work, namely, closed-loop analysis of EOCP. DD representation of a two-input system with nonlinear input map has been discussed in [21], see also [23, Remark 3.4], [24, Remark 2.1].
Remark 2.6 (Discretization frameworks).
Apart from DD representation, there exist several other discrete-time formulations of pH systems including formulations based on discrete-gradient [15] and symplectic integration [16, 17]. While these methods are tailored towards preserving passivity and designing stabilizing controllers [18, 19], employing them for obtaining the strict dissipativity of the EOCP in discrete-setting is not straightforward. For discrete-gradient type methods, this has been highlighted by a simple example in [32, Section 3].
3 Closed-loop practical stability
Consider the closed-loop optimal state trajectory obtained from (2.11) by applying the receding horizon MPC algorithm, that is discussed above Remark 2.5, to solve (E-OCP). In this section we will establish that for sufficiently large , the trajectory is practically stable with respect to a set (defined in (3.12)) i.e., the trajectory spends most of its time near in an average sense. We begin by establishing that (E-OCP) remains feasible at each step of the receding horizon algorithm. We construct the turnpike set and prove the strict dissipativity of (E-OCP) w.r.t . Using the strict dissipativity, we establish measure turnpike property of the open-loop optimal solution. Combining all these ingredients, we state and prove the main result of our work in Theorem 3.9. We denote to be the optimal state at instant which is obtained by applying open-loop optimal input sequence starting with initial state . Note that the closed-loop input obtained via the receding horizon algorithm at time-instant is and hence .
Proposition 3.1 (Recursive feasibility).
Proof.
For the pH system in (E-OCP), the set is controlled forward invariant i.e. for any with there exists a such that . This is seen from the dissipation inequality (2.6) by letting and which leads to for any . Hence .
Suppose that (E-OCP) is feasible at the closed-loop state and let be the open-loop optimal input sequence for the initial condition . Owing to the feasibility of (E-OCP) at , we have for each , for each and so . Next, with initial state consider the control sequence if and . Clearly, the input for each and the corresponding state for each . Lastly, since is invariant with , . Hence, the optimal control problem (E-OCP) is feasible at the initial condition and recursively feasible for each under the receding horizon algorithm described in Section 2. ∎
Using defined in (2.7), in (2.9) and the set
we define the turnpike set to be
| (3.12) |
To establish the strict dissipativity of (E-OCP) with respect to the set in (3.12), we impose the following assumption.
Assumption 3.2.
The map is continuous and the turnpike set is nonempty.
Assumption 3.2 ensures that is compact. Indeed, by definition is a compact set and is closed. Continuity of map ensures that the conservative manifold is also closed. Hence compactness of follows from the structure of . Furthermore, via Assumption 3.2, there exists such that and . Next, we present a lemma that will be used to establish strict dissipativity of (E-OCP) w.r.t .
Lemma 3.3.
Proof.
Let , and . Using and (2.6), the left-hand side of (3.13) is written as
We will establish (3.13) by proving that there exists a class function such that
| (3.14) |
Note that the map is positive definite on with respect to the set because for all and if and only if . For , define
Using Assumption 3.2, we get that is well-defined since , , are nonempty compact sets and is a continuous map. In addition, (i) , (ii) for every and (iii) is a non-decreasing function of . Fix , which is well-defined. Select a class function such that for all . For , extend with an arbitrary class function to obtain . Then, (3.14) holds which further implies (3.13). ∎
The strict dissipation inequality in (3.13) holds for all admissible input and admissible state and hence it also holds for the optimal input and associated optimal state . Therefore, we naturally have strict dissipativity of (EOCP) w.r.t the turnpike set as per Definition 2.2 with stage cost
and in that definition. This can be checked by replacing , , with , and , respectively, in (3.13) and summing (3.13) over . We remark that the result in Lemma 3.3 utilizes energy-balance equation in (2.6). For the rest of the discussion in this section, instead of working with , we work with rotated stage cost . Using Lemma 3.3, we have
| (3.15) |
Using (2.10), the rotated optimal value function is and it rewritten as
| (3.16) |
for all and for all . The associated optimal control problem is obtained by replacing and with and , respectively. Note that the inequality in (3.15)-(3.16) is a result of the strict dissipativity with respect to property established in Lemma 3.3. Furthermore, recursive feasibility in Proposition 3.1 remains unaffected if we replace in terms of with in terms of .
Assumption 3.4 (Reachability of turnpike set ).
There exists such that for each there is a and an admissible control sequence , such that for , where , and depend on the initial state .
Assumption 3.4 ensures that the turnpike set is reachable from any state in a finite number of time steps. This is not restrictive since is a compact set and the optimal control problem is recursively feasible inside , see also Assumption 3.10 and Remark 3.12 in [27]. However, unlike [27] and most of the existing results on measure turnpike behavior via the strict dissipativity property, we do not have access to a controlled optimal steady-state, optimal periodic orbit or a general control-invariant set. Hence, one cannot ensure that a trajectory reaching some state inside can be forced to remain inside for the remaining part of the horizon. This makes it difficult to obtain the standard measure turnpike behavior, which usually requires an upper bound on that is independent of the horizon length. Such a horizon-independent bound is often established using uniform cost-bounded reachability assumption to the optimal steady-state, optimal periodic orbit or a general control-invariant set, see for instance [5, Proposition 4.1]. We handle the aforementioned difficulty using assumption below.
Assumption 3.5 (Cheap approximate forward invariance of ).
There exists a monotonically decreasing function such that for each there exists an admissible control sequence which ensures for each and for every . Furthermore, the cost associated cost with such a state sequence has an upper bound of the form
| (3.17) |
where with .
Assumption 3.5 ensures that once the state is initialized on the set , it can be steered inside an arbitrarily prescribed -neighborhood of for any sufficiently long horizon, to be brought back to at the end of the horizon. The accumulated rotated cost of this maneuver grows sub-linearly with its length. Consequently, the average rotated cost of such a maneuver vanishes as . The monotonicity of reflects the fact that smaller neighborhoods of impose a more restrictive requirement and may require longer horizons. If, in addition, the terminal condition in the statement of Assumption 3.5 is replaced with , then the maneuver is a periodic orbit. In the next result, we establish that for sufficiently large horizon , the open-loop optimal state sequence stays in a neighborhood of set for most part of the horizon.
Theorem 3.6 (Measure turnpike w.r.t ).
Suppose that Assumption 2.4 and Assumptions 3.2-3.5 hold. Let , be the open-loop optimal input sequence and with be the associated open-loop optimal state sequence originating from initial state . Then, for sufficiently large horizon , the cardinality44 4 For a set , we denote to be its cardinality. of the set satisfies
| (3.18) |
for each and every and some function .
Proof.
Fix and . For the initial state , consider the rotated optimal value function defined in (3.16) with the optimal input sequence . Rewrite the inequality in (3.16) using the sets and as
Since , we get from the inequality above. Next, identify with , and from Assumption 3.4 for initial condition . Then, using and , we obtain , from Assumption 3.5. Construct a feasible input sequence in the following way:
such that . By definition of , we have
| (3.19) |
The final inequality in (3.19) is a result of (3.17) and the face that we have a finite upper bound on since is compact. Using and , we get that . Finally, using the lower bound on along with the last inequality, implies that
| (3.20) |
which is (3.18) with . ∎
When an open-loop optimal solution exhibits standard measure turnpike behavior [4], the number of time-steps for which the optimal solution steps out of the -neighborhood of the turnpike remains uniformly bounded for any . However, the measure turnpike property in Theorem 3.6 is different from the standard notion in the following way: The total number of time-instants at which the optimal state trajectory moves out of -neighborhood of the turnpike can increase with but for sufficiently large , the fraction of these bad time-instants with respect to decreases and hence we obtain that the open-loop optimal solution spends most of its time near the turnpike set for most part of the horizon. In the next lemma, which is a direct consequence of Theorem 3.6, we show that there exist consecutive time-instants for which the open-loop optimal state remains in a -neighborhood of the turnpike set , when the horizon is chosen to sufficiently large.
Lemma 3.7 (Approximate interval turnpike w.r.t ).
Proof.
We will use proof by contradiction. Fix and let with optimal state for each with , where is obtained from Assumption 3.4 and is obtained from Assumption 3.5. Given and , suppose that there does not exist consecutive time-steps for any such that (3.21) holds. Then, the number of consecutive time-steps for which is at most . Then, , where is defined from Theorem 3.6. Upon rearranging this inequality, we get which results in
| (3.22) |
The last inequality is a result of
obtained by rearranging (3.20) in the proof of Theorem 3.6. We obtain a contradiction from (3.22), once we divide both sides of (3.22) by , let and use the fact that as . Hence, for sufficiently large , there must exist at least consecutive time-instant for which (3.21) holds. ∎
The next assumption ensures existence of an admissible input sequence which allows a cost-controlled state transition between two states inside a -neighborhood of .
Assumption 3.8 (Cost-controlled excursion around ).
Let . For any , any and there exists an admissible control sequence , scalar , with , and such that ,
| (3.23) | ||||
| (3.24) |
We remark that the state sequence originating from , via the admissible input defined by Assumption 3.8, are allowed to move outside the neighborhood of as long as such (3.24) holds for such an excursion. Recall to be the closed-loop state trajectory obtained by applying the MPC algorithm described below (2.11). The corresponding closed-loop control input applied at time-instant is . We now state the main result of this work: the closed-loop optimal state sequence of (E-OCP), obtained via (2.11) is practically stable with respect to the turnpike set in an averaged sense.
Theorem 3.9.
Proof.
Given , let to be sufficiently large such that the results stated in Lemma 3.7 hold for (E-OCP) with initial condition . Let be the open-loop optimal input sequence and be the corresponding open-loop optimal state sequence for which (3.21) hold. For ease of notation, we will denote , whenever obvious. To establish (3.25), we will show that for all chosen to be sufficiently large
| (3.26) |
holds for each , where . To check that (3.26) leads to (3.25), sum (3.26) over , simplify the right-hand side by performing telescopic sum and rearrange the terms to obtain
| (3.27) |
Using the inequality in (3.15) and the inequality in (3.16) which gives , (3.27) is rewritten as
Then, on dividing the aforementioned inequality by and taking the limit supremum over results in (3.25) by using the fact that is finite for any and .
Next, we prove the inequality in (3.26). For each and , recall the notation described above Proposition 3.1. Note that the closed-loop input applied at time-instant is and hence . Using Lemma 3.7, there exists a set of time-instants with and such that
Using the above inequality, we write
| (3.28) |
Furthermore, using Assumption 3.8 with (3.23)-(3.24), there exists an admissible control sequence , , with corresponding feasible state trajectory , , , such that , , for all and
| (3.29) |
where and . Consider a control sequence constructed in the following way:
| (3.30) |
Hence, the control sequence from state is
Using the control sequence of length as constructed in (3.30), the optimal value function satisfies
We rewrite the inequality above as
| (3.31) |
using the following observations: and
| (3.32) | ||||
| (3.33) |
where (3.32) is a result of principle of optimality which dictates that since is optimal over a horizon of length it must remain optimal for the horizon starting from and (3.33) is straightforward from for all and . On subtracting (3.31) from (3.28), we get
Using (3.32) and the fact that the rotated stage cost function is nonnegative, the aforementioned inequality simplifies to
Using (3.29) in the above inequality, we get
which is (3.26) with ∎
Remark 3.10 (Choice of the set ).
In presence of additional state constraint such that for each should hold for (E-OCP), we can fix by selecting . Hence, the constraint in (E-OCP) becomes an approximation of the additional constraint set . Such an approximation will yield conservative results and comes with a clear trade-off. Clearly, increasing will enlarge and improve the approximation but enlarging will lead to larger in Assumption 3.4. Hence an increase in choice of horizon in Theorem 3.9.
4 Numerical examples
In this section, we consider two numerical example to illustrate the results developed in the previous section. In Example 1 we consider a linear discrete-time pH system and in Example 2 we simulate the results for a nonlinear pH system. To perform the numerical simulations, we use CasADi, [1].
4.1 Example 1: Linear pH system
Consider a linear discrete-time pH system described by (2.4)-(2.5) with
, , , and . A straightforward computation shows that and . We fix , set and define the set accordingly. Note that Assumption 3.2 holds. Using these sets, define as per (3.12):
| (4.34) |
It can be checked that every point in is returnable to within six-steps using an admissible control sequence and the total accumulated rotated cost of such an excursion has a uniform upper bound. Hence Assumption 3.5 holds. The simulation plots for this example are shown in Figure 1 and Figure 3. Note that for , the tracking error remains positive, while it goes to zero with , as seen in Figure 1(c). The closed-loop state and input trajectory satisfy the constraint of associated (E-OCP) at all time-instants. The phase plot depicting the convergence of the closed-loop trajectories is depicted in Figure 3 for both the prediction horizons.
4.2 Example 2: Nonlinear pH system
Consider a discrete-time nonlinear pH system described by (2.4)-(2.5) with
where and . Hence,
To identify the conservative manifold , we compute
We fix . Clearly, is a compact and convex set with . We obtain which turns out to be a linear subspace. Next, we consider the finite-horizon optimal control problem stated in (E-OCP) with and . Hence, . We fix and use (3.12) to compute
| (4.35) |
Clearly, is nonempty as and compact. The map is twice continuously differentiable. Hence Assumption 3.2 holds. For any , we have with . Letting , we get that . Hence, for this example the set is control invariant. Infact, with any is driven to in a single time step. Hence Assumption 3.5 holds with and the accumulated rotated cost being zero and we can set . Consequently, the bound in Theorem 3.6 becomes uniform with respect to horizon length and we retrieve the standard measure turnpike property for this example.
The simulation plots for this example are in Figure 2 and Figure 4. Note that for , the tracking error remains positive, while it goes to zero with , as seen in Figure 2(c). The closed-loop state and input trajectory satisfy the constraint of associated (E-OCP), see Figure 2(b). Figure 2(d) shows phase-plot of the closed-loop trajectories.
5 Conclusion
In this work, we address an energy-optimal output stabilization problem for discrete-time port-Hamiltonian system using economic model predictive control algorithm. The dynamics of the pH system are described in difference and differential form. Under the assumption that the optimal control problem is strictly dissipative with respect to a set and exploiting the underlying pH structure, we establish a weaker measure turnpike property of the open-loop optimal solutions. The presented turnpike property is required since the set is not guaranteed to be control invariant. Using the measure turnpike property, we establish closed-loop practical stability for closed-loop system obtained by applying a receding horizon algorithm. We illustrate our results using two numerical examples. For future works, we will establish performance bounds on the closed-loop solutions of (E-OCP) obtained using dissipativity-based MPC algorithm and extend the ideas to pH systems with state-dependent input map and non-quadratic Hamiltonian.
Acknowledgment
Author V.K. Singh acknowledges Dr. Arijit Sarkar for discussions during the initial stage of this research.
References
- [1] (2019) CasADi – A software framework for nonlinear optimization and optimal control. Mathematical Programming Computation 11 (1), pp. 1–36. External Links: Document Cited by: §4.
- [2] (2023) Modeling minimum cost network flows with port-hamiltonian systems. Proceedings in Applied Mathematics and Mechanics 23 (1), pp. e202200224. External Links: Document Cited by: §1.
- [3] (2018) Analysis of economic model predictive control with terminal penalty functions on generalized optimal regimes of operation. International Journal of Robust and Nonlinear Control 28 (16), pp. 4790–4815. External Links: Document Cited by: §1, §1.
- [4] (2015) On the design of economic NMPC based on approximate turnpike properties. In 54th IEEE Conference on Decision and Control (CDC), pp. 4964–4970, Osaka, Japan. External Links: Document Cited by: §1, §3.
- [5] (2018) Economic nonlinear model predictive control. Foundations and Trends® in Systems and Control 5 (1), pp. 1–98. External Links: Document Cited by: §1, §3.
- [6] (2025) Hidden regularity in singular optimal control of port-Hamiltonian systems. DAE Panel 3. External Links: Document Cited by: §1.
- [7] (2022) Optimal control of port-Hamiltonian descriptor systems with minimal energy supply. SIAM Journal on Control and Optimization 60 (4), pp. 2132–2158. External Links: Document Cited by: §1.
- [8] (2025) Port-Hamiltonian modeling and control of electric vehicle charging stations. IEEE Transactions on Transportation Electrification 11 (1), pp. 2897–2907. External Links: Document Cited by: §1.
- [9] (2016) On the relation between strict dissipativity and turnpike properties. Systems & Control Letters 90, pp. 45–53. External Links: Document Cited by: §1.
- [10] (2017) Nonlinear model predictive control: theory and algorithms. 2 edition, Communications and Control Engineering, Springer International Publishing, Cham. External Links: Document, ISBN 978-3-319-46024-6 Cited by: §1, §1.
- [11] (2014) Asymptotic stability and transient optimality of economic MPC without terminal conditions. Journal of Process Control 24 (8), pp. 1187–1196. External Links: Document Cited by: §1.
- [12] (2013) Economic receding horizon control without terminal constraints. Automatica 49 (3), pp. 725–734. External Links: ISSN 0005-1098, Document Cited by: §1, §1.
- [13] (2020) Port-Hamiltonian modeling of district heating networks. In Progress in Differential-Algebraic Equations II, T. Reis, S. Grundel, and S. Schöps (Eds.), pp. 333–355. External Links: Document Cited by: §1.
- [14] (2024) Manifold turnpikes of nonlinear port-Hamiltonian descriptor systems under minimal energy supply. Mathematics of Control, Signals, and Systems 36 (3), pp. 707–728. External Links: ISSN 1435-568X, Document Cited by: §1.
- [15] (2026) Discrete gradient methods for port-hamiltonian differential-algebraic equations. Applied Numerical Mathematics 223, pp. 45–75. External Links: ISSN 0168-9274, Document Cited by: Remark 2.6.
- [16] (2019) Discrete-time port-Hamiltonian systems: a definition based on symplectic integration. Systems & Control Letters 133, 104530. External Links: Document Cited by: Remark 2.6.
- [17] (2021) Symplectic discrete-time energy-based control for nonlinear mechanical systems. Automatica 133, pp. 109842. External Links: ISSN 0005-1098, Document Cited by: Remark 2.6.
- [18] (2023) Control design for a class of discrete-time port-Hamiltonian systems. IEEE Transactions on Automatic Control 68 (12), pp. 8224–8231. External Links: Document Cited by: Remark 2.6.
- [19] (2024) Discrete-time control by interconnection using energy-preserving collocation methods. IFAC-PapersOnLine 58 (6), pp. 172–177. External Links: Document Cited by: Remark 2.6.
- [20] (1998) Discrete-time state representations, a new paradigm, perspectives in control: theory and applications. In Perspectives in Control: Theory and Applications, pp. 191–203. External Links: ISBN 978-1-4471-1276-1, Document Cited by: §1, §2.
- [21] (2011) Nonlinear average passivity and stabilizing controllers in discrete time. Systems & Control Letters 60 (6), pp. 431–439. External Links: ISSN 0167-6911, Document Cited by: Remark 2.5.
- [22] (2021) Modeling and control of discrete-time and sampled-data port-Hamiltonian systems. Ph.D. Thesis, Università degli Studi di Roma La Sapienza. External Links: Link Cited by: §2.
- [23] (2019) Discrete port-controlled Hamiltonian dynamics and average passivation. In 58th IEEE Conference on Decision and Control, Vol. , pp. 1430–1435, Nice, France. External Links: Document Cited by: §1, Remark 2.5, §2.
- [24] (2023) Dirac structures for a class of port-Hamiltonian systems in discrete time. IEEE Transactions on Automatic Control. External Links: Document Cited by: Remark 2.5, §2.
- [25] (2021) Dissipativity in economic model predictive control: beyond steady-state optimality. In Recent Advances in Model Predictive Control: Theory, Algorithms, and Applications, T. Faulwasser, M. A. Müller, and K. Worthmann (Eds.), pp. 27–43. External Links: ISBN 978-3-030-63281-6, Document Cited by: §1.
- [26] (2016) Economic model predictive control without terminal constraints for optimal periodic behavior. Automatica 70, pp. 128–139. External Links: ISSN 0005-1098, Document Cited by: §1, §1.
- [27] (2024) Optimal control of port-Hamiltonian systems: energy, entropy, and exergy. Systems & Control Letters 194, pp. 105942. External Links: Document Cited by: §1, §2, §3.
- [28] (2021) Minimizing the energy supply of infinite-dimensional linear port-Hamiltonian systems. IFAC-PapersOnLine 54 (19), pp. 155–160. External Links: ISSN 2405-8963, Document Cited by: §1.
- [29] (2026) Optimization-based control by interconnection of nonlinear port-Hamiltonian systems. External Links: 2602.06670 Cited by: §1.
- [30] (2013) Modelling and control of multi-energy systems: an irreversible port-Hamiltonian approach. European Journal of Control 19 (6), pp. 513–520. External Links: ISSN 0947-3580, Document Cited by: §1.
- [31] (2025) Lumped parameter reduced-order port-Hamiltonian modeling of flexible structures. IFAC-PapersOnLine 59 (19), pp. 544–549. External Links: ISSN 2405-8963, Document Cited by: §1.
- [32] (2025) Energy-optimal control of discrete-time port-Hamiltonian systems. IEEE Control Systems Letters (), pp. 1526–1531. External Links: Document Cited by: §1, §1, Remark 2.6, §2, §2, §2.
- [33] (2021) Control of port-Hamiltonian systems with minimal energy supply. European Journal of Control 62, pp. 33–40. External Links: Document Cited by: §1, §2.
- [34] (2024) Energy-optimal control of adaptive structures. at - Automatisierungstechnik 72 (2), pp. 107–119. External Links: Document Cited by: §1.
- [35] (2022) Willems’ fundamental lemma for linear descriptor systems and its use for data-driven output-feedback mpc. IEEE Control Systems Letters 6 (), pp. 2443–2448. External Links: Document Cited by: Remark 2.1.
- [36] (2023) Stage-cost design for optimal and model predictive control of linear port-hamiltonian systems: energy efficiency and robustness. Proceedings in Applied Mathematics and Mechanics 23 (4), pp. e202300296. External Links: Document Cited by: §1.
- [37] (2025) A port-Hamiltonian modeling approach for integrated hydrogen systems. In 2025 IEEE 64th Conference on Decision and Control (CDC), Vol. , pp. 555–560. External Links: Document Cited by: §1.
- [38] (2022) Port-Hamiltonian modeling of hydraulics in 4th generation district heating networks. In 2022 IEEE 61st Conference on Decision and Control (CDC), pp. 1182–1189. External Links: Document Cited by: §1.
- [39] (2004) Port-Hamiltonian systems: network modeling and control of nonlinear physical systems. In Advanced Dynamics and Control of Structures and Machines, H. Irschik and K. Schlacher (Eds.), pp. 127–167. External Links: Document Cited by: §1.
- [40] (2014) Port-Hamiltonian systems theory: an introductory overview. Foundations and Trends® in Systems and Control 1 (2-3), pp. 173–378. External Links: Document Cited by: §1, §2.
- [41] (2013) Port-Hamiltonian systems on graphs. SIAM Journal on Control and Optimization 51 (2), pp. 906–937. External Links: Document Cited by: §1.
- [42] (2017) Periodic optimal control, dissipativity and mpc. IEEE Transactions on Automatic Control 62 (6), pp. 2943–2949. External Links: Document Cited by: §1.