Professional Documents
Culture Documents
A Novel Hybrid Energy Management Strategy of A Diesel-Electric Hybrid Ship Based On Dynamic Programing and Model Predictive Control
A Novel Hybrid Energy Management Strategy of A Diesel-Electric Hybrid Ship Based On Dynamic Programing and Model Predictive Control
Abstract
The energy-saving characteristics of diesel-electric series hybrid ships largely depend on their energy management strat-
egy. In this paper, a strategy that combines dynamic programing and model predictive control (DP-MPC) is proposed to
solve the energy management problems of diesel-electric hybrid ships. The DP-MPC strategy has considered some typi-
cal working conditions of a ship, and the corresponding influence of white noise disturbance on the control strategy was
studied. The simulation results show that the DP-MPC strategy has an excellent anti-interference capability. The control
performance of the DP-MPC strategy is then further analyzed and compared with the rule-based logic threshold control
strategy. The simulation results show that the proposed DP-MPC strategy can save 2.5% of the fuel consumption and
has a better anti-interference capability than the rule-based control strategy.
Keywords
Hybrid ship, energy management, model predictive control (MPC), anti-interference capability
be divided into two categories: one is the rule-based strategies include equivalent fuel consumption minimi-
control strategy that favors engineering applications, zation strategy and model predictive control (MPC)
and the other is the optimal control strategy that algorithm.16,17 For a multi-energy hybrid ship com-
focuses on optimal modeling and solving.4,6 posed of fuel cells and batteries, Kalikatzarakis et al.18
The rule-based energy management strategy divides established a minimum instantaneous equivalent fuel
the ship navigation mode into several types according consumption model of the hybrid power system. They
to the working state of the power system, and then took a ship’s operating parameters as an example, and
switches the mode according to the corresponding calculated the fuel economy of the hybrid-electric sys-
rules. According to the degree of clarity of the control tem using this strategy by simulation. The simulation
rules, the rule-based control strategy can be refined into results showed that the minimum instantaneous equiva-
two categories: deterministic rule control and fuzzy lent fuel consumption strategy had several advantages
control.7 Nelson et al.8 and Torreglosa et al.9 proposed regarding the improvement of the energy-saving effect
the logic threshold control strategy of a hybrid power of hybrid ships. Furthermore, Saad et al.4 and Raziei
system when implementing the energy management for and Jiang19 designed a model predictive controller to
multi-energy hybrid ships. Moreover, Khan et al.10 and coordinate the output of various energy sources in
Yuan et al.11 applied fuzzy logic control to study the order to stabilize the voltage of a medium-voltage DC
hybrid power system of multi-energy ships and attained powered ship. The simulation results showed that this
good results. The advantage of the rule-based control controller could realize the voltage stability of the
strategy is that it is easy to design and implement. medium-voltage DC network in different working
However, for the energy control of multi-energy ships environments.
with complex configurations, the processing of rules is Although a lot of researches on optimal control
more difficult, and the control effect is not as perfect as strategy have been carried out, there are still some defi-
expected. Therefore, the rule-based control strategy is ciencies in various optimization algorithms. The opti-
more suitable for simple power systems of ships. mization performance of rule-based optimization
Recently, many scholars have applied optimized algorithm is poor, and the formulation of rules depends
control strategies on the energy management problem on a lot of engineering experience. The application of
of hybrid ships.12 For example, Kanellos et al.13 pro- global optimization algorithm needs to know the whole
posed an energy management strategy that applies working conditions in advance, and it needs large
dynamic programing (DP) algorithms to optimize the amount of calculation. In addition, although the real-
power generation dispatching of an entire power sys- time optimization algorithm can achieve the real-time
tem. Their results show that such a strategy can ensure control and has good anti-interference capability, the
the stable operation of a power system and improve results are not globally optimal. Therefore, how to
energy efficiency. Zhang et al.14 focused on hybrid combine the advantages of various algorithms to design
ships composed of solar energy, energy storage sys- the optimal control strategy has become a new research
tems, and diesel generator sets. They constructed an hotspot in this field.
energy management controller with the hybrid system’s Considering that MPC algorithm has good anti-
power as the input and the direct current (DC) bus’s interference capability and can deal with multi-variables
output power as the output, and used particle swarm and system constraints effectively, and moreover the
optimization (PSO) algorithm to optimize the objective DP algorithm can obtain the globally optimal solution,
function, which meant to realize the minimum fuel con- this paper proposes an MPC strategy combined with
sumption. Through the simulation, it was found that DP algorithm, the state of energy (SOE) of supercapaci-
the energy management strategy using PSO algorithm tor obtained by the DP algorithm is taken as the con-
can effectively reduce the fuel consumption of the straint condition of the supercapacitor’s value in the
entire ship. These two optimization strategies belong to MPC optimization process. To be more specific, for the
global optimization control algorithm, which has energy management problem of diesel-electric hybrid
strong universality and they are suitable for parallel ship, the globally optimal solution of SOE obtained by
processing. The global optimization control algorithm solving the dynamic programing equation is used as the
relies on rigorous theoretical basis, rather than expert constraint of the state variable in the real-time optimi-
experience. By using these algorithms, the globally opti- zation algorithm, so as to obtain an optimization algo-
mal solution can be found, but it is difficult to find it in rithm with strong anti-interference ability whose result
an acceptable time range. Therefore, this kind of algo- is approximately the global optimum. The suggested
rithm has not been applied in the practical engineering, strategy combines the characteristics of the optimal
it is mainly used as a good benchmark for an optimal- control effect and fuel economy of the DP algorithm
ity comparison instead.15 with the advantages of the good real-time and strong
The real-time optimization is only concerned with anti-interference performance of the MPC algorithm.
the energy flow control of the instantaneous working By taking the real-time SOE of supercapacitors and the
conditions, which has a strong real-time performance transient fuel consumption of the diesel generator as
and can compensate the deficiency of the global optimi- the state variables, the power output of supercapacitors
zation. The common real-time optimization control as the control variable, and the minimal difference
646 Proc IMechE Part M: J Engineering for the Maritime Environment 236(3)
Pe be
B_ e = ð6Þ
3600
ðt
Be = B_ e dt ð7Þ
t0
Figure 4. MAP diagram of the generator.
In order to ensure the safety of the entire ship’s Where, Pgen:emax is the diesel generator’s maximum
power system, the output power of the diesel engine output power, which is 1250 kW in this paper.
should be limited. The constraints are shown in for-
mula (9):
Ship load
04Pe (t)4Pemax ð9Þ As the object ship is still under construction and has
not been launched yet, the relevant load data cannot be
Where, Pe (t) is the instantaneous output power of the obtained directly. Therefore, this paper uses the electric
diesel engine, and Pemax is its maximum output power, load data from a typical electric propulsion ship named
which is 1320 kW in this paper. ‘‘Alsterwasser,’’ which was provided in Bassam et al.21
We expand it by 100 here, because according to calcu-
lations, the power with the highest power mode and the
Generator model cruise mode of ‘‘Meiwei Kaiyue’’ is about 100 times of
that of the ‘‘Alsterwasser.’’Figure 5 shows a part of the
Based on the experimental data from the manufacturer,
real typical power requirement of the ship during its
the efficiency of the generator can be described by non-
voyage. The electrical load in this section includes vari-
linear three-dimensional mapping. The diagram of the
ous operating conditions, such as the ship starting, nor-
generator efficiency is shown in Figure 4. According to
formula (10), the generator efficiency hg (m) at point m mal navigation, and departure from the port.
can be calculated: Therefore, it is very suitable for the simulation verifica-
tion, and for the analysis of the proposed energy man-
hg (m)ðnm , Tm Þ = f(nm , Tm ) ð10Þ agement strategy. In actual applications, for the ships
whose power demand is unknown, the required power
of other ships of the same tonnage sailing on this route
Where, hg (m) is the efficiency of the generator at point should be collected in advance, so as to obtain approxi-
m; nm is the speed of the generator at point m; Tm is mate power and then solve the dynamic programing
the torque of the generator at point m; and f represents equation. The parameters of the electrical load are
the functional relationship between the hg , torque, and shown in Table 2.
speed.
Therefore, the output power of the diesel generator
can be expressed by formula (11): Power balance model of the entire ship
Pgen:e (t) = Pe (t) hg ð11Þ The diesel-electric hybrid ship in this paper is an electri-
cal propulsion series hybrid ship. From the perspective
of energy conservation and power flow, the power bal-
Where, Pgen:e (t) is the instantaneous output power of ance model of the electrical power summation node of
the diesel generator, kW. the whole ship is shown in Figure 6.
Yuan et al. 649
represents the fuel consumption of the diesel engine; Where, N is the length of the prediction horizon; Q is
and u = Puc represents the control variable, which is the state weight value; R is the input penalty; y is the
the output power of the supercapacitor. measurement output; yref is the reference value; U is the
The definitions of state variables, control variables, control variable matrix as shown in equation (31); and i
measurement inputs, and outputs are as follows: is the number of stage.
2 3
SOE uð k Þ
x= ð20Þ 6 uð k + 1Þ 7
Be 6 7
U=6 .. 7 ð31Þ
4 . 5
u = Puc ð21Þ uð k + N c Þ
v = Preq ð22Þ
Where, Nc is the predicted length of the control
variable.
SOE In equations (30), the constraints of y and u are as
y= ð23Þ
Be follows:
ymin 4yðkÞ4ymax , k = 1, 2, . . . , N ð32Þ
The state form of the system after linearization and
discretization is as follows:
umin 4uðkÞ4umax , k = 1, 2, . . . , N ð33Þ
xðk + 1Þ = AðkÞxðkÞ + Bu ðkÞuðkÞ + Bv (k) ð24Þ
f ðsðnÞ, nÞ = 0 ð49Þ
Pucmin 4Puc (k)4Pucmax ð42Þ
SOEmin 4SOE(k)4SOEmax ð43Þ In equation (47): sðkÞ is the state variable of the k
stage; u(k) is the decision variable of the k stage; and
f ðsðkÞ, kÞ is the optimal index value of the control sys-
The performance index function of a diesel-electric tem from the beginning of the k stage to the end of the
hybrid ship in each stage of the DP is the fuel consump- entire control process.
tion of the entire ship Be , and the diesel engine’s fuel The electrical load data obtained from a typical elec-
consumption can be calculated referring to Figure 3 trical propulsion ship is selected to represent the simu-
and equation (8). Therefore, the index function Vk of lation working conditions, as shown in Figure 5. The
stage k can be expressed by equation (44): whole process of 350 s is divided into 350 stages, and
the step length Dt from the k stage to the k + 1 stage is
Vk ðSOEðkÞ, Pe ðkÞÞ = Be (k) ð44Þ
taken as 1 s. The upper and lower limits of the state
variable s(k), that is, the SOE values (upper and lower
Where, Be (k) is the fuel consumption of diesel engines limits) of the supercapacitor, are set as 0.16 and 0.64
in stage k. respectively. In order to ensure that the supercapacitor
The optimal value function fk, n from the k stage to can normally work in the subsequent simulation, the
the n stage can be expressed as: termination value of the SOE is set as 0.40. The simula-
tion results are shown in Figures 7 and 8.
X
n
Figure 7 shows the variation curve of the supercapa-
fk, n = Vk ð45Þ
i=k
citor’s SOE value under the given working conditions.
According to Figures 5 and 7, when the load is large,
all the energy is used for the energy supply, and the
Where, Vk is the stage index function. supercapacitor is in a discharging state, resulting in the
Within a given working condition time period T, the decrease of SOE; when the load is small, the energy
index function of the entire control process is as storage elements are used to store energy, the superca-
follows: pacitor is in a charging state, resulting in the increase
of SOE. The supercapacitor plays the role of peak-
fk = minfk, n ð46Þ
shaving and valley-filling. Globally, the initial value of
the supercapacitor’s SOE is 0.424. Despite several fluc-
According to the basic theory of the DP algorithm, tuations, the supercapacitor’s SOE value always works
the optimal index value of the control system from in a safe range, and finally returns to the set value of
stage k to stage n can be expressed by the following 0.40, which means it is prepared for the subsequent
formulas: task. The reason is that the result of DP algorithm is
the globally optimal solution to minimize fuel
652 Proc IMechE Part M: J Engineering for the Maritime Environment 236(3)
R = 10 ð51Þ
Figure 8. Power variation of the diesel generator,
supercapacitor, and power demand.
The objective function transforms the control input
into a quadratic form. When the predicted horizon
consumption of hybrid power system. Therefore, super- length is N, the trajectory of the future state will be
capacitors should have a slightly higher SOE at the obtained through the discrete model:
beginning of the voyage in order to provide some 2 3 2 3
xðk + 1jkÞ A
energy and thus save the fuel. The overall variation
6 7 6 27
trend of the curve demonstrates that the energy man- 6 xðk + 2jkÞ 7 6A 7
6 7 6 7
agement strategy proposed in this paper is effective. 6 . 7 = 6 . 7 xðkjkÞ
6 . 7 6 .. 7
Figure 8 shows the power variation curve of the die- 4 . 5 4 5
sel generator, supercapacitor, and power demand. In N
x(k + Njk) A
this figure, the red curve is the output power of the die- |fflfflfflfflfflfflfflfflfflfflffl{zfflfflfflfflfflfflfflfflfflfflffl} |fflfflfflffl{zfflfflfflffl}
X Sx
sel generator Pgen:e , the blue curve is the output power 2 32 3
of the supercapacitor Puc , and the black curve is the Bu 0 . . . 0 uðkÞ
demand power of the load Preq . It can be seen from 6 76 7
6 ABu Bu . . . 0 76 uð k + 1Þ 7
Figure 8 that the diesel engine is always working at the 6 76 7
+6 ..... . .. 76 .. 7
optimal fuel point of 1080 kW, under all working con- 6 .. .. 76 7
4 54 . 5
ditions, to maintain the lowest fuel consumption of the
AN1 Bu AN2 Bu . . . Bu u(k + N 1)
entire ship. At this time, the corresponding specific fuel |fflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflffl{zfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflffl} |fflfflfflfflfflfflfflfflfflfflfflfflffl{zfflfflfflfflfflfflfflfflfflfflfflfflffl}
consumption of the diesel generator is L = 191 g/ Su U
2 3
(kW h). When the power demand of the entire ship is Bv ð k Þ
less than the optimal output power of the diesel genera- 6 7
6 ABv ðkÞ + Bv ðk + 1Þ 7
tor (1050 kW), the supercapacitor is in a charging state +6
6 ..
7
7
6 7
and the power is positive, which means the energy stor- 4 . 5
age function can be realized. When the power demand AN1 Bv ðkÞ + AN2 Bv ðk + 1Þ + . . . + Bv ðk + N 1Þ
|fflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflffl{zfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflffl}
is greater than the optimal output power of the diesel V
generator, the supercapacitor is in a discharging state ð52Þ
and participates in the power supply of the power
demand, indicating the power is negative. When the 2 3 2 3
power demand changes drastically, the power of the yðk + 1Þjk C 0 0 0
6 yðk + 2Þjk 7 60 C 0 07
supercapacitor changes drastically as well, indicating 6 7
6 .. 7=64 0 0 ... 05 X
7 ð53Þ
that the supercapacitor has a higher degree of participa- 4 . 5
tion in the energy supply of diesel-electric hybrid ships, yðk + NÞjk 0 0 0 C
|fflfflfflfflfflfflfflfflfflfflfflffl{zfflfflfflfflfflfflfflfflfflfflfflffl} |fflfflfflfflfflfflfflfflfflffl{zfflfflfflfflfflfflfflfflfflffl}
and revealing that the fuel consumption of the entire Y Cx
ship is closer to an economic level. By analyzing Figure
3 with formula (8), we can conclude that the fuel con-
sumption Be of a diesel-electric hybrid ship is 19,730 g By substituting equations (52) and (53) into the orig-
and the average specific fuel consumption is be = 191 g/ inal index function shown in equation (30) and ignoring
(kW h), which are based on the DP algorithm under the the constant term, the convex quadratic index function
given working conditions. that only relates to input can be obtained:
1 T
Jðx0 , u0 Þ = U HU + FT U ð54Þ
The solution of the DP-based MPC algorithm. The MPC 2
algorithm needs to add some constraints to the
Yuan et al. 653
Where,
ðCx Su Þ + R
H = 2(Cx Su )T Q ð55Þ
ðCx Su Yref Þ
F = 2(Cx Su )T Q ð56Þ
In equations (54) and (55): H is a Hessian matrix, Figure 9. Load variation curve.
which can be used to solve large-scale optimization
R,
problems23; F is a gradient vector; and Q, and Yref
should be based on the length of the prediction horizon
of Q, R, and Yref . The constraint update of the control
increment can be calculated by the constraint condi-
tions in equations (54) and (30). For example, the state
constraint can be used as Umax and applied to U.
Table 3. Fuel consumption under different level of Table 4. Control logic of the diesel-electric hybrid power
interference. system.
Interference Fuel Average specific fuel Condition Supercapacitor status Energy flow
quantity consumption (g) consumption (g/kWh)
Preq \ Pe Thebest Charging Pgen:e = hg Pe
20% 24,485.0 192.3 SOE \ SOEmax Puc = Pgen:e Pdc
25% 24,874.5 193.2 Preq \ Pe Thebest Not working Pgen:e = hg Pe
30% 26,313.4 199.2 SOE ø SOEmax Puc = 0
Preq = Pe Thebest Not working Pgen:e = hg Pe
Puc = 0
Preq . Pe Thebest Discharging Pgen:e = hg Pe
significantly, and the time of the engine running at full SOE . SOEmin Puc = Pdc Pgen:e
load will be longer, resulting in the increase of fuel con- Preq . Pe Thebest Not working Pgen:e = hg Pe
SOE4SOEmin Puc = 0
sumption throughout the whole voyage. The reason is
that the increase in disturbance makes the load change
too drastically, and the SOE value of the supercapaci-
in kW. According to Table 4, the specific control rules
tor needs to track the reference, which cause the output
are as follows:
power rise of the diesel generator. The fuel consump-
tion and average specific fuel consumption of the
diesel-electric hybrid power systems under different dis- (1) If the ship’s load Preq is less than Pe The best , and the
turbance levels can be obtained by Figure 3 and equa- SOE of supercapacitor is less than the safe work-
tion (8). They are shown in Table 3. ing value (SOEmax ), the supercapacitor is in the
state of charging, and the excess electric energy
from the diesel generator is recovered. The energy
A comparative analysis flow mode is that the diesel generator supplies
power for the ship load and supercapacitor.
The rule-based logic threshold control strategy is sim- (2) If the ship’s load Preq is less than Pe The best , and the
ple to design and easy to implement, it is widely used in SOE of supercapacitor is more than the safe work-
current industrial control. In this section, this strategy ing value (SOEmax ), the supercapacitor is in the
is adopted to provide a reference for the evaluation of state of no operation, and the energy flow mode is
the proposed DP-MPC algorithm. Since the diesel- that diesel generator supplies power for the ship
electric hybrid power system has a simple structure and load.
all its energy comes from diesel generators, the logic (3) If the ship’s load Preq is equal to Pe The best , the
threshold control strategy of diesel-electric hybrid ships supercapacitor is in the state of no operation, and
adopts the optimal operating point control method. This the energy flow mode is that diesel generator sup-
method takes the SOE value of the supercapacitor and plies power for the ship load.
the demand power as the standard to differ the working (4) If the ship’s load Preq is more than Pe The best , and
conditions. The control logic is shown in Table 4. the SOE of supercapacitor is between the upper
In Table 4, Pe Thebest is the optimal output power cor- limit SOEmax and lower limit SOEmin , the super-
responding to the average output power value of the capacitor is in the state of discharging, and the
diesel generator under the given conditions. The aver- energy flow mode is that diesel generator and
age demand power of the load in this paper is supercapacitor working together to supply power
1105.7 kW, and Pdc is the demand power of the DC bus for the ship load.
Yuan et al. 655
Figure 13. Load variation curve. Figure 15. Output power of the supercapacitor.