Next Article in Journal
Adaptive Memory-Controlled Self-Attention for Polyphonic Sound Event Detection
Previous Article in Journal
Frame Identification of Object-Based Video Tampering Using Symmetrically Overlapped Motion Residual
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

MGPS: Midpoint-Series Group Preserving Scheme for Discretizing Nonlinear Dynamics

1
Chengdu Institute of Computer Application, Chinese Academy of Sciences, Chengdu 610041, China
2
School of Computing Science and Technology, University of Chinese Academy of Sciences, Beijing 100049, China
3
Guangxi Key Laboratory of Hybrid Computation and IC Design Analysis, Guangxi University for Nationalities, Nanning 530006, China
*
Author to whom correspondence should be addressed.
Symmetry 2022, 14(2), 365; https://doi.org/10.3390/sym14020365
Submission received: 31 December 2021 / Revised: 1 February 2022 / Accepted: 8 February 2022 / Published: 12 February 2022
(This article belongs to the Section Mathematics)

Abstract

:
In this article, we propose a new computational method for initial value problems in ordinary differential equations. The algorithm combines the merits of the group preserving scheme (GPS), which has the ability of avoiding possible spurious solutions utilizing the inherent symmetry group, the cone structure of the nonlinear dynamical system, and the classic midpoint rule. The error and stability analysis are included to demonstrate the convergence properties of the presented method. From the numerical experimental results we obtained, the algorithm can be said to be computationally effective and possesses better simulation ability generally. Meanwhile, it works well with the periodic Hamiltonian system.

1. Introduction

