Nothing Special   »   [go: up one dir, main page]

Next Article in Journal
Spatial Series and Fractal Analysis Associated with Fracture Behaviour of UO2 Ceramic Material
Next Article in Special Issue
Soliton Solution of the Peyrard–Bishop–Dauxois Model of DNA Dynamics with M-Truncated and β-Fractional Derivatives Using Kudryashov’s R Function Method
Previous Article in Journal
Qualitative Properties of Positive Solutions of a Kind for Fractional Pantograph Problems using Technique Fixed Point Theory
Previous Article in Special Issue
The Nonlinear Dynamics Characteristics and Snap-Through of an SD Oscillator with Nonlinear Fractional Damping
You seem to have javascript disabled. Please note that many of the page functionalities won't work as expected without javascript enabled.
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Collocation Method for Optimal Control of a Fractional Distributed System

1
School of Mathematics and Statistics, Hunan University of Finance and Economics, 139 Fenglin 2nd Road, Changsha 410205, China
2
School of Mathematics and Statistics, Central South University, 932 Lushan South Road, Changsha 410083, China
*
Author to whom correspondence should be addressed.
Fractal Fract. 2022, 6(10), 594; https://doi.org/10.3390/fractalfract6100594
Submission received: 7 September 2022 / Revised: 8 October 2022 / Accepted: 10 October 2022 / Published: 14 October 2022
(This article belongs to the Special Issue Advances in Fractional Order Derivatives and Their Applications)

Abstract

:
In this paper, a collocation method based on the Jacobi polynomial is proposed for a class of optimal-control problems of a fractional distributed system. By using the Lagrange multiplier technique and fractional variational principle, the stated problem is reduced to a system of fractional partial differential equations about control and state functions. The uniqueness of this fractional coupled system is discussed. For spatial second-order derivatives, the proposed method takes advantage of Jacobi polynomials with different parameters to approximate solutions. For a temporal fractional derivative in the Caputo sense, choosing appropriate basis functions allows the collocation method to be implemented easily and efficiently. Exponential convergence is verified numerically under continuous initial conditions. As a particular example, the relation between the state function and the order of the fractional derivative is analyzed with a discontinuous initial condition. Moreover, the numerical results show that the integration of the state function will decay as the order of the fractional derivative decreases.

1. Introduction

Optimal-control problems minimize a function (or a functional) with the states and control inputs of the system over a set of admissible control functions [1], which arises in many scientific and engineering problems, such as aeronautics [2] and economics [3]. In [4], by applying optimal control theory, the dynamics of a basic oncolytic virotherapy model was studied. The constrained dynamics of the optimal-control problem may be divided into two major classes: an ordinary differential equation (ODE) and a partial differential equation (PDE). The fractional differential equation usually came up by replacing the conventional derivatives in ODE/PDE with some sorts of fractional derivatives, whose order of derivative turns out to be some real numbers or even complex numbers. In recent years, with the development of fractional calculus, it has been verified that fractional differential equations model dynamical systems and physical processes more accurately than classic ODEs and PDEs do, and fractional controllers perform better than integer order controllers as well. In this paper, we shall investigate a class of fractional optimal-control problems. The dynamics of the system are described by a partial differential equation with a Caputo fractional derivative on a temporal variable and a second-order derivative on a spatial variable, comprising what is called a fractional optimal-control problem of a distributed system. Although integer-order optimal-control problems and fractional variational problems regarding a single variable have been extensively discussed [5,6,7,8,9,10,11], the optimal-control problems related to the fractional distributed system are not systematically developed yet. Therefore, it is meaningful to further study this topic.
As a matter of course, the above-mentioned optimal-control problems have to be solved to examine their further features. However, only few of them can be handled via analytical techniques. Therefore, tremendous efforts have been made regarding numerical methods. By means of a fractional variational principle and the Lagrange multiplier technique, the underlying fractional optimal-control problem can be converted to a system of partial differential equations with temporal fractional derivatives. As one of the pioneering works, two classes of the fractional variational problem with the Riemann–Liouville derivative are considered in [12], where the necessary condition (i.e., the Euler–Lagrange equation) for both cases are analytical deduced. In [13], a general formulation for a class of fractional optimal-control problems was derived by using techniques of calculus of variations, the Lagrange multiplier, and the formula for fractional integration by parts. Based on the foundations mentioned above, several numerical methods have been applied to solve fractional optimal-control problems. In [14], the dynamic system of fractional optimal-control problems are considered as fractional partial differential equations with a Caputo derivative, and numerical solutions of this problem are obtained by means of eigenfunctions. In [15], the modified Grünwald–Letnikov approach is employed to establish a central difference numerical scheme for both time-invariant and time-variant cases. In [16], the fractional optimal-control problem is converted into a general integer order problem by using Oustaloup’s approximation for the fractional derivative operator. This method is allowed to solve a more complex problem of a fractional-free, final-time optimal-control problem. In [17,18], the considered fractional optimal-control problems are both reduced to a system of algebraic equations by using the normalized Legendre orthogonal basis. Nevertheless, in [17], the fractional integration and multiplication are approximated directly, while in [18], the fractional optimal-control problems are transformed into an equivalent variational problem. In [19], the fractional optimal-control problem of a distributed system is solved in cylindrical coordinates. Applying the method of separation of variables and eigenfunctions, an equivalent problem in terms of generalized state and control variables is defined, and it is computed by the Grünwald–Letnikov approach. Overall, numerical methods based on approximation by smooth polynomials are perfectly suitable for optimal-control problems defined on a bounded domain with regular boundary conditions. For instance, see [20,21,22]. A hybrid meshless method for fractional distributed optimal control was presented in [23].
Motivated by the above results, a collocation method with the Jacobi polynomial is established to solve the fractional optimal-control problem. It is well-known that the collocation method is a global numerical method with high accuracy, which was firstly applied by Slater and Kantorovic in 1934 [24]. The computation of this method at any given point depends on the information of the entire domain. Naturally, it has a great superiority in solving fractional problems since the fractional derivative we used here is defined in the Caputo sense and is non-local. In [25], a spectral Jacobi-collocation approximation for fractional integro-differential equations of the Volterra type is proposed, and the error of this method decaying exponentially is verified theoretically. In [26], the truncated Bessel series is used in a collocation scheme for solving a fractional optimal-control problem with a nonlinear fractional two-point boundary value problem. A local meshless collocation algorithm is applied to approximate the time fractional evolution model in [27]. In [28], by applying shifted Jacobi polynomials, the fractal-fractional derivative in the Atangana–Riemann–Liouville sense and the fractional derivatives in the Caputo and Atangan–Baleau–Caputo concepts have been used to study the optimal-control problem of the advection–diffusion–reaction equation.
In this paper, we will transform the fractional optimal-control problems into a system of fractional partial differential equations through the fractional variational principle, then solve the resulting system by the Jacobi collocation method. The numerical results under both continuous and discontinuous initial conditions will be provided. In the case of the continuous initial condition, the exponential convergence and high accuracy can be arrived with different Jacobi parameters. The influence of the fractional order on the state function will be analyzed in the case of the problem with a discontinuous initial condition. The remainder of this article is organized as follows: In Section 2, we will introduce some necessary preliminaries of fractional calculus to make this paper self-contained. In Section 3, the formulation of the fractional optimal-control problem is given and basic property is discussed. In Section 4, the derivation of the collocation method for solving the fractional optimal-control problem is performed. A numerical example is given in Section 5, and our conclusion is finally drawn in Section 6.

