원시데이터 수집 시스템
선정목록으로

A real-time energy management method for electric-hydrogen hybrid energy storage microgrid based on DP-MPC

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)

기본 정보

저자
  1. Qi Li
  2. Xueli Zou
  3. Yu-chen Pu
  4. Weirong Chen
DOI
10.17775/cseejpes.2020.02160
저널
CSEE Journal of Power and Energy Systems
발행년도
2020
발행기관
China Electric Power Research Institute
피인용수
30
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.17775/cseejpes.2020.02160
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W3176451518

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
부품·응용 설계
확신도
0.80
근거 용어
electric-hydrogen hybrid energy, fuel cell, energy management, model predictive control, microgrid
판단 근거
논문은 수소 연료전지(Fuel Cell)와 배터리가 결합된 마이크로그리드의 에너지 관리 시스템(EMS)을 위한 제어 알고리즘(DP-MPC)을 다루고 있습니다. 이는 코오롱인더스트리의 PEMFC 관련 사업(5, 6, 7)의 상위 시스템 운영 및 최적화 기술과 연관됩니다.
R&D 활용 포인트
수소 연료전지 시스템의 효율적인 에너지 분배 및 운전 전략 최적화 알고리즘 개발에 활용 가능하며, 시스템의 수명 연장(SOC/SOHC 관리)을 위한 제어 로직 설계에 기여할 수 있습니다.
평가 입력
본문 62,687자 중 30,032자 발췌

초록

With increasing presence of intermittent energy resource in microgrid, it is so difficult to precisely predict the output of renewable resources and the load demand. In order to realize the economical operation of the system, an energy management method based on model predictive control (MPC) and dynamic programming (DP) algorithm is proposed. This method can reasonably distribute the energy of battery, fuel cell, electrolyzer and external grid, and maximize the output of distributed power supply while ensuring the power balance and cost optimization of the system. Based on the ultra-short-term forecast, the output power of photovoltaic array and the demand power of system load are predicted. The off-line global optimization of traditional dynamic programming is replaced by the repeated rolling optimization in a limited period of time to obtained power values of each unit in the energy storage system. Compared with the traditional DP, MILP-MPC and the logic based real-time management method, the proposed energy management method is proved to be feasible and effective.

본문 62,687자