Systems of ordinary differential equations (ODEs) are most versatile for characterizing the behavior of dynamical systems. They are ubiquitous in fields such as science and engineering as well as physical processes, biology, etc. ODEs, partial differential equations (PDEs), as well as other types of equations can then be used to model systems in continuous time (e.g., integro-differential or delay equations). In discrete time, they can be depicted by state machines, Petri nets, finite automata, and so on. As an example, consider the most important hybrid system. Figure 1 illustrates a simple hybrid system: the self-regulating thermostat, which is well characterized by a hybrid automaton. There are two states, o n and o f f , denoted by q 0 and q 1 , respectively. The temperature is symbolized by the real-valued variable x. The two ODEs are used to portray the evolution of the continuous operation in the state q 0 cooling and q 1 state warming, separately. Initially, the system is in the q 0 state, i.e., o f f , and the temperature is x = 20 , which drops depending on the flow condition x ˙ = 0.1 x . As the temperature falls below 19, the system state switches from q 0 to the o n state q 1 . The heater opens and the temperature increases depending on the flow condition x ˙ = 5 0.1 x . The state switches from q 1 to the o f f q 0 if the temperature exceeds 21. Subject to the invariant term x 18 , the heater is triggered when the temperature falls to 18 degrees at the least.
From this example, one crucial step for various tasks is solving the flow condition that characterizes the continuously dynamic evolution. Formally, ϕ q : X × R X denotes a flow on X R n in state q, which is x ˙ = f ( x ) about variable X. I n v q X is the domain of permitted evolution in q. Δ i R + is the operation time. γ i : [ 0 , Δ i ] X denotes the curve. For all t [ 0 , Δ i ] , γ i ( t ) = ϕ q i ( γ i ( 0 ) , t ) and γ i ( t ) I n v q i . The subsequent sections cover how our proposed approach can be used to obtain the discretized flow pipes.
Many successes have been obtained in linear systems with various mathematical models such as convex polyhedra [1], griddy polyhedra [2], zonetope [3], ellipsoidal [4], and support function [5] used for approximate simulations expressing the reachable set of hybrid systems. Many traditional tools have emerged for verifying linear hybrid systems, such as HYTECH [6], D/DT [7], CheckMate [8], PHAVER [9], SpaceEx [10], etc.
Nevertheless, for a large number of nonlinear continuous systems, no analytical solution exists and, even if it did, it would be prohibitively expensive to work out and understand its properties. When dealing with continuous and hybrid systems observed over real numbers, the term “exact” is insufficient because there may be numerical errors in observation, noise, and other nonidealities [9,11] over-approximating complex dynamics with simple rectangular flow constraints on the dotted variables, which is operative under some relatively simple nonlinear dynamics. However, the mass of the approximation may be too rough to meet the needs of security verification with comparatively high accuracy requirements.
Applying numerical analysis methods to discrete nonlinear flow constraints is also a proven method. The numerical approximation ”captures“ the behavior of the analytical solution, which is one of the most desirable properties of numerical schemes. Many classical numerical methods have been proposed for this task in the past, such as Euler and Heun, Runge–Kutta, and some others. Normally, the first-order numerical method is easy to implement and low in complexity, but the global error is large and unsuitable for systems with high accuracy requirements. Conversely, higher-order methods such as the Runge–Kutta method can produce numerical solutions with higher accuracy but at the expense of complexity. Furthermore, the spurious solution problem persists in these traditional numerical methods.
As a valuable class of numerical analysis schemes, geometric numerical integration methods serve a vital role since they respect the structure of the problem, which is of a geometric nature. In connection with the geometric characteristics of specific systems, mathematicians and physicists have formulated various numerical algorithms for structure preservation. In [12], a nonstandard finite-difference approach was developed for the Lotka–Volterra system, an essential predator–prey interaction mathematical model. Hamiltonian systems are dominated by the Hamiltonian equations and are prevalent in modern physics in an extensive variety of problems. To preserve the contact transformation property of the Hamilton equations, Ref. [13] devised methods of integration of Hamilton equations and presented many important findings on numerical symplectic integration for the first time, including the symplectic Euler method. Ref. [14] later concludes that the leapfrog method is symplectic. Refs. [15,16] systematically proposed the Hamiltonian equations and the Hamiltonian algorithm (i.e., the symplectic geometric algorithm), and opened up a new field of Hamiltonian algorithms. Ref. [17] discussed the discrete analogue of the gradient of a function and showed how discrete gradients can be used in the numerical integration of ODEs. Ref. [18] implemented a modified discrete gradient method for the purpose of preserving (almost completely) small oscillation periods of any time step. Ref. [19] proposed locally exact discrete gradient numerical integrators, which substitute a function for its step size and exactly preserve the energy integral. Ref. [20] goes further to develop the results of the above literature to the Nth order. Refs. [21,22] presented a new geometric integrator, which combines the implicit midpoint rule (IMR, i.e., second-order implicit Runge–Kutta method) [23] with an appropriate spatial discretization in the PDE cases. It can retain the energy properties of the solution [24], and the function f needs to be evaluated only once at each step (single-step method, unlike many other Runge–Kutta methods).
Unfortunately, the foregoing numerical approaches either suffer from so-called spurious solutions and ghost fixed points, or are feasible solely for certain systems. In order to avoid the flaws, ref. [25] firstly devised the group preserving scheme (GPS) by utilizing inherent symmetry group and the (null) cone structure of the nonlinear dynamical system. For the aim of improving the accuracy of GPS, an enhanced GPS is proposed in [26]. In this paper, combining the merits of the implicit midpoint rule and GPS, we construct a novelty midpoint group preserving scheme (MGPS). Compared with enhanced GPS, which is also a predictor–corrector method, MGPS overcomes some weaknesses of enhanced GPS.
  • The predictor. In enhanced GPS, the Euler method with the same step size is used to calculate x n + 1 , while MGPS uses GPS to calculate x n + 1 , which can obtain the same benefits as the advantages of GPS over the Euler method.
  • The corrector. When computing η n e , the enhanced GPS replaces x n with x ¯ n ; the MGPS remains unchanged and is still used to calculate η n e . This improves the accuracy while ensuring that the cone structure is held.
The remaining parts of this paper are structured below. Section 2 firstly introduces GPS and analyzes its stability property. Then, we devise the midpoint group preserving scheme (MGPS) and details of error and stability properties. Some numerical tests are conducted to assess the effectiveness of the proposed solver in Section 3. The numerical results are very encouraging. This demonstrates improved performance and higher accuracy compared with other well-known second-order methods present in the literature. Finally, Section 4 sums up this work and addresses the path for the future.

2. Discretization

Discretization of the nonlinear continuous dynamic evolution is a vital measure to understand the properties of the system while differential equations have no explicit solutions. Consider the following ordinary differential equation with the initial value
x ˙ ( t ) = f ( t , x ( t ) ) , x ( t 0 ) = x 0 , t R , x R k
It is commonly utilized to demonstrate the attributes and behaviors of dynamic systems. x represents k-dimensional state vector, and f denotes a vector function about x and t. The Lipschitz condition is assumed to ensure the existence and uniqueness of the solution:
| f ( t , x 1 ) f ( t , x 2 ) | L ( | x 1 x 2 | ) ( t , x 1 ) , ( t , x 2 ) R × R k
Suppose that the running time delay Δ i is uniformly partitioned into n steps. A sequence of time-value pairs { ( t j , u j ) , j { 0 , , n 1 } } are generated along a solution curve. Take the Euler method as an example, we can obtain curve γ i ( j n · Δ i ) I n v q i at each time point t j = j n · Δ i , where I n v q i denotes the collection that meets I n v q i . The continuous trajectory is thus converted into a finite discrete-time sequence in this manner: η = q 1 , Δ 1 · 0 , γ 1 ( 0 ) t q 1 , Δ 1 · 1 n , γ 1 ( Δ 1 · 1 n ) t t q 1 , Δ 1 · n 1 n , γ 1 ( Δ 1 · n 1 n ) r q 1 , q 2 q 2 , Δ 2 · 0 , γ 2 ( 0 ) t .
Unfortunately, spurious solutions and ghost fixed points are broadly present in classical numerical methods and may yield unpredictable outcomes. The problem of such spurious solutions schemes is studied in [27] when first-order differential equations are computed employing the Runge–Kutta. Ref. [25] devised a group preserving scheme in the Minkowski space utilizing homogeneous coordinates to avoid the shortcomings, which serve as the foundation of our approach.