2. Mathematical Preparation

In this section, we introduce two frequently discussed fractional derivatives and their fundamental properties, which are useful in the analysis of the model and computation in what follows. We begin by recalling the Riemann–Liouville fractional integral.
Definition 1
([29]). Let f ( x ) L 1 ( [ a , b ] ) , s > 0 be a finite and real number. Then,
a I x s f ( x ) = 1 Γ ( s ) a x ( x t ) s 1 f ( t ) d t ,
and
x I b s f ( x ) = 1 Γ ( s ) x b ( t x ) s 1 f ( t ) d t ,
are named as left-sided Riemann–Liouville fractional integral and right-sided Riemann–Liouville fractional integral, respectively.
Definition 2
([29]). Let f ( x ) A C ( [ a , b ] ) and a I t n s f , t I b n s f C n ( [ a , b ] ) , n 1 < s < n , n is a natural number. Then,
a D x s f ( x ) = 1 Γ ( n s ) d n d x n a x ( x t ) n s 1 f ( t ) d t ,
and
x D b s f ( x ) = ( 1 ) n Γ ( n s ) d n d t n x b ( t x ) n s 1 f ( t ) d t ,
are named as the left-sided Riemann–Liouville fractional derivative and right-sided Riemann–Liouville fractional derivative, respectively.
Definition 3
([29]). Let f ( x ) A C ( [ a , b ] ) , n 1 < s < n , n is a natural number. Then,
a c D x s f ( x ) = 1 Γ ( n s ) a x ( x t ) n s 1 d n d t n f ( t ) d t ,
and
x c D b s f ( x ) = ( 1 ) n Γ ( n s ) x b ( t x ) n s 1 d n d t n f ( t ) d t ,
are named as the left-sided Caputo fractional derivative and right-sided Caputo fractional derivative, respectively.
Theorem 1
([29]). Let 0 < s < 1 . Then, Riemann–Liouville and Caputo fractional derivatives satisfy the following relation:
x D b s f ( x ) = x c D b s f ( x ) + f ( b ) ( b x ) s Γ ( 1 s ) .
Based on Theorem 1, the Caputo fractional derivative is equivalent with the Riemann–Liouville fractional derivative for the continuously differentiable functions satisfying Dirichlet boundary condition f ( b ) = 0 . More details on fractional derivatives and their properties can be found in monographes [29,30,31].

3. Analysis of Fractional Optimal-Control Problem

In this part, we focus on the formulation of a class of optimal problems with a distributed system involving the Caputo fractional derivative. The details are described as follows.

3.1. Formulation of Model