본문 펼치기
## A Real-time Energy Management Method for ## Electric-hydrogen Hybrid Energy Storage ## Microgrid Based on DP-MPC Qi Li, _Senior Member_, _IEEE_, Xueli Zou, Yuchen Pu, _Student_ _Member, IEEE,_ Weirong Chen _,_ _Senior_ _Member_ _Abstract_ —With increasing presence of intermittent energy resource in microgrid, it is so difficult to precisely predict the output of renewable resources and the load demand. In order to realize the economical operation of the system, an energy management method based on model predictive control (MPC) and dynamic programming (DP) algorithm is proposed. This method can reasonably distribute the energy of battery, fuel cell, electrolyzer and external grid, and maximize the output of distributed power supply while ensuring the power balance and cost optimization of the system. Based on the ultra-short-term forecast, the output power of photovoltaic array and the demand power of system load are predicted. The off-line global optimization of traditional dynamic programming is replaced by the repeated rolling optimization in a limited period of time to obtained power values of each unit in the energy storage system. Compared with the traditional DP, MILP-MPC and the logic based real-time management method, the proposed energy management method is proved to be feasible and effective. _Index Terms_ —electric-hydrogen hybrid energy, economic energy management, improved dynamic programming, microgrid, model predictive control. # T I. INTRODUCTION HE development and expansion of the microgrid can fully promote the large-scale integration of distributed # T generation and renewable energy into the power grid, and improve the reliability of multiple energy supplies. The microgrid has received increasing attention due to its high energy efficiency and environmental friendliness [1]. Intermittent distributed generation sources are random and This paragraph of the first footnote will contain the date on which you submitted your paper for review. It will also contain support information, including sponsor and financial support acknowledgment. For example, “This work was supported in part by the National Natural Science Foundation of China (No. xxxxxxx) . The next few paragraphs should contain the authors’ current affiliations, including current address and e-mail. For example, F. A. Author is with the National Institute of Standards and Technology, Boulder, CO 80305 USA (e-mail: author@ boulder.nist.gov). S. B. Author, Jr., was with Rice University, Houston, TX 77005 USA. He is now with the Department of Physics, Colorado State University, Fort Collins, CO 80523 USA (e-mail: author@lamar.colostate.edu). T. C. Author is with the Electrical Engineering Department, University of Colorado, Boulder, CO 80309 USA, on leave from the National Research Institute for Metals, Tsukuba, Japan (e-mail: author@nrim.go.jp). DOI: 10.17775/CSEEJPES.2020.02160 fluctuating. Therefore, how to use the limited energy storage system capacity and the power interaction to realize the balance between supply and demand while obtaining optimal benefits is an important part of microgrid integrated control and energy management [2]. Distributed generation has the advantages of low transmission and distribution losses, environmental protection, etc. However, with the large-scale access of distributed generation, its adverse impact on microgrid has gradually become more obvious [2]. The intermittent, random, uncertain and other disadvantages of distributed generation make it difficult to continuously and stably output electrical energy. Therefore, it is necessary to optimize and regulate the power interaction between various power sources, energy storage units and external power grids in the microgrid, so as to realize the complementary advantages of each unit of the microgrid and improve energy efficiency and system economics [3]-[5]. Ref.[6] optimizes the microgrid based on multi-time scales which is an open-loop scheduling method, but the optimization effect is usually affected by the time scale. Ref.[7] proposes an on-line optimization method of microgrid based on MPC, which compensates prediction errors through feedback correction. Ref.[8] proposes a hierarchical control method for multi-time scale optimal scheduling of microgrid, and the method ensures the power balance and frequency stability of microgrid on multiple time scales. Ref.[9]proposes a short-term operation method based on MPC and hybrid logic dynamic methods to weighs the relationship between the profit obtained from the sale of energy and life consumption while considering the power plant running life and maintenance cost. Ref.[10]applies MPC to the experimental microgrid optimization. Ref.[11] applies model predictive control to the dynamic scheduling problem of the electric system, the optimal output of the unit was determined by the minimum fuel cost, and the dynamic economic emission scheduling and emission limits are considered to determine the optimal power sales. Ref.[12] introduces the prediction mechanism into distributed generation, and improves the active power dispatching of the electric system based on model predictive control. Ref.[13] proposes an optimal control method based on MPC for the hybrid energy storage microgrid, which maximized the economic benefits of the system. Ref.[14] proposes a model predictive control method based on a dynamic scheduling framework of optimal control, and verified that MPC has certain robustness in a disturbing environment. Ref.[15] proposes an economic dispatch method based on multi-time scales and model predictive control to minimize the operating costs of the microgrid. The proposed method has good performance in a time-varying environment. Dynamic programming is a mathematical method for optimizing the decision-making process. It is widely used in industrial production, resource allocation, shortest route and optimal control. Ref.[16] uses improved dynamic programming to solve the optimal control problem of hybrid electric vehicles, which shortens the calculation time of the method and minimizes fuel consumption. Ref.[17] applies dynamic programming to reduce the operating costs of the system, and it obtains the optimal strategy for the selection of the weight and capacity of the battery pack. Ref.[18] proposes a dynamic programming method to solve the minimization problem. This method can ensure the dynamic characteristics of the vehicle, minimize the operating cost, and make the system power be reasonably distributed among multiple sources. Ref.[19] performs weighted improvement on the traditional DP to reduce the operating cost and system hydrogen consumption while ensuring the required operating performance. Ref.[20] proposes to discretize state variables and control variables and narrow the range during real-time online scrolling optimization, which reduces invalid calculations and greatly improves the system operation speed, and the operation results will not be affected. Ref.[21] pointed out that discretizing state variables and control variables and narrowing their range can reduce invalid calculations and greatly increase the speed of system operation, while the results will not be affected. However, as a global optimization method, traditional dynamic programming usually has the following deficiencies when it is used in the optimization regulation of microgrid: For the day-ahead scheduling of microgrid, traditional dynamic programming has disadvantages such as lack of real-time performance, high calculation complexity, and slow run speed. Therefore, the energy management method proposed in this paper has made many improvements for traditional DP and MPC. The main innovations are: 1)As for the problems such as lack of real-time performance, complex calculation and slow run speed when DP is usually used in the day-ahead scheduling of microgrid, we introduce MPC based on DP. The DP is only performed in a limited time domain and the number of optimization stages depends on the prediction step length. By reducing the reachable area of the state variables, the calculation complexity is greatly reduced, the run speed is significantly faster,and real-time scheduling of the microgrid can be effectively implemented; 2)Based on the improvement of traditional dynamic programming and model predictive control, a new microgrid control method DP-MPC is proposed, this method uses the system state at the current moment in the rolling optimization as the input of the DP at the next moment to form the feedback loop of MPC;as a closed-loop control, DP-MPC can correct operation errors in real time and optimize the effect of MPC, while achieving the complementary advantages of dynamic programming algorithms and model predictive control. According to the proposed DP-MPC algorithm, an electric-hydrogen hybrid energy storage microgrid system model is designed, and the energy management of the microgrid is aimed at the minimum cost. Discrete control variables and state variables and set constraints, while maintaining the normal level of the energy storage system, so that the maximum consumption of distributed power would be achieved, and system stability maintained. Compared with the traditional real-time energy management method, the method proposed in this paper avoids the excessive energy interaction between the photovoltaic power generation system and the energy storage system, the working time of the energy storage system is significantly reduced, the operating cost is drastically reduced, and the economy efficiency of the system is greatly improved. This paper is organized as follows. The system structure of electric-hydrogen microgrid is presented in Section II. DP-MPC <mark>scheduling</mark> model of electric-hydrogen microgrid is carried out in Section III. Energy management method of electric-hydrogen microgrid based on DP-MPC is applied in Section IV. The experiments is validated in Section V followed by the conclusion in Section VI. II. SYSTEM STRUCTURE OF ELECTRIC-HYDROGEN _A._ _Structure of the system_ Electric-hydrogen microgrid is a small power system composed of distributed power generation system, hydrogen energy system, battery energy storage system, energy conversion equipment, monitoring device, load and <mark>protective equipment [</mark> 1]. The topology of the electrichydrogen DC microgrid proposed in this paper is shown in fig.1. In the figure, the microgrid has multiple layers of power interaction. Both the photovoltaic power generation system and the energy storage system are connected to the bus through DC / DC. As the main energy source of the microgrid, the photovoltaic power generation system provides electrical energy for the load, battery energy storage system, and hydrogen energy system. When the photovoltaic power generation is insufficient, the battery and the hydrogen energy system provide electrical energy to the load, and if necessary, purchase electricity from the external power grid; when the photovoltaic output is higher than the load demand, priority is given to the DC load, and the excess electrical energy is stored in the energy storage system or sold to the external power grid to ensure the stable operation of the system. Battery DCDC PV DCDC Power grid Load DCDC DCDC electrolyser Fuel cell H2 H2 Hydrogen storage tank Fig. 1. Electric-hydrogen microgrid system structure diagram _B._ _Modeling of PV_ In this paper, the mathematical model of proton exchange membrane fuel cell [24] is selected as follows: _U_ _fc_ = _Er_ - _U_ _act_ - _U_ _ohm_ - _U_ _con_ (6) where _Ufc_ is the terminal voltage of fuel cell; _Er_ is the theoretical electromotive force of the fuel cell; _Uact_ is the activation overvoltage; _Uohm_ is the ohmic overvoltage; _Ucon_ is the concentration overvoltage. 2) Modeling of electrolyzer The DC voltage [36] of the electrolyzer is: _<mark>U</mark>_ _el_ <mark>=</mark> _<mark>N</mark>_ _el_ _<mark>U</mark>_ _cell_ (7) <mark>where</mark> _<mark>U</mark>_ _el_ <mark>is the DC voltage of the electrolyzer;</mark> _<mark>N</mark>_ _el_ <mark>is the serial</mark> <mark>numbers of electrolyzer;</mark> _<mark>U</mark>_ _cell_ <mark>is the voltage of a single</mark> <mark>electrolyzer.</mark> The hydrogen production rate _n_ of the electrolyzer is: I-U equation of photovoltaic cells suitable for engineering applications [33]: _n_ =η _F_ _<u>N</u>_ 2 _<u>elFI</u>_ _<u>el</u>_ (8) _F_ <mark>where η</mark> `F` <mark>is Faraday efficiency, which can be expressed as:</mark> _<u>U</u>_ _I_ = _I_ _sc_ 1[ - _C_ 1[exp( ) - 1]] (1) _<mark>I</mark>_ _el_ <mark>is the current flowing through the electrolytic cell;</mark> _<mark>F</mark>_ <mark>is the</mark> <mark>Faraday constant.</mark> η _F_ = 96.5exp(0.09 / _Iel_ - 75.5 / _Iel_ 2 ) <sup>(9)</sup> _<u>U</u>_ 1[ - _C_ 1[exp( ) - 1]] _<u>U</u>_ = _I_ _sc_ 1[ - _C_ 1[exp( _C_ 2 _U_ _oc_ ) _sc_ 1 _C_ 2 _U_ _oc_ _C_ 1 = 1( - _<u>II</u>_ _scm_ ) exp( _C_ <u>−</u> 2 _<u>UUmoc</u>_ ) (2) 3) Modeling of hydrogen tank The mathematical model of the hydrogen tank [37] is: _t_ _nsto_ ( _t_ 0 + ∆ _t_ ) = _nsto_ ( τ ) _d_ τ+ _nsto_ ( _t_ 0 ) ### ∫ 0 _t_ _sto_ ( _t_ 0 + ∆ _t_ ) = _nsto_ ( τ ) _d_ τ+ _nsto_ ( _t_ 0 ) (10) ### ∫ 0 _t_ 1( - _<u>I</u>_ _<u>m</u>_ ) exp( _<u>U</u>_ _<u>m</u>_ ) _<u>m</u>_ _sc_ _<u>m</u>_ 1 _I_ _sc_ _C_ 2 _U_ _oc_ _C_ 2 _U_ _C_ 2 = ( _<u>U</u>_ _<u>m</u>_ - 1)[ln(1 - _<u>I</u>_ _<u>m</u>_ )] - 1 (3) _<u>U</u>_ _<u>m</u>_ - 1)[ln(1 - _<u>I</u>_ _U_ _oc_ _I_ _<u>m</u>_ _sc_ _n_  _sto_ ( _t_ ) = _n_  _el_ ( _t_ ) - _n_  _fc_ ( _t_ ) <sup>(11)</sup> 2 = ( _<u>U</u>_ _<u>m</u>_ - 1)[ln(1 - _<u>I</u>_ _<u>m</u>_ )] - 1 _<u>m</u>_ _oc_ where _Isc_ _is_ the short-circuit current; _Im_ and _Um_ are the maximum power current and maximum power voltage, respectively; _Uoc_ is the open-circuit voltage; When the light intensity S and the ambient temperature T change, the above four parameters need to be re-estimated to obtain new values. where _nsto_ ( _t0_ +Δ _t_ ) is the hydrogen reserves of the hydrogen tank; _nsto_ ( _t0_ ) is the initial hydrogen reserves of the hydrogen tank at _t0_ ; _ṅsto_ is the net hydrogen storage rate of the hydrogen tank; _ṅfc_ is the hydrogen consumption rate of the fuel cell. According to the ideal gas state equation, the pressure of the hydrogen tank is: _C._ _Modeling of battery energy storage system_ The electromotive force of the battery is affected by the state of charge and the charge/discharge current. The mathematical model [34]-[35] is: _Psto_ = _<u>RTVstosto</u>_ _nsto_ (12) _sto_ _sto_ _t_ _<u>KSOC</u>_ ### E = E 0 − SOC − Qn t i ( τ ) d τ+ A exp( − B ∫ 0 i ( τ ) d τ ) ∫ _t_ _<u>KSOC</u>_ ### 0 − SOC − Qn t i ( τ ) d τ+ A exp( − B ∫ 0 ∫ 0 _t_ _<u>KSOC</u>_ ### SOC − Qn t i ( τ ) d τ+ A exp( − B ∫ 0 i ( τ ) d ∫ _<u>KSOC</u>_ = _E_ 0 - _<u>t</u>_ + _A_ exp( _SOC_ - _Qn_ _i_ ( τ ) _d_ τ ### ∫ _t_ 0 _<u>t</u>_ _t_ ### ( τ ) d τ+ A exp( − B ∫ 0 i ( τ ) d τ ) _n_ 0 where _Psto_ is the pressure of the hydrogen tank; _R_ is the universal gas constant; _Tsto_ is the temperature of the hydrogen tank; _Vsto_ is the capacity of the hydrogen tank, and _nsto_ is the hydrogen reserves. In order to reflect the hydrogen storage capacity of the hydrogen tank more intuitively and effectively, the definition of the equivalent state of charge _SOHC_ [24] of the hydrogen tank is introduced in this paper, and its expression is: _SOHC_ = _<u>Psto</u>_ (13) _PN_ _t_ τ ) _d_ τ _t_ _Qn_ - _i_ ( τ ) _d_ τ ### = ∫ 0 × 100% (4) (5) _t_ _Qn_ - _i_ ( τ ) _d_ ### SOC = ∫ 0 _n_ _Q_ _n_ where _E_ is the internal electromotive force; _E0_ is the internal electromotive force in the initial state; _Qn_ is the rated capacity of the battery; _i_ ( _t_ ) is the battery charge/discharge current; A and B are voltage and capacity change coefficients respectively; K is the polarization voltage constant; SOC is the ratio of residual capacity to rated capacity, which is the state of charge of the battery. III. DP-MPC <mark>SCHEDULING</mark> MODEL OF ELECTRIC-HYDROGEN MICROGRID _A._ _Scheduling framework_ A large number of distributed power generation equipments, energy storage equipments and power loads are integrated in _N_ where _PN_ is the maximum pressure that the hydrogen tank can withstand. _D._ _Modeling of hydrogen energy system_ 1) Modeling of fuel cell the electric-hydrogen microgrid. The operation and optimization of the system are facing greater challenges. Among them, economic dispatching of the microgrid is the core content of energy management [2]. When the traditional DP algorithm is used to optimize the system, although the optimal decision is unique, the number of feasible decision sequences increases exponentially with the increase of state variables, decision variables, and length of time. Therefore, the calculation is more complicated. In order to solve this problem, this paper uses the MPC method based on improved DP. When the electric-hydrogen microgrid runs at time k, the maximum and minimum state variables at time k+1 are calculated from the state variables at time k and the state transfer equation. By analogy, the reachable area of k+n time domain state variables can be obtained. In each rolling cycle of MPC, the prediction step size is regarded as the length of time for dynamic programming algorithm. Therefore, based on the construction of the day-ahead scheduling of the electric-hydrogen microgrid, we redescribe the model scheduling with the theory of MPC and DP to realize the cost optimization of the microgrid, while ensuring a reasonable distribution of energy between various power sources. As shown in Fig.2, the scheduling model of electric-hydrogen hybrid energy storage microgrid based on DP-MPC mainly consists of three parts: data prediction, optimal regulation and feedback. Optimal regulation Improved DP Fig. 2. Flow chart of energy management _B._ _Optimization model_ 1) Objective function During the rolling optimization process, this paper aims at the minimizing the operating cost of the electric-hydrogen microgrid under the premise that the energy storage level is within the normal range. The system built in this paper is an electric-hydrogen hybrid energy storage system and the operating cost of the photovoltaic power generation system is constant. According to the predicted power of <mark>photovoltaic</mark> <mark>system</mark> and load, considering the electricity price, the utilization cost and maintenance cost of the energy storage system, the energy management system should consider allocating power to each unit, and select the working mode with the lowest utilization cost [15]. _f_ ( _C_ ) = min ∑ _T_ 0 ( _Cbat_, _dis_, _t_ + _Cbat_, _char_, _t_ + _C_ _fc_, _t_ + _Cel_, _t_ + _C_ _net_, _t_ ) (14) where _Cbat,dis,t_ and _Cbat,char,t_ are the discharge cost and charging cost of the battery at time _t_, respectively; _Cfc,t_ is the discharge cost of the fuel cell at time _t_ ; _Cel_ is the operating cost of the electrolyzer at time _t_ ; _Cnet_ is the cost of power interaction between the microgrid and the external grid at time _t_, which is positive when purchasing electricity and negative when selling electricity. a. The cost of electricity purchased by the grid <mark>where</mark> _<mark>C</mark>_ _hy_ <mark>is the utilization cost of the hydrogen energy system;</mark> _Cfc_ <mark>is the utilization cost of the fuel cell;</mark> _<mark>C</mark>_ _el_ <mark>is the utilization</mark> _Cnet_ = _C_ _phPnet_, _P_    = _C_ _phPnet_, _Pnet_ ≥ , _Pnet_ ≥ 0 , _Pnet_ < 0 _net_ _ph_ _net_ _net_ _net_ = _CsePnet_, _Pnet_ _Cnet_ = _CsePnet_, _P_ = _CsePnet_, _Pnet_ < (15) where _Cph_ is the unit price of electricity purchase; _Cse_ is the unit revenue of electricity sales; _Pne_ is the value of the power interaction between the microgrid and the external grid. b. The utilization cost of battery Considering the two states of battery charging and discharging, the cost of the battery can be decomposed into discharging cost and charging cost [24,40,41], as shown below: _Cbat_ = _Cbat_, _dis_ + _Cbat_, _char_ _Cbat_ , _dis_ = _<u>Cbat</u>_ <u>,</u> _<u>in</u>_ <u>/</u> _<u>Lbat</u>_ + _<u>C</u>_  _Cbat_ = _Cbat_, _dis_ + _Cbat_   _Cbat_ , _dis_ = _<u>Cbat</u>_ <u>,</u> η _<u>in</u>_ _bat_ <u>/</u> _<u>L</u>_, _charbat_ η+   _Cbat_, _char_ = _Cbat_, _in_ / _Lbat_ + η _bat_, _char_ = _f_ 1( _SOC_, _Pbat_, _bat_ _bat_, _dis_ _bat_, _char_ , _dis_ _bat_, <u>/</u> _bat_ , _dis_ = _<u>bat</u>_ <u>,</u> η _<u>in</u>_ _<u>bat</u>_ η _<u>bat</u>_ <u>,</u> _<u>O</u>_ <u>&</u> _<u>M</u>_ <u>,</u> _<u>in</u>_ _<u>bat</u>_ _<u>bat</u>_ <u>,</u> _<u>O</u>_ <u>&</u> , η _bat_, _char_ η _bat_, _char_ _bat_, _dis_ (16) , _char_ _bat_, _Cbat_, _char_ = _Cbat_, _in_ / _Lbat_ + _C_ / _bat_, _char_ _bat_, _in_ _bat_ _bat_, _O_ & _M_ , _char_ _bat_, _in_ _bat_ _bat_, _O_ & η η , _char_ 1 _bat_, , _dis_ = _f_ 2 ( _SOC_, _Pbat_, _f_ 1( _SOC_, _P_ ( _SOC_, _Pbat_, _char_ ) _bat_, _char_ 1 _bat_, _char_ η _bat_, _dis_ = _f_ 2 ( _SOC_, _P_ ( _SOC_, _Pbat_, _dis_ ) _bat_, _dis_ 2 _bat_, _dis_ where _Cbat_ is the utilization cost of battery; _Cbat,dis_ is the cost of discharging the battery; _Cbat,char_ is the cost of charging the battery; _Cbat,in_ is the purchase cost of the battery; _Cbat,O&M_ is its operation and maintenance cost; _ηbat,char_ and _ηbat,dis_ represent the charge efficiency and discharge efficiency of the battery respectively; _<mark>L</mark>_ _bat_ <mark>i</mark> s the service life(h); _Pbat,char_ is the charging power of the battery; _Pbat,dis_ is the discharging power of the battery. c. The utilization cost of hydrogen energy system The utilization cost of the hydrogen energy system [24,39] is: _Chy_ = _C_ _fc_ + _Cel_ _C_ _fc_ = _<u>C</u>_ _<u>fc</u>_ <u>,</u> _<u>in</u>_ <u>/</u> _<u>L</u>_ _<u>fc</u>_ + _<u>C</u>_  _Chy_ = _C_ _fc_ + _C_   _<u>C</u>_ _<u>fc</u>_ <u>,</u> _<u>in</u>_ <u>/</u> _<u>L</u>_ _<u>fc</u>_ + _C_ _fc_ = η _el_ η _fc_   _Cel_ = _Cel_, _in_ / _Lel_ +  η _el_ = _f_ 3( _Pel_  η _fc_ = _f_ 4 ( _Pfc_ _hy_ _fc_ _el_ <u>/</u> _fc_ = _<u>fc</u>_ <u>,</u> _<u>in</u>_ η _<u>fc</u>_ η _<u>fc</u>_ <u>,</u> _<u>O</u>_ <u>&</u> _<u>M</u>_ <u>,</u> _<u>in</u>_ _<u>fc</u>_ _<u>fc</u>_ <u>,</u> _<u>O</u>_ <u>&</u> η _el_ η _fc_ _el_ _fc_ _Cel_ = _Cel_, _in_ / _Lel_ + _C_ η _el_ = _f_ 3( _Pel_ ) η _fc_ = _f_ 4 ( _Pfc_ ) (17) / _el_ _el_, _in_ _el_ _el_, _O_ & _M_ , _in_ _el_ _el_, _O_ & η _el_ η _fc_ 3 4 ( _Pel_ ) ( _Pfc_ ) _el_ 3 _el_ _fc_ = _f_ 4 ( _Pfc_ <mark>cost of the electrolyzer;</mark> _<mark>C</mark>_ _el,in_ <mark>and</mark> _Cfc,in_ <mark>are the purchase cost of</mark> <mark>electrolyzer and fuel cell respectively;</mark> _<mark>L</mark>_ _el_ <mark>and</mark> _<mark>L</mark>_ _fc_ <mark>are the service</mark> <mark>life of electrolyzer and fuel cell;</mark> _Cel,O&M_ <mark>and</mark> _<mark>C</mark>_ _fc,O&M_ <mark>are the</mark> <mark>operation and maintenance costs of the electrolyzer and fuel</mark> <mark>cell; η</mark> _el_ <mark>and η</mark> _fc_ <mark>are the working efficiency of the electrolyzer</mark> <mark>and fuel cell, respectively;</mark> _<mark>P</mark>_ _el_ <mark>is the power absorbed by the</mark> <mark>electrolyzer.</mark> 2) System constraints State variables are discretized during the optimization process. In practical applications, the state variables and decision variables of the system at each stage have corresponding reachable sets because of the power constraints of the system. The existence of reachable sets avoids a lot of invalid calculations and obviously enhances the calculating velocity of algorithm. The system discussed in this paper has the following constraints: a. Power balance constraints _k_ + 1 = _SOHCk_ −η _<u>fc</u>_ 1 _M_ _el_ = _cPel_ (22) The capacity and charge-discharge power of the energy storage system are two direct influencing factors of SOC and SOHC. The capacity of the battery and the hydrogen tank have been determined when the parameters of the system are matched. Therefore, the changes of SOC and SOHC during the operation of the system are only related to the corresponding charge-discharge power, and the changes in their state satisfy the following relationship: _SOCk_ + 1 = _SOCk_ −η _disPbatQbat_, _P_ _k_ + 1 = _SOCk_ −η _<u>bat</u>_ , _Pbat_ ≥ 0 + 1 η _disQ_ _<u>Pbat</u>_ <u>η</u> _disQbat_ _bat_ + = _SOCk_ - _<u>bat</u>_, _Pbat_ ≥ _SOCk_ + 1 = _SOCk_ - _<u>PbatQ</u>_ <u>η</u> _batchar_, _P_ _k_ + 1 = _SOCk_ - _<u>bat</u>_ _<u>char</u>_ , _Pbat_ ≤ 0 1 = _SOCk_ - _<u>bat</u>_ _<u>char</u>_, _Pbat_ ≤ _bat_ _bat_ + _<u>M</u>_ _SOHC_ _k_ + 1 = _SOHCk_ (23) = _SOHCk_ - _<u>fc</u>_, _Phy_ ≥ η _fcQsto_ _hy_ _<u>fc</u>_, _P_ _Qsto_ , _Phy_ ≥ 0 _Pload_ = _Ppv_ + _Pbat_ + _Phy_ + _P_ +    = _Ppv_ + _Pbat_ + _Phy_ + _load_ _pv_ _bat_ _hy_ _net_ (18)      <sup></sup>        _<u>el</u>_ <u>η</u> _<u>el</u>_ , _Phy_ ≥ 0 _Phy_ = _Pfc_ + _Pel_ = _Pfc_ + _hy_ _fc_ _el_ = _SOHCk_ - _<u>el</u>_ _<u>el</u>_, _Phy_ ≥ _hy_ _sto_ _SOHC_ _k_ + 1 = _SOHCk_ - _<u>MQelsto</u>_ <u>η</u> _<u>el</u>_, _P_ _k_ + 1 = _SOHCk_ - _<u>el</u>_ _<u>el</u>_ + 1 where _Pload_ is the required power of the load; _Ppv_ is the output power of photovoltaic power generation system; _Pbat_ is the charge/discharge power of the battery; _Phy_ is the charge/discharge power of the hydrogen energy system; _Pfc_ is the output power of the fuel cell; _Pel_ is the absorption power of the electrolyzer; _Pnet_ is the power of the interaction between the microgrid and the external power grid. b. energy storage systems constraints   <mark>where</mark> _<mark>Q</mark>_ _bat_ <mark>is the rated capacity of the battery;</mark> _<mark>Q</mark>_ _sto_ <mark>is the</mark> <mark>capacity of the hydrogen tank.</mark> Obviously,in (20) and (23), we can see that SOC and SOHC have a maximum range from time k to time k+1 to avoid a large number of invalid calculations and greatly reduce the amount of calculation.   <sup></sup>              _Pbat_,min ≤ _Pbat_ ≤ _P_ ≤ _Pbat_ ≤ _bat_,min _bat_ _bat_ ,min _bat_ _bat_,max _Pbat_,min ≤ ∆ _Pbat_ ≤ ∆ _P_ ∆ _Pbat_,min ≤ ∆ _Pbat_ ≤ ∆ _bat_,min _bat_ _bat_ ,min _bat_ _bat_,min min < _SOC_ < _SOC_ max _SOC_ min < _SOC_ < _SOC_ (19) < _SOC_ < _SOCstart_ ≈ _SOC_ ≈ _start_ _end_ _Pfc_,min ≤ _P_ _fc_ ≤ _Pfc_ _Pel_,min ≤ _Pel_ ≤ _Pel_ ≤ _P_ _fc_ ≤ ≤ _Pel_ ≤ _fc_,min _fc_ _fc_, ,min _fc_ _fc_,max _el_,min _el_ _el_, ,min _el_ _el_,max _Pfc_,min ≤ ∆ _P_ _fc_ ≤ ∆ _P_ ∆ _Pfc_,min ≤ ∆ _P_ _fc_ ≤ ∆ ∆ _Pelc_,min ≤ ∆ _Pel_ ≤ ∆ _fc_,min _fc_ _fc_ _Pelc_,min ≤ ∆ _Pel_ ≤ ∆ _Pel_ ,min _fc_ _fc_,max IV. ENERGY MAAGEMENT METHOD OF ELECTRIC-HYDROGRN MICROGRID BASED ON DP-MPC _A._ _Model predictive control_ Model predictive control is a special type of control method, whose current control behavior depends on each sampling instant obtained by solving a finite-time open-loop optimal control problem. In each sampling period, the current state of the process is taken as the initial state of the optimal control problem. The optimal control sequence obtained only implements the first control action, and the current optimal control problem of finite duration is solved by online rolling <mark>[9,19].</mark> The principle of model predictive control is shown in Fig.3. ``` Reference output Predicted output Actual output ``` _Pelc_,min ≤ ∆ _Pel_ ≤ ∆ _P_ ,min _el_ _el_,max (20) _SOHC_ min < _SOHC_ < _SOHC_ < _SOHC_ < min max _SOHCstart_ ≈ _SOHC_ ≈ _start_ _end_ In order to keep the energy storage system in the best working state, We limit the SOC of the battery and the SOHC of the hydrogen energy system to 30% to 70%. This limitation can enhance the working performance and service life of the energy storage system, and it plays an important role in the realization of peak cutting and valley filling in batteries and hydrogen energy systems. The hydrogen consumption and output power of fuel cell satisfy the following linear relationship [29]: _M_ _fc_ = _aPfc_ + _b_ (21) According to Faraday's law of electrolysis M = KIt, we can see that the hydrogen production and the absorbed power of the electrolyzer satisfy the following linear relationship: Δu(k+i|k)=0 , i ≥ M ``` Optimized input ``` Δu(k+i|k) ``` Actual input ``` Δu(k-3|k) <u>Δu(k)</u> Δu(k+1|k) ~~<u>Δ</u>~~ <u>u(k+2|k)</u> Δu(k+M|k) `Control step` <u>M</u> K-3 K-2 K-1 K K+1 K+2 `…` K+M `…` K+N <u>Prediction step N</u> Fig. 3. Schematic diagram of model predictive control In general, model predictive control mainly consists of three parts: predictive model, rolling optimization, and feedback correction [12]. The core of predictive control is the predictive function, which predicts the future output response based on the current state of the system and the historical input of the system. The prediction model can be in the form of state transfer equations, transfer functions, neural network models, chaotic models, etc. <mark>[16].</mark> Any model that can predict the future output response of the system can be regarded as a prediction model <mark>[17].</mark> During rolling optimization, the optimization process is performed online in the time domain determined at a sampling time, the optimal control sequence in the time domain is solved and the system state change is stored. There is a local optimization performance index in the limited time domain [12], and the control system only executes the control behavior at the current moment. At the next sampling moment, the optimal control sequence is solved again. Because of the interference factors in actual applications, the results predicted by the model often deviate from the actual output [12]. Therefore, at each sampling instant, the feedback of the actual measured value at the last instant is received to form a closed-loop control, so that the error is corrected in real time, and the system optimization effect is enhanced. _B._ _Scheduling model based on DP-MPC_ 1) Data prediction <mark>The forecasting model in this paper includes two parts: 1) the</mark> <mark>forecasting model of photovoltaic power generation; 2) the</mark> <mark>forecasting model of load demand. Based on the gray algorithm,</mark> <mark>the predicted data are obtained by the prediction model. The</mark> <mark>steps of grey prediction [22]-[23] are shown in the figure</mark> <mark>below:</mark> Start Input original data satisfy the smoothness No condition? Yes set up grey model Construct Prediction function preprocessing <u>No</u> correction <u>No</u> Residual error Pass The accuracy check? correction Yes End Fig. 4. Grey forecast flow chart 2) <mark>Optimal regulation</mark> Dynamic programming is a numerical solution method based on Bellman's principle of optimality to solve the decision process. It is a global optimization method that discretizes complex decision problems into a series of sub-stage decision problems. Dynamic programming uses a numerical iterative solution method, which is suitable for analytical or numerical system models and is used to solve global optimization problems under complex constraints of dynamic systems [16]-[17]. When using DP to solve a problem, the system working conditions are divided into optimization phases at fixed time intervals. At different time stages k, x(k) represents the state variable, u(k) is the decision variable, f (k) is the state transition equation, N is the total number of stages, X (k) and U (k) are the sets of state variables and decision variables respectively, their relationship is as follows [8]: _x_ ( _k_ + )1 = _f_ ( _x_ ( _k_ ), _u_ ( _k_ )), _k_ = 1,0 ……, _N_ - 1 (24) where: _x_ ( _k_ ) ∈ _X_ ( _k_ ), _u_ ( _k_ ) ∈ _U_ ( _k_ ) (25) The optimality principle of dynamic programming shows that: For the optimal strategy in the multi-stage decision-making process, regardless of the initial state and initial decision, the remaining decisions from this phase must have an optimal decision for this stage when any one of these phases and states is regarded as the initial phase and initial state [20]. This paper improves the traditional dynamic programming: Considering that there are two energy storage modes for batteries and hydrogen energy systems in the electric-hydrogen microgrid, the number of state variables and decision variables is increased from one to two, and the dimension of DP is also increased from one to two; during the optimization process, in order to avoid invalid operations and reduce the amount of calculation, we reduce the reachable sets of control variables and state variables in the calculation according to the constraints of decision variables. Based on the DP-MPC method, this paper uses the prediction step size in model prediction as the number of dynamic programming phases. Considering the constraints of the system and taking the optimal cost as the goal, the reverse optimization is performed, and then the optimal decision of the problem at this phase is generated forward, only the optimal output of each power supply and energy storage system at the current time is executed, and the energy storage state of the system at this time is stored. after the execution of the decision at this phase, the energy storage state is sent to the input terminal at the next sampling time, and the actual output result of the system at the previous sampling time will enter the next phase of rolling optimization. For the improved dynamic programming algorithm, we choose the SOC and the SOHC as the state variables x(k) and y(k), and the output power _Pbat_ of the battery and the output power _Phy_ of the hydrogen energy system are selected as the decision variables u(k) and v(k),then the state variables and decision variables are discretized, the optimal output of the energy storage system is solved. Considering the constraints of state variables and decision variables, the feasible region M(k) of the state variables can be defined. The state transfer equation of the system can be expressed as: _x_ ( _k_ + )1 = _f_ 1( _x_ ( _k_ ), _u_ ( _k_ ( _k_ + )1 = _f_ 1( _x_ ( _k_ ), _u_ ( _k_ )) (26) _x_ ( _k_ + )1 = _f_ 1( _x_ ( _k_ ), _u_ ( _k_ )), _k_ = 1,0,..., _N_ _y_ ( _k_ + )1 = _f_ 2 ( _y_ ( _k_ ), _v_ ( _k_ ))  _x_ ( _k_ + )1 = _f_ 1( _x_ ( _k_ ), _u_ ( _k_ )), _k_ = 1,0,..., _N_  _y_ ( _k_ + )1 = _f_ 2 ( _y_ ( _k_ ), _v_ ( _k_ )) 1, _k_ = 1,0,..., _N_ - 1 ( _k_ + )1 = _f_ 2 ( _y_ ( _k_ ), _v_ ( _k_ )) + )1 = 2 where _x_ ( _k_ ) ∈ _X_ ( _k_ ), _u_ ( _k_ ) ∈ _U_ ( _k_ ( _k_ ) ∈ _X_ ( _k_ ), _u_ ( _k_ ) ∈ _U_ ( _k_ ) ∈ _X_ ( _k_ ), _u_ ( _k_ ) ∈ ∈ _Y_ ( _k_ ), _v_ ( _k_ ) ∈ (27) V. EXPERIMENT AND RESULTS In order to verify the effectiveness of energy management methods based on model predictive control and improved dynamic programming algorithms,we compared the method with traditional logic-based energy management method and analyzed the control results. The cost of battery, fuel cell and electrolyzer is shown in Tab.1. The relevant parameters of battery, fuel cell, hydrogen tank, electrolyzer and power grid are shown in Tab.2 [24]. The power data of the photovoltaic power generation system comes from the St. Louis Photovoltaic Power Station of the University of Queensland, Australia, and the power data of the load demand comes from the Ningxia province of China. Considering the need of optimal regulation for a day, the time section is taken every 15 minutes, that is, rolling optimization in MPC is started every 15 minutes. The predicted results of load demand power and photovoltaic output power in the next 75 minutes are shown in Fig.7 and Fig.8. TABLE I <u>COST AND SERVICE LIFE OF DISTRIBUTED GENERATION</u> Subsystems Cost CO&M Life Battery 3000yuan/kw·h 0.02yuan/kw·h 2000cycles Fuel cell 25000yuan/kw 0.04yuan/h 40000h electrolyzer 32000yuan/kw 0.05yuan/h 40000h <u>TABLE</u> <u>II</u> <u>WORKING PARAMETERS OF ENERGY STORAGE UNIT</u> Subsystems Discriminations Values _y_ ( _k_ ) ∈ _Y_ ( _k_ ), _v_ ( _k_ ) ∈ _V_ ( _k_ ( _k_ ) ∈ _Y_ ( _k_ ), _v_ ( _k_ ) ∈ _V_ ( _k_ ) _SOC_ k-1 _P_ bat_ t1 _P_ hy_ t1 k k+1 T Fig. 5. State transition diagram Assuming that each prediction step length is n, the working time of the dynamic programming algorithm in each rolling optimization is discretized into n equidistant phases, as shown in Fig.5. The state of the system at k-1 and k+1 is analyzed. When calculating the minimum cost from time k to time k+n, the cost from each feasible state at time k+n to time k+1 can be calculated by the objective function. When the calculated result satisfies (14), the best decision in the period from k to k+n will be generated forward. The flow chart is shown below. Start <mark>t=1</mark> Data prediction SOC(t),SOHC(t) are the initial value of DP Set the change range of SOC,SOHC during [t,t+n] k=n; Set cost function k=k-1 Get SOC(k+1),SOHC(k+1) from SOC(k),SOHC(k) i=j=1 <mark>j=j+1</mark> <u>Yes</u> Calculate and store operational costs j<numel(M(k+1)) No <mark>j=1</mark> i<numel(M(k+1)) No k=1 Output and store the value of _Pbat_, _Phy_,SOC,SOHC Is the optimization cyclr over? Yes End Power range [-4000w,+4000w] Battery Rated capacity 400000A·h Initial SOC 50% Fuel cell Power range [0,+3000w] electrolyzer Power range [-3000w,0] Initial SOHC 50% hydrogen tank Rated capacity 60L <u>Power grid</u> <u>Power range</u> <u>[-2000w,+2000w]</u> Pload-75min Pload-60min Pload-45min Pload-30min Pload-15min Pload-real 0 2 4 6 8 10 12 14 16 18 20 22 24 t(h) Fig. 7. Load demand power prediction curve <mark>t=t+1</mark> <mark>i=i+1</mark> Yes No 8 6 4 2 0 Fig. 6. DP-MPC flow chart In the electric-hydrogen microgrid model discussed in this paper, the actua <mark>l</mark> <mark>reserves</mark> of the system energy storage system after the last optimization is used as feedback to form a closed-loop control. The state variables in the rolling optimization are always the actual values, so the optimization effect is better. 18 16 Ppv-75min Ppv-60min 14 Ppv-45min Ppv-30min 12 Ppv-15min 10 Ppv-real 8 6 4 2 0 0 2 4 6 8 10 12 14 16 18 20 22 24 t(h) Fig. 8. Photovoltaic output power prediction curve Based on the measured data and predicted data in Fig.7 and Fig.8, the results obtained by optimizing the system according to the energy management method proposed in this paper are shown in the following figure. Fig.9 is the change curve of the system power, and Fig.10 is the change curve of SOC and SOHC. photovoltaic system sells part of the electrical energy to the power grid to obtain some revenue when the energy storage systerm is in good condition; When t>18, the photovoltaic output is reduced to 0, the load demand is mainly satisfied by the battery and the fuel cell, and the external power grid has almost no power output. It can be seen from Fig.10 that SOC and SOHC are maintained between 30% and 70% within 24h. When t = 0h, SOC is 50%, SOHC is 50%; when t = 24h, SOC is 48.60%, SOHC is 47.10%. Therefore, the system is effective for the control of SOC and SOHC. In the logic-based energy management method, we divide the system operating state according to the SOC of battery, the SOHC of the hydrogen tank, and the system parameters to maintain the normal energy <mark>reserves</mark> of the system and avoid the system being forced to abandon the light or cut the load. Taking the initial and final values of SOC and SOHC and the system utilization cost as indicators, we evaluate the two control strategies based on 24h optimal regulation. The results obtained are shown in Fig.11. In order to reflect the excellent performance of the energy management method mentioned in this paper, the evaluation results are shown in Tab.3. It is known from the results shown in Fig.11 that both control methods can maintain the energy storage system in good condition. the changes of SOC and SOHC are both less than 6%, and the system can operate normally and stably. In the logic-based management method, the charge-discharge power of the battery is greater, the battery works continuously for 24 hours; the working time of the hydrogen energy system is close to 24 hours. All of the above have made redundant energy interaction between the photovoltaic power generation system and the energy storage system, and this power distribution mode makes the utilization cost of the system significantly increase. The energy management method mentioned in this paper is based on the principle of optimal system cost. Under the premise of maintaining the stability of the energy storage system, the working time of the battery is reduced by 4%, the working time of the hydrogen energy system is reduced by 40%, and the utilization cost is reduced by 49.12%. In general, the DP-MPC guarantees the reliability of system operation and greatly improves the economy of the system. 20 <u>Ppv</u> 15 Phy Pbuy 10 PbatPsell 5 Pload 15 10 5 0 -5 -10 0 4 8 12 16 20 24 t/h 0.8 0.7 0.6 0.5 0.4 0.3 Fig. 9. Results of DP-MPC SOC SOHC 0 2 4 6 8 10 12 14 16 18 20 22 24 t(h) Fig. 10. System energy storage status It can be seen from the above results that the energy management system performs reasonable power distribution for each power source according to the principle of minimum cost. When t<6, the photovoltaic array has not started to work, the power demand of the load is low, the storage battery and the fuel cell works in turn, and at the same time, a small amount of electrical energy is purchased from the grid to meet the load demand; When 6<t<18, the photovoltaic system begins to output electrical energy, the load demand power increases significantly, and the output of photovoltaic is much higher than the demand of the load. At this time, the energy storage system absorbs the excess electrical energy, and the 0.7 0.65 0.6 0.55 0.5 0.45 0.4 0.35 0.75 0.7 0.65 0.6 0.55 0.5 0.45 0.4 0.35 Logic-based DP-MPC 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h Logic-based DP-MPC 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h 20 15 10 5 0 -5 -10 Pbat Phy Pnet Ppv Pload 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h Fig. 12. Results of MILP-MPC MILP-MPC DP-MPC 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h MILP-MPC DP-MPC 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h MILP-MPC DP-MPC 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h 150 100 50 0 -50 -100 Logic-based DP-MPC 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h Fig. 11. Comparison of different indicators. TABLE III <u>ASSESSMENT RESULTS</u> Initial/final Method <u>SOC</u> Initial/final Initial/final Hydrogen Battery <u>SOHC</u> <u>system</u> Cost/yuan <u>system</u> DP-MPC 50%/48.60% 50%/47.10% 1395min 855min 3452.3 <u><mark>Logic-based</mark></u> <u>50%/49.30% 50%.51.55%</u> <u>1455min</u> <u>1425min</u> <u>6785.2</u> <u>According to the Ref.[42-43], we optimized the system</u> model of this paper based on the MILP-MPC method. In the MILP-MPC method, we set the objective function and operating constraints of the system according to the parameters in Tab.1 and Tab.2 to maintain the normal energy storage level of the system, and avoid the system abandoning light or load shedding. The power curve of the system is shown in Fig.12. The two methods of DP-MPC and DP-MPC were compared with the cost and the initial and final state values of SOC and SOHC. The comparison results are shown in Fig.13 and Tab. 4. By comparing the results, it can be observed that in the MILP-MPC method, SOC increased by 7.89% and SOHC decreased by 13.56%; in the DP-MPC method, the changes of SOC and SOHC were both within 3%. Compared with the MILP-MPC method, the cost of the DP-MPC method is reduced by 90.05%. The run time of the energy storage system of the two methods is not much different, but the battery and the hydrogen energy system in the MILP-MPC method have less stored energy. Therefore, the MILP-MPC method has a poor performance, and the DP-MPC method can improve the economy of system operation. DP-MPC 50%/48.60% 50%/47.10% 1395min 855min 3452.3 <u><mark>MILP-MPC</mark></u> <u>50%/57.89% 50%.36.44%</u> <u>1380min</u> <u>990min</u> <u>34694.7</u> <u>The DP-MPC algorithm proposed in this paper is to improve</u> the shortcomings of DP. DP is an offline algorithm, it has 0.6 0.5 0.4 0.3 0.8 0.7 0.6 0.5 0.4 0.3 600 400 200 0 -200 Fig. 13. Comparison result of MILP-MPC and DP-MPC. TABLE IV <u>ASSESSMENT RESULTS COMPARISON OF DP-MPC AND MILP-MPC</u> Initial/final Method <u>SOC</u> Initial/final Initial/final Hydrogen Battery <u>SOHC</u> <u>system</u> Cost/yuan <u>system</u> complex calculation, and slow run speed. Therefore, in order to show the advantages of DP-MPC over DP more intuitively, we have compared and analyzed the experimental results of three different <mark>control horizon</mark> under the same working conditions, as shown in Tab.5, fig.14-16. In these three cases, the initial and final state values of SOC and SOHC are within the normal range and the variation is less than 5%, and the operation cost of the DP and DP-MPC are not much different. When the <mark>control horizon</mark> is 15min, the run time of the DP-MPC algorithm is reduced by 98.79%; when the <mark>control horizon</mark> is 20min, the run time of the DP-MPC algorithm is reduced by 98.54%; when the <mark>control horizon</mark> control time domain is 30 minutes, the run time of the DP-MPC algorithm is reduced by 85.12%. In addition, DP is an offline global optimization method, which does not have real-time performance when applied to the energy management of the microgrid alone. Therefore, while maintaining the stability of the energy storage system and achieving the optimal operating cost, the DP-MPC method can effectively increase the run speed of the system, and make up for the two major shortcomings of the DP algorithm's slow run speed and lack of real-time performance. 0.6 DP-MPC -50 -100 -150 0.6 DP-MPC DP 0.55 0.5 0.45 0.4 0.35 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h 0.7 0.65 0.6 0.55 0.5 0.45 DP-MPC DP 0.4 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h 100 50 0 DP-MPC DP 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h 0.55 0.5 0.45 0.4 0.35 0.7 0.65 0.6 0.55 0.5 0.45 0.4 50 0 -50 -100 DP 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h DP-MPC DP 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h DP-MPC DP 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h Fig. 15. Comparison result of DP and DP-MPC. (Control horizon:20min) 0.6 DP-MPC DP 0.55 0.5 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h DP-MPC DP 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h DP-MPC DP 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h Fig. 14. Comparison result of DP and DP-MPC. (Control horizon:15min) 0.45 0.4 0.35 0.7 0.6 0.5 0.4 150 100 50 0 -50 -100 -150 Fig. 16. Comparison result of DP and DP-MPC. (Control horizon:30min) TABLE V <u>ASSESSMENT RESULTS COMPARISON OF DP-MPC AND DP</u> <u>Control horizon Method Run time Cost/yuan Initial/final SOC Initial/final SOHC</u> 60min 90min 120min 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h 60min 90min 120min 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h 60min 90min 120min 0 <u>2</u> <u>4</u> <u>6</u> <u>8</u> <u>10</u> <u>12</u> <u>14</u> <u>16</u> <u>18</u> <u>20</u> <u>22</u> <u>24</u> t/h DP-MPC 599.648s 3452.303 50%/48.60% 50%/47.10% 15min DP 49628.747s 3160.57 50%/47.40% 50%/46.86% DP-MPC 561.553s 3546.303 50%/51.96% 50%/44.52% 20min DP 38495.871s 3287.42 50%/48.76% 50%/49.12% DP-MPC 325.553s 3472.003 50%/48.40% 50%/47.00% 30min <u>DP</u> <u>2187.7075s 3352.03</u> <u>50%/50%</u> <u>50%/46.20%</u> <u>From the control horizon and predicted horizon of DP-MPC,</u> in general, the selection of predicted <mark>horizon</mark> and control <mark>horizon</mark> plays an important role in the optimization of DP-MPC. As the predicted horizon increases, the run time increase, the number of starts of rolling optimization within 24h will not change; with the increase of the control <mark>horizon</mark>, the time consumed for each rolling optimization will not change. The number of rolling optimization starts within 24 hours will gradually decrease, the calculation time of the DP-MPC algorithm will decrease, and the performance will be weakened. In order to explore the influence of the predicted horizon and the control horizon on the experimental results, this paper compares and analyzes the evaluation results of different horizon under the same working conditions, as shown in Tab.6Tab.7 and fig.17-18, respectively. We compared three sets of experiments with predicted horizon of 60min, 90min, and 120min. From Tab.6, when the predicted horizon is increased from 60min to 90min, the cost is reduced by 13.61%; when the predicted horizon is increased from 90 min to 120 min, the cost is reduced by 22.72%. As the predicted horizon increases, the performance of DP-MPC is gradually enhanced. When the predicted horizon is 120 minutes, the cost is the lowest. We compared four sets of experiments with control horizon of 5 min, 10 min, 15 min, 20 min. From Tab.7, under the objective function and condition constraints set in this paper, the cost of the experiment with a control horizon of 15 minutes is reduced by about 2.5% compared with the cost of the other three experiments. In Tab.7, the optimization effect of the experiment with the control horizon of 10min and 5min is worse than that of the experiment with the control horizon of 15min. It is because the performance of DP-MPC is not only affected by the predicted horizon and control horizon, but also related to system parameters and operating constraints. Therefore, the conclusions drawn from Tab.6 and Tab.7 are only applicable to the system model set in this paper. 0.6 0.5 0.4 0.3 0.7 0.6 0.5 0.4 100 50 0 -50 100 0.7 0.65 0.6 0.55 0.5 0.45 0.4 Fig. 17. Comparison result of different predicted horizon. 0.6 5min 0.55 0.5 0.45 0.4 0.35 10min 15min 20min 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h 5min 10min 15min 20min TABLE VI <u><mark>D</mark></u> <u>IFFERENT PREDICTED HORIZON</u> <u><mark>Case Predicted horizon</mark></u> <u><mark>Initial/final SOC</mark></u> <u><mark>Initial/final SOHC</mark></u> <u><mark>Cost/yuan</mark></u> <u><mark>1</mark></u> <u><mark>60min</mark></u> <u><mark>50%/47.04%</mark></u> <u><mark>50%/46.16%</mark></u> <u><mark>3996.003</mark></u> <u><mark>2</mark></u> <u><mark>90min</mark></u> <u><mark>50%/48.60%</mark></u> <u><mark>50%/47.10</mark></u> <u><mark>3452.300</mark></u> <u><mark>3</mark></u> <u><mark>120min</mark></u> <u><mark>50%/47.60%</mark></u> <u><mark>50%/47.50%</mark></u> <u><mark>2667.803</mark></u> 4000 5min 3500 10min 3000 15min 2500 20min 2000 1500 1000 500 0 2 4 6 8 10 12 14 16 18 20 22 24 t/h <u>22</u> <u>24</u> <mark>350</mark> ~~<mark>2</mark>~~ <u>3546</u> 3452 3486 <u>22</u> <u>24</u> 0 0 4 8 12 16 20 24 t/h Fig. 18. Comparison result of different control horizon. TABLE VII <u>DIFFERENT CONTROL HORIZON</u> <u><mark>Case</mark></u> <u><mark>Control horizon</mark></u> <u><mark>Initial/final SOC</mark></u> <u><mark>Initial/final SOHC</mark></u> <u><mark>Cost/yuan</mark></u> <u><mark>1</mark></u> <u><mark>5min</mark></u> <u><mark>50%/48.04%</mark></u> <u><mark>50%/42.13%</mark></u> <u><mark>3502.003</mark></u> <u><mark>2</mark></u> <u><mark>10min</mark></u> <u><mark>50%/49.03%</mark></u> <u><mark>50%/43.15%</mark></u> <u><mark>3486.103</mark></u> <u><mark>3</mark></u> <u><mark>15min</mark></u> <u><mark>50%/48.60%</mark></u> <u><mark>50%/47.10%</mark></u> <u><mark>3452.300</mark></u> <u><mark>4</mark></u> <u><mark>20min</mark></u> <u><mark>50%/51.96%</mark></u> <u><mark>50%/44.52%</mark></u> <u><mark>3546.303</mark></u> VI. CONCLUSION In general, the forcasting accuracy of load and distributed generation decreases as the time scale increases, and the run speed of DP is slow when the time domain of prediction is long and unable to satisfy real-time control of electric-hydrogen microgrid. Due to the above two problems, it is unable to satisfy real-time control of electric-hydrogen microgrid. Therefor, this paper proposes an energy management method based on model predictive control and dynamic programming algorithms. During the optimization process, each power can output steadily. The SOC and SOHC are always maintained at a normal level (30% to 70%) within 24h. Both battery and fuel cell work within normal power range, and the power balance of the microgrid can be implemented. At the same time, error correction brings the optimization results closer to the control target. The combination of model predictive control and improved dynamic programming algorithm makes the system decision-making more real-time, and ultra-short-term prediction avoids the adverse impact of the deviation of the predicted value and the actual value on the economic operation of the system. The result of experiments shows: 1. When the initial and final values of SOC and SOHC are basically the same, compared with the traditional logic-based management method, the utilization cost of the system and the working time of the hydrogen energy system based on the DP-MPC are greatly reduced; 2. When the initial and final values of SOC and SOHC are basically the same, compared with the traditional DP, the calculation complexity of the DP-MPC algorithm is reduced, and the run speed is greatly improved, while the operation cost of the DP and DP-MPC are not much different. 3. DP-MPC can guarantee the normal and stable operation of the system, and it is greatly affected by the predicted horizon and the control horizon. REFERENCES [1] Chengshan Wang,Yixin Liu,Xialin Li,Li Guo,Lei Qiao,Hai Lu. Energy management system for stand-alone diesel-wind-biomass microgrid with energy storage system[J]. Energy,2016,97. [2] Chengshan Wang, Binqi Jiao, Li Guo, Kai Yuan, Bing Sun. Optimal planning of stand-alone microgrids incorporating reliability. Journal of Modern Power Systems & Clean Energy, 2014, 2(3):195-205. [3] Fan Wu,Shangyuan Huang,Rui Li,Qinglai Guo,Hongbin Sun,Zhaoguang Pan. Research on the Collaborative Optimization of Multi-Energy Flow Microgrids[J]. Energy Procedia,2016,103. [4] Haifeng Qiu, Wei Gu, Yinliang Xu, et al. Robustly Multi-Microgrid Scheduling: Stakeholder-Parallelizing Distributed Optimization. IEEE Transactions on Sustainable Energy, DOI: 10.1109/TSTE.2019.2915585. [5] Haifeng Qiu, Wei Gu, Yinliang Xu, et al. Interval-Partitioned Uncertainty Constrained Robust Dispatch for AC/DC Hybrid Microgrids With Uncontrollable Renewable Generators. IEEE Transactions on Smart Grid, 2019, 10(4): 4603-4614. [6] Lijuan Chen,Xu Zhu,Jilin Cai,Xiaohui Xu,Haixuan Liu. Multi-time scale coordinated optimal dispatch of microgrid cluster based on MAS[J]. Electric Power Systems Research,2019,177. [7] Wei Gu, Zhihe Wang, Zhi Wu, et al. An Online Optimal Dispatch Schedule for CCHP Microgrids based on Model Predictive Control. IEEE Transactions on Smart Grid, 2017, 8(5):2332-2342. [8] Zhao Z, Yang P, Guerrero J M, et al. Multiple-Time-Scales Hierarchical Frequency Stability Control Strategy of Medium-Voltage Isolated Microgrid[J]. IEEE Transactions on Power Electronics, 2015, 31(8):1-1. [9] Gallestey E, Stothert A, Antoine M, et al. Model Predictive Control and the Optimization of Power Plant Load while Considering Lifetime Consumption[J]. IEEE Power Engineering Review, 2001, 21(11):54-54. [10] Parisio A, Rikos E, Tzamalis G, et al. Use of model predictive control for experimental microgrid optimization[J]. Applied Energy, 2014, 115:37-46. [11] Elaiw A M, Xia X, Shehata A M . Application of model predictive control to optimal dynamic dispatch of generation with emission limitations[J]. Electric Power Systems Research, 2012, 84(1):31-44. [12] Guannan Lou, Wei Gu, Yinliang Xu, et al. Distributed MPC based Secondary Voltage Control Scheme for Autonomous Controlled Microgrids. IEEE Transactions on Sustainable Energy, 2017, 8(2):792-804. [13] Garciatorres F, Bordons C. Optimal Economical Schedule of Hydrogen-Based Microgrids With Hybrid Storage Using Model Predictive Control[J]. IEEE Transactions on Industrial Electronics, 2015, 62(8): 5195-5207. [14] Zhao Z, Yang P, Guerrero J M, et al. Multiple-Time-Scales Hierarchical Frequency Stability Control Strategy of Medium-Voltage Isolated Microgrid[J]. IEEE Transactions on Power Electronics, 2016, 31(8): 5974-5991. [15] Jin X, Jiang T, Mu Y, et al. Scheduling distributed energy resources and smart buildings of a microgrid via multi-time scale and model predictive control method[J]. Iet Renewable Power Generation, 2019, 13(6): 816-833. [16] Shen C, Chaoying X. Optimal power split in a hybrid electric vehicle using improved dynamic programming. In: Power and energy engineering conference (APPEEC); 2010. p. 1e4. [17] Rurgladdapan J, Uthaichana K, Kaewkham-Ai B. Li-Ion battery sizing and dynamic programming for optimal power-split control in a hybrid electric vehicle[C]// International Conference on Electrical Engineering/electronics, Computer, Telecommunications and Information Technology. IEEE, 2012:1-5. [18] Xu L, Ouyang M, Li J, et al. Dynamic programming algorithm for minimizing operating cost of a PEM fuel cell vehicle[J]. 2012:1490-1495. [19] Fares D, Chedid R, Panik F, et al. Dynamic programming technique for optimizing fuel cell hybrid vehicles[J]. International Journal of Hydrogen Energy, 2015, 40(24): 7777-7790. [20] Shen C, Chaoying X . Notice of RetractionOptimal Power Split in a Hybrid Electric Vehicle Using Improved Dynamic Programming[C]// Power & Energy Engineering Conference. IEEE, 2010. [21] Xia X,Zhang J,Elaiw A.A model predictive control approach to dynamic economic dispatch problem[C]// Power Tech .Bucharest : IEEE,2009:1-7. [22] LI Guodong,MASUDA S,YAMAGUCHI D. A new reliability prediction model in manufacturing systems [J]. IEEE Transactions on Reliability, 2009, 59(1) : 170 -177. [23] Ma, Zhang. A grey forecasting model for coal production and consumption[C]// IEEE International Conference on Grey Systems & Intelligent Services. IEEE, 2010. [24] Yuchen Pu,Qi Li,Weirong Chen,Hong Liu. Hierarchical energy management control for islanding DC microgrid with electric-hydrogen hybrid storage system[J]. International Journal of Hydrogen Energy,2019,44(11). [25] Xu J, Zou Y, Niu Y, et al. Multi-time scale hierarchical predictive control for energy management of microgrid system with smart users[C]. chinese control and decision conference, 2014: 3055-3060. [26] Xing X, Meng H, Xie L, et al. Multi-time-scales Energy Management for Grid-on Multi-layer Microgrids Cluster[C]// IEEE Southern Hemisphere Power Electronics Conference. IEEE, 2017. [27] PRODAN,ZIO E.A model predictive control framework for reliable microgrid energy management[J] .International Journal of Electrical Power & Energy Systems,2014,61: 399-409. [28] Rodolfo Dufo-López, José L. Bernal-Agustín, Contreras J . Optimization of control strategies for stand-alone renewable energy systems with hydrogen storage[J]. Renewable Energy, 2007, 32(7):1102-1126. [29] Q. Li et al., "A State Machine Control Based on Equivalent Consumption Minimization for Fuel Cell/ Supercapacitor Hybrid Tramway," in IEEE Transactions on Transportation Electrification, vol. 5, no. 2, pp. 552-564, June 2019, doi: 10.1109/TTE.2019.2915689. [30] Patino J, Marquez A, Espinosa J, et al. An economic MPC approach for a microgrid energy management system[C]. ieee pes transmission and distribution conference and exposition, 2014: 1-6. [31] Hou C, Hu X, Hui D, et al. Hierarchical control techniques applied in micro-grid[C]. ieee international conference on power system technology, 2010: 1-5. [32] Xu L, Chen D. Control and Operation of a DC Microgrid With Variable Generation and Energy Storage[J]. IEEE Transactions on Power Delivery, 2011, 26(4): 2513-2522. [33] H. Yang, Y. Pu, Y. Qiu, Q. Li and W. Chen, "Multi-Time Scale Integration of Robust Optimization with MPC for Islanded Hydrogen-Based Microgrid," 2019 IEEE Sustainable Power and Energy Conference (iSPEC), Beijing, China, 2019, pp. 1163-1168, doi: 10.1109/iSPEC48194.2019.8975221.. [34] Szumanowski A, Chang Y . Battery Management System Based on Battery Nonlinear Dynamics Modeling[J]. IEEE Transactions on Vehicular Technology, 2008, 57(3):1425-1432. [35] Ceraolo, M. New dynamical models of lead-acid batteries[J]. IEEE Transactions on Power Systems, 2000, 15(4):1184-1190. [36] Lingguo Kong,Guowei Cai,Sidney Xue,Shaohua Li. Modeling and Coordinated Control Strategy of Large Scale Grid-Connected Wind/Photovoltaic/Energy Storage Hybrid Energy Conversion System[J]. Mathematical Problems in Engineering,2015,2015. [37] Dongfeng Yang, Chao Jiang, Guowei Cai, et al. Optimal sizing of a wind/solar/battery/diesel hybrid microgrid based on typical scenarios considering meteorological variability. 2019, 13(9):1446-1455. [38] Parisio A, Rikos E, Glielmo L, et al. A Model Predictive Control Approach to Microgrid Operation Optimization[J]. IEEE Transactions on Control Systems and Technology, 2014, 22(5): 1813-1827. [39] <mark>Valverde, L, Rosa, et al. Design, Planning and Management of a</mark> <mark>Hydrogen-Based Microgrid[J]. IEEE Transactions on Industrial</mark> <mark>Informatics, 2013, 9(3):1398-1404.</mark> [40] <mark>Cau G, Cocco D, Petrollese M, et al. Energy management strategy based</mark> <mark>on short-term generation scheduling for a renewable microgrid using a</mark> <mark>hydrogen storage system[J]. Energy Conversion & Management, 2014,</mark> <mark>87:820-831.</mark> [41] <mark>Ibrahim H, Ilinca A, Perron J . Energy storage systems—Characteristics</mark> <mark>and comparisons[J]. Renewable and Sustainable Energy Reviews,</mark> <mark>2008(5):1221-1250.</mark> [42] <mark>A. Parisio, E. Rikos and L. Glielmo, "A Model Predictive Control</mark> <mark>Approach to Microgrid Operation Optimization," in IEEE Transactions</mark> <mark>on Control Systems Technology, vol. 22, no. 5, pp. 1813-1827, Sept.</mark> <mark>2014, doi: 10.1109/TCST.2013.2295737.</mark> [43] <mark>Parisio A, Wiezorek C, Timo Kyntäjä, et al. Cooperative MPC-based</mark> <mark>Energy Management for Networked Microgrids[J]. IEEE Transactions on</mark> <mark>Smart Grid, 2017, PP(99):1-1.</mark>

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.