Professional Documents
Culture Documents
Applied Energy
journal homepage: www.elsevier.com/locate/apenergy
Keywords: Hydrogen-based hybrid storage system has a high energy density, which can operate as the long-term storage
Microgrid system, and play an important role in future smart cities. In the hydrogen storage system, fuel cell, hydrogen
Hydrogen storage system tanks, and electrolyzer are often combined together and operating with complex electrochemical reactions.
Two-dimension model
How to efficiently operate the hydrogen storage system and considering the convoluted electrochemical
TOPSIS
reactions is a problem. In addition, multiple hydrogen storage systems are often grouped together to supply
Allocating-and-dispatching
Model predictive control
the demands. Thus, cooperating the dispatching of these storage systems is another complicated problem.
In this paper, we first present a two-dimension model considering temperature influences for hydrogen-
based microgrid, where a regression method is adopted. Moreover, a combined allocating-and-dispatching
methodology involving two layers is proposed to cooperate the multiple storage systems. Specifically, both
TOPSIS (Technique for Order Preference by Similarity to an Ideal Solution) and fuzzy logic are adopted as
the first-layer allocating algorithm. Then, the model predictive control (MPC) is utilized as the second-layer
dispatching algorithm. Based on the combined method, power is firstly allocated to hybrid storage system
considering each hybrid storage system health conditions, and secondly scheduled to battery storage and
hydrogen storage based on MPC method. The simulation results showed that with the combined Dematel-
TOPSIS and MPC algorithm, the degradation index and operation cost were the smallest among three
algorithms, and can further extend the lifetime of hybrid hydrogen storage systems in microgrids.
1. Introduction the fuel cell is proton exchange membrane fuel cell (PEMFC), and the
type of the electrolyzer is alkaline electrolyzer.
Currently, large-scale renewable energy has been installed to reduce In this hydrogen storage system, three devices are included: fuel
the massive environment pollutions produced by fossil energy. Due to cell, electrolyzer, and hydrogen tank. The fuel cell [4] is used to
the intermittence and uncertainty of the renewable energy, the energy produce electricity and heat through hydrogen (H2 ), where further
storage system is often integrated to stabilize the output [1]. The power details of the applied operation characteristics of a PEMFC stack can be
and energy densities of different storage systems [2] are shown in seen in the Ref. [4]. The electrolyzer [5,6] is used to produce hydrogen
Fig. 1. Among them, the hydrogen storage has a high energy density (H2 ) based on electricity, where further details of alkaline electrolyzer
as well as a medium power density; the Li-ion battery storage system modeling and thermal performance of water electrolyzer can refer to
has a medium energy and power density; and the supercapacitor has
the sources [5] and [6], respectively. The hydrogen tank stores the
a low energy density, a high power density. Accordingly, for the long-
hydrogen (H2 ). However, these devices often operate with convoluted
term operation, the hydrogen storage is the best choice, which can store
electrochemical reactions. For example, how much energy the fuel cell
large amounts of energy [3]; while for the short-term operation, the
can output is decided by several input impacts including the input
battery and supercapacitor are the best choice, which can fast respond
to the dynamic changes. hydrogen flow, the operation temperature, the pressure, and so on.
Thus, a combined battery and hydrogen hybrid storage system is Also, how much hydrogen the electrolyzer can produce is decided by
a better choice to respond to the renewable energy uncertainty. The the input electricity power, the temperature, and other factors. Thus,
hybrid storage system structure is shown in Fig. 2. Here, the type of how to efficiently operate the emerging hydrogen storage system, and
∗ Corresponding author.
E-mail addresses: bei.li@szu.edu.cn (B. Li), honmgee@foxmail.com (H. Miao), jiangche@ualberta.ca (J. Li).
https://doi.org/10.1016/j.apenergy.2020.116303
Received 7 June 2020; Received in revised form 19 November 2020; Accepted 22 November 2020
Available online 13 December 2020
0306-2619/© 2020 Elsevier Ltd. All rights reserved.
B. Li et al. Applied Energy 283 (2021) 116303
Symbols In addition, for the battery storage system, the operation tempera-
𝑛̇ 𝑐𝑜𝑛 Hydrogen consumed by the FC ture has a big influence on the charging and discharging characteristics
𝐻2
𝑛̇ 𝑝𝑟𝑜 Theoretical production rate of hydrogen in of the battery [7]. From a conceptual purpose, Fig. 3 presents the typi-
𝐻2
a cell cal characteristics of a lithium-ion battery discharging process [7], [8].
The voltages of the battery are significantly different with respect to
𝐴ℎ Discharging capacity
𝑐ℎ,𝑑𝑖𝑠 different operation temperatures and capacities. Thus, to efficiently
𝐵𝑐𝑜𝑠𝑡 Charging and discharging cost of battery
operate the battery storage system, further considering the operation
𝐵𝑖𝑛𝑣 Battery investment costs temperature is also an urgent problem.
𝑢𝑛𝑖𝑡
𝐵𝑖𝑛𝑣 Battery unit price
𝐵𝑙𝑖𝑓 𝑒 Battery lifetime 1.1. Mathematical analysis of the operation of hydrogen-based hybrid stor-
𝐹𝑏𝑎 (⋅) Two-dimension function to represent the age system
battery operation characteristics
𝐹𝑒𝑙 (⋅) Two-dimension function to represent the As shown in Fig. 2, the operation characteristics of the fuel cell
electrolyzer operation characteristics can be described as [𝑃𝑓 𝑐 , 𝑄𝑓 𝑐 ] = 𝐹𝑓 𝑐 (𝑇𝑓 𝑐 , 𝑛𝑓 𝑐 ), where 𝐹𝑓 𝑐 (⋅) is a two-
𝐹𝑓 𝑐 (⋅) Two-dimension function to represent the dimension function to represent the fuel cell operation characteristics.
fuel cell operation characteristics The operation of electrolyzer can be represented as [𝑛𝑒𝑙 ] = 𝐹𝑒𝑙 (𝑃𝑒𝑙 , 𝑇𝑒𝑙 ),
𝐹𝑡𝑎𝑛𝑘 (⋅) Two-dimension function to represent the where 𝐹𝑒𝑙 (⋅) is a function to describe the electrolyzer operation char-
hydrogen tanks operation characteristics acteristics. The operation of hydrogen tanks can be represented as
[𝑃 𝑟𝑒𝑠𝑠𝑡𝑎𝑛𝑘 ] = 𝐹𝑡𝑎𝑛𝑘 (𝑛𝑓 𝑐 , 𝑛𝑒𝑙 , 𝑇𝑡𝑎𝑛𝑘 ), where 𝐹𝑡𝑎𝑛𝑘 (⋅) is a function to describe
𝐻𝑐𝑜𝑠𝑡 Operation cost of hydrogen storage
the hydrogen tanks operation characteristics. As shown in Fig. 3, for the
𝐻𝑆𝑖𝑐𝑜𝑛 The condition of the 𝑖th storage system
battery storage system, the operation characteristics can be described
𝐼𝑒𝑙 ∕𝐴𝑒𝑙 The electrolyzer current density
as [𝑍𝑏𝑎 ] = 𝐹𝑏𝑎 (𝑇𝑏𝑎 , 𝑆𝑂𝐶𝑏𝑎 ), where 𝐹𝑏𝑎 (⋅) is a two-dimension function to
𝑖𝑓 𝑐 Current density in one cell describe the battery operation characteristics.
𝑖𝑜𝑚 Operation & maintenance cost At last, the operation goal is to decide the optimal control variables
𝐿𝑂𝐻𝑖 Level of hydrogen of the 𝑖th hydrogen 𝑢 = [𝑇𝑓 𝑐 , 𝑍𝑓 𝑐 ; 𝑇𝑒𝑙 , 𝑍𝑒𝑙 ; 𝑇𝑡𝑎𝑛𝑘 ; 𝑇𝑏𝑎 , 𝑍𝑐ℎ,𝑑𝑖𝑠𝑐ℎ ], at the same time to satisfy
storage system the both objective function and the constraints.
Presently, there are several methods to operate the hybrid storage
considering the related electrochemical reactions is still a complex system, such as frequency management, rule-based methods, model
problem. predictive control (MPC), and so on [9]. Among them, the MPC method
is frequently adopted to manage the operation of the hybrid storage
2
B. Li et al. Applied Energy 283 (2021) 116303
3
B. Li et al. Applied Energy 283 (2021) 116303
4
B. Li et al. Applied Energy 283 (2021) 116303
1.3. Contributions
The remainder of this paper is organized as follows. Section 2 An electrolyzer can use electricity to produce hydrogen. The char-
describes the proposed model; Section 3 presents the problem formu- acteristics of an electrolyzer can be described as follows [20]:
lation; and Section 4 shows the simulation results. Finally, Section 6 𝐼𝑒𝑙
concludes the paper. 𝑉𝑒𝑙 = 𝑁𝑒𝑙 𝑉𝑟𝑒𝑣 + (𝑟1 + 𝑟2 𝑇𝑒𝑙 )
𝐴𝑒𝑙
𝑡2 𝑡 𝐼 (5)
2. Model + (𝑠1 + 𝑠2 𝑇𝑒𝑙 + 𝑠3 𝑇𝑒𝑙2 ) ⋅ 𝑙𝑜𝑔(1 + (𝑡1 + + 3 ) ⋅ 𝑒𝑙 )
𝑇𝑒𝑙 𝑇𝑒𝑙2 𝐴𝑒𝑙
In this section, we present the two-dimension models for fuel cell, where 𝑉𝑒𝑙 is the voltage of the electrolyzer; 𝑁𝑒𝑙 the number of cells; 𝑉𝑟𝑒𝑣
electrolyzer, hydrogen tanks, and battery. the reversible cell potential; 𝑇𝑒𝑙 the temperature and 𝐼𝑒𝑙 ∕𝐴𝑒𝑙 (𝐴∕𝑚2 ) the
current density. 𝑟1 , 𝑟2 , 𝑠1 , 𝑠2 , 𝑠3 , 𝑡1 , 𝑡2 , and 𝑡3 are empirical coefficients.
2.1. Fuel cell model The theoretical production rate of hydrogen in a cell is given by:
𝑁𝑒𝑙 𝐼𝑒𝑙
A fuel cell (FC) can use the hydrogen (H2 ) to produce electricity 𝑛̇ 𝑝𝑟𝑜
𝐻2
= 𝜂𝐹 (6)
2𝐹
and heat. We use the voltage electrical model presented in [4,20] to
Based on Faraday’s efficiency, we can obtain the relation between
describe the characteristic of FC:
the real production rate of hydrogen and the theoretical one, using:
𝑉𝑓 𝑐 = (𝐸𝑂𝐶 − 𝑟𝑓 𝑐 ⋅ 𝑖𝑓 𝑐 − 𝐴(𝑇𝑓 𝑐 ) ⋅ 𝑙𝑛(𝑖𝑓 𝑐 ) − 𝑚(𝑇𝑓 𝑐 ) ⋅ 𝑒𝑛⋅𝑖𝑓 𝑐 ) ⋅ 𝑁𝑓 𝑐 (1) (𝐼𝑒𝑙 ∕𝐴𝑒𝑙 )2
𝜂𝐹 = 𝑓2 (7)
where 𝑉𝑓 𝑐 is the FC voltage; 𝐸𝑂𝐶 is the open-circuit voltage of one cell; 𝑓1 + (𝐼𝑒𝑙 ∕𝐴𝑒𝑙 )2
𝑖𝑓 𝑐 is the current density in one cell; 𝑁𝑓 𝑐 is the number of cells; and 𝑛, where 𝑓1 and 𝑓2 are coefficients. 𝑓1 , 𝑓2 also change with different
𝑟𝑓 𝑐 , 𝐴(𝑇𝑓 𝑐 ), and 𝑚(𝑇𝑓 𝑐 ) are empirical coefficients; 𝑇𝑓 𝑐 is the temperature temperatures, and linear regression is used to describe the change:
of FC. 𝑓1 = 𝑔0 ⋅ 𝑇𝑒𝑙 , 𝑓2 = 𝑔1 ⋅ 𝑇𝑒𝑙 .
At last, based on the above theoretical electrolyzer model, we can
𝐴(𝑇𝑓 𝑐 ) = 𝑅 ⋅ 𝑇𝑓 𝑐 ∕𝛼∕𝑧∕𝐹 (2)
then calculate the relationship between electrolyzer input power 𝑃𝑒𝑙 ,
We use a linear regression model to describe 𝑚(𝑇𝑓 𝑐 ) = 𝑚𝑎 + 𝑚𝑏 ⋅ 𝑇𝑓 𝑐 . output H2 𝑛̇ 𝑝𝑟𝑜
𝐻2
, and operation temperature 𝑇𝑒𝑙 .
5
B. Li et al. Applied Energy 283 (2021) 116303
Fig. 7. Relationship between electrolyzer input power, output H2 , and temperature. Fig. 8. Relationship between compressibility factor 𝑧, pressure, and temperature. (Full
(Full blue color figure represents the theoretical model, and colorful figure represents blue color figure represents the theoretical model, and colorful figure represents
the linearized model.). (For interpretation of the references to color in this figure linearized model.). (For interpretation of the references to color in this figure legend,
legend, the reader is referred to the web version of this article.) the reader is referred to the web version of this article.)
We then use a linear regression to describe the two-dimension Based on different discharging currents 𝑖𝑏𝑎 and temperatures 𝑇𝑏𝑎 , we
relationship 𝐹𝑒𝑙 (⋅), which can be seen in Fig. 7. use a linear regression to obtain the relationship:
̂0 = 𝑑 𝐸 + 𝑑 𝐸 ⋅ 𝑖𝑏𝑎 + 𝑑 𝐸 ⋅ 𝑇𝑏𝑎
𝐸 0 1 2
̂ = 𝑑 𝑅 + 𝑑 𝑅 ⋅ 𝑖𝑏𝑎 + 𝑑 𝑅 ⋅ 𝑇𝑏𝑎
𝑅
2.3. Hydrogen tank model 0 1 2
̂ = 𝑑 𝐾 + 𝑑 𝐾 ⋅ 𝑖𝑏𝑎 + 𝑑 𝐾 ⋅ 𝑇𝑏𝑎
𝐾 0 1 2
(11)
Hydrogen is compressed and stored in hydrogen tanks. The gas in 𝐴̂ = 𝑑0𝐴 + 𝑑1𝐴 ⋅ 𝑖𝑏𝑎 + 𝑑2𝐴 ⋅ 𝑇𝑏𝑎
tanks satisfies the gas law: ̂ = 𝑑 𝐵 + 𝑑 𝐵 ⋅ 𝑖𝑏𝑎 + 𝑑 𝐵 ⋅ 𝑇𝑏𝑎
𝐵 0 1 2
𝐶̂ = 𝑑0𝐶 + 𝑑1𝐶 ⋅ 𝑖𝑏𝑎 + 𝑑2𝐶 ⋅ 𝑇𝑏𝑎
𝑃𝑡𝑎𝑛𝑘 𝑉𝑡𝑎𝑛𝑘 = 𝑛𝑅𝑇𝑡𝑎𝑛𝑘 ⋅ 𝑧 (8)
After that, we can obtain the two-dimension battery model consid-
where 𝑃𝑡𝑎𝑛𝑘 is the pressure, 𝑉𝑡𝑎𝑛𝑘 is the volume, 𝑛 is the number of ering the operation temperature, namely:
moles, 𝑅 is the constant, 𝑇𝑡𝑎𝑛𝑘 is the temperature. 𝑧 is the compress- 𝑄
ibility factor, which satisfies: 𝑉̂ ̂ ̂ ̂
𝑏𝑎 = 𝐸0 − 𝑅 ⋅ 𝑖𝑏𝑎 − 𝐾 ⋅ ⋅ 𝐴ℎ + 𝐴̂ ⋅ 𝑒𝑥𝑝(−𝐵
̂ ⋅ 𝐴ℎ) − 𝐶̂ ⋅ 𝐴ℎ (12)
𝑄 − 𝐴ℎ
27𝑃𝑡𝑎𝑛𝑘 𝑃𝑡𝑎𝑛𝑘 Based on the above two-dimension model, if we can obtain the
(𝑧 + )(1 − )=1 (9)
2
64𝑇𝑡𝑎𝑛𝑘 ⋅𝑧 8𝑇𝑡𝑎𝑛𝑘 ⋅ 𝑧 current discharging capacity 𝐴ℎ, we can then calculate the relationship
between battery discharging/charging power 𝑍𝑐ℎ,𝑑𝑖𝑠𝑐ℎ and output/input
We then use a linear regression to describe the change of com- current 𝑖𝑏𝑎 , temperature 𝑇𝑏𝑎 .
pressibility factor 𝑧, 𝑧 = 𝑏0 + 𝑏1 𝑇𝑡𝑎𝑛𝑘 + 𝑏2 𝑃𝑡𝑎𝑛𝑘 , which is shown in We then use a linear regression to describe the two-dimension
Fig. 8. relationship 𝐹𝑏𝑎 (⋅), which can be seen in Fig. 9.
At last, based on the above hydrogen tanks model, the pressure in
3. Operation of multiple grouped hybrid storage system
hydrogen tanks can be described as: 𝑃𝑡𝑎𝑛𝑘 = (𝑏0 +𝑏1 𝑇𝑡𝑎𝑛𝑘 )𝑛𝑅𝑇𝑡𝑎𝑛𝑘 ∕(𝑉𝑡𝑎𝑛𝑘 −
𝑏2 𝑛𝑅𝑇𝑡𝑎𝑛𝑘 ). The multiple grouped hybrid storage systems can face varieties of
load demand situations. We present a two-layer operation algorithm
including two layers: (1) the power allocating layer, to allocate the
2.4. Battery model expected power to each hybrid storage system; (2) the dispatching
layer, to dispatch the allocated power to battery storage and hydrogen
For the battery model, we consider the influence of the temperature, storage.
and use the voltage electrical model to describe the characteristic of
3.1. Power allocating layer
battery:
𝑄 In the power allocating layer, the goal is to allocate the expected
𝑉𝑏𝑎 = 𝐸0 − 𝑅 ⋅ 𝑖𝑏𝑎 − 𝐾 ⋅ ⋅ 𝐴ℎ + 𝐴 ⋅ 𝑒𝑥𝑝(−𝐵 ⋅ 𝐴ℎ) − 𝐶 ⋅ 𝐴ℎ (10)
𝑄 − 𝐴ℎ power to each hybrid storage system based on their conditions. For
where 𝑉𝑏𝑎 is the battery voltage, 𝐸0 is the open-circuit voltage of example, when one hybrid storage system has low SOC and LOH,
then the allocated charging task of this storage should be high. While,
battery, 𝑖𝑏𝑎 is the current, 𝑅 is the resistor, and 𝐾, 𝐴, 𝐵, 𝐶 are empirical
when it has low SOC and LOH as well as a high degradation, then the
coefficients, 𝑄 is the capacity of the battery, 𝐴ℎ is the discharging
allocated discharging task of this storage should be low. This means
capacity.
that, the allocated task of each storage system is based on its dynamic
In fact, in the above model, the coefficients 𝐸0 , 𝑅, 𝐾, 𝐴, 𝐵, 𝐶 are conditions.
all influenced by the operation temperature 𝑇𝑏𝑎 . Then, firstly, we need In this paper, we adopted two methods to achieve the power allo-
to find out how the temperature influences the above coefficients. cating function: fuzzy logic and TOPSIS.
6
B. Li et al. Applied Energy 283 (2021) 116303
Fig. 10. Fuzzy logic rules to decide each storage system charging power to store the
Fig. 9. Relationship between battery discharging/charging power, output/input current
sufficient power.
𝑖𝑏𝑎 , and temperature 𝑇𝑏𝑎 , when the discharging capacity is 20𝐴ℎ. (Full blue color figure
represents the theoretical model, and colorful figure represents linearized model.). (For
interpretation of the references to color in this figure legend, the reader is referred to
the web version of this article.)
Table 1
Fuzzy logic rules to allocate charging power, when there is sufficient power.
Rules LOH, Low LOH, Medium LOH, High
SOC, Low HH H M
SOC, Medium H M L
SOC, High M L LL
Table 2
Fuzzy logic rules to allocate discharging power, when there is insufficient power.
Rules LOH, Low LOH, Medium LOH, High
SOC, Low LL L M
SOC, Medium L M H
SOC, High M H HH
3.1.1. Power allocating based on fuzzy logic Fig. 11. Fuzzy logic rules to decide each storage system discharging power to supply
In the fuzzy logic controller, the allocated power to each storage the insufficient power.
system is based on the fuzzy rules, which are built based on the
conditions of each storage system. Here, the state of charge (SOC) and
the level of hydrogen (LOH) are adopted to describe the conditions of TOPSIS is an effective method to solve the multi-attribute decision
each storage system. making problem. Here, we adopt it to decide the allocated power to
For example, when there is sufficient energy to be expected to store each hybrid storage system.
in the multiple grouped hybrid storage system, how to allocate the
First, several attributes are considered. For the battery system, SOC
charging task to each hybrid storage system? Firstly, we obtain the SOC
and battery total utilization power (𝑈𝑏𝑎 ) are used as two attributes to
and LOH of each hybrid storage system. Then, based on the fuzzy rules,
evaluate the battery condition. 𝑈𝑏𝑎 is used to describe the degradation
calculate the charging power for each hybrid storage system.
of the battery. When 𝑈𝑏𝑎 is large, it means battery has run for a long
The detailed fuzzy rules can be seen in Table 1 and Fig. 10. They
time, and the degradation of the battery is high.
present that the hybrid storage system needs to charge energy when
For the hydrogen storage system, LOH, fuel cell/electrolyzer total
there is sufficient energy. Table 2 and Fig. 11 describe the rules that
online running times (𝑜𝑛𝑙𝑖𝑛𝑒ℎ𝑦 ), and fuel cell/electrolyzer total startup
the hybrid storage system needs to discharge power when there is
insufficient energy. ‘‘LL’’, ‘‘L’’, ‘‘M’’, ‘‘H’’, ‘‘HH’’ represent ‘‘very low’’, times (𝑠𝑡𝑎𝑟𝑡ℎ𝑦 ) are adopted as three attributes to evaluate the hydrogen
‘‘low’’, ‘‘medium’’, ‘‘high’’, ‘‘very high’’. storage system condition. 𝑜𝑛𝑙𝑖𝑛𝑒ℎ𝑦 and 𝑠𝑡𝑎𝑟𝑡ℎ𝑦 are adopted to describe
Based on the fuzzy rules, the allocated power 𝐏𝐚𝐥𝐥𝐨𝐜𝐚𝐭𝐞𝐝 to each the degradation of the hydrogen storage system. When 𝑜𝑛𝑙𝑖𝑛𝑒ℎ𝑦 is large,
hybrid storage system can be then calculated. it means that hydrogen storage system has run for a long time; when
𝑠𝑡𝑎𝑟𝑡ℎ𝑦 is large, it means that hydrogen storage has started up for many
3.1.2. Power allocating based on TOPSIS times. These two attributes can evaluate the degradation degree of the
In the above fuzzy logic method, we do not consider the degradation hydrogen storage.
impacts of the battery storage and the hydrogen storage. Then we adopt Then five attributes are considered to evaluation the condition of
the TOPSIS [15] method, which can consider more impacts, and make each hybrid storage system: SOC, 𝑈𝑏𝑎 , LOH, 𝑜𝑛𝑙𝑖𝑛𝑒ℎ𝑦 , 𝑠𝑡𝑎𝑟𝑡ℎ𝑦 . The five
the allocated task to each hybrid storage system more reasonable. attributes are the inputs of the TOPSIS method. Based on the inputs,
The Technique for Order Preference by Similarity to Ideal Solution TOPSIS method can then rank the multiple hybrid storage systems, and
(TOPSIS) was first presented by Hwang and Yoon in 1981 [32,33]. calculate the weight of each hybrid storage system. At last, based on
7
B. Li et al. Applied Energy 283 (2021) 116303
the weight, the expected power can be allocated to each hybrid storage 1. Generating the direct-relation matrix.
system. Measure the relationship between attributes 𝑖 and 𝑗 according
The inputs and outputs of the TOPSIS method can be seen in to the following four influential levels: No influence (0), Low
Table 3. influence (1), Medium influence (2), High influence (3), Very
high influence (4). The integer score 𝑥𝑖𝑗 is given by the experts
(a) TOPSIS method with multiple attributes and describes the influential level that attribute 𝑖 on attribute 𝑗.
The steps of TOPSIS method can be concluded as follows [32,33]: Then the 𝑖th row, 𝑗th column element 𝑎𝑖𝑗 of the direct-relation
𝑛 × 𝑛 matrix 𝐴 can be calculated as follows:
1. Based on the multiple attributes, build the decision matrix 𝐸 =
1∑ 𝑘
ℎ
𝑒𝑖𝑗 , where 𝑒𝑖𝑗 represents the value of 𝑗th attribute in the 𝑖th (17)
𝑎𝑖𝑗 = 𝑥
alternatives; 𝑖 = 1, 2, … , 𝑛, 𝑗 = 1, 2, … , 𝑚. ℎ 𝑘=1 𝑖𝑗
2. Considering the difference of each attribute, normalize the deci-
where ℎ represents the total number of experts.
sion matrix 𝐸, and transform it to the normalized matrix 𝐸 ′ =
2. Normalizing the direct-relation matrix
𝑒′𝑖𝑗 .
Based on the above direct-relation matrix 𝐴, the normalized
3. Based on the weight of each attribute, calculate the weighted
direct-relation matrix can be calculated as follows:
normalized decision matrix 𝑉 = 𝑣𝑖𝑗 , 𝑣𝑖𝑗 = 𝑤𝑗 ⋅ 𝑒′𝑖𝑗 . ( )
The weight 𝑤𝑗 can be calculated based on different methods, ∑𝑛 ∑
𝑛
𝑠 = 𝑚𝑎𝑥 𝑚𝑎𝑥 𝑎𝑖𝑗 , 𝑚𝑎𝑥 𝑎𝑖𝑗 (18)
such as Dematel [34] (which can be used to calculate the weight 1≤𝑖≤𝑛
𝑗=1
1≤𝑗≤𝑛
𝑖=1
of subjective factors), Entropy [33] (which can be used to calcu-
late the weight of objective factors).
𝐴
4. Determine the positive ideal solution 𝐴+ and the negative ideal 𝑋= (19)
𝑠
solution 𝐴− :
{ } The sum of each row 𝑖 represents the effects that attribute 𝑖 gives
𝐴+ = (max 𝑣𝑖𝑗 |𝑗 ∈ 𝐽 ), (min 𝑣𝑖𝑗 |𝑗 ∈ 𝐽 ′ )|𝑖 = 1, 2, … , 𝑛 to the other attributes.
𝑖 𝑖 (13)
{ } 3. Attaining the total-relation matrix
= 𝑣+ , 𝑣+ , … , 𝑣+
1 2 𝑚
Based on the normalized direct-relation matrix 𝑋, the total-
{ } relation matrix 𝑇 can be calculated in the following:
𝐴− = (min 𝑣𝑖𝑗 |𝑗 ∈ 𝐽 ), (max 𝑣𝑖𝑗 |𝑗 ∈ 𝐽 ′ )|𝑖 = 1, 2, … , 𝑛
𝑖 𝑖 (14)
{ } 𝑇 = 𝑋(𝐼 − 𝑋)−1 (20)
= 𝑣− , 𝑣− , … , 𝑣−
1 2 𝑚
8
B. Li et al. Applied Energy 283 (2021) 116303
Fuel cell and the electrolyzer cannot startup at the same time
𝑜𝑛𝑜𝑓 𝑓𝑓 𝑐 + 𝑜𝑛𝑜𝑓 𝑓𝑒𝑙 ≤ 1.
battery discharging/charging power 𝑍𝑐ℎ,𝑑𝑖𝑠𝑐ℎ and output/input current
Fuel cell consumed hydrogen 𝑛𝑓 𝑐 is decided by the output power
𝑖𝑏𝑎 , temperature 𝑇𝑏𝑎 .
𝑍𝑓 𝑐 and the operation temperature 𝑇𝑓 𝑐 , which can be calculated based
For example, in Fig. 9, the current discharging capacity is 20𝐴ℎ, and
on Fig. 6:
the operation curve can be calculated as:
𝑛𝑓 𝑐 = (𝑍𝑓 𝑐 − (−0.21 + 6.9538𝐸 −4 𝑇𝑓 𝑐 ))∕187.043 (24) 𝑍𝑐ℎ,𝑑𝑖𝑠𝑐ℎ − 𝑏1 − 𝑏3 ⋅ 𝑇𝑏𝑎
𝑖𝑏𝑎 = (30)
Fuel cell consumed hydrogen is limited to the maximum hydrogen 𝑏2
flow physical constraint 𝑛𝑚𝑎𝑥 , fuel cell operation temperature should where 𝑏1 , 𝑏2 , 𝑏3 are the coefficients of the linear regression.
[ 𝑓𝑐 ]
be kept between 𝑇𝑓 𝑐 ∈ 𝑇𝑓 𝑐 , 𝑇𝑓𝑚𝑎𝑥
𝑚𝑖𝑛
𝑐 [
, fuel cell ramp up and ramp down In addition, battery charging and discharging power is limited by
]
temperature is limited to 𝛥𝑇𝑓 𝑐 ∈ 𝑟𝑎𝑚𝑝𝑚𝑖𝑛 , 𝑟𝑎𝑚𝑝𝑚𝑎𝑥 . These constraints the physical constraints:
can be described as follows:
𝑈 𝐵𝑙 ⋅ 𝑍𝑙𝑚𝑖𝑛 ≤ 𝑍𝑙 ≤ 𝑈 𝐵𝑙 ⋅ 𝑍𝑙𝑚𝑎𝑥 , 𝑙 = 𝑐ℎ, 𝑑𝑖𝑠𝑐ℎ (31)
0 ≤ 𝑛𝑓 𝑐 ≤ 𝑛𝑚𝑎𝑥
𝑓𝑐
The charging and discharging of the battery cannot happen at the
𝑇𝑓𝑚𝑖𝑛 𝑚𝑎𝑥
𝑐 ≤ 𝑇𝑓 𝑐 ≤ 𝑇𝑓 𝑐
(25)
same time 𝑈 𝐵𝑐ℎ + 𝑈 𝐵𝑑𝑖𝑠𝑐ℎ ≤ 1.
𝑟𝑎𝑚𝑝𝑚𝑖𝑛 ≤ |𝑇𝑓 𝑐 (𝑘) − 𝑇𝑓 𝑐 (𝑘 − 1)| ≤ 𝑟𝑎𝑚𝑝𝑚𝑎𝑥 State of charge SOC:
Electrolyzer produced hydrogen 𝑛𝑒𝑙 is decided by the input power ( )
𝜂𝑐ℎ 𝑍𝑐ℎ − 𝜂𝑑𝑖𝑠𝑐ℎ 𝑍𝑑𝑖𝑠𝑐ℎ 𝑑𝑡
𝑍𝑒𝑙 and the operation temperature 𝑇𝑒𝑙 , which can be calculated based 𝑆𝑂𝐶(𝑘) = 𝑆𝑂𝐶(𝑘 − 1) +
𝐶𝑎 (32)
on Fig. 7:
𝑆𝑂𝐶 𝑚𝑖𝑛 ≤ 𝑆𝑂𝐶(𝑘) ≤ 𝑆𝑂𝐶 𝑚𝑎𝑥
𝑛𝑒𝑙 = (−0.0026 + 5.8285𝐸 −5 𝑇𝑒𝑙 ) + 0.0022𝑍𝑒𝑙 (26) where 𝐶𝑎 is the capacity of the battery.
Electrolyzer produced hydrogen is limited to the maximum hydro- The electricity power balance equation is:
gen flow physical constraint 𝑛𝑚𝑎𝑥
𝑒𝑙[
; electrolyzer operation temperature
] 𝑍𝑒𝑙 − 𝑍𝑓 𝑐 + 𝑍𝑐ℎ − 𝑍𝑑𝑖𝑠𝑐ℎ − 𝐏𝐚𝐥𝐥𝐨𝐜𝐚𝐭𝐞𝐝 = 0 (33)
should be kept between 𝑇𝑒𝑙 ∈ 𝑇𝑒𝑙𝑚𝑖𝑛 , 𝑇𝑒𝑙𝑚𝑎𝑥 , electrolyzer ramp up and
[ ]
ramp down temperature is limited to 𝛥𝑇𝑒𝑙 ∈ 𝑟𝑎𝑚𝑝𝑚𝑖𝑛 , 𝑟𝑎𝑚𝑝𝑚𝑎𝑥 . These Here, we should notice that 𝐏𝐚𝐥𝐥𝐨𝐜𝐚𝐭𝐞𝐝 is the variable from the power
constraints can be described as follows: allocating controller.
0 ≤ 𝑛𝑒𝑙 ≤ 𝑛𝑚𝑎𝑥
𝑒𝑙
𝑇𝑒𝑙𝑚𝑖𝑛 ≤ 𝑇𝑒𝑙 ≤ 𝑇𝑒𝑙𝑚𝑎𝑥 (27) 4. Simulation results
𝑟𝑎𝑚𝑝𝑚𝑖𝑛 ≤ |𝑇𝑒𝑙 (𝑘) − 𝑇𝑒𝑙 (𝑘 − 1)| ≤ 𝑟𝑎𝑚𝑝𝑚𝑎𝑥
In this paper, we consider a multiple hybrid structure consisting
Hydrogen tanks pressure can be calculated based on Fig. 8, and is of four hybrid storage systems, each hybrid storage system includes a
presented as follows: battery storage and a hydrogen storage. Four hybrid storage systems
( )( )
𝑏0 + 𝑏1 𝑇𝑡𝑎𝑛𝑘 𝑛0 − 𝑛𝑓 𝑐 𝑑𝑡 + 𝑛𝑒𝑙 𝑑𝑡 𝑅𝑇𝑡𝑎𝑛𝑘 are parallelly interconnected. The two-layer algorithm is developed in
𝑃𝑡𝑎𝑛𝑘 = ( ) (28) matlab R2017a, MPC is solved by Gurobi 8.1.0. The control variables
𝑉 − 𝑏2 𝑛0 − 𝑛𝑓 𝑐 𝑑𝑡 + 𝑛𝑒𝑙 𝑑𝑡 𝑅𝑇𝑡𝑎𝑛𝑘
of MPC include: [𝑇𝑓 𝑐 , 𝑍𝑓 𝑐 ; 𝑇𝑒𝑙 , 𝑍𝑒𝑙 ; 𝑇𝑡𝑎𝑛𝑘 ; 𝑇𝑏𝑎 , 𝑍𝑐ℎ,𝑑𝑖𝑠𝑐ℎ ].
Hydrogen tanks operation temperature should be kept between
[ 𝑚𝑖𝑛 𝑚𝑎𝑥 ] The initial states of the four hybrid storage systems are concluded
𝑇𝑡𝑎𝑛𝑘 ∈ 𝑇𝑡𝑎𝑛𝑘 , 𝑇𝑡𝑎𝑛𝑘 , the ramp up and ramp down temperature is limited
[ ] in Table 4:
to 𝛥𝑇𝑡𝑎𝑛𝑘 ∈ 𝑟𝑎𝑚𝑝𝑚𝑖𝑛 , 𝑟𝑎𝑚𝑝𝑚𝑎𝑥 , hydrogen tanks pressure is limited to
[ 𝑚𝑖𝑛 𝑚𝑎𝑥 ] The simulation parameters are summarized in Table 5. The initial
𝑃𝑡𝑎𝑛𝑘 ∈ 𝑃𝑡𝑎𝑛𝑘 , 𝑃𝑡𝑎𝑛𝑘 . These constraints can be described as follows:
temperature of fuel cell, electrolyzer, hydrogen tanks and battery are
𝑚𝑖𝑛
𝑇𝑡𝑎𝑛𝑘 𝑚𝑎𝑥
≤ 𝑇𝑡𝑎𝑛𝑘 ≤ 𝑇𝑡𝑎𝑛𝑘 the same 𝑇𝑓𝑖𝑛𝑖𝑐 = 𝑇𝑒𝑙𝑖𝑛𝑖 = 𝑇𝑡𝑎𝑛𝑘
𝑖𝑛𝑖 = 𝑇 𝑖𝑛𝑖 = 293.15𝐾.
𝑏𝑎
𝑟𝑎𝑚𝑝𝑚𝑖𝑛 ≤ |𝑇𝑡𝑎𝑛𝑘 (𝑘) − 𝑇𝑡𝑎𝑛𝑘 (𝑘 − 1)| ≤ 𝑟𝑎𝑚𝑝𝑚𝑎𝑥 (29) In order to test the performance of the above two-layer strategy,
𝑚𝑖𝑛 𝑚𝑎𝑥 two load profiles are adopted:
𝑃𝑡𝑎𝑛𝑘 ≤ 𝑃𝑡𝑎𝑛𝑘 ≤ 𝑃𝑡𝑎𝑛𝑘
For the battery model, the operation characteristics is related to 1. Profile 1: a short-term second profile (which can be seen in
the state of charge SOC, with different SOCs, the operation curves are Fig. 12, ‘‘Total’’ curve);
different. So, firstly, we need to obtain the current SOC value. Then, 2. Profile 2: a long-term one-day profile (which can be seen in
based on the SOC value, we can calculate the relationship between Fig. 21, ‘‘Total’’ curve).
9
B. Li et al. Applied Energy 283 (2021) 116303
Fig. 12. Power allocated to four hybrid storage systems based on Fuzzy logic method. Fig. 13. Power dispatching to battery and hydrogen storage based on MPC in hybrid
(Fuzzy logic/ MPC). storage1 system. (Fuzzy logic/ MPC).
In this algorithm, we first develop the direct-relation matrix 𝐴, and Fig. 15. Power dispatching to battery and hydrogen storage based on MPC in hybrid
the attributes namely, SOC, 𝑈𝑏𝑎 , LOH, 𝑜𝑛𝑙𝑖𝑛𝑒ℎ𝑦 , 𝑠𝑡𝑎𝑟𝑡ℎ𝑦 are the same as storage1 system. (TOPSIS/ MPC).
in TOPSIS method. The matrix 𝐴 is presented in the following Table 6:
where the values in the direct-relation matrix 𝐴 represent the
influential levels.
10
B. Li et al. Applied Energy 283 (2021) 116303
Table 6 Table 7
Direct-relation matrix 𝐴. The percentage of the allocated power based on three algorithms (at time 𝑡 = 50 s).
Matrix SOC 𝑈𝑏𝑎 LOH 𝑜𝑛𝑙𝑖𝑛𝑒ℎ𝑦 𝑠𝑡𝑎𝑟𝑡ℎ𝑦 Cases Fuzzy logic/MPC TOPSIS/MPC Dematel-TOPSIS/MPC
SOC 0 4 1 1 4 𝐻𝑆1 0.2319 0.2716 0.2807
𝑈𝑏𝑎 4 0 4 2 1 𝐻𝑆2 0.3044 0.2901 0.2807
LOH 3 4 0 2 1 𝐻𝑆3 0.2319 0.2379 0.2329
𝑜𝑛𝑙𝑖𝑛𝑒ℎ𝑦 3 4 3 0 1 𝐻𝑆4 0.2319 0.1959 0.2057
𝑠𝑡𝑎𝑟𝑡ℎ𝑦 4 4 1 1 0
Fig. 18. SOC and LOH in hybrid storage1 system (Profile 1).
Fig. 16. Power allocated to four hybrid storage systems based on Dematel-TOPSIS
method. (Dematel-TOPSIS/ MPC).
Fig. 19. SOC and LOH in hybrid storage1 system (Profile 2).
Fig. 17. Power dispatching to battery and hydrogen storage based on MPC in hybrid
storage1 system. (Dematel-TOPSIS/ MPC).
The SOC and LOH of the hybrid storage1 under Profile 1 are
shown in Fig. 18. Under Profile 2, the SOC and LOH of the hybrid
storage1 are presented in Fig. 19. It can be seen that based on the
three algorithms, the operation characteristics of battery and hydrogen
Simulation results based on Dematel-TOPSIS/ MPC combined
storage are significantly different.
method are shown as follows. Fig. 16 describes the power allocated to
At last, we evaluate the performance of each algorithm. Four in-
four hybrid storage systems based on Dematel-TOPSIS method. Fig. 17
dexes are adopted: cumulative operation power of battery 𝑈𝑏𝑎 , online
describes power dispatching to battery and hydrogen storage based on
operation times of fuel cell and electrolyzer 𝑜𝑛𝑙𝑖𝑛𝑒ℎ𝑦 , startup times of
MPC in hybrid storage1 system. fuel cell and electrolyzer 𝑠𝑡𝑎𝑟𝑡ℎ𝑦 , operation costs 𝑐𝑜𝑠𝑡.
When 𝑈𝑏𝑎 is large, the degradation of battery is large; when 𝑜𝑛𝑙𝑖𝑛𝑒ℎ𝑦
4.4. Comparison analysis between different algorithms is large, the degradation of fuel cell and electrolyzer is also large.
Especially, when 𝑠𝑡𝑎𝑟𝑡ℎ𝑦 is large, the startup of fuel cell and elec-
The three algorithms mainly influence the allocated power. We trolyzer is frequently, thus accelerating the degradation of fuel cell and
compare the percentage of the allocated power based on the three algo- electrolyzer. So, we use 𝐷𝑒𝑔 = 𝑈𝑏𝑎 + 𝑜𝑛𝑙𝑖𝑛𝑒ℎ𝑦 + 𝑠𝑡𝑎𝑟𝑡ℎ𝑦 to represent
rithms (at time 𝑡 = 50 s, Profile 1) in Table 7. It can be seen that based the degradation of the four hybrid storage systems. The results under
on different algorithms the allocated power to each hybrid storage is Profile 1 are shown in Table 8, results under Profile 2 are shown in
different. These three algorithms mainly influence the allocated power. Table 9.
11
B. Li et al. Applied Energy 283 (2021) 116303
Table 8
The performance of the three algorithms (Profile 1).
Algorithms 𝑈𝑏𝑎 [kW] 𝑜𝑛𝑙𝑖𝑛𝑒ℎ𝑦 𝑠𝑡𝑎𝑟𝑡ℎ𝑦 𝐷𝑒𝑔 𝑐𝑜𝑠𝑡 [e]
Fuzzy logic/MPC 108.1365 183 119 410.1365 1865.9
TOPSIS/MPC 30.6385 199 130 359.6385 783.3353
Dematel-TOPSIS/MPC 25.7057 199 128 352.7057 712.6784
Table 9
The performance of the three algorithms (Profile 2).
Algorithms 𝑈𝑏𝑎 [kW] 𝑜𝑛𝑙𝑖𝑛𝑒ℎ𝑦 𝑠𝑡𝑎𝑟𝑡ℎ𝑦 𝐷𝑒𝑔 𝑐𝑜𝑠𝑡 [e]
Fuzzy logic/MPC 34.0196 153 23 210.0196 704.4560
TOPSIS/MPC 28.0668 159 22 209.0668 632.0031
Dematel-TOPSIS/MPC 26.4124 156 22 204.4124 604.7622
Table 10
The performance of the three algorithms (RCase2).
Algorithms 𝑈𝑏𝑎 [kW] 𝑜𝑛𝑙𝑖𝑛𝑒ℎ𝑦 𝑠𝑡𝑎𝑟𝑡ℎ𝑦 𝐷𝑒𝑔 𝑐𝑜𝑠𝑡 [e]
Fuzzy logic/MPC 7.6979 95 23 125.6979 267.5226
TOPSIS/MPC 9.4134 71 19 99.4134 253.3140
Dematel-TOPSIS/MPC 8.9746 71 19 98.9746 247.1648
12
B. Li et al. Applied Energy 283 (2021) 116303
Acknowledgments
13
B. Li et al. Applied Energy 283 (2021) 116303
14