Let 0 t 1 , 0 x L , and Q , R be two positive parameters of the system. Functions z and u depending on t and x (i.e., time and position) simultaneously represent some performance indices. Notice that the time domain may not necessary be [ 0 , 1 ] , and it can be generalized to [ 0 , T ] , T > 0 . Our major task is: finding an optimal control input signal u x , t , which minimizes the cost functional
J = 0 1 0 L Q z 2 x , t + R u 2 x , t d x d t ,
subject to the system dynamic constraints
0 c D t s z x , t = 2 z x , t x 2 + u ( x , t ) , 0 < s < 1 ,
the initial condition
z x , 0 = z 0 x , 0 x L ,
and the boundary condition
z 0 , t x = z L , t x = 0 , 0 < t < 1 ,
where s is the order of Caputo fractional derivative, z x , t and u x , t are the state and control functions, respectively. In [14], models (8)–(11) was discussed.

3.2. Fractional Variational Principle and Properties of Model

In order to deduce the necessary condition for problem (8)–(11), we impose a modified performance index by using the Lagrange multiplier λ as
J ˜ = 0 1 0 L Q z 2 ( x , t ) + R u 2 ( x , t ) + λ 0 c D t s z ( x , t ) 2 z ( x , t ) x 2 u ( x , t ) d x d t .
Assuming that z * ( x , t ) and u * ( x , t ) are the desired optimum solutions of (8)–(11), define
z ( x , t ) = z * ( x , t ) + ε 1 η 1 ( x , t ) , ε 1 R ,
u ( x , t ) = u * ( x , t ) + ε 2 η 2 ( x , t ) , ε 2 R ,
where ε 1 , ε 2 are perturbation parameters, and η 1 ( x , t ) and η 2 ( x , t ) are arbitrary test functions satisfying η 1 ( x , 0 ) = η 1 x ( 0 , t ) = η 1 x ( L , t ) = 0 .
Substitute Equations (13) and (14) into functional (12), then J ˜ becomes a scale function of ε 1 and ε 2 . Obviously, J ˜ has an extremum at ε 1 = ε 2 = 0 . Differentiating J ˜ with respect to ε 1 , ε 2 and λ , respectively, we have
J ˜ ε 1 = 0 1 0 L 2 Q z ( x , t ) η 1 ( x , t ) + λ 0 c D t s η 1 ( x , t ) λ 2 η 1 ( x , t ) x 2 d x d t ,
J ˜ ε 2 = 0 1 0 L 2 R u ( x , t ) η 2 ( x , t ) λ η 2 ( x , t ) d x d t ,
J ˜ λ = 0 1 0 L 0 c D t s z ( x , t ) 2 z ( x , t ) x 2 u ( x , t ) d x d t .
Applying fractional integration by parts formulae (see [29] (Page 76, Lemma 2.7)) to (15), we obtain
0 1 0 L λ 0 c D t s η 1 ( x , t ) 2 η 1 ( x , t ) x 2 d x d t = 0 1 0 L η 1 ( x , t ) t D 1 s λ 2 λ ( x , t ) x 2 d x d t + 0 1 λ x ( L , t ) η 1 ( L , t ) λ x ( 0 , t ) η 1 ( 0 , t ) d t + 0 L η 1 ( x , 0 ) t I 1 s λ ( x , 0 ) d x .
To minimize J ˜ (the same as to minimize J), it is required that results of (15)–(17) are zeros when ε 1 = ε 2 = 0 . Then, by the arbitrariness of λ , one could assume λ x ( 0 , t ) = λ x ( L , t ) = 0 , λ x , 1 = 0 to have
t c D 1 s λ ( x , t ) = 2 λ ( x , t ) x 2 2 Q z * ( x , t ) ,
λ ( x , t ) = 2 R u * ( x , t ) ,
0 c D t s z * ( x , t ) = 2 z * ( x , t ) x 2 + u * ( x , t ) ,
since η 1 ( x , t ) and η 2 ( x , t ) are arbitrary.
Substituting (19) into (18), it is easy to find that the desired optimal solutions u * ( x , t ) , z * ( x , t ) satisfy the following coupled equations:
t c D 1 s u ( x , t ) = 2 u ( x , t ) x 2 Q R z ( x , t ) ,
0 c D t s z ( x , t ) = 2 z ( x , t ) x 2 + u ( x , t ) ,
with the initial and boundary conditions
z x , 0 = z 0 x , u x , 1 = 0 , z 0 , t x = z L , t x = 0 , u 0 , t x = u L , t x = 0 .
Now, the problem (8)–(11) has been converted to a fractional coupled system (21) and (22).
Next, we discuss the uniqueness of system (21) and (22) because of the fact that existence result directly follows from the linearity of system itself (see [29] (Chapter 6)). Suppose that ( u 1 , z 1 ) and ( u 2 , z 2 ) are two pairs of solutions of (21) and (22); then, u ˜ : = u 1 u 2 and z ˜ : = z 1 z 2 must be the solutions of (21) and (22) by superposition principle. Therefore,
t c D 1 s u ˜ ( x , t ) = 2 u ˜ ( x , t ) x 2 Q R z ˜ ( x , t ) ,
0 c D t s z ˜ ( x , t ) = 2 z ˜ ( x , t ) x 2 + u ˜ ( x , t ) .
Multiplying u ˜ and z ˜ to (23) and (24), respectively, then subtracting one to another, then integrating from 0 to L with respect to x, we have
R 0 L u ˜ t c D 1 s u ˜ d x + Q 0 L z ˜ 0 c D t s z ˜ d x = Q 0 L z ˜ z ˜ x x d x + R 0 L u ˜ u ˜ x x d x .
In view of
Q 0 L z ˜ z ˜ x x d x + R 0 L u ˜ u ˜ x x d x = Q z ˜ z ˜ x 0 L 0 L z ˜ x 2 d x + R u ˜ u ˜ x 0 L 0 L u ˜ x 2 d x 0 ,
we conclude that either one of the following inequalities hold:
R 0 L u ˜ · t c D 1 s u ˜ d x 0 or Q 0 L z ˜ · 0 c D t s z ˜ d x 0 .
If the former case is true, we assume that u ˜ is approximated by smooth polynomials φ ( x ) and ϕ ( t ) , which is u ˜ = φ ( x ) ϕ ( t ) . Then,
0 L u ˜ · t c D 1 s u ˜ d x = 0 L φ ( x ) ϕ ( t ) · φ ( x ) t c D 1 s ϕ ( t ) d x = ϕ ( t ) · t c D 1 s ϕ ( t ) 0 L φ 2 ( x ) d x .
Furthermore, notice that
0 1 ϕ ( t ) · t c D 1 s ϕ ( t ) 0 L φ 2 ( x ) d x d t = 0 1 ϕ ( t ) · t c D 1 s ϕ ( t ) d t · 0 L φ 2 ( x ) d x = 0 1 0 D t s ϕ ( t ) · ϕ ( t ) d t · 0 L φ 2 ( x ) d x = 0 1 0 D t s / 2 ϕ ( t ) 2 d t · 0 L φ 2 ( x ) d x 0 ,
which implies that the right hand side of (27) is non-negative. Combining (26), one can immediately know that
0 L u ˜ · t c D 1 s u ˜ d x 0 .
That is to say, u ˜ is zero. The other argument for z ˜ is similar. Thus, the pair of solutions of problem (21) and (22) is unique.
In order to observe the property of state function z ( x , t ) , we integrate both sides of (22) from 0 to L,
0 L 0 c D t s z ( x , t ) d x = 0 L 2 z ( x , t ) x 2 d x + 0 L u ( x , t ) d x .
Obviously, the first term on the right side is zero according to boundary conditions. u ( x , t ) is bounded because the problem is well-posed. That is, there exists a real number M satisfying ζ ( t ) = 0 L u ( x , t ) d x < M for any t [ 0 , 1 ] . Regarding the left hand side, it is easy to deduce that there exists t l * [ 0 , 1 ] , such that
0 L 0 c D t s z ( x , t ) d x = t 1 s Γ ( 2 s ) 0 L z t ( x , t l * ) d x .
Equations (29) and (30) lead to the relation between the change rate of energy of z ( x , t ) and time t as
0 L u ( x , t ) d x = t 1 s Γ 2 s 0 L z t x , t l * d x .
On account of the fact that Equations (21) and (22) are coupled, it is easy to arrive at the following identity:
0 L z ( x , t ) d x = 1 t 1 s Γ ( 2 s ) 0 L u t ( x , t r * ) d x .
Combining (31) and (32), we obtain
Φ ( t , s ) : = 0 L z ( x , t ) d x = C · ( 1 t ) 1 s Γ ( 1 s ) Γ ( 2 s ) , 0 < s , t < 1 ,
where C = t r * s 0 L z t ( x , t l * ) d x 0 . This indicates that the volume of z ( x , t ) in the temporal direction will decay as the order s decreases, due to the non-negativity assumption of z ( x , 0 ) and the diffusion property of the considered system. Conversely, if z t is positive for each fixed x, then solution z ( x , t ) will blow up eventually, which is physically impossible.