2.1. Group Preserving Scheme

The idea of GPS is that embedding Equation (1) into k + 1 dimensional augmented dynamical system yields the equation below.
d d t x x = 0 k × k f ( t , x ) x f T ( t , x ) x 0 x x
The first equation in (3) is obviously identical to the original Equation (1), and with the addition of the second equation, we obtain an enhancement of X : = ( x T , x ) T Minkowskian structure of state variables meeting the cone condition
X T gX = 0
Herein, g denotes Minkowski metrics and is expressed by
g = I k 0 k × 1 0 1 × k 1
where I k signifies the k-order identity matrix. The inference below leads to this conclusion:
X T gX = x · x x 2 = x 2 x 2 = 0
Then, as a result of the previously stated cone condition, Equation (3) has now become
X ˙ = A ( t , X ) X
where
A ( t , X ) : = 0 k × k f ( t , x ) x f T ( t , x ) x 0
It is a (local) Lie algebra of the proper orthochronous Lorentz group SO o ( k , 1 ) that fulfills
A T g + gA = 0
This motivates the development of the so-called group preserving scheme with discretized mapping G that preserves exactly the following attributes [25]:
G T gG = g det G = 1 G 0 0 > 0
G 0 0 denotes the 00-th element of G , whereas det signifies the abbreviation for determinant. Provided that X n is the value of X at t = t n , it is required to work out X n + 1 at t = t n + 1 . It can be known from Equation (8) that A is not a constant matrix. Let h = t n + 1 t n . Then, the GPS is formulated by
X n + 1 = G ( n ) X n
G ( n ) SO o ( k , 1 ) denotes the group value at t n . The rest of the issue is determining how to obtain the expression of G ( n ) . The exponential mapping is adopted to calculate G ( n ) with the next expression:
G ( n ) = e x p [ h A ( n ) ] = I k + ( a n 1 ) f n 2 f n f n T b n f n f n b n f n T f n a n
where
a n : = c o s h ( h f n x n ) , b n : = s i n h ( h f n x n )
The first line of the formula (11) is picked up and one obtains
x n + 1 = x n + η e f n
where
η e : = ( a n 1 ) f n · x n + b n x n f n f n 2
From a n > 1 , h > 0 and f n x n f n · x n f n x n , the inequalities can be concluded:
η e e x p ( h f n x n ) 1 x n f n η e 1 e x p ( h f n x n ) x n f n

Stable Analysis

This section will analyze the stability of the GPS (14). Regularly, the following test equation is used for analyzing numerical schemes’s stability.
x = λ x , x ( 0 ) = x 0
whereby λ is a complex number. It is also assumed that x 0 0 , which would otherwise infer trivial zero solutions. Putting (17) into (14), one obtains
x 1 = x 0 + η 0 e f 0 = x 0 + η 0 e ( λ x 0 ) = ( 1 + λ η 0 e ) x 0 x 2 = x 1 + η 1 e f 1 = x 1 + η 1 e ( λ x 1 ) = ( 1 + λ η 0 e ) ( 1 + λ η 1 e ) x 0
Inductively,
x n + 1 = x 0 i = 1 n ( 1 + λ η i e )
is derived. The analytical solution x = x 0 e λ t ultimately converges to 0 as t goes to infinity under the restriction R e ( λ ) < 0 . In numerical terms, it is corresponding to the situation where x n becomes 0 when n becomes infinite in Equation (18). In order to meet this condition, it needs
i = 1 n | ( 1 + λ η i e ) | < 1
Besides, the following Equations (20)–(25) could be clearly deduced.
x · x = x 2
f = ( λ x ) ( λ x ) = | λ | x
f · f = f 2 = | λ | 2 x 2
f · x = λ x · x = λ x 2
x · f = x · λ x = | λ | x 2
b n a n = e h f n x n = e h | λ |
Hence, Equation (15) can be transformed into
η n e = ( a n 1 ) λ x n 2 + b n | λ | x n 2 | λ | 2 x n 2 = ( a n 1 ) λ + b n | λ | | λ | 2
In practice, λ R is often restricted; then, when λ < 0 , Equation (26) could be transformed into
η n e = ( a n 1 ) λ b n λ ( λ ) ( λ ) = b n ( a n 1 ) λ = 1 e h | λ | λ = 1 e h λ λ
Consequently, Equation (18) is deduced
x n + 1 = x 0 i = 1 n ( 1 + e h λ 1 ) = x 0 ( e h λ ) n
Thus, e h λ < 1 for h > 0 , which implies that the interval of absolute stability contains ( , 0 ) .

