1. Introduction
With the increasingly prominent environmental problems and the continuous expansion of energy demand, new energy technologies are being increasingly applied to ship propulsion systems. Hybrid electric ships have become an important development direction of marine energy conservation and emission reduction. Among them, clean energy, represented by hydrogen energy, wind energy, and solar energy, is widely used in modern ship power systems. For the energy management of multi-energy coupled ship power systems, the power distribution between multiple energy sources under different operating modes is the main factor affecting the performance of ship power systems. Therefore, it is necessary to carry out research on the energy management strategies of multi-energy ship power systems [
1].
Energy management strategies are the core of hybrid electric ships. A good control strategy, which takes the service life of the equipment into consideration, can effectively and reasonably distribute the power of each energy source under different operating modes, thus improving system efficiency. In the past, control strategies used to adopt a single constant voltage control or a power-following strategy, which had difficulty in adjusting control parameters effectively [
2]. At present, energy management strategies for hybrid electric ships are mainly divided into three categories: the rule-based energy management strategy, the optimization-based energy management strategy, and the learning-based energy management strategy [
3]. The rule-based energy management strategy is to establish the operation mode of a hybrid power system according to human experience and experiments. This kind of strategy is widely used in engineering practice, but it can not maintain the optimal control strategy under complex working conditions. As the study progresses, an intelligent optimization algorithm is applied to the design of the energy management strategy. The energy management strategy based on optimization is to determine the optimization objective and constraint conditions by analyzing the characteristics of the object, build the overall optimization model on this basis, and use the optimization algorithm to solve the objective function. Among them, the energy management strategy based on global optimization can theoretically achieve the optimal distribution of system energy, but it still has the problems of heavy computation and poor real-time performance.
The energy management of hybrid electric ships is a multi-objective optimization problem, covering the conversion and control of energy, including mechanical energy, chemical energy, and electrical energy. At the same time, the safe and stable operation of the ships should be considered, and on this basis, the economy and environmental protection of ship operation should be further optimized. In terms of a single management objective, the existing energy management strategies can be divided into energy management objectives that focus on power quality, energy management objectives that focus on fault recovery, energy management objectives that focus on energy consumption and emissions, and energy management objectives that focus on system economy. Combining a wavelet analysis and PI control, Zhao [
4] proposed a system that distributes and controls the output power of the multi-power tourism marine hybrid system online and that absorbs high-frequency power by using supercapacitors. However, this system still has optimization space for multi-power coupling and power grid fluctuation. Balsamo et al. [
5] verified an energy management strategy based on the constraint minimization problem. The program realizes the reliability and fault recovery of a system under uncertain operating conditions via the off-line optimization of known task profiles, but the proposed scheme still has the problems of heavy computation and poor real-time performance. Xue et al. [
6] proposed a two-stage model of a predictive control energy management strategy, which solves the distribution scheme between the generator and the energy storage system in the first stage and then further determines the operation strategy of the supercapacitor on a short time scale in the second stage. This method effectively improves the economy of all electric ship operations. Multi-objective optimization can set up the optimization function of multiple management objectives to calculate the optimal solution of a system in a certain range. Gao et al. [
7] predicted a ship’s power demand under uncertain loads by analyzing the characteristics of the cycle conditions of hybrid electric ships, adopted the energy management strategy based on the non-dominated sorting genetic algorithm (NSGA), decoupled the energy management optimization problem into optimization sub-problems, obtained the optimization scheme of the sub-problems, and then narrowed the target range. Finally, the optimal solution under each operating condition was obtained via fuzzy decision making.
To date, many scholars have conducted relevant research on the energy management strategies of multi-energy ship power systems. Philip et al. proposed an energy management strategy based on a classical proportional integral controller, thus improving the working efficiency of fuel cells [
8]. Yuan et al. proposed an energy management strategy based on DP-MPC for diesel–electric hybrid ships but without considering the service life of the equipment [
9]. Kalikatzarakis applied the equivalent consumption minimization strategy (ECMS) to hybrid ships in order to determine the power distribution between different pieces of equipment in real time [
10]. Kanellos used the dynamic programming method and the particle swarm optimization algorithm to optimize the generator power and propulsion power of all-electric propulsion ships and then verified the effectiveness of the two methods in ship energy management through a simulation [
11,
12]. Abeywardana adopted the rule-based energy management strategy to manage the energy of the supercapacitor and battery and then effectively used a low-pass filter to divide the frequency of the power signal. However, this rule-based strategy still depends on the experience of engineers, and the dynamic response performance of the system needs to be improved [
13]. Tang et al. proposed a Q network algorithm based on deep learning. This strategy optimizes the parameters of energy storage systems and establishes a balance between fuel consumption and fuel cell degradation by introducing the objective function of fuel cell degradation [
14].
The advantages and disadvantages of energy management stragies are shown in
Table 1. All the above studies concern the optimization of the energy management strategy, but they do not optimize the parameters of the energy management strategy and the composite energy storage system simultaneously. This paper takes a fuel cell hybrid electric ship as the research object and uses the particle swarm optimization algorithm to optimize the energy management strategy of the fuel cell hybrid electric ship and the capacity parameters of the composite energy storage system.
In the
Section 1 of this paper, the relevant literature and research methods carried out in the field of ship energy management in recent years are discussed. Then, in the
Section 2, the target ship type and the composite energy storage system are described. In the
Section 3, an energy management strategy based on power distribution is proposed, which is characterized by the use of wavelet transform to process power signals and then the use of filters to complete the power distribution of the complex energy storage system. The
Section 4 of this paper discusses the gaps in the current research field and uses the particle swarm optimization algorithm to optimize the parameters. Finally, the proposed method is verified via a hybrid ship simulation model.
4. Parameter Optimization
Due to the disadvantages of rulemaking, rule-based energy management strategies cannot achieve better optimization results in some special working conditions. Therefore, the current relevant studies mainly focus on optimized energy management strategies. The optimal energy management strategy defines the objective function and its constraint conditions, and it obtains the corresponding management strategy by solving the objective function. Intelligent optimization algorithms are widely used in the field of hybrid electric ships, including the whale optimization algorithm (WOA), the particle swarm optimization algorithm (PSO), and the genetic algorithm (GA). Yang et al. [
18] proposed a management strategy based on the improved whale optimization algorithm (AWOA), which mainly solves the conventional whale algorithm’s problem of easily falling into the local optimal and optimizes the fuzzy control rules of the system with the ship energy consumption as the management objective; however, it does not optimize the capacity configuration of the energy storage system. Zhang et al. [
19] took an anchor-handling towing supply vessel as a research object and used non-dominated sorting genetic algorithm (NSGA) decomposition to solve the optimization problem from the perspective of fuzzy decision making to optimize the capacity of the hybrid system configuration. However, this method failed to optimize the energy management parameters of the energy storage system.
The current optimization algorithm mainly optimizes the energy management strategy and the composite energy storage system separately, but both the parameter settings of the energy management strategy and the capacity configuration of the composite energy storage system play an important role in the efficient operation of the hybrid power system. The capacity configuration of the composite energy storage system needs to be configured according to the adopted energy management strategy and ship working conditions. In order to optimize ship energy efficiency, the particle swarm optimization algorithm has been proposed to carry out the multi-objective optimization of host speed and the power supply stability of the power grid under different working conditions. This algorithm can effectively balance ship emissions and the stability of the ship’s power grid. Compared with the genetic algorithm, the particle swarm optimization algorithm can converge faster in solving multi-objective optimization problems, and its computational complexity is lower than that of other algorithms. Therefore, we adopt the optimization method combined with the particle swarm optimization algorithm and a fuel cell hybrid power system simulation to establish the objective function of evaluating the ship power system based on the indicators of battery capacity, supercapacitor voltage, and voltage improvement rate, and we determine the value range of the related parameters of the composite energy storage system according to the system constraints [
20]. The particle swarm optimization algorithm based on the objective function can finally obtain the energy management strategy parameters and configuration scheme of the composite energy storage system [
21].
4.1. Optimization Objectives
In order to evaluate the advantages and disadvantages of different design parameters and the configuration of the composite energy storage system, we proposes an objective function to optimize the system energy management strategy’s parameters and configuration options based on three perspectives: battery loss, voltage fluctuation, and system energy loss. The evaluation formulas are as follows:
The evaluation formula of the battery loss is [
22]
where
is the current of the battery at time i.
The evaluation formula of the voltage fluctuation is [
23]
where
is the DC bus voltage at time i.
The evaluation formula of the energy loss is [
24]
where
is the internal resistance of the supercapacitor,
is the current of the supercapacitor at time
,
is the internal resistance of the battery,
is the current of the battery at time
,
is DC/DC converter efficiency, and
is the power of DC/DC converter at time
.
The three indexes of battery loss, voltage fluctuation, and energy loss can be used to quantitatively evaluate the effects of the energy management strategy and the capacity configuration option in different aspects of the composite energy storage system. For different ship types and operating modes, these three evaluation functions receive different levels of attention. When a fuel cell hybrid passenger ship is taken as the research object, the optimization goal is more focused on the improvement of the power quality of the ship’s power grid [
25]. For fuel cells, the composite energy storage system is applied to improve the voltage sag of the power grid and to ensure the stable operation of the fuel cells. With the goal of energy management, the optimization goal pays more attention to the protection of battery life and the stability of the ship’s power grid. The main goal of using supercapacitors for energy storage is to improve the voltage fluctuation of the ship grid and to improve the energy utilization efficiency of the system. Therefore, the optimization objective function ObjV is set by introducing weight coefficients. Since the target ship type is small, the battery loss of the system and the voltage fluctuation of the grid are included in the evaluation model as the main factors to be considered. Here, the weight coefficients are 0.5, 0.4, and 0.1 in turn. The expression is described as follows:
where “ObjV” is the optimal evaluation function value of the hybrid power system. The smaller the value, the closer the system parameters are to the optimization objective of the algorithm. “a” is the battery loss weight, “b” is the voltage fluctuation weight, “c” is the energy loss weight, “
” is the battery loss evaluation value, “
” is the grid voltage fluctuation evaluation value, and “
” is the system energy loss evaluation value, which can be calculated by using Equations (5)–(7).
The energy control strategy should ensure the power demand of the ship, as well as the remaining load demand. Therefore, the power balance equation needs to be satisfied first. At the same time, the fuel cell and energy storage system are both within the feasible power output range, and the voltage and current of the system are within the upper and lower limits. Then, the mathematical expression of the system constraint is as follows:
Based on the power system parameters of the target ship type, the voltage value of the ship’s DC bus is 560 V, so the operating voltage of the battery pack is set to 560 V. According to the relevant literature [
26], here, the capacity optimization range of the battery is set to [20 A∙h, 60 A∙h]. The rated voltage of a single group of supercapacitors is 48 V, and the allowable operating voltage range is [0 V, 51 V]. Therefore, 12 groups of supercapacitors are needed in a series to meet the voltage of the ship bus. The minimum voltage of the supercapacitors is taken as half of the rated voltage, and the voltage range of the supercapacitors is [288 V, 576 V]. The filter time constant range is as follows:
.
4.2. Optimization of Particle Swarm Optimization
Particle swarm optimization is a random search optimization algorithm based on cluster intelligence. The algorithm can optimize a flock by simulating its foraging behavior. The structure of the algorithm is shown in
Figure 4. Firstly, it initializes all feasible solutions into a group of particles, whose characteristics include the position, velocity, and fitness value. The encoded position of each particle represents a possible solution to be optimized, the velocity of the particle represents the direction and distance of the particle movement, and the fitness value of the particle can be calculated according to the objective function. Secondly, the optimal value of the individual and the optimal value of the population are calculated, while the speed and position of the particle are updated. When the algorithm reaches the maximum number of iterations or when the position of the particle is less than the given threshold value, the algorithm stops. Compared with other optimization algorithms, this algorithm is easier to implement, has a high accuracy, and greatly improves the solving speed [
27]. In recent years, many scholars have adopted the improved PSO algorithm to solve the problem of ship energy management. Tang et al. [
28] proposed an adaptive multi-context cooperatively co-evolving particle swarm optimization (AM-CCPSO), which is used to solve the optimal power distribution problem of systems. The algorithm converts the constraints into penalty functions and, thus, transforms the constrained optimal power distribution problem into the unconstrained optimal power distribution problem. Simulation results have shown that the proposed algorithm can effectively reduce ship operating costs. Kanellos et al. [
29] proposed using a fuzzy controller to dynamically change the corresponding parameters of the PSO algorithm, which can improve the computational efficiency of the algorithm. Du et al. [
30] adopted an improved second-order oscillation PSO algorithm to study ship energy efficiency from the perspective of path planning, and the results showed that the optimization of multiple objectives, such as ship emissions, fuel consumption, and economic benefits, using this algorithm has application potential.
In this paper, the particle swarm optimization algorithm is used to optimize the filter time constant and the capacity parameters of the energy storage system in the energy management strategy by building a simulation model of the fuel cell ship hybrid power system. The optimization process is shown in
Figure 5. Firstly, we input the optimized range of the battery capacity, the supercapacitor voltage, and the filter time constant:
;
;
; and
. The number of iterations is 100. Secondly, we run the particle swarm optimization algorithm in MATLAB to output the optimized values of the four parameters. Finally, we run the simulation model of the fuel cell ship hybrid power system in Simulink; then import the equipment voltage, current, and power information from the simulation model into the power system evaluation model to evaluate the simulation results; and turn to the particle swarm optimization algorithm in order to run and output the results. Until the number of iterations is reached, the optimal feasible solution is output. The set values of the relevant parameters of the particle swarm optimization algorithm are shown in
Table 2, where “n” is the number of particles, and “c1” and “c2” are learning factors.The final iterative calculation results are shown in the
Table 3.
5. Simulation Test and Analysis
In this paper, the simulation model of the fuel cell ship hybrid power system, as shown in
Figure 6, is built in Matlab/Simulink. The model includes a fuel cell system, a composite energy storage system composed of batteries and supercapacitors, a load under the typical operating modes of the ship, and the energy management strategy. Taking the power demand of the target ship as the input signal, the final parameter optimization results are re-imported into the simulation model through the dynamic system evaluation model and the particle swarm optimization algorithm for simulation experiments.
The mathematical model of the fuel cell voltage model is as follows:
where
is the single chip produced by the fuel cell reaction thermodynamic electromotive force,
is the electrode activation loss of the electromotive force,
is the battery internal resistance ohmic loss caused by the electromotive force, and
is the concentration loss caused by the concentration change in the reactant concentration; then, the partial voltage is calculated [
31]. We mainly study the energy management strategy and the optimization of hybrid electric ships, and we do not conduct in-depth research on the reaction mechanism of each system. Therefore, the battery model and the supercapacitor model adopt the general module in Matlab/Simulink.
The optimized hybrid power system is simulated by using the typical operating modes of the fuel cell ship, and it is compared with the original hybrid power system.
Figure 7 displays a comparison of the bus voltage simulation results of the two ships. The blue line is the bus voltage fluctuation of the original fuel cell ship under typical operating modes, and the green line is the bus voltage simulation results of the fuel cell hybrid ship optimized via the particle swarm optimization algorithm. It can be intuitively seen in
Figure 7 that, under steady sailing, the bus voltage of the original ship has a voltage drop caused by a change in the external load, which is reflected in the steady-sailing range of 0–90 s and 200–300 s, while under the maneuvering sailing conditions, the bus voltage fluctuation and the voltage drop of the original ship are more significant. The maximum fluctuation difference of the bus voltage reaches 40 V. For the fuel cell ship optimized via the particle swarm optimization algorithm, the bus voltage of its composite energy storage system fluctuates gently under the condition of constant speed. Under maneuvering sailing conditions, the fluctuation amplitude of the bus voltage is reduced by 40% compared with that of the original ship; in particular, in the range of 100–150 s, the voltage drop is significantly improved compared with that of the original ship.
Figure 8 displays a real-time current simulation comparison diagram of the batteries of the two ships. It can be seen in the figure that, under maneuvering conditions, the batteries of the original fuel cell ship are in a state of frequent charge and discharge, while the fuel cell ship, which adopts the composite energy storage system, distributes low-frequency loads to the batteries through filters, thus reducing the current fluctuations of the batteries. The current fluctuation amplitude of the battery is reduced by 37%, and the transition of the charging and discharging state is more gentle than that of the original ship, which can reduce the cyclic charging and discharging times of the battery and extend its service life.
The composite energy storage system can effectively improve the operating conditions of the fuel cell and the battery on the fuel cell ship. In particular, the high frequency part of the load signal is distributed to the supercapacitor through the filter in the maneuvering sailing conditions of the ship. The particle swarm optimization algorithm is used to optimize and adjust the time constant of the filter so as to improve the power distribution of the composite energy storage system. As shown in
Figure 9, the load signal is divided by the filter, and the high-frequency signal is assigned to the supercapacitor. Under maneuvering conditions, the supercapacitor undertakes most of the high-frequency load. By optimizing the time constant of the filter, the current fluctuation of the battery is finally controlled within the ideal range, which inhibits the current fluctuation of the power grid and improves the power quality of the ship’s power grid.
Under the energy management strategy in this paper, different energy management policy parameters will have an impact on the dynamic performance of the system. By using the particle swarm optimization algorithm to optimize the energy management policy parameters, we obtain a set of feasible energy management policy parameters. Below, we input the obtained optimization results and two groups of different energy management strategy parameters into the simulation model. Moreover, we compare the output current of the supercapacitor and battery under the three groups of different parameters through the simulation experiment. As can be seen in
Figure 10, in the maneuvering operating condition range, the output current peak value of the supercapacitor with the optimized energy management strategy parameters is higher. Compared with the other two groups, the supercapacitor can give full play to its performance advantages and bear more high-frequency power.
A similar conclusion can be drawn from the comparison diagram of the output current of the battery. As shown in
Figure 11, after applying the optimized energy management strategy parameters, the battery can maintain a stable output current for a longer time under the same operating mode. Compared with the other two groups of experiments, the simulation results show that, after optimizing the parameters of the energy management strategy by using the particle swarm optimization algorithm, the battery can keep working in a stable state for a longer time under maneuvering conditions. Through the comparison of the two sets of simulation experiments, the optimization of the energy management strategy parameters via the particle swarm optimization algorithm can improve the power distribution efficiency of the composite energy storage system to a certain extent because of the adoption of the composite energy storage system. In particular, when the system is in maneuvering condition, the supercapacitor in the composite energy storage system assumes a greater high-frequency power demand, and the output current is larger. Moreover, the battery can also maintain stable work for a longer time under mobile conditions. The supercapacitor optimizes the working current of the battery through its own rapid discharge, so the life of the battery can be extended.
6. Conclusions
In this paper, a simulation of a fuel cell hybrid electric ship is carried out. A composite energy storage system, composed of batteries, supercapacitors, and fuel cells, is used to form the ship’s power system. After optimizing the energy management strategy parameters and the capacity parameters of the fuel cell hybrid power system by using the particle swarm optimization algorithm, the system can effectively allocate high-frequency load signals to the supercapacitor under maneuvering conditions. The adopted energy management strategy can effectively restrain the voltage fluctuation of the ship grid, reduce the voltage sag of the grid, and improve the power quality of the ship grid. The composite energy storage system can also play a better role. The supercapacitor assumes the power load with a higher frequency and maintains the stable output of the battery for a longer time. The charging and discharging process of the composite energy storage system can be optimized under maneuvering conditions. By optimizing the parameters of the energy management strategy and the capacity parameters of the composite energy storage system, the power quality of the marine grid can be improved, and the service life of the equipment can be extended.