4. Numerical Algorithm

In this section, a collocation method is proposed to the solve fractional optimal control problem (8)–(11). Firstly, we recall the definition and properties of the Jacobi polynomials, occasionally called hypergeometric polynomials, which are used in our collocation method. From now on, we use symbols α and β to parameterize the Jacobi polynomials and let s, 0 < s < 1 be the order of fractional derivative. Notice that when s approaches one, the corresponding fractional derivatives reduce to conventional integer-order derivatives.
Recently, Jacobi polynomial for solving differential equations has become increasingly popular because of the high accuracy of interpolation for ODE/PDE with certain regularity [32,33]. The well-known Jacobi polynomial J n α , β with indices α , β > 1 of degree n are defined on interval [ 1 , 1 ] and can be expressed as
J n α , β ( ξ ) = 1 n 2 n · n ! ( 1 ξ ) α ( 1 + ξ ) β d n d ξ n ( 1 ξ ) α + n ( 1 + ξ ) β + n , 1 ξ 1 ,
which is a solution of the second order linear homogeneous differential equation
( 1 ξ 2 ) d 2 Y ( ξ ) d ξ 2 + β α ( α + β + 2 ) ξ d Y ( ξ ) d ξ + n ( n + α + β + 1 ) Y ( ξ ) = 0 .
In order to use these polynomials on the interval [ 0 , L ] , we take the change of variable x = L 2 ( ξ + 1 ) . Therefore, 0 x L is due to the range of ξ . The derivative of J n α , β on the interval [ 0 , L ] can be represented by
d m d t m J n α , β 2 x L 1 = Γ n + m + α + β + 1 Γ n + α + β + 1 L m J n m α + m , β + m 2 x L 1 ,
where m = 1 , 2 , 3 , .
One advantage of Jacobi polynomial is that its fractional derivatives still have a recurrence form. For special cases, the Riemann–Liouville fractional derivative of J n α , β can be presented in the form of the Jacobi polynomial. Let 0 < α < 1 , β = 0 ; we have
0 D x α J n α , 0 2 x L 1 = Γ ( n + 1 ) x α Γ ( n α + 1 ) J n 0 , α 2 x L 1 ,
and when α = 0 , 0 < β < 1 , it reads that
x D 1 β J n 0 , β 2 x L 1 = Γ ( n + 1 ) L x β Γ ( n β + 1 ) J n β , 0 2 x L 1 .
Next, we present the basic idea of the collocation method with Jacobi polynomials. Denoting sets x j α , β , 0 j M and t j s , 0 j N as the nodes of Jacobi–Gauss–Lobatto (JGL) quadratures on the interval [ 1 , 1 ] , we set the JGL points x L , j α , β , 0 j M and t 1 , j s , 0 j N on [ 0 , L ] × [ 0 , 1 ] as
x L , j α , β = L 2 x j α , β + 1 , 0 j M , t 1 , j s = 1 2 t j s + 1 , 0 j N .
Let { ψ i t , ϕ j x } , { ψ i ^ t , ϕ j x } be the pairs of Jacobi basis polynomials; the approximations for solutions z N and u N can be expanded as
z N ( x , t ) = i = 0 N j = 0 M a i j ϕ j x ψ i t ,
u N ( x , t ) = i = 0 N j = 0 M b i j ϕ j x ψ ^ i t ,
by using the method of separation of variables. Here, { ψ i t , ϕ j x } and { ψ i ^ t , ϕ j x } are different Jacobi basis polynomials, as follows:
ϕ j x = J j α , β 2 x L 1 , ψ i t = J i s , 0 2 t 1 , ψ ^ i t = J i 0 , s 2 t 1 .
Inserting (38) and (39) into (21) and (22) leads to
i = 0 N j = 0 M b i j ϕ j ( x ) · t D 1 s ψ ^ i t = i = 0 N j = 0 M b i j ψ ^ i t 2 ϕ j x x 2 Q R i = 0 N j = 0 M a i j ϕ j x ψ i t , i = 0 N j = 0 M a i j ϕ j ( x ) · 0 c D t s ψ i t = i = 0 N j = 0 M a i j ψ i t 2 ϕ j x x 2 + i = 0 N j = 0 M b i j ϕ j x ψ ^ i t .
Combining the relation (7) and the Riemann–Liouville fractional derivative (36) and (37), we obtain
0 c D t s J i s , 0 2 t 1 = Γ ( i + 1 ) t s Γ ( i s + 1 ) J i 0 , s 2 t 1 J i s , 0 1 t s Γ ( 1 s ) ,
and
t c D 1 s J i 0 , s 2 t 1 = Γ ( i + 1 ) ( 1 t ) s Γ ( i s + 1 ) J i s , 0 2 t 1 J i 0 , s 1 1 t s Γ ( 1 s ) .
The second-order derivative of Jacobi polynomial can be expressed as
2 ϕ j x x 2 = Γ ( j + 3 + α + β ) Γ ( j + 1 + α + β ) L 2 J j 2 α + 2 , β + 2 2 x L 1 .
Eventually, a numerical scheme for solving (8)–(11) is established as follows:
i = 0 N j = 0 M b i j Γ i + 1 1 t s Γ i s + 1 J i s , 0 2 t 1 J i 0 , s 1 1 t s Γ 1 α J j α , β 2 x L 1 = i = 0 N j = 0 M b i j Γ j + 3 + α + β L 2 Γ j + α + β + 1 J j 2 2 + α , 2 + β 2 x L 1 J i 0 , s 2 t 1 Q R a i j J j α , β 2 x L 1 J i s , 0 2 t 1 ,
and
i = 0 N j = 0 M a i j Γ i + 1 t s Γ i s + 1 J i 0 , s 2 t 1 J i s , 0 1 t s Γ 1 α J j α , β 2 x L 1 = i = 0 N j = 0 M a i j Γ j + 3 + α + β L 2 Γ j + α + β + 1 J j 2 2 + α , 2 + β 2 x L 1 J i s , 0 2 t 1 + b i j J j α , β 2 x L 1 J i 0 , s 2 t 1 .
Note that JGL points x L , j α , β , 0 j M and t 1 , j s , 0 j N include t 1 , 0 s = 0 , t 1 , N s = 1 , x L , 0 α , β = 0 , x L , M α , β = L , which are necessarily used to satisfy the initial and boundary conditions.