2.2. Midpoint Group Preserving Scheme

As the well-known second-order Runge–Kutta method, the implicit midpoint rule is a predictor–corrector numerical algorithm. The predicted value at t n + 1 2 is approximated by Euler’s method with a half step [23]
x n + 1 = x n + h f ( t n + 1 2 , x n + x n + 1 2 ) , t n + 1 2 = t n + h 2
The improvement of the midpoint method is to as accurately as possible obtain some of the curvature that will occur in the solution before calculating x n + 1 . Integrating the notion of GPS (14), step size h is replaced with η n e . Thus, the midpoint group preserving scheme can be formulated naturally
x n + 1 = x n + η n e f n x n + 1 = x n + η n e f ( t n + 1 2 , x n + x n + 1 2 )
where η n e is the same as the definition of (15). In the following subsections, we will discuss its error estimator and stability analysis.

2.2.1. Error Analysis

Firstly, we consider the error associated with the proposed algorithm (30). Let the local truncation error be e n ; then,
x ( t n + 1 ) = x ( t n ) + η n e f ( t n + 1 2 , x ( t n ) + x ( t n + 1 ) 2 ) + e n
We slightly modify the right-hand side and write
x ( t n + 1 ) = x ( t n ) + η n e f ( t n + 1 2 , x ( t n + 1 2 ) ) + e n 1 + e n
Then, by Lipschitz condition (2),
| e n 1 | = η n e | f ( t n + 1 2 , x ( t n ) + x ( t n + 1 ) 2 ) f ( t n + 1 2 , x ( t n + 1 2 ) ) | 1 2 η n e L | x ( t n ) + x ( t n + 1 ) 2 x ( t n + 1 2 ) |
and expanding x ( t n + 1 ) and x ( t n + 1 2 ) in Taylor series about point t n with x = x ( t n ) , we have
| e n 1 | 1 2 η n e L | x + ( x + h x ) 2 ( x + 1 2 h x ) + O ( h 2 ) |
In practice, since | η n e h | = O ( h ) , the right side of (34) is O ( h 3 ) . Now, from (32), since f ( t , x ( t ) ) = x ( t ) , we obtain
e n 1 + e n = x ( t n + 1 ) x ( t n ) η n e x ( t n + 1 2 ) = h x + 1 2 h 2 x η n e ( x + 1 2 h x ) + O ( h 3 ) = O ( h 3 )
Hence,
| e n | | e n 1 | + O ( h 3 ) c h 3
Thus, local truncation error e n is bounded.
Next, let the global truncation error E n = x ( t n ) x n . The recurrence relation for E n is obtained by subtracting (30) from (31)
E n + 1 = E n + η n e ( f ( t n + 1 2 , x ( t n ) + x ( t n + 1 ) 2 ) f ( t n + 1 2 , x n + x n + 1 2 ) ) + e n
The Lipschitz condition implies
| E n + 1 | | E n | + 1 2 η n e L | x ( t n ) + x ( t n + 1 ) 2 x n + x n + 1 2 | + | e n | | E n | + 1 2 η n e L ( | E n | + | E n + 1 | ) + c h 3
Thereby,
| E n + 1 | 1 + 1 2 η n e L 1 1 2 η n e L | E n | ) + c h 3 1 + 1 2 ( h + c n O ( h 2 ) ) L 1 1 2 ( h c n O ( h 2 ) ) L + c h 3 c n > 0
Let R = m a x { c 0 O ( h 2 ) , c 1 O ( h 2 ) , , c n O ( h 2 ) } and r = m i n { c 0 O ( h 2 ) , c 1 O ( h 2 ) , , c n O ( h 2 ) } ; then,
| E n + 1 | 1 + 1 2 ( h + R ) L 1 1 2 ( h r ) L + c h 3
Now, the relations of the form
| E n + 1 | A | E n | + B , n 0 , E 0 = 0
provide the estimate
| E n + 1 | B ( 1 + A + A 2 + + A n ) = B A n + 1 1 A 1
Since 1 2 1 1 2 ( h r ) L 1 for small h, we have
A 1 = ( h + 1 2 ( R + r ) ) L 1 1 2 ( h r ) L ( h + 1 2 ( R + r ) ) L
A n + 1 = ( 1 + ( h + 1 2 ( R + r ) ) L 1 1 2 ( h r ) L ) n + 1 ( 1 + 2 ( h + 1 2 ( R + r ) ) L ) n + 1 e 2 ( h + 1 2 ( R + r ) ) L ( n + 1 )
whence
| E n + 1 | 1 ( h + 1 2 ( R + r ) ) L e 2 ( h + 1 2 ( R + r ) ) L ( n + 1 ) c h 3 c 1 h 3
with a constant c 1 that only depends on L and t, i.e., we have uniform convergence in any finite interval [0, t].

