Next Article in Journal
When Time Is of the Essence—Recording an Underwater Excavation at 110 m
Previous Article in Journal
Structural Analysis Procedure and Applicability Review of Spudcan Considering Soil Types
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Energy Management Strategy of Hybrid Ships Using Nonlinear Model Predictive Control via a Chaotic Grey Wolf Optimization Algorithm

Key Laboratory of Transport Industry of Marine Technology and Control Engineering, Shanghai Maritime University, Shanghai 201306, China
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2023, 11(9), 1834; https://doi.org/10.3390/jmse11091834
Submission received: 20 August 2023 / Revised: 13 September 2023 / Accepted: 19 September 2023 / Published: 20 September 2023
(This article belongs to the Section Ocean Engineering)

Abstract

:
Reducing energy consumption and carbon emissions from ships is a major concern. The development of hybrid technologies offers a new direction for the rational distribution of energy. Therefore, this paper establishes a torque model for internal combustion engines and motors based on first principles and fitting the data collected from the test platform; in turn, it develops a model for fuel consumption and carbon emissions. Furthermore, the effect of irregular waves using an extended Kalman filter is estimated as well as feedback to the controller as a disturbance variable. Then, a parallel hybrid ship energy management strategy based on a new real-time nonlinear model of predictive control is designed to achieve energy conservation and emission decrease. A hybrid algorithm of chaotic optimization combined with grey wolf optimization is utilized to solve the nonlinear optimization problem in the nonlinear model predictive control strategy and a local refined search is performed using sequential quadratic programming. Through the comparison of fuel consumption, carbon emissions, real-time performance, and the engine load path, the superiority of the nonlinear model predictive control energy management strategy based on the chaotic grey wolf optimization algorithm is verified.

1. Introduction

According to the data from the International Maritime Organization (IMO), global CO2 emissions from the shipping industry exceeded one billion tons in 2022, accounting for about 2% to 3% of total global emissions. As a result, the IMO has put forward higher requirements for energy saving and emission reduction in ships [1]. The emergence of hybrid ships offers a novel option for ship operators. As a result of the design of multiple power sources, hybrid power ships can maximize the dynamic performance of the ship through energy optimization and achieve the purpose of energy saving and emissions reduction. However, the multiple power sources and complex systems of hybrid ships create difficulties in ship energy management, where various constraints and additional degrees of freedom must be satisfied. Furthermore, the existence of various types of subsystems leads to the need for optimal control at different scales. It is a challenge to rationalize the ship’s energy management in this state. Moreover, ship hybrid power systems are increasingly emphasized and supported by the manufacturing of the shipping industry and national policies [2]. Therefore, the research and implementation of ship energy optimization technology are imminent.
There are several approaches to hybrid ship energy management strategies available today, such as dynamic programming (DP), Pontryagin’s minimum principle (PMP), the equivalent consumption minimization strategy (ECMS), and model predictive control (MPC) [3]. Certainly, current research on energy management strategies also includes learning-based approaches. For example, various machine learning-based energy prediction methods are objectively analyzed in references [4,5] and the results achieved are analyzed. However, machine learning algorithms require extensive training and further verification is needed to determine whether their real-time performance can be guaranteed. However, MPC is a more effective method for research on energy management strategies because of its ability to simultaneously handle state and control multiple variables with apparent real-time and optimization effects. MPC can optimize the performance index by performing a series of control actions on the system in a predicted time horizon. For example, MPC strategies are used in the references [6,7] for energy management. At the same time, MPC is also used in combination with other methods for corresponding optimization. For example, a method combining the equivalent consumption minimization strategy (ECMS) with MPC was designed in the reference [8]. The ship’s fuel consumption minimization and optimal power distribution are achieved. In reference [9], an adaptive MPC strategy is designed by combining recursive least squares (RLS) with MPC, which reduces the power loss of the ship by about 15% through online identification of RLS.
However, hybrid ships are typically a nonlinear system [10] which means that the classical MPC algorithms are not very good at achieving their objectives. Therefore, nonlinear model predictive control (NMPC) was proposed. It is similar to MPC in that they are both model-based and constraint-based optimization approaches and both achieve optimization by calculating control actions over a future time horizon. But it differs in that the NMPC prediction model and constraints can be nonlinear and contain time-varying parameters; relevant objective functions can be non-quadratic. For example, reference [11] proposed an NMPC-based energy management strategy for ships and exhibits its excellence.
Although the high complexity problem of hybrid ship systems can be solved by NMPC, it also suffers from low solution accuracy and low efficiency. Hence, it is important to consider how to maintain high solution accuracy and efficiency while using the NMPC for the energy management of ships. There are many methods available for solving NMPC problems. For example, the most classical sequential quadratic programming (SQP) is used to deal with the constrained optimization problems through the highly simulated Newton method. It approximates the Hessian matrix of the Lagrangian function using the quasi-Newton method during each major iteration, which in turn generates the quadratic programming (QP) subproblem, decomposing it in the search direction of the search process prior [12]. A combination of a simulated annealing algorithm and a fast feed-forward controller (QFFC) is proposed in reference [13] to solve NMPC at a given initial value relying on Monte Carlo methods. But the speed of solving NMPC optimization problems is not improved by this approach. The improvement in NMPC solution efficiency lies in how to achieve lower computational complexity during its iterative update. In reference [14], the optimization problem is defined as two-layer programming and decoupled from the dynamic nonlinear programming problem by using the optimality PMP condition to reduce dimensions and update states through MPC. The methods in the references [15,16] are similar in that they are based on ADMM solving and ALR solving, respectively, with the former requiring less computation time and the latter requiring fewer iterations and information exchange, both of which increase computational efficiency.
Heuristic algorithms were used by some scholars to improve MPC to enhance solving performance. In reference [17], a cooperative bat algorithm (CBA) is designed to be applied to the coordinated balancing NMPC problem of a network system, which showed powerful performance in comparison with the original BA algorithm and particle swarm optimization (PSO). Furthermore, reference [18] proposes a joint genetic algorithm and ant colony optimization (GA-ACO) for MPC, where dynamic trajectory tracking control is implemented by solving a standard MPC problem with constraints and combining it with dynamic sliding mode control (SMC). Therefore, new attempts and improvements to the NMPC solution to improve the stability of the NMPC energy management strategy in optimization and to alleviate the high demands on online computation is a crucial issue to be addressed.
The current use of NMPC to solve the ship energy optimal problem faces problems such as poor real-time control performance and distribution optimality [19]. As the classical SQP method relies heavily on selecting the initial value, when the initial value is not appropriately chosen, it will lead to longer optimization time, fall into local optimal solutions, or even fail to find feasible solutions. Thus, many researchers are making some improvements to the SQP problem. For example, an improved SQP is used in reference [20] to solve the MPC energy optimization problem; indeed, the computational efficiency and optimality of the SQP during the iterative process are improved. Improvements for SQP are also combined with Heuristic algorithms. In reference [21], the genetic algorithm is combined with the SQP algorithm to achieve a faster optimization speed than the single GA. The reference [22] similarly designed the GA joint SQP algorithm and verified the correctness of the method by solving three nonlinear dual singularity problems.
Heuristic algorithms are widely used to optimize industrial sites [23]. Given that Heuristic algorithms tend to converge faster than other algorithms, the computational effort can be reduced. Still, they also possess a certain degree of stability, which in turn guarantees the existence of optimal solutions. The grey wolf optimizer (GWO) has the characteristics of fast optimization, high accuracy, and strong robustness compared with the genetic algorithm and particle swarm algorithm. Some classical engineering class optimization problems can be solved by GWO [24]. In reference [25], an energy management method was designed using GWO to apply a hybrid energy source of supercapacitors and fuel cells. However, GWO also suffers from the problem of easily falling into local optimal solutions with slow convergence [26]. But chaos is characterized by randomness, convenience, and regularity [27]. Therefore, a chaotic algorithm is introduced into the population initialization and global search to improve the search efficiency of the algorithm and to make use of as much information in the solution space as possible. An L1 penalty term was added to prevent the global search from going beyond the boundaries in this study.
In summary, a novel parallel hybrid ship energy management strategy based on NMPC via a chaotic grey wolf optimization algorithm is proposed in this paper. Meanwhile, this study is also an extension of reference [11]. In reference [11], a trade-off parameterized energy management strategy based on NMPC is proposed and it also faces the condition of imaginary solutions when the initial values are not properly chosen. Therefore, this study innovatively combines classical optimization algorithms with heuristic algorithms to avoid this problem and applies it to ship energy management. In this work, firstly, an NMPC controller is designed based on the parallel hybrid ship dynamics model. The influence of irregular waves was also investigated using extended Kalman filtering. Then, a hybrid algorithm combining chaotic optimization and grey wolf optimization is used to find the optimal solution to the optimization problems, while the classical SQP algorithm is used for a local exact search in order to guarantee the accuracy of the solution. Finally, by comparing the solving algorithms commonly used in the nonlinear model predictive control, the performance of the designed algorithm is verified and the effectiveness of the proposed new nonlinear model predictive control energy management strategy is shown.