5. Numerical Experiment

In this section, we present two numerical examples to verify the efficiency of our algorithm. The same as the former part s is the order of fractional derivative, and α , β are Jacobi polynomials parameters. We first discuss an example with an exact solution to illustrate the implementation and efficiency of the proposed numerical method; then, a fractional optimal-control problem with noncontinuous initial input signal is considered. The MATLAB R2015b software is used for all computations in this section.

5.1. Numerical Solution for System with Smooth Initial Input Signal

As the first example, we assume that systems (21) and (22) have an analytical solution given by
u ( x , t ) = t 1 cos x π , z ( x , t ) = 1 t cos x π .
Without loss of generality, we assume R = Q = L = 1 to simplify the computing procedures. In order to balance both sides of these equations, let
f 1 ( x , t ) = 1 Γ ( 2 α ) ( 1 t ) 1 s cos ( x π ) + cos ( x π ) π 2 ( 1 t ) + t 1 ,
and
f 2 ( x , t ) = 1 Γ ( 2 α ) t 1 s cos ( x π ) + cos ( x π ) π 2 ( t 1 ) + t 1 ,
which are purposively added to the right hand side parts of Equations (21) and (22), respectively. Therefore, the initial input signal is governed by a cosine waveform
z 0 ( x ) = cos ( x π ) , 0 x 1 .
One important advantage of the collocation method is the high accuracy. Firstly, we compare the exact and numerical solutions for s = 0.7 , α = β = 3 . Figure 1a,b shows the exact and numerical solutions of state and control functions by severally fixing x = 0.2 and t = 0.5 and choosing N = M = 10 in collocation method. Note that the numerical solutions of both z ( x , t ) and u ( x , t ) are highly aligned with the exact solutions. Table 1 lists the maximum absolute errors (MAE) of the exact and numerical solution at x = 0.2 and t = 0.5 with four kinds of Jacobi polynomials parameters, which are
  • α = β = 0.5 (Chebyshev polynomials of the first kind),
  • α = β = 0.5 (Chebyshev polynomial of the second kind),
  • α = β = 0 (Legendre polynomials),
  • α = 2 , β = 3 (non-specified Jacobi polynomials).