2.2.2. Stability Analysis

Just as previously discussed in Section 2, according to Equation (17), we obtain
x n + 1 = x n + η n e λ ( x n + η n e 2 λ x n )
= x n ( 1 + η n e λ + 1 2 ( η n e λ ) 2 )
Similarly, if λ R is adopted and λ < 0 ; then, substituting Equation (27) into Equation (30)
x n + 1 = x n ( e h λ + 1 2 )
For any h > 0 , 0 < e h λ + 1 2 < 1 ; thus, it also has intervals of absolute stability containing ( , 0 ) .

2.3. Scalability

As a matter of fact, along this line of thought, more classes of midpoint-like group preserving schemes can be extended.
x n + 1 = x n + η n , 1 2 e f n x ¯ n + 1 = x n + η n , 1 2 e f n ( x n + 1 ) x n + 1 = x n + η n e f ( t n + 1 2 , x n + x ¯ n + 1 2 )
Comparing Equations (30) and (49), it is intuitively clear that the prediction function has been further optimized, while the correction function remains in the same format. This optimization is worthwhile as evidenced by the following examples 3 and 4. This scheme is shorthanded as OMGPS hereafter.

3. Experiments

In this section, the experiments will be conducted in two types of examples: one for regular continuous dynamical systems (Examples 1 and 2) and the other for two special types of systems, Kolmogorov systems (Example 3) and Hamiltonian systems (Example 4). The proposed method and other second-order methods are adopted and compared. All tests are performed in MATLAB R2020a.

3.1. Example 1

The following nonlinear differential equation is use to describe population growth in a nonlinear hybrid system [11]
x 1 ˙ = ( 2000 x 2 5 x 1 ) x 1 x 2 ˙ = ( 4 x 1 2600 4 x 2 ) x 2
where initial value x 0 = { 900 , 150 } and time t = 0.008 . Its true solutions are simulated using explicit Euler scheme with a step size of h = 0.00001 , and other numerical methods have the same step size h = 0.001 . Figure 2 shows their computation results. It is evident that GPS deviates from the real curve by a large margin. The simulation outcomes of midpoint, Heun, enhanced-GPS, and MGPS are quite close to each other. By comparison clearly, OMGPS is on top of them. This is also in accordance with the optimization point of Section 2.3.

3.2. Example 2

The second example is taken from the literature [26], which is a two-dimensional continuous system. Starting from initial set x 0 = { 1 , 0 } , the system evolves from time 0 to 25.
x 1 ˙ = x 2 x 2 ˙ = x 1 + 1 3 x 1 3 x 2
Similarly, applying explicit Euler method with h = 0.0001 simulates the true curve. h = 0.5 is adopted for the remaining methods. The simulation results are exhibited in Figure 3. Apparently, The conclusion reached is identical to the first example.

3.3. Example 3

The Lotka–Volterra system is an important mathematical model for depicting predator–prey interactions in the dynamics of biological systems. The Lotka–Volterra equations can be written simply as follows:
x 1 ˙ = a x 1 b x 1 x 2 x 2 ˙ = c x 2 + d x 1 x 2
It was mentioned earlier that [12] proposes a nonstandard finite-difference scheme (abbreviated here as NSFD) for this system, and to facilitate comparison, the same parameters as in [12] are employed here for the test, namely, a = b = c = d = 1 . As can be seen in Figure 4, the numerical integration results of MGPS form a closed curve, which is consistent with the results of NSFD and is very close to the true value, which is simulated using the Euler method with a step size of 0.0001. The Figure 5 exhibits more clearly the error accuracy of several methods, and the superiority of MGPS is noticeable.