2. Hybrid Power System Description and Modeling

The actual hybrid power ship considered in this work is shown in Figure 1 and the powertrain of this hybrid power ship is shown in Figure 2, which features a typical parallel structure. The main parameters of the ship are listed in Table 1. The powertrain architecture of the hybrid power ship involves multiple subsystems and various factors of the ship’s operation. So, the multi-input and multi-output (MIMO) model of a parallel hybrid power system is developed, which consists of the following power supply side components: (1) propulsion plant (mechanical shafts and the propeller); (2) internal combustion engine (ICE); (3) motor; and (4) battery. And the propeller provides a thrust at the power demand side. The ship’s operation at the power demand side involves overcoming various types of resistance while maintaining speed.

2.1. Ship Propulsion Plant Model

The modeling of a ship propulsion plant needs to take into account the power supply and load demand shown in Figure 2. And the model of the ship propulsion plant is derived from the reference [11].

2.1.1. Propeller Model

Based on the definition of four-quadrant open water characteristics [29], a propeller radius of 70% and a hydrodynamic pitch angle are used:
β = a r c t a n ( V p 0.7 π D n P )
where n P is the linear speed of the propeller. V p is the propeller inflow velocity subjected to the ship speed V and the wave turbulence velocity v d . So, V t is defined as:
V t = ( 1 δ d ) V + v d
where δ d is the wake fraction.
Therefore, the torque Q P and thrust T P of the propeller are calculated as follows:
{ Q P = π 8 ρ C Q ( V t 2 + ( 0.7 π n P D ) 2 ) D 3 T P = π 8 ρ C P ( V t 2 + ( 0.7 π n P D ) 2 ) D 2
where C Q and C P are the torque coefficient and thrust coefficient, respectively.

2.1.2. Irregular Wave Model

Modeling methods for irregular waves from reference [11]. According to the principle of superposition, irregular waves can be formed by the superposition of regular waves. Firstly, the wave height ζ ( t ) is defined as:
ζ ( t ) = i = 1 A ( ω i ) c o s ( ω i t + ϖ i )
where i denotes the i-th wave and A ( ω i ) , ω i and ϖ i are the magnitude, the frequency, and the phase of the regular wave, respectively. The total number of waves is as follows: κ i = 2 π L ( L is the length of each wave).
Then, suppose the wave encounter angle is Ψ . Thus, the excitation wave frequency ω υ i is defined as:
ω υ i = ω i κ i V c o s ( Ψ )
So, the wave turbulence velocity v d is given as:
v d ( t ) = i = 1 ζ ( t ) e σ κ i ω υ i s i n ( ω υ i t + ϖ i ) c o s ( Ψ )
where σ is the depth of immersion for the propeller hub.

2.1.3. Ship Hydrodynamics

The surge motion of a ship is defined as follows:
( m + m s ) V ˙ = k P T P ( 1 t d ) + R T + F w
where k P is the number of propellers and m and m s are the ship’s mass and the added mass on the ship, respectively. t d is the thrust deduction coefficient and R T is the total resistance, which contains the various resistances shown in Figure 1. F w is the resistance of waves.

2.2. Modeling of Rotational Dynamics and Internal Combustion Engine

The rotational dynamics of a power plant are derived from Equation (8)
ω ˙ e = 1 J s ( T I C E + T M D l o a d )
where J s is the moment of inertia at the power supply side, T I C E is the brake torque of the internal combustion engine, T M is the output torque of motor, and D l o a d is the disturbance torque load that is applied to the power supply side.
According to reference [30], the brake torque T I C E of the ICE and the engine fuel consumption ( m ˙ f ) can be modeled depending on the torque distribution ratio r i c e of the ICE and engine speed N e .
Therefore, T I C E can be expressed as follows:
T I C E = a i [ N e 2 N e r i c e 1 ] T
where a i and i are the coefficients of the approximate polynomial and the i-th coefficient, respectively.
The engine fuel consumption m ˙ f is expressed as follow:
m ˙ f = b j ρ f [ N e 2 r i c e 2 N e r i c e N e r i c e 1 ] T
where b j and j are the coefficients of the approximate polynomial and the j-th coefficient, respectively. ρ f is the density of diesel fuel.
The brake specific fuel consumption (BSFC) map [31] is displayed in Figure 3.
Figure 3 illustrates a BSFC map of the engine which reflects the combustion efficiency of the engine at the current moment (i.e., the mass of fuel required for every 1 kWh of effective work output). Therefore, it is necessary to optimize the energy distribution to operate the torque at the optimal efficiency point and achieve energy saving and emission reduction.
To model the relationship between fuel consumption and carbon emissions, carbon emissions need to be modeled after the modeling of fuel consumption has been completed. Modeling complex systems based on the Sigmoid function is a perfect way to do this and it is widely used in various fields. Thus, the carbon emission model will use the Sigmoid function in this paper. The carbon emissions map is shown in Figure 4.
As can be seen from [32], it has two distinct mutation points. One of them is when N e = 800 rpm and the other is when N e = 1580 rpm and r i c e = 80 % . At these two points, carbon emissions have a sizeable abrupt change.
Therefore, the carbon emissions e ˙ c can be defined as:
e ˙ c = β 1 ( α 1 + α 2 1 + e α 3 ( N e 800 ) ) r i c e α 4 N e β 2 1 1 + e α 5 ( r i c e 80 ) 1 1 + e α 6 ( N e 1580 ) r i c e α 7 N e
where α 1 , α 2 , α 3 , α 4 , α 5 , α 6 , α 7 , β 1 , and β 2 are fitting coefficients.

2.3. Motor Output Torque Model

The motor model can be defined by the torque distribution ratio r m , as follows:
T M = r m c m
where c m is a constant, which is a unit conversion factor.
Then, the output torque of the motor is modeled in conjunction with the angular velocity ω e of the engine via the Willan Equation [33]
{ ω e T M = e P m P 0 ( Motoring ) ω e T M = P m e P 0   ( Generating )
where e and P 0 are the Willan constant coefficients and P m is the electric power.

2.4. Battery Model

The energy storage device is a ternary polymer lithium battery, the battery’s nominal capacity is 45 Ah, and the total voltage is 48 V. The four lithium battery modules connected in parallel were used. The simple equivalent circuit model in reference [11] was considered as the battery model for this study. The battery is expressed as follows:
d S O C d t = I B 3600 Q B
where Q B is the battery capacitance (unit: Ah) and I B is defined by Equation (15)
I B = V O C V O C 4 P B R 2 R
where P B and R are power and equivalent internal resistance of the battery, respectively; V O C is the open circuit voltage and it is the equation for the battery SOC as follows:
V O C = k 1 S O C + k 2
where k 1 and k 2 are the open circuit voltage coefficients.

2.5. Propeller Load Torque Estimation

The impact of irregular waves on propeller load torque is confirmed using extended Kalman filtering. In accordance with the propeller strip theory, the propeller power demand P P is proportional to the cubic engine shaft speed ( P P = τ N e 3 ).
By rewriting Equation (8) and defining the following observation equation based on unknown perturbation d , the following is obtained:
ω ˙ e = 1 J s ( T I C E + T M d ω e 2 η g b 3 )
The extended Kalman filter state transition and measurement functions are as follows:
x [ k ] = f ( x [ k 1 ] , u [ k 1 ] ) + w [ k 1 ] y [ k ] = h ( x [ k ] , u [ k ] ) + v [ k ]
where f is a nonlinear state transition function that describes how states x = [ ω e d ] evolve from one time step to the next. h is a measurement function relating x to the measurement y = ω e at time step k. w and v are the process noise and measurement noise, respectively. u = [ T I C E T M ] is the set value of the control input.
By estimating the disturbance d , obtain d ^ . Thus, the strip theory coefficient τ ^ can be obtained based on τ ^ = ( 2 π 60 ) 2 d ^ η g b 3 . The coefficient observed result is shown in Figure 5. In addition, the coefficient τ ^ will be used to calculate the propeller load torque, where D l o a d = D ^ l o a d = 60 2 π τ ^ N e 2 . As can be seen Figure 5, while the strip theory coefficient fluctuates in a small range, its mean value remains almost constant and very stable. Therefore, it can be used in the proposed strategy to calculate and predict the future propeller load torque online.

3. Proposed NMPC Strategy via Chaotic Grey Wolf Optimization

3.1. Chaotic Grey Wolf Optimization (CGWO)

In this work, a chaos algorithm is introduced into GWO to overcome the trade-off between exploration and development, which is highly dependent on the global search ability of GWO. The principles of the GWO algorithm are briefly described below.
The principles of GWO are shown in Figure 6. According to Figure 6, it can be understood that grey wolves are divided into four classes. In the GWO algorithm, optimization (i.e., hunting) is guided by α , β , and δ . Only ω wolves follow these three wolves. Meanwhile, a a , a b , and a c are the three components of a in Equation (21). C a , C b , and C c denote the components of C in Equation (21). D α , D β , and D δ are distance vectors. Therefore, the position update of grey wolf can be expressed as follows:
{ X a = X α A a | C a X α X | X b = X β A b | C b X β X | X c = X δ A c | C c X δ X |
X ( i + 1 ) = X a + X b + X c 3
where i is the current iteration number and X α , X β and X δ are the position of α , β , and δ wolves, respectively. X a , X b , and X c are three position vectors. A a , A b , A c , C a , C b and C c are coefficients vectors and they can be calculated as follows:
{ A = 2 a r 1 a C = 2 r 2
where a is an encircling coefficient vector which will be linearized from 2 to 0 during the iteration of the algorithm. r 1 and r 2 are random vectors in [0, 1].
Compared to the classical GWO algorithm, the CGWO algorithm uses a hybrid approach that combines chaotic mapping initialization and a chaotic search in order to enhance the global search capability of GWO and to increase convergence speed. According to Equation (19), the optimal solution is the average of the positions of the three leading wolves, which disregards the individual optimal solution of each wolf in this pack. Therefore, to improve the search capability, the optimal location solution for each wolf is incorporated into the search mechanism, as shown below:
X λ k ( i + 1 ) = X λ k ( i ) A | C X λ k ( i ) X ( i ) |
where λ k is the individual optimal solution of k -th wolf. Therefore, Equation (20) can be updated as
X ( i + 1 ) = 1 3 j = α , β , δ , λ k ( 1 f ( X j ( i + 1 ) ) k = α , β , δ , λ k f ( X k ( i + 1 ) ) ) X j ( i + 1 )
where f ( ) is the fitness of each wolf. The implementation steps of the algorithm are as follows:
Step 1. Firstly, there is a limited range in the solution space [ X m i n , X m a x ] . Then, X ( i + 1 ) needs to be mapped to range [0, 1]. And the map equation is followed as:
Γ m = X ( i + 1 ) X m i n X m a x X m i n
where Γ m is the mapping sequence.
Step 2. The maximum number of iterations of chaotic maps is m a x and a set of chaotic variables is ϑ ( n ) , n = 1 , 2 , 3 , , m a x . It is calculated by chaotic iterative mapping and the chaotic solution sequence X ( n ) is obtained by inverse mapping.
X ( n ) ( i + 1 ) = X m i n + ( X m a x X m i n ) ϑ ( n )
Step 3. According to the calculated fitness value, the optimal solution X m a x is obtained from the chaotic solution sequence.
X m a x ( i + 1 ) = a r g m a x { f ( X m ( i + 1 ) ) } ( m = 0 , 1 , 2 , , m a x )
Step 4. By defining the hunting domain as Ω h , the new position update equation is:
X ( i + 1 ) = { X m a x ( i + 1 ) X m a x ( i + 1 )   ε Ω h ε < Ω h
where ε is the random number between [0, 1]. The implementation flow of CGWO is shown in Figure 7. It shows the algorithms designed in this study in detail and demonstrates how the chaos algorithm is effectively combined with the GWO.

3.2. Control Architecture and Implementation of NMPC

NMPC solves a non-linear programming problem at each time step. A global search for the solution is performed by the CGWO algorithm, while the classical SQP algorithm is used for a further exact search to obtain the optimal control sequence. The first value of the derived control sequence is then applied to the controlled energy management system at each sampling moment. The final NMPC architecture and implementation is shown in Figure 8. The figure demonstrates all relevant aspects of this research and illustrates the application of the designed algorithms.
Based on the modeling in Section 2, the dynamics model can therefore be built in a generic discrete form as follows:
x ( k + 1 ) = f ( x ( k ) , u ( k ) )
where k denotes the k -th moment, x = [ N e , S O C , r i c e , r m ] T , and u = [ r ˙ i c e , r ˙ m ] T .
In this study, the proposed NMPC is expressed as follows:
min J = γ 1 i = 1 N 1 ( N e , i N e , r e f , i ) 2 + γ 2 i = 1 N 1 ( S O C i S O C r e f ) 2                       + γ 3 i = 1 N 1 r ˙ i c e , i 2 + γ 4 i = 1 N 1 r ˙ m , i 2 + γ 5 i = 1 N 1 r m , i 2                     +   φ 1 ( N e , N N e , r e f , N ) 2 + φ 2 ( S O C i , N S O C r e f , N )                   + i = 1 N x i s . t .           { N e , m i n N e N e , m a x S O C m i n S O C S O C m a x r m , m i n r m r m , m a x r ˙ i c e , m i n r ˙ i c e r ˙ i c e , m a x r ˙ m , m i n r ˙ m r ˙ m , m a x r i c e 0
wherein i = 1 , 2 , 3 , , N represents control point, N e , r e f is the reference engine speed, and S O C r e f is the reference battery SOC. γ 1 , γ 2 , γ 3 , γ 4 , γ 5 , φ 1 and φ 2 are the penalty coefficients. In addition, ( N e , i N e , r e f , i ) 2 denotes the need to minimize the difference between predicted speed and reference speed to ensure the stability of the control. ( S O C i S O C r e f ) 2 is a penalty measure for deviations in the battery SOC, ensuring that energy demand changes from overcharging and discharging are avoided throughout the operating cycle. i = 1 N x i is a L1 penalty term and represents all the state variables. It ensures that the GWO algorithm does not jump out of the constraint condition in the solution and can accelerate the optimization search.

4. Results and Analysis

In order to reduce the amount of computation, the NMPC controller sample time was set to 0.5 s. The parameters related to constraint values of the NMPC optimization problem are listed in Table 2.
All results of this experiment were obtained in the MATLAB environment. The MATLAB optimization toolbox, the open-source chaos algorithm, and the grey wolf optimization algorithm are combined and applied to implement the energy strategy as described in detail in Section 3 (the program code is described to realize the energy strategy and will be uploaded to https://github.com/NOKoooy (accessed on 19 September 2023). MATLAB is capable of solving various problems optimally and performing trade-off analysis and has good algorithm incorporation capabilities. It is also capable of performing functions such as parameter estimation, component selection, and parameter tuning, making is well-suited for energy management.
The results of the engine speed tracking and a partial enlargement are shown in Figure 9. It includes the result figures of using the classical sequential quadratic programming algorithm, the classical genetic algorithm, and the genetic algorithm combined with the SQP algorithm. As can be seen from Figure 9, all algorithms accomplish the goal of tracking the speed reference base but their fluctuation profiles differ. Firstly, the NMPC + GA algorithm has more fluctuations in track than the NMPC + SQP algorithm, the NMPC + GA_SQP algorithm, and the designed NMPC + CGWO algorithm. RMSE is frequently used to measure prediction results in machine learning, so it can be used to measure the superiority of the tracking results of NMPC-solving algorithms.
The RMSE values of the tracking results of the four algorithms are calculated and shown in Table 3. Combined with Figure 9 and Table 3, we can know the results of the proposed NMPC + CGWO compared with other algorithms. In contrast, it can better achieve the prediction and tracking of the engine reference speed. It can be seen that the solution effect of the GA algorithm is the most fluctuating condition and that the difference between the predicted and reference values of the model is the largest.
The simulated torque distribution and SOC variation of an internal combustion engine under the four algorithms are shown in Figure 10. The upper picture shows the simulated torque distribution (U) and the lower picture shows the SOC variation (L). As can be seen from the torque distribution diagram of the internal combustion engine in Figure 10, the torque provided by the proposed algorithm and GA is higher than that of the other two algorithms under the same working conditions. The strategy designed by the institute provides higher torque than GA before 500 s. It shows the advantages of the designed algorithm. While the torque changes, so does the battery SOC. The battery SOC variation figure shows that the GA algorithm solves for the optimized battery SOC fluctuation range of 49.4–52.9% and that of the classical SQP algorithm is 47.9–52.7%. The GA-SQP algorithm solves for the battery SOC fluctuation range of 44.8–50.6% and the fluctuation range of battery SOC based on chaotic grey wolf NMPC strategy is 46.8–53.3%. The less fluctuation in battery SOC is owing to the entire ship operating conditions being not fully considered. The SOC needs to be stabilized to near the reference value each time step, which limits the variation of battery SOC.
The ultimate goal of designing energy management strategies is lower fuel consumption and reduced emissions. Therefore, comparing fuel consumption and carbon emissions must be performed using the developed NMPC optimization solution algorithm. Fuel consumption curves (U) and carbon emission curves (L) for all methods are shown in Figure 11.
According to Figure 11, the fuel consumption curve and carbon emission curve of NMPC + CGWO are below the corresponding fuel consumption and carbon emissions of other methods. Two nodes are labeled in Figure 11 and, based on the engine speed tracking operating conditions shown in Figure 9, it is known that the first peak in fuel consumption is reached around 60 s to 230 s for all four methods. After 300 s, it enters a phase similar to a plateau period according to the set-up operating conditions.
However, both the optimized fuel consumption curve and the carbon emission curve are accompanied by large fluctuations. This is because the engine speed itself is made up of many small gradient changes. In Section 2, m ˙ f and e ˙ c are differential forms. Therefore, when calculating fuel consumption and carbon emissions, it is necessary to calculate the integral based on the optimized operating conditions, this leads to large fluctuations. Although there are fluctuations, it still demonstrates the superiority of the algorithm designed in this study.
In order to compare the performance of the four algorithms more intuitively and accurately, the total fuel consumption, total carbon emissions, and total computation time of the four algorithms during the optimization time period are presented in Table 4, where the comparison of computation time demonstrates the real-time performance of the algorithms.
As shown in Table 4, the proposed strategy corresponds to the lowest total fuel consumption and carbon emissions, indicating that its solution is the best. Although it is accompanied by large fluctuations, as shown in Figure 11, it does not impact the NMPC energy management strategy much. Among the other three algorithms, the one with the best fuel consumption and carbon emissions performance is the GA algorithm. In addition, the total computing time of the proposed NMPC strategy ranks second among the four algorithms, only higher than that of the SQP algorithm. But the fuel consumption and carbon emissions of the SQP solving algorithm are higher than those of the proposed solving algorithm. To further illustrate the effectiveness of the strategy, the engine load paths under various algorithms are shown in Figure 12.
According to Figure 12, it is known that the engines under the two solution algorithms, SQP and GA-SQP, did not approach the operating point with a lower effective fuel consumption rate as in the case of GA and the proposed algorithm. The proposed strategy is more effective than GA. It also corroborates the argument that the proposed strategy in Table 4 has the lowest fuel consumption and, moreover, reflects the effectiveness of the proposed strategy.

5. Conclusions

This study is based on previous research [11] and designs a nonlinear model predictive control energy management strategy using a hybrid optimization algorithm that combines a chaos algorithm with GWO. The hybrid optimization algorithm is utilized for global search, while the classical SQP is employed for local exact search. Furthermore, an L1 penalty factor is introduced to prevent the global search from crossing the boundaries. This strategy ensures optimality to the maximum extent in order to achieve a reasonable distribution of energy. In addition, irregular waves are modeled and extended Kalman filtering is used to estimate ship propeller load torque as part of a nonlinear prediction model.
In addition, the results show that the proposed NMPC based on the chaotic grey wolf optimization algorithm yields better performance compared to other algorithms. Compared to using the classical SQP strategy, the proposed algorithm in this study reduces fuel consumption by approximately 26% and carbon emissions by approximately 56% over the optimized time period. Despite a slight increase in the total optimization time, it exhibits better performance in the prediction and tracking of engine speed (with a RMSE value of 4.5840), indicating good immunity to interference. Therefore, the proposed NMPC strategy can rationalize the energy allocation and provide ideas for realistic applications.
The future research work will focus on the use of artificial neural network methods to predict the energy consumption of ships with respect to the actual hardware implementation of energy management strategies.

Author Contributions

Conceptualization, L.C. and D.G.; methodology, L.C. and D.G.; software, L.C.; validation, L.C.; investigation, D.G. and Q.X.; data curation, L.C. and D.G.; writing—original draft preparation, L.C.; writing—review and editing, D.G. and Q.X.; visualization, L.C.; supervision, D.G. and Q.X. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Shanghai Science and Technology Project of China (Grant No. 20040501200, 21DZ205803) and the National Natural Science Foundation of China (NSFC) (Grant No. 61673260 and 61304186).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The paper codes and data will be uploaded to https://github.com/NOKoooy (accessed on 19 September 2023).

Acknowledgments

The authors thank the anonymous reviewers for suggesting valuable improvements to the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zincir, B. Slow steaming application for short-sea shipping to comply with the CII regulation. Brodogr. Teor. I Praksa Brodogr. I Pomor. Teh. 2023, 74, 21–38. [Google Scholar] [CrossRef]
  2. Wang, Q.; Yang, X. Imbalance of carbon embodied in South-South trade: Evidence from China-India trade. Sci. Total. Environ. 2020, 707, 134473. [Google Scholar] [CrossRef]
  3. Serrao, L.; Onori, S.; Rizzoni, G. A Comparative Analysis of Energy Management Strategies for Hybrid Electric Vehicles. J. Dyn. Syst. Meas. Control. 2011, 133, 031012. [Google Scholar] [CrossRef]
  4. Klyuev, R.V.; Morgoev, I.D.; Morgoeva, A.D.; Gavrina, O.A.; Martyushev, N.V.; Efremenkov, E.A.; Mengxu, Q. Methods of Forecasting Electric Energy Consumption: A Literature Review. Energies 2022, 15, 8919. [Google Scholar] [CrossRef]
  5. Mittendorf, M.; Nielsen, U.D.; Bingham, H.B. Data-driven prediction of added-wave resistance on ships in oblique waves—A comparison between tree-based ensemble methods and artificial neural networks. Appl. Ocean Res. 2022, 118, 102964. [Google Scholar] [CrossRef]
  6. Yuan, Y.; Chen, M.; Wang, J.; Yu, W.; Shen, B. A novel hybrid energy management strategy of a diesel-electric hybrid ship based on dynamic programing and model predictive control. Proc. Inst. Mech. Eng. Part M J. Eng. Marit. Environ. 2022, 236, 644–657. [Google Scholar] [CrossRef]
  7. Haseltalab, A.; Wani, F.; Negenborn, R.R. Multi-level model predictive control for all-electric ships with hybrid power generation. Int. J. Electr. Power Energy Syst. 2022, 135, 107484. [Google Scholar] [CrossRef]
  8. Xie, P.; Tan, S.; Guerrero, J.M.; Vasquez, J.C. MPC-informed ECMS based real-time power management strategy for hybrid electric ship. In Proceedings of the International Conference on Power Engineering (ICPE 2020), Guangzhou, China, 19–21 December 2020. [Google Scholar] [CrossRef]
  9. Hou, J.; Song, Z.; Hofmann, H.; Sun, J. Adaptive model predictive control for hybrid energy storage energy management in all-electric ship microgrids. Energy Convers. Manag. 2019, 198, 111929. [Google Scholar] [CrossRef]
  10. Xiao, N.; Zhou, R.; Xu, X. Vibration of diesel-electric hybrid propulsion system with nonlinear component. J. Vib. Control 2018, 24, 5353–5365. [Google Scholar] [CrossRef]
  11. Chen, L.; Gao, D.; Xue, Q. Energy management strategy for hybrid power ships based on nonlinear model predictive control. Int. J. Electr. Power Energy Syst. 2023, 153, 109319. [Google Scholar] [CrossRef]
  12. Powell, M.J.D. Variable Metric Methods for Constrained Optimization. In Mathematical Programming the State of the Art; Springer: Berlin/Heidelberg, Germany, 1983; pp. 288–311. [Google Scholar]
  13. Li, C.; Xu, B.; Zhou, W.; Peng, Q. Geostationary Station-Keeping of Electric-Propulsion Satellite Equipped with Robotic Arms. Aerospace 2022, 9, 182. [Google Scholar] [CrossRef]
  14. Hamednia, A.; Sharma, N.K.; Murgovski, N.; Fredriksson, J. Computationally Efficient Algorithm for Eco-Driving Over Long Look-Ahead Horizons. IEEE Trans. Intell. Transp. Syst. 2021, 23, 6556–6570. [Google Scholar] [CrossRef]
  15. Li, D.; De Schutter, B. Distributed Model-Free Adaptive Predictive Control for Urban Traffic Networks. IEEE Trans. Control Syst. Technol. 2022, 30, 180–192. [Google Scholar] [CrossRef]
  16. Li, L.; Negenborn, R.R.; De Schutter, B. Distributed model predictive control for cooperative synchromodal freight transport. Transp. Res. Part E Logist. Transp. Rev. 2017, 105, 240–260. [Google Scholar] [CrossRef]
  17. Zhang, H. A cooperative bat searching algorithm with application to model predictive control. Soft Comput. 2021, 25, 8325–8335. [Google Scholar] [CrossRef]
  18. Bao, H.; Zhu, H. Modeling and Trajectory Tracking Model Predictive Control Novel Method of AUV Based on CFD Data. Sensors 2022, 22, 4234. [Google Scholar] [CrossRef]
  19. Bo, T.I.; Johansen, T.A. Battery Power Smoothing Control in a Marine Electric Power Plant Using Nonlinear Model Predictive Control. IEEE Trans. Control Syst. Technol. 2016, 25, 1449–1456. [Google Scholar] [CrossRef]
  20. Guo, L.; Liu, H.; Han, L.; Yang, N.; Liu, R.; Xiang, C. Predictive energy management strategy of dual-mode hybrid electric vehicles combining dynamic coordination control and simultaneous power distribution. Energy 2023, 263, 125598. [Google Scholar] [CrossRef]
  21. Mansoornejad, B.; Mostoufi, N.; Jalali-Farahani, F. A hybrid GA–SQP optimization technique for determination of kinetic parameters of hydrogenation reactions. Comput. Chem. Eng. 2008, 32, 1447–1455. [Google Scholar] [CrossRef]
  22. Raja, M.A.Z.; Mehmood, J.; Sabir, Z.; Nasab, A.K.; Manzar, M.A. Numerical solution of doubly singular nonlinear systems using neural networks-based integrated intelligent computing. Neural Comput. Appl. 2017, 31, 793–812. [Google Scholar] [CrossRef]
  23. Dong, R.Y. Research and Application of Meta-Heuristic Optimization Algorithms. Ph.D. Thesis, Jilin University, Changchun, China, 2019. [Google Scholar]
  24. Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey Wolf Optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef]
  25. Djerioui, A.; Houari, A.; Zeghlache, S.; Saim, A.; Benkhoris, M.F.; Mesbahi, T.; Machmoum, M. Energy management strategy of Supercapacitor/Fuel Cell energy storage devices for vehicle applications. Int. J. Hydrogen Energy 2019, 44, 23416–23428. [Google Scholar] [CrossRef]
  26. Zhu, A.; Xu, C.; Li, Z.; Wu, J.; Liu, Z. Hybridizing grey wolf optimization with differential evolution for global optimization and test scheduling for 3D stacked SoC. J. Syst. Eng. Electron. 2015, 26, 317–328. [Google Scholar] [CrossRef]
  27. Luo, Y.; Yu, J.; Lai, W.; Liu, L. A novel chaotic image encryption algorithm based on improved baker map and logistic map. Multimedia Tools Appl. 2019, 78, 22023–22043. [Google Scholar] [CrossRef]
  28. DAMEN STAN TUG 1205 T7 and T8, Marine Dredging Company in Abu Dhabi in August 2010. Available online: https://products.damen.com/en/ranges/stan-tug/stan-tug-1205/deliveries/stu-1205-t7-and-t8 (accessed on 22 August 2023).
  29. Kuiper, G. The Wageningen Propeller Series; MARIN: Wageningen, The Netherlands, 1992. [Google Scholar]
  30. Planakis, N.; Papalambrou, G.; Kyrtatos, N. Ship energy management system development and experimental evaluation utilizing marine loading cycles based on machine learning techniques. Appl. Energy 2022, 307, 118085. [Google Scholar] [CrossRef]
  31. Kulikov, I.; Kozlov, A.; Terenchenko, A.; Karpukhin, K. Comparative Study of Powertrain Hybridization for Heavy-Duty Vehicles Equipped with Diesel and Gas Engines. Energies 2020, 13, 2072. [Google Scholar] [CrossRef]
  32. Leite, M.T. The Gudermannian Growth Model: Theory, Application and Statistical Analysis. Braz. Arch. Biol. Technol. 2022, 65, e22210620. [Google Scholar] [CrossRef]
  33. Thurnheer, T.; Soltic, P.; Eggenschwiler, P.D. SI engine fuelled with gasoline, methane and methane/hydrogen blends: Heat release and loss analysis. Int. J. Hydrogen Energy 2009, 34, 2494–2503. [Google Scholar] [CrossRef]
Figure 1. The tug ship considered in this work, model DAMEN Stun Tug 1205 from Damen Shipyards Group [28].
Figure 1. The tug ship considered in this work, model DAMEN Stun Tug 1205 from Damen Shipyards Group [28].
Jmse 11 01834 g001
Figure 2. Powertrain architecture of a parallel hybrid power ship.
Figure 2. Powertrain architecture of a parallel hybrid power ship.
Jmse 11 01834 g002
Figure 3. Brake specific fuel consumption map [g/kWh].
Figure 3. Brake specific fuel consumption map [g/kWh].
Jmse 11 01834 g003
Figure 4. Carbon emissions map.
Figure 4. Carbon emissions map.
Jmse 11 01834 g004
Figure 5. Strip theory coefficient.
Figure 5. Strip theory coefficient.
Jmse 11 01834 g005
Figure 6. Principles of GWO.
Figure 6. Principles of GWO.
Jmse 11 01834 g006
Figure 7. Implementation flow of CGWO.
Figure 7. Implementation flow of CGWO.
Jmse 11 01834 g007
Figure 8. NMPC architecture and implementation.
Figure 8. NMPC architecture and implementation.
Jmse 11 01834 g008
Figure 9. Engine speed tracking of each NMPC solving algorithm.
Figure 9. Engine speed tracking of each NMPC solving algorithm.
Jmse 11 01834 g009
Figure 10. (U)Simulate ICE torque distribution (N·m) and (L)battery SOC variation (%).
Figure 10. (U)Simulate ICE torque distribution (N·m) and (L)battery SOC variation (%).
Jmse 11 01834 g010
Figure 11. (U)Fuel consumption (kg/h) and (L)carbon emissions (mg/s).
Figure 11. (U)Fuel consumption (kg/h) and (L)carbon emissions (mg/s).
Jmse 11 01834 g011
Figure 12. Engine load paths under four algorithms.
Figure 12. Engine load paths under four algorithms.
Jmse 11 01834 g012
Table 1. Main parameters.
Table 1. Main parameters.
DescriptionSymbolValue
Ship length L s h i p 13.08 m
Ship breadth B s h i p 5.28 m
Draught aft H s h i p 1.85 m
Mass m 55 t
Added-mass m s 2.75 t
Thrust deduction coefficient t d 0.145
Effective wake coefficient f d 0.157
Wetted area S 341.5 m2
Gearbox reduction ratio η r 3.82:1
Diameter of propeller D 1.05 m
Air resistance coefficient C a i r 0.83
Water resistance coefficients C F + C R 0.0045
Water density ρ 1025 kg · m−3
Table 2. System simulation parameters.
Table 2. System simulation parameters.
DescriptionSymbolValue
Sample time T s 0.5 s
Prediction Horizon N p 5 steps
Control Horizon N c 5 steps
Penalty coefficient γ 1 , γ 2 , γ 3 , γ 4 , γ 5 , φ 1 , φ 2 1 , 150 , 5 , 0.5 0.5 , 15 , 1000
Battery Maximum SOC S O C m a x 80%
Battery Minimum SOC S O C m i n 20%
Maximum N e N e , m a x 1700 rpm
Minimum N e N e , m i n 500 rpm
Maximum Motor Command r m , m a x 90%
Minimum Motor Command r m , m i n −90%
Maximum Motor Command Rate r ˙ m , m a x 50%
Minimum Motor Command Rate r ˙ m , m i n −50%
Maximum ICE Command Rate r ˙ i c e , m a x 20%
Minimum ICE Command Rate r ˙ i c e , m i n −10%
Water density ρ 1025 kg · m−3
Table 3. RMSE of Solving algorithm.
Table 3. RMSE of Solving algorithm.
Solving AlgorithmRMSE
NMPC + SQP13.1597
NMPC + GA21.9220
NMPC + GA_SQP11.9940
NMPC + CGWO4.5480
Table 4. Total fuel consumption, total carbon emissions, and total computation time.
Table 4. Total fuel consumption, total carbon emissions, and total computation time.
AlgorithmTotal Fuel Consumption (kg)Total Carbon Emissions (g)Total Computation Time (s)
NMPC + GA9.877939.1280344.7736
NMPC + SQP12.598275.619126.7451
NMPC + GA_SQP11.961067.7434104.3345
NMPC + CGWO9.318433.042138.25141
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Chen, L.; Gao, D.; Xue, Q. Energy Management Strategy of Hybrid Ships Using Nonlinear Model Predictive Control via a Chaotic Grey Wolf Optimization Algorithm. J. Mar. Sci. Eng. 2023, 11, 1834. https://doi.org/10.3390/jmse11091834

AMA Style

Chen L, Gao D, Xue Q. Energy Management Strategy of Hybrid Ships Using Nonlinear Model Predictive Control via a Chaotic Grey Wolf Optimization Algorithm. Journal of Marine Science and Engineering. 2023; 11(9):1834. https://doi.org/10.3390/jmse11091834

Chicago/Turabian Style

Chen, Long, Diju Gao, and Qimeng Xue. 2023. "Energy Management Strategy of Hybrid Ships Using Nonlinear Model Predictive Control via a Chaotic Grey Wolf Optimization Algorithm" Journal of Marine Science and Engineering 11, no. 9: 1834. https://doi.org/10.3390/jmse11091834

APA Style

Chen, L., Gao, D., & Xue, Q. (2023). Energy Management Strategy of Hybrid Ships Using Nonlinear Model Predictive Control via a Chaotic Grey Wolf Optimization Algorithm. Journal of Marine Science and Engineering, 11(9), 1834. https://doi.org/10.3390/jmse11091834

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