The result shows that the proposed algorithm provides high accuracy in cases of different Jacobi parameters. Figure 1c,d show that the relation between the degree M, N ( M = N ) of the polynomial and the logarithm of error (E) is almost linear, which indicates that the error decays exponentially.

5.2. Numerical Solution for System with Discontinuous Initial Input Signal

In this part, a kind of discontinuous initial condition is considered. Similarly, we take R = Q = L = 1 , and we solve systems (21) and (22) with the initial condition expressed by a step-function signal
z 0 x = 10 , 0 x < 0.5 , 0 , 0.5 x 1 .
In computation, we select N = M = 11 and α = β = 0.5 . The numerical solution for s = 0.9 is displayed in Figure 2a. One can observe that the state function z ( x , t ) becomes increasingly smooth after a short time because of the influences of diffusion and Neumann boundary conditions. Meanwhile, the state function will converge to a stable equilibrium that is not identical zero because the control input is not zero.
In Figure 2b–d, we sketched the curves of the control function with three different fractional orders ( s = 0.4 , s = 0.6 and s = 0.9999 ) as time goes by. In this case, we set α = β = 1 . This shows that when s is relatively small ( s = 0.4 ), the state function z ( x , t ) decays much faster than the case of relatively large s ( s = 0.6 ). This coincides with the memory property of the fractional derivative, which is sometimes called the heavy tail feature. When s approaches 1, a comparatively slow and uniform decay phenomenon can be viewed, which matches our previous analysis.

6. Conclusions

In this paper, a collocation method based on the Jacobi polynomial is presented for solving a class of optimal-control problems with a fractional distributed system. The problem is transformed into a system of fractional diffusion equations by using the fractional variational principle. The major feature of the resulting system is that both left-sided and right-sided fractional derivatives are involved, which makes it more difficult to handle. We approximate the numerical solutions in terms of the Jacobi polynomials in both temporal and spatial directions. The efficiency and exponential convergence are verified numerically. The numerical simulations show that the proposed method is validated for fractional optimal-control problem containing continuous or discontinuous initial conditions. In the case of discontinuous initial conditions, the results shows that the state function decays much faster when the order of fractional derivative s is relatively small, which coincides with the heavy tail feature of the fractional derivative.

Author Contributions

Conceptualization, W.C. and Y.X.; methodology, W.C.; validation, W.C. and Y.X.; formal analysis, W.C. and Y.X.; writing—original draft preparation, W.C; writing—review and editing, W.C.; and funding acquisition, W.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Hunan Provincial Natural Science Foundation of China (grant number 2019JJ50019) and the Scientific Research Foundation of Hunan Provincial Education Department (grant number 18C0970).