3.4. Example 4

The last example is oriented towards Hamiltonian systems and comes from the literature [19], which demonstrates the GR family of methods( GR , MOD _ GR , GR _ LEX , GR _ SLEX ). From this, we chose GR _ SLEX for comparison. The Hamiltonian system is the simple pendulum H = p 2 2 c o s x . The corresponding ODE is
x ˙ = H p = p p ˙ = H x = s i n x
Here, two sets of experiments were conducted adopting the same parameters as those listed above in the literature—that is, h = 0.25 and h = 0.01 . The rest of parameters are x 0 = 0 , p 0 = 1.8 , t = 20 . In Figure 6, GPS performs very poorly and yields erroneous results. In Figure 7, however, the true value is better simulated, but the accuracy in comparison with the other two methods is inferior. This illustrates the fact that GPS is less stable in the Hamilton system. When dealing with this type of problem with GPS, a relatively small h is recommended. In both sets of experiments, MGPS and GR _ SLEX are reliably capable of modeling the true values. Figure 8 and Figure 9 express that GR _ SLEX has better accuracy. With the step size becoming smaller, the precision gap of MGPS and GR _ SLEX is narrowing, and it can be seen from Figure 9 that MGPS nearly has the same level of error accuracy as GR _ SLEX . Regarding the running efficiency, we executed two sets of trials—one with 20,000 iterations and the other with 200,000 iterations, to minimize the effect of other factors—and averaged the running time after three runs for each group. The outcome of the experimental data is placed in Appendix A and shows that when the number of iterations is not large, the running times are comparable, and vice versa, GR _ SLEX is superior. Although M G P S is not computed serially, this strength cannot be fully exploited at low dimensions.

4. Conclusions

Computing flow pipes is a highly significant problem in the verification of hybrid systems. This paper constructs an easy-to-implement and extensible midpoint-series group preserving scheme from a numerical analysis point of view, making use of the classical midpoint method and the symmetry of the group structure. Yet, the verification of hybrid systems faces several more problems than this one. How to effectively detect the termination of continuous evolution is another very important issue. To the best of our knowledge, there is no viable numerical approach. How to better solve this problem and the solution of high-dimensional nonlinear dynamic equations will be the focus of our future work.

Author Contributions

Conceptualization, Z.X. and J.W.; methodology, Z.X.; software, Z.X.; validation, Z.X. and J.W.; formal analysis, Z.X.; investigation, Z.X.; resources, Z.X.; data curation, Z.X.; writing—original draft preparation, Z.X.; writing—review and editing, J.W.; visualization, Z.X.; supervision, J.W.; project administration, J.W.; funding acquisition, J.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China under Grant No. 61772006, the Science and Technology Major Project of Guangxi under Grant No. AA17204096, the Key Research and Development Project of Guangxi under Grant No. AB17129012, and the Special Fund for Bagui Scholars of Guangxi.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data is contained within the article.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Table A1. Running time data for MGPS and GR_SLEX. The CPU is an Intel(R) Core(TM) i7-10750H CPU @ 2.60 GHz 2.59 GHz with 32 G of RAM. t = 20 h.
Table A1. Running time data for MGPS and GR_SLEX. The CPU is an Intel(R) Core(TM) i7-10750H CPU @ 2.60 GHz 2.59 GHz with 32 G of RAM. t = 20 h.
Number of Iterations (and Step Size)Scheme NameRunning Time (s)Average Running Time (s)
20,000 (h = 0.0001)MGPS66.445067.3003
68.4420
67.0140
GR_SLEX65.605067.844
71.1950
66.7320
200,000 (h = 0.00001)MGPS8.7665 × 10 3 8.5724 × 10 3
8.4467 × 10 3
8.5039 × 10 3
GR_SLEX7.9818 × 10 3 7.9215 × 10 3
7.8997 × 10 3
7.8831 × 10 3