Data Availability Statement

Not applicable.

Acknowledgments

The authors would like to thank the reviewers for their constructive comments to improve the manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Sage, A.P.; White, C.C., III. Optimal Systems Control; Prentice-Hall: Englewood Cliffs, NJ, USA, 1977. [Google Scholar]
  2. Betts, J.T.; Erb, S.O. Optimal low thrust trajectories to the moon. SIAM J. Appl. Dyn. Syst. 2003, 2, 144–170. [Google Scholar] [CrossRef] [Green Version]
  3. Highfill, J.; McAsey, M. An optimal-control problem in economics. Int. J. Mathemetics Math. Sci. 1991, 14, 537–544. [Google Scholar] [CrossRef]
  4. Abu-Rqayiqa, A.; Alayed, H.; Zannon, M. Optimal control of a basic model of oncolytic virotherapy. J. Mathemetics Comput. Sci. 2022, 24, 119–126. [Google Scholar] [CrossRef]
  5. Bittner, L.; Bulirsch, R.; Heier, K.; Schmidt, W. (Eds.) Variational Calculus, Optimal Control and Applications. In Proceedings of the International Conference in Honour of L. Bittner and R. Klötzler, Trassenheide, Germany, 23–27 September 1996.
  6. Hull, D.G. Variational calculus and approximate solution of optimal-control problems. J. Optim. Theory Appl. 2001, 108, 483–497. [Google Scholar] [CrossRef]
  7. Biswas, R.K.; Sen, S. Free final time fractional optimal-control problems. J. Frankl. Inst.-Eng. Appl. Math. 2014, 351, 941–951. [Google Scholar] [CrossRef]
  8. Kamocki, R. On the existence of optimal solutions to fractional optimal-control problems. Appl. Math. Comput. 2014, 235, 94–104. [Google Scholar] [CrossRef]
  9. Almeida, R.; Torres, D.F.M. A discrete method to solve fractional optimal-control problems. Nonlinear Dyn. 2015, 80, 1811–1816. [Google Scholar] [CrossRef] [Green Version]
  10. Xu, Y.; Agrawal, O.P. New fractional operators and application to fractional variational problem. Comput. Math. Appl. 2016; in Press. [Google Scholar] [CrossRef]
  11. Paulen, R.; Kikar, M. Optimal Operation of Batch Membrane Processes; Springer: Berlin/Heidelberg, Germany, 2016. [Google Scholar]
  12. Agrawal, O.P. Formulation of Euler-Lagrange equations for fractional variational problems. J. Math. Anal. Appl. 2002, 272, 368–379. [Google Scholar] [CrossRef] [Green Version]
  13. Agrawal, O.P. A general formulation and solution scheme for fractional optimal-control problem. Nonlinear Dyn. 2004, 38, 323–337. [Google Scholar] [CrossRef]
  14. Agrawal, O.P. Fractional optimal control of a distributed system using eigenfunctions. ASME J. Comput. Nonlinear Dyn. 2008, 3, 021204-1–021204-6. [Google Scholar] [CrossRef]
  15. Baleanu, D.; Defterli, O.; Agrawal, O.P. A central difference numerical scheme for fractional optimal-control problems. J. Vib. Control. 2009, 15, 583–597. [Google Scholar] [CrossRef] [Green Version]
  16. Tricaud, C.; Chen, Y.Q. An approximate method for numerically solving fractional order optimal control problems of general form. Comput. Math. Appl. 2010, 59, 1644–1655. [Google Scholar] [CrossRef] [Green Version]
  17. Lotfi, A.; Dehghan, M.; Yousefi, S.A. A numerical technique for solving fractional optimal-control problems. Comput. Math. Appl. 2011, 62, 1055–1067. [Google Scholar] [CrossRef] [Green Version]
  18. Lotfi, A.; Yousefi, S.A.; Dehghan, M. Numerical solution of a class of fractional optimal-control problems via the Legendre orthonormal basis combined with the operational matrix and the Gauss quadrature rule. J. Comput. Appl. Math. 2013, 250, 143–160. [Google Scholar] [CrossRef]
  19. Özdemir, N.; Karadeniz, D.; İskender, B.B. Fractional optimal-control problem of a distributed system in cylindrical coordinates. Phys. Lett. A 2009, 373, 221–226. [Google Scholar] [CrossRef]
  20. Safaie, E.; Farahi, M.H.; Ardehaie, M.F. An approximate method for numerically solving multi-dimensional delay fractional optimal-control problems by Bernstein polynomials. Comput. Appl. Math. 2015, 34, 831–846. [Google Scholar] [CrossRef]
  21. Özdemir, N.; Agrawal, O.P.; İskender, B.B.; Karadeniz, D. Fractional optimal control of a 2-dimensional distributed system using eigenfunctions. Nonlinear Dyn. 2009, 55, 251–260. [Google Scholar] [CrossRef]
  22. Bhrawy, A.H.; Doha, E.H.; Baleanu, D.; Ezz-Eldien, S.S.; Abdelkawy, M.A. An accurate numerical technique for solving fractional optimal-control problems. Proc. Rom. Acad. Ser. A 2015, 16, 47–54. [Google Scholar]
  23. Darehmiraki, M.; Farahi, M.H.; Effati, S. Solution for the fractional distrubted optimal-control problem by hybrid meshless method. J. Vib. Control 2018, 24, 2149–2164. [Google Scholar] [CrossRef]
  24. Canuto, C.; Hussaini, M.Y.; Quarteroni, A.; Zang, T.A. Spectral Methods: Fundamentals in Single Domains. Springer: Berlin/Heidelberg, Germany, 2006. [Google Scholar]
  25. Yang, Y.; Chen, Y.P.; Huang, Y.Q. Convergence analysis of the Jacobi spectral-collocation method for fractional integro-differential equations. Acta Mathemetica Sci. 2014, 34B, 673–690. [Google Scholar] [CrossRef]
  26. Tohidi, E.; Nik, H.S. A Bessel collocation method for solving fractional optimal-control problems. Appl. Math. Model. 2015, 39, 455–465. [Google Scholar] [CrossRef]
  27. Nikan, O.; Avazzadeh, Z. Numerical simulation of fractional evolution model arising in viscoelastic mechanics. Appl. Numer. Math. 2021, 169, 303–320. [Google Scholar] [CrossRef]
  28. Shojaeizadeh, T.; Mahmoudi, M.; Darehmiraki, M. optimal-control problem of advection-diffusion-reaction equation of kind fractal-fractional applying shifted Jacobi polynomials. Chaos Solitons Fractals 2021, 143, 110568. [Google Scholar] [CrossRef]
  29. Kilbas, A.A.; Srivastava, H.M.; Trujillo, J.J. Theory and Applications of Fractional Differential Equations; Elsevier: Amsterdam, The Netherlands, 2006. [Google Scholar]
  30. Podlubny, I. Fractional Differential Equations; Academic Press: Cambridge, MA, USA, 1999. [Google Scholar]
  31. Hilfer, R. Fractional Calculus in Physics; World Scientific Publishing: Singapore, 2000. [Google Scholar]
  32. Bhrawy, A.H. A Jacobi-Gauss-Lobatto collocation method for solving generalized Fitzhugh-Nagumo equation with time-dependent coefficients. Appl. Math. Comput. 2013, 222, 255–264. [Google Scholar] [CrossRef]
  33. Duan, B.P.; Zheng, Z.S.; Cao, W. Spectral approximation methods and error estimates for Caputo fractional derivative with applications to initial-value problems. J. Comput. Phys. 2016, 3, 108–128. [Google Scholar] [CrossRef]