References

  1. Chutinan, A. Hybrid System Verification Using Discrete Model Approximations. Ph.D. Thesis, Carnegie Mellon University, Pittsburgh, PA, USA, 1999. [Google Scholar]
  2. Asarin, E.; Bournez, O.; Dang, T.; Maler, O.; Pnueli, A. Effective synthesis of switching controllers for linear systems. Proc. IEEE 2000, 88, 1011–1025. [Google Scholar] [CrossRef] [Green Version]
  3. Girard, A. Reachability of uncertain linear systems using zonotopes. In Hybrid Systems: Computation and Control; Morari, M., Thiele, L., Eds.; Springer: Berlin/Heidelberg, Germany, 2005; Volume 3414, pp. 291–305. [Google Scholar]
  4. Kurzhanskiy, A.A.; Varaiya, P. Ellipsoidal techniques for reachability analysis of discrete-time linear systems. IEEE Trans. Autom. Control 2007, 52, 26–38. [Google Scholar] [CrossRef]
  5. Le Guernic, C.; Girard, A. Reachability analysis of hybrid systems using support functions. In Computer Aided Verification; Springer: Berlin/Heidelberg, Germany, 2009; pp. 540–554. [Google Scholar]
  6. Henzinger, T.A.; Ho, P.H.; Wong-Toi, H. HYTECH: A model checker for hybrid systems. In Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 1998; Volume 1254, pp. 460–463. [Google Scholar]
  7. Asarin, E.; Bournez, O.; Dang, T.; Maler, O. Approximate Reachability Analysis of Piecewise Linear Dynamical Systems. In Proceedings of the HSCC 00: Hybrid Systems—Computation and Control; Springer: Berlin/Heidelberg, Germany, 2000; Volume 1790, pp. 20–31. [Google Scholar]
  8. Chutinan, A.; Krogh, B.H. Verification of Polyhedral-Invariant Hybrid Automata Using Polygonal Flow Pipe Approximations. In International Workshop on Hybrid Systems: Computation and Control; Springer: Berlin/Heidelberg, Germany, 2000; Volume 1569, pp. 76–90. [Google Scholar]
  9. Frehse, G. PHAVer: Algorithmic verification of hybrid systems past HyTech. Int. J. Softw. Tools Technol. Transf. 2008, 10, 263–279. [Google Scholar] [CrossRef]
  10. Frehse, G.; Le Guernic, C.; Donzé, A.; Cotton, S.; Ray, R.; Lebeltel, O.; Ripado, R.; Girard, A.; Dang, T.; Maler, O. Spaceex: Scalable verification of hybrid systems. In Computer Aided Verification; Springer: Berlin/Heidelberg, Germany, 2011; pp. 379–395. [Google Scholar]
  11. Henzinger, T.A.; Ho, P.H.; Wong-Toi, H. Algorithmic analysis of nonlinear hybrid systems. IEEE Trans. Autom. Control 1998, 43, 540–554. [Google Scholar] [CrossRef]
  12. Mickens, R.E. A nonstandard finite-difference scheme for the Lotka-Volterra system. Appl. Numer. Math. 2003, 45, 309–314. [Google Scholar] [CrossRef]
  13. De Vogelaere, R. Methods of Integration Which Preserve the Contact Transformation Property of the Hamilton Equations; Technical Report, Unpublished; University of Notre Dame. Dept. of Mathematics: Notre Dame, IN, USA, 1956. [Google Scholar]
  14. Ruth, R.D. A canonical integration technique. IEEE Trans. Nucl. Sci. 1983, 30, 2669–2671. [Google Scholar] [CrossRef]
  15. Feng, K. On difference schemes and symplectic geometry. In Proceedings of the 5th International Symposium on Differential Geometry and Differential Equations, Beijing, China, August 1984; pp. 42–58. [Google Scholar]
  16. Feng, K. Difference schemes for Hamiltonian formalism and symplectic geometry. J. Comput. Math. 1986, 4, 279–289. [Google Scholar]
  17. McLachlan, R.I.; Quispel, G.R.W.; Robidoux, N. Geometric integration using discrete gradients. Philos. Trans. R. Soc. Lond. Ser. Math. Phys. Eng. Sci. 1999, 357, 1021–1045. [Google Scholar] [CrossRef]
  18. Cieśliński, J.L.; Ratkiewicz, B. Long-time behaviour of discretizations of the simple pendulum equation. J. Phys. Math. Theor. 2009, 42, 105204. [Google Scholar] [CrossRef]
  19. Cieśliński, J.L.; Ratkiewicz, B. Improving the accuracy of the discrete gradient method in the one-dimensional case. Phys. Rev. E 2010, 81, 016704. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  20. Cieśliński, J.L.; Ratkiewicz, B. Energy-preserving numerical schemes of high accuracy for one-dimensional Hamiltonian systems. J. Phys. A Math. Theor. 2011, 44, 155206. [Google Scholar] [CrossRef]
  21. d’Aquino, M.; Serpico, C.; Miano, G. Geometrical integration of Landau–Lifshitz–Gilbert equation based on the mid-point rule. J. Comput. Phys. 2005, 209, 730–753. [Google Scholar] [CrossRef]
  22. Shepherd, D. Numerical Methods for Dynamical Micromagnetics. Ph.D. Thesis, The University of Manchester, Manchester, UK, 2015. [Google Scholar]
  23. Hairer, E.; Norsett, S.P.; Wanner, G. Solving Ordinary Differential Equations I: Nonstiff Problems; Springer: Berlin/Heidelberg, Germany, 1993. [Google Scholar]
  24. Shepherd, D.; Miles, J.; Heil, M.; Mihajlović, M. An Adaptive Step Implicit Midpoint Rule for the Time Integration of Newton’s Linearisations of Non-Linear Problems with Applications in Micromagnetics. J. Sci. Comput. 2019, 80, 1058–1082. [Google Scholar] [CrossRef] [Green Version]
  25. Liu, C.S. Cone of non-linear dynamical system and group preserving schemes. Int. J. Non-Linear Mech. 2001, 36, 1047–1068. [Google Scholar] [CrossRef]
  26. Zhang, H.; Wu, J.; Lu, J.; Tang, J. Safety verification of finite real-time nonlinear hybrid systems using enhanced group preserving scheme. Clust. Comput. 2016, 19, 2189–2199. [Google Scholar] [CrossRef]
  27. Chen, B.; Solis, F. Discretizations of nonlinear differential equations using explicit finite order methods. J. Comput. Appl. Math. 1998, 90, 171–183. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Hybrid automata for temperature controller.