Figure 1. Numerical and analytical solution of system (21) and (22) (see (a,b)); the relation between N and error (E) with s = 0.7 and α = β = 3 (see (c,d)).
Figure 1. Numerical and analytical solution of system (21) and (22) (see (a,b)); the relation between N and error (E) with s = 0.7 and α = β = 3 (see (c,d)).
Fractalfract 06 00594 g001
Figure 2. The state function at different moments with α = β = 0.5 (see (a)) and α = β = 1 (see (bd)).
Figure 2. The state function at different moments with α = β = 0.5 (see (a)) and α = β = 1 (see (bd)).
Fractalfract 06 00594 g002aFractalfract 06 00594 g002b
Table 1. Maximum absolute errors (MAE).
Table 1. Maximum absolute errors (MAE).
M α β MAE of zMAE of u
5 1.05 × 10 3 1.13 × 10 3
10−0.5−0.53.36 × 10 8 3.43 × 10 8
15 2.89 × 10 15 3.09 × 10 14
5 2.78 × 10 3 2.96 × 10 3
100.50.51.82 × 10 7 1.86 × 10 3
15 4.51 × 10 14 5.00 × 10 14
5 1.98 × 10 3 2.12 × 10 3
10009.45 × 10 8 9.65 × 10 8
15 2.62 × 10 14 2.98 × 10 14
5 5.95 × 10 3 7.90 × 10 3
10231.80 × 10 6 2.87 × 10 6
15 2.87 × 10 13 4.13 × 10 13
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Cao, W.; Xu, Y. Collocation Method for Optimal Control of a Fractional Distributed System. Fractal Fract. 2022, 6, 594. https://doi.org/10.3390/fractalfract6100594

AMA Style

Cao W, Xu Y. Collocation Method for Optimal Control of a Fractional Distributed System. Fractal and Fractional. 2022; 6(10):594. https://doi.org/10.3390/fractalfract6100594

Chicago/Turabian Style

Cao, Wen, and Yufeng Xu. 2022. "Collocation Method for Optimal Control of a Fractional Distributed System" Fractal and Fractional 6, no. 10: 594. https://doi.org/10.3390/fractalfract6100594

APA Style

Cao, W., & Xu, Y. (2022). Collocation Method for Optimal Control of a Fractional Distributed System. Fractal and Fractional, 6(10), 594. https://doi.org/10.3390/fractalfract6100594

Article Metrics

Back to TopTop