Figure 1. Hybrid automata for temperature controller.
Symmetry 14 00365 g001
Figure 2. Phase plots for Example 1 with x 0 = { 900 , 150 } and h = 0.0001 .
Figure 2. Phase plots for Example 1 with x 0 = { 900 , 150 } and h = 0.0001 .
Symmetry 14 00365 g002
Figure 3. Phase plots for Example 2 with x 0 = { 1 , 0 } and h = 0.5 .
Figure 3. Phase plots for Example 2 with x 0 = { 1 , 0 } and h = 0.5 .
Symmetry 14 00365 g003
Figure 4. Phase plots for Example 3 with x 0 = { 0.1 , 1 } and h = 0.01 .
Figure 4. Phase plots for Example 3 with x 0 = { 0.1 , 1 } and h = 0.01 .
Symmetry 14 00365 g004
Figure 5. Error plots about x 1 of Example 3 with x 0 = { 0.1 , 1 } and h = 0.01 .
Figure 5. Error plots about x 1 of Example 3 with x 0 = { 0.1 , 1 } and h = 0.01 .
Symmetry 14 00365 g005
Figure 6. Phase plots for Example 4 with x 0 = 0 , p 0 = 1.8 , and h = 0.25 .
Figure 6. Phase plots for Example 4 with x 0 = 0 , p 0 = 1.8 , and h = 0.25 .
Symmetry 14 00365 g006
Figure 7. Phase plots for Example 4 with x 0 = 0 , p 0 = 1.8 , and h = 0.01 .
Figure 7. Phase plots for Example 4 with x 0 = 0 , p 0 = 1.8 , and h = 0.01 .
Symmetry 14 00365 g007
Figure 8. Error plots about x of Example 4 with x 0 = 0 , p 0 = 1.8 , and h = 0.25 .
Figure 8. Error plots about x of Example 4 with x 0 = 0 , p 0 = 1.8 , and h = 0.25 .
Symmetry 14 00365 g008
Figure 9. Error plots about x of Example 4 with x 0 = 0 , p 0 = 1.8 , and h = 0.01 .
Figure 9. Error plots about x of Example 4 with x 0 = 0 , p 0 = 1.8 , and h = 0.01 .
Symmetry 14 00365 g009
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Xu, Z.; Wu, J. MGPS: Midpoint-Series Group Preserving Scheme for Discretizing Nonlinear Dynamics. Symmetry 2022, 14, 365. https://doi.org/10.3390/sym14020365

AMA Style

Xu Z, Wu J. MGPS: Midpoint-Series Group Preserving Scheme for Discretizing Nonlinear Dynamics. Symmetry. 2022; 14(2):365. https://doi.org/10.3390/sym14020365

Chicago/Turabian Style

Xu, Zhenxing, and Jinzhao Wu. 2022. "MGPS: Midpoint-Series Group Preserving Scheme for Discretizing Nonlinear Dynamics" Symmetry 14, no. 2: 365. https://doi.org/10.3390/sym14020365

APA Style

Xu, Z., & Wu, J. (2022). MGPS: Midpoint-Series Group Preserving Scheme for Discretizing Nonlinear Dynamics. Symmetry, 14(2), 365. https://doi.org/10.3390/sym14020365

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop