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

A Coordinated Optimal Operation of a Grid-Connected Wind-Solar Microgrid Incorporating Hybrid Energy Storage Management Systems

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

기본 정보

저자
  1. Muhammad Bakr Abdelghany — Faculty of Engineering, Computers and Systems Engineering Department, Minia University, Minia, Egypt|||Computers and Systems Engineering Department, Faculty of Engineering, Minia University, Minia, Egypt|||Advanced Power and Energy Center, EECS Department, Khalifa University of Science and Technology, Abu Dhabi, United Arab Emirates
  2. Ahmed Al‐Durra — EECS Department, Advanced Power and Energy Center, Khalifa University of Science and Technology, Abu Dhabi, UAE|||Advanced Power and Energy Center, EECS Department, Khalifa University of Science and Technology, Abu Dhabi, United Arab Emirates
  3. Fei Gao — School of Energy and Computer Sciences, University of Technology of Belfort-Montbéliard (UTBM), Sevenans, France
DOI
10.1109/tste.2023.3263540
저널
IEEE Transactions on Sustainable Energy
발행년도
2023
발행기관
Institute of Electrical and Electronics Engineers
피인용수
176
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/tste.2023.3263540
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W4361988330

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
내구·신뢰성
확신도
0.80
근거 용어
fuel cell, degradation, lifespan, hydrogen-ESS, model predictive control
판단 근거
논문은 수소 연료전지(Fuel Cell)와 배터리의 열화(degradation)를 최소화하고 수명을 연장하기 위한 에너지 관리 시스템(EMS) 및 제어 전략을 다루고 있습니다.
R&D 활용 포인트
연료전지(PEMFC) 및 수소 저장 시스템의 운전 최적화 알고리즘을 통해 장치의 내구성을 높이고 유지보수 비용을 절감하는 연구에 활용 가능합니다.
평가 입력
본문 90,158자 중 30,032자 발췌

초록

The hybrid-energy storage systems (ESSs) are promising eco-friendly power converter devices used in a wide range of applications. However, their insufficient lifespan is one of the key issues by hindering their large-scale commercial application. In order to extend the lifespan of the hybrid-ESSs, the cost functions proposed in this paper include the degradation of the hydrogen devices and the battery. Indeed, this paper aims to develop a sophisticated model predictive control strategy for a grid-connected wind and solar microgrid, which includes a hydrogen-ESS, a battery-ESS, and the interaction with external consumers, e.g., battery/fuel cell electric vehicles. The integrated system requires the management of its energy production in different forms, i.e., the electric and the hydrogen ones. The proposed strategy consists of the economical and operating costs of the hybrid-ESSs, the degradation issues, and the physical and dynamic constraints of the system. The mixed-logic dynamic framework is required to model the operating modes of the hybrid-ESSs and the switches between them. The effectiveness of the controller is analyzed by numerical simulations which are conducted using solar and wind generation profiles of solar panels and wind farms located in Abu Dhabi, United Arab Emirates. Such simulations, indeed, show that the proposed strategy appropriately manages the plant by fulfilling constraints and energy requests while reducing device costs and increasing battery life.

본문 90,158자

본문 펼치기
# A coordinated optimal operation of a grid-connected wind-solar microgrid incorporating hybrid energy storage management systems Muhammad Bakr Abdelghany, _Member_ _IEEE,_ Ahmed Al-Durra, _Senior_ _IEEE_ and Fei Gao, _Fellow_ _IEEE_ _Abstract_ —The hybrid-energy storage systems (ESSs) are promising eco-friendly power converter devices used in a wide range of applications. However, their insufficient lifespan is one of the key issues by hindering their large-scale commercial application. In order to extend the lifespan of the hybrid-ESSs, the cost functions proposed in this paper include the degradation of the hydrogen devices and the battery. Indeed, this paper aims to develop a sophisticated model predictive control strategy for a grid-connected wind and solar microgrid, which includes a hydrogen-ESS, a battery-ESS, and the interaction with external consumers, e.g., battery/fuel cell electric vehicles. The integrated system requires the management of its energy production in different forms, i.e., the electric and the hydrogen ones. The proposed strategy consists of the economical and operating costs of the hybrid-ESSs, the degradation issues, and the physical and dynamic constraints of the system. The mixed-logic dynamic framework is required to model the operating modes of the hybrid-ESSs and the switches between them. The effectiveness of the controller is analyzed by numerical simulations which are conducted using solar and wind generation profiles of solar panels and wind farms located in Abu Dhabi, United Arab Emirates. Such simulations, indeed, show that the proposed strategy appropriately manages the plant by fulfilling constraints and energy requests while reducing device costs and increasing battery life. _Index_ _Terms_ —hybrid-energy storage systems, energy conversion, power to gas,lifetime characteristics, energy management system, model predictive control, hydrogen vehicles I. INTRODUCTION The environmental goals set out in the Paris Agreement on climate change in 2015 lead to the design and definition of energy management strategies (EMSs) based on renewable energy sources (RESs). Indeed, RESs’, particularly wind and solar power, utilization has substantially grown in the past decades and a further increase is expected in the future to reduce greenhouse gas emissions [1], [2]. However, their sporadic nature impacts both the power quality and the economic Muhammad Bakr Abdelghany is on leave from the Computers and Systems Engineering Department, Faculty of Engineering, Minia University, Minia, Egypt, email: muhammad.bakr@mu.edu.eg. Muhammad Bakr Abdelghany and Ahmed Al-durra are with the Advanced Power and Energy Center, EECS Department, Khalifa University of Science and Technology, Abu Dhabi, United Arab Emirates, email: abdelghany.muhammad@gmail.com and ahmed.aldurra@ku.ac.ae. Fei Gao is with the School of Energy and Computer Sciences, University of Technology of Belfort-Montb´eliard (UTBM), France, email: fei.gao@utbm.fr. competitiveness of energy supply systems equipped with both renewable and conventional sources. The support of short-term and long-term energy storage systems (ESSs) technologies is required for the integration of RESs in the main grid [3], [4]. However, due to low energy density and self-discharge, battery-ESSs (BESSs) can be used only for short-term storage [5]. Among the different long-term ESS technologies, the use of hydrogen-ESSs (HESSs) emerges as one of the most exciting options since it is environmentally friendly, and with high energy density [3]. Hydrogen is produced through electrolysis, stored in storage tanks, and re-electrified by fuel cells for meeting electric and contractual demands. The so-called microgrids, given by the combination of RESs with ESSs, require the deployment of control strategies that take into account equipment limitations, degradation, and costs. This research study focuses on providing control solutions based on the model predictive control (MPC) framework [6], in which the devices are modeled by using the mixed logical dynamical (MLD) formulation [7], [8]. Several strategies have been proposed in the literature for the management of HESSs and BESSs integrated with RESs. With respect to the equipment operation and maintenance costs, for instance, an MPC strategy in which both the shortand long-term optimal planning of a microgrid comprising RESs, a HESS, and a BESS has been considered in [9]. The work shows that the strategy satisfies the electrical load demand while minimizing the microgrid running costs. Moreover, the maximization of the hydrogen devices’ lifespan has been included in [10], where an MPC policy to control a RES hydrogen-based microgrid has been designed and experimentally tested by computing the equipment degradation at each time interval. In [11], an MPC strategy that takes into account cost optimization and equipment damage has been proposed. The approach limits the intensive use of electrolyzers and fuel cells by constraining the devices to operate within the minimum and the maximum power values. In [12], a coordinated control method for a hybrid largescale RES based on HESS has been implemented to guarantee the optimal operation of the system. The authors in [13] have designed a stochastic multi-microgrid EMS, based on a chance-constrained programming strategy, which takes into account the uncertainties of the forecasted loads. In particular, the cost functions address the frequent charging/discharging cycles, which represent a major factor in battery life cycle reductions. However, in these papers, neither the degradations are considered, nor the hydrogen devices’ short-term features, i.e., the cold and warm starts, and their standby consumptions, are taken into account. This is, instead, one of the key aspects included in the strategy proposed in this research study. Regarding revenue maximization via the energy market participation, in [14], an MPC strategy has been developed to optimally control the network of interconnected hydrogendriven microgrids with different ESSs under failure conditions. A control strategy has been implemented in [15] to meet user-requested electric reference by taking into account the devices’ life degradation, and the costs related to the HESS acquisition, the electricity export/import to/from the grid, and the operation and the maintenance of the overall system. Other MPC strategies have been presented in the literature for the optimal economic schedule and management of microgrids by considering economic and environmental aspects, see for instance [16]. In the aforementioned papers, the authors have presented their studies with regard to the energy market participation, however neglecting the devices’ cold and warm starts and/or minimum ON/OFF times constraints which affect their lifespans and short time scale dynamics. In general, microgrids can exchange energy in the local market with external agents, such as other microgrids, aggregators, or battery/fuel cell electric vehicles (BEVs/FCEVs) [17], to improve their economic benefits [18]. In [19], the problem of microgrid economic dispatch and interaction with external agents has been analyzed. By taking into account the energy price predictions and the forecasts of the production, the internal resources of the microgrid are optimally distributed in the day-ahead energy market. A novel supervisory-based model for the optimal scheduling of distributed HESS fueling stations for tracking the external consumers of hydrogen and electricity has been provided in [20]. A multi-objective mixed integer linear programming (MILP) framework based on the uncertainty related to the demand, prices, and wind speed for the design of an energy hub including parking areas of hydrogen vehicles has been developed in [21]. An optimal scheduling strategy for the energy management of a microgrid including solar panels paired with a HESS and integrated BESS units has been proposed in [22] to satisfy electric and hydrogen demands requested by the industrial hydrogen facility. The authors in [23] have developed a hybrid RES paired with combined ESSs (BESS and HESS) in order to track the requested load of a typical residential house in Dhahran city, KSA, and to produce hydrogen as a fuel for hydrogen vehicles. In [7], a strategy controls a grid-connected wind farm including a HESS, which both meets electric and contractual loads and produces hydrogen as a fuel for FCEVs. Similar to this research study, the latter uses MPC with MLD for devices’ models and minimizes the devices’ operating costs; however, in [7], a wind-microgrid integrated only with a HESS has been considered, and virtual states have been taken into account in the devices’ models by increasing the number of Boolean variables and, consequently, their complexity. Apart from the latter, to the best of the authors’ knowledge, the literature seems to not address exactly the combination of different features, as in this paper. The literature on optimization under uncertainties shows that stochastic programming is considered a suitable method for dealing with uncertainties. In particular, stochastic techniques have been proposed in the literature to reduce operating costs and/or emissions of smart grids and microgrids. As a relevant example among others, a contingency-constrained optimal operation model for a multi-microgrids system has been addressed in [24], where the authors have designed a scenario-based approach to integrate multiple uncertainties, e.g., electrical storage, and demand response resources, to reduce the operating costs. The authors in [25] have developed a real-time economic dispatch with static snapshot forecast data to evaluate the best-fit by considering the minute-tominute variability of solar, wind, and load demand. The paper offers a robust optimization approach that accounts for the techno-economic uncertainties of hydrogen-based power plants. In order to control the load sharing of a solar microgrid paired with hybrid-ESSs and battery packs, an MPC algorithm that includes the degradation issues of the batteries has been developed in [26]. In [27], a GA and two-point estimate methods have been used for the best-fit day-ahead schedule and coupled with a controller for a hybrid power system including the impact of uncertainties in RESs (wind and solar) and load forecasts. In order to minimize the operational costs of a multi-energy microgrid, a multiple time-scale EMS based on the MPC framework for a HESS multi-energy microgrid which considers forecasted uncertainties regarding the fulfillment of different demands, e.g., electricity, hydrogen, and heating, has been developed in [28]. Moreover, in [29], [30], an optimal scheduling power flow problem considering RESs paired with an ESS that takes into account the uncertainties of RESs and load forecasts has been designed. Contrary to the aforementioned mentioned papers, in this study wind power and solar power represent uncontrollable exogenous signals for the controller. In particular, it is assumed that the owners of the wind farms and solar panels provide the best-fit dayahead schedule to the controller, after taking into account the uncertainties in wind, solar PV, and load forecasts. Therefore, estimations predicted with statistical, stochastic or machine learning approaches are out this paper’s scope. Heuristics and meta-heuristics techniques are also proposed in the literature. In particular, the genetic algorithm, the particle swarm optimization (PSO), the duelist algorithm, the simulated annealing, and the ant colony optimization are the most adopted heuristic algorithms. An advanced battery-based EMS has been proposed in [31] to reduce running costs by integrating a backup source that provides power supplies on the basis of energy market profiles. Moreover, an improved feedback controller and optimal EMS for BESS based on online optimization have been developed in [32] in order to reduce battery degradation and enhance its lifespan. An energy system with photovoltaic (PV) and biomass using both invasive weed optimization and PSO has been proposed in [33] to supply the electric demand from a farm located in Alexandria, Egypt. The authors in [34] have studied a strategy for both transportation and building sectors based on a meta-heuristic PSO to guarantee the independence of a university located in Ouargla, Algeria, through the production of hydrogen and power. Moreover, a data-driven approach based on hierarchical multi-objective optimization has been provided in [35] to determine the optimal sizing of an energy system with PV and wind energy. Contrary to the aforementioned mentioned papers, this study uses numerical commercial solvers for the MIP optimal problems, where heuristic approaches are not adopted. The production and utilization of renewable energy have many economic advantages, which are investigated in the literature. In this regard, in [36], a comparison of six renewable power generation systems in different areas of Saudi Arabia has shown that the lowest cost of energy can be achieved using hybrid-RESs (PVs and wind) with battery storage systems. As further examples of techno-economic analysis, in [37], MPC implemented solutions for the optimal economic dispatch of renewable generation units and demand response have been proposed in a grid-tied hybrid system. Moreover, a comprehensive techno-economic analysis of the solar hydrogen production supply chain by concentrated solar power plants with thermal energy storage with different energy supply schemes has been proposed in [38]. A techno-economic analysis of on-site hydrogen refueling stations based on gridconnected PVs coupled with HESSs has been provided in [39], where the levelized cost of hydrogen has been determined for all configurations through the estimation of operational and maintenance costs, investment costs and replacement costs. Another analysis has been carried out in [40] to study the fulfillment of the demand from 25 vehicles by a hydrogen station located in Turkey and powered by a hybrid (PVs and wind) power system. The literature revised above either ignores the high equipment costs or, if it does, the ESSs degradation models are oversimplified. This is one of the main points of the study, which proposes an ESSs model by taking into account both their equipment working modes/switches and their operational constraints. In all the aforementioned studies, according to the authors’ knowledge, the short- and long-term optimal energy management of both the HESS and the BESS that simultaneously takes into account devices degradation, start up/shut down and standby cycles, limitations of the ESSs, and operational and maintenance costs have not yet been addressed. Moreover, in this paper, the production/consumption of hydrogen, and the battery charge/discharge are modeled such that the warm-start and the cold-start processes required by the devices before some state switches are captured. As a result, the model does not explicitly include the two virtual states introduced in [7], [41], and then the number of variables involved reduces. The contributions of this study are: i) the development of a novel MLD model for ESSs’ operations which includes logical variables corresponding to the possible states and their switches, and further Boolean variables, called waiting actions, for safe state switches. The less number of Boolean variables in the proposed model with respect to the models proposed in the literature results in a reduction of complexity and computational costs; ii) the application of the MPC approach to reduce operation and maintenance costs, and simultaneity to minimize the energy exchanged with the grid for high levels of autonomy; iii) the management of the exchange of energy between the microgrid and external agents, such as the BEVs and FCEVs. II. GENERAL OPERATIONS OF ENERGY PLANT In the energy plant under investigation, wind and solar are the main energy sources. As shown by the conceptual representation in Fig. 1, the components of the system are the wind farm, the PV panels, two different ESSs (HESS and BESS), hydrogen loads, external consumers (FCEVs and BEVs), local and contractual loads. In turn, the HESS includes a tank, an electrolyzer, and a fuel cell. In the figure, _Pw_, _P_ pv and _P_ ev denote the power generated by the wind farm, PV panels and BEVs, respectively, _P_ pr is the input power given to the electrolyzer, _P_ co is the output power from the fuel cell, _Pb_ is the battery power, _P_ req is the requested load, _Ps_ and _Pg_ are the available system and the grid powers in the system, respectively. Fig. 1. Microgrid with external agents. The available electricity is used to satisfy load requests. Any excess of energy is used by the electrolyzer, which produces hydrogen that will be stored in the tank, or by the BESS, which charges its battery storage. Then, in low or nearly zero wind/solar hours, the stored hydrogen is re-electrified by the fuel cell and/or the energy in the battery is delivered to loads. These operations require the development of control strategies that operate the devices to provide smooth power injection into the main grid, manage uncertainties, participate in the electricity and hydrogen local consumption and integrate external agents in the microgrid. The main purposes of the integrated system are to supply the local load both in islanded (i.e., without grid support) and in connected (i.e., with grid support) modes, and to interact with external consumers, e.g., BEVs and FCEVs. As a result, four possible modes are considered: the islanded mode, the gridconnected mode, interaction with BEVs, and interaction with FCEVs. However, the four different architectures feature the common target of minimizing the ESSs’ operating costs. The developed hierarchical controller (primary level, secondary level and tertiary control) will be deployed onto the management platform of the hybrid-ESS which is paired to the wind farm and solar panel established in Abu Dhabi, UAE within the funded project CIRA. According to the project, three control scenarios have to be developed and, in our manuscript, we have implemented only the first one to be integrated with the other two scenarios in future developments. In particular, the first control scenario is related to the design of the tertiary control to optimize the power flow between the components of the microgrid (RESs + hybrid-ESSs) and the main grid on large time scales (planning and scheduling) by an online solution of an optimal control problem that provides the current optimal control action by minimizing an objective function. However, our research study targets how the active power is dispatched within the microgrid, according to the proposed criteria, and the reactive power dispatch among the distributed generations is out of the scope of this paper. III. SYSTEM MODELING The modeling of the system under investigation is the first step in the implementation of the model-based control strategy for the operations modes. The proposed strategy consists of the economical and operating costs of the hybrid-ESSs, the degradation issues, and the physical and dynamic constraints of the system [42]. Since the formulation deals with both logic and continuous variables, the MLD framework is required to model the operating modes and the switches between them characterizing the hybrid-ESSs. _A._ _Preliminaries_ _and_ _notation_ In this section, we introduce notations and standard assumptions that will be used throughout the paper. Some models used by the MPC strategy are built upon automata. The tags OFF, STB, and ON are used to label their states, and it is useful to define the state set _S_ = _{_ OFF _,_ STB _,_ ON _}_, the operation set _D_ = _{_ pr _,_ co _,_ ch _,_ dc _}_, and the transaction set _T_ = _{_ (OFF _,_ STB) _,_ (OFF _,_ ON) _,_ (STB _,_ OFF) _,_ (STB _,_ ON) _,_ (ON _,_ OFF) _,_ (ON _,_ STB) _}_ . Furthermore, the subscript _d_ identifies a particular operation of ESSs, i.e., _d_ = pr, _d_ = co, _d_ = ch, and _d_ = dc refers to the operation of the hydrogen devices (electrolyzer and fuel cell) and BESS operations (charging and discharging), respectively. Moreover, _α_ and _β_ are two generic indices that take value in _S_ ; when _α_ and _β_ are used in conjunction, it is assumed that _α̸_ = _β_ . The logic variables used in the model are Υ <sup>_α_</sup> _d_ <sup>,</sup> <sup>Γ</sup> <sup>_α_</sup> _d_ <sup>,</sup> <sup>Θ</sup> _α,d_ <sup>_β_</sup> <sup>,</sup> <sup>Λ</sup> <sup>_α_</sup> _d_ <sup>,</sup> <sup>Θ</sup> <sup>_g_</sup> <sup>,</sup> <sup>Θbuy,</sup> <sup>Θsell,</sup> _∈{_ 0 _,_ 1 _}_ and mixed variables are _ν_ s with some superscript, e.g., _ν_ <sup>_α_</sup>, given by _Pd_ Γ <sup>_α_</sup> _d_ <sup>,</sup> <sup>with</sup> <sup>_Pd_</sup> <sup>in</sup> <sup>R</sup> <sup>+.</sup> <sup>General</sup> <sup>bold</sup> <sup>is</sup> ∆ <sup>STB</sup> OFF _,d_ OFF ∆ <sup>OFF</sup> ON _,d_ STB ∆ <sup>OFF</sup> STB _,d_ ∆ <sup>STB</sup> ON _,d_ ∆ <sup>ON</sup> STB _,d_ ON ∆ <sup>ON</sup> OFF _,d_ <sup>_α_</sup> _d_ <sup>is defined such that Γ</sup> _d_ <sup>_α_</sup> <sup>_β_</sup> _α,d_ <sup>is</sup> <sup>defined</sup> <sup>such</sup> <sup>that</sup> <sup>∆</sup> <sup>_β_</sup> <sup>_α_</sup> _d_ <sup>,</sup> <sup>Θ</sup> <sup>_β_</sup> <sup>_α_</sup> _d_ <sup>,</sup> <sup>Γ</sup> <sup>_α_</sup> _d_ _α,d_ <sup>_β_</sup> <sup>,</sup> <sup>Λ</sup> <sup>_α_</sup> _d_ e.g., _ν_ <sup>_α_</sup>, given by _Pd_ Γ <sup>_α_</sup> _d_ <sup>,</sup> <sup>with</sup> <sup>_Pd_</sup> <sup>in</sup> <sup>R</sup> <sup>+.</sup> <sup>General</sup> <sup>bold</sup> <sup>is</sup> used to denote vectors. Note that the proposed models are in discrete time _k_, and the mapping to the continuous time _t_ can be derived through _t_ = _kTs_, with _Ts_ = 1 h is the sampling time. <sup>_α_</sup> _d_ <sup>such</sup> <sup>that</sup> <sup>Υ</sup> _d_ <sup>_α_</sup> <sup>ON</sup> _d_ ( _k_ ) = 1 and Γ <sup>STB</sup> _d_ <sup>STB</sup> _d_ ( _k_ ) = 1 and Γ <sup>STB</sup> _d_ _B._ _Model_ _of_ _energy_ _storage_ _systems_ The on, off, and standby modes are the three physical states in which the HESS and BESS can operate. As Fig. 2 shows, each operation of the ESSs (production and consumption of hydrogen for the HESS; charge and discharge for the BESS) can be represented by a three-state automaton with the state set _S_ = _{_ OFF _,_ STB _,_ ON _}_ and the transaction set _T_ = _{_ ( _α, β_ ) _∈S_ _×_ _S_ _|_ _α̸_ = _β}_, where ( _α, β_ ) denotes the transition from the state _α_ to the state _β_ . As a result, four automata are required, one for each of the considered operations. The nodes refer to the states of the devices, while the edges indicate the state transitions. The state is ON when the electrolyzer (fuel cell) is producing (consuming) hydrogen and the BESS is charging/discharging; the state Fig. 2. Automaton of ESSs operations (modified from [7]). OFF corresponds to the opposite situation, i.e., the hydrogen device is not producing/consuming hydrogen and the BESS is not charging/discharging; the state STB denotes the case in which the device is consuming electric power even if its corresponding operation is not active. In order to consider the slow response of the devices, the transitions (OFF, STB) and (STB, ON) require a waiting action, called cold-start and warm-start processes, respectively. Due to the waiting actions, the transition (OFF, ON), denoted by the dashed edge, is not allowed. The automata can be described through logical and continuous variables, according to the MLD framework [43]. Then, for the state _α ∈S_ of the automation related to the operation _d ∈D_, the logic variable Γ <sup>_α_</sup> _d_ <sup>is defined such that Γ</sup> _d_ <sup>_α_</sup> <sup>(</sup> <sup>_k_</sup> <sup>) = 1 if</sup> the automaton for the operation _d_ is in the state _α_ at the timestep _k_, and Γ <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k_</sup> <sup>) = 0</sup> <sup>otherwise.</sup> <sup>Similarly,</sup> <sup>for</sup> <sup>the</sup> <sup>transition</sup> ( _α, β_ ) _∈T_ of the automation related to the operation _d ∈D_, the logical variable ∆ <sup>_β_</sup> _α,d_ <sup>is</sup> <sup>defined</sup> <sup>such</sup> <sup>that</sup> <sup>∆</sup> _α,d_ <sup>_β_</sup> <sup>(</sup> <sup>_k_</sup> <sup>) = 1</sup> <sup>if</sup> the automaton for the operation _d_ switches from the state _α_ to the state _β_ at the time-step _k_, and ∆ <sup>_β_</sup> _α,d_ <sup>(</sup> <sup>_k_</sup> <sup>) = 0</sup> <sup>otherwise.</sup> _1)_ _MLD_ _constraints_ _for_ _the_ _state_ _actions:_ As already discussed, some state transitions are subject to their corresponding waiting actions due to the slow response of the devices. In order to take into account these actions, it is useful to define for each state a further logical variable Υ <sup>_α_</sup> _d_ <sup>such</sup> <sup>that</sup> <sup>Υ</sup> _d_ <sup>_α_</sup> <sup>(</sup> <sup>_k_</sup> <sup>) = 1</sup> if the device intends to stay in the state _α_ at the time-step _k_, and Υ <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k_</sup> <sup>) = 0 otherwise. For the sake of clarity, consider the</sup> following examples. Υ <sup>ON</sup> _d_ ( _k_ ) = 1 and Γ <sup>STB</sup> _d_ ( _k_ ) = 1 represent the case in which the operation _d_ is in the state STB and should shift in the state ON, but due the warm-start process it still remains in STB. Instead, Υ <sup>STB</sup> _d_ ( _k_ ) = 1 and Γ <sup>STB</sup> _d_ ( _k_ ) = 1 denote the situation in which the operation _d_ is in STB and there is no intention of changing state. The logical variable Υ <sup>_α_</sup> _d_ <sup>,</sup> <sup>_α_</sup> <sup>_∈S_</sup> <sup>and</sup> <sup>_d_</sup> <sup>_∈D_</sup> <sup>,</sup> <sup>is</sup> <sup>connected</sup> to the relevant power of the corresponding state through constraints that allow the correct functioning of the system. For instance, in order to avoid damages, the powers of the ESSs in their ON state must be bounded, i.e., _Pd_ _∈_ [ _Pd_ <sup>_m,_</sup> <sup>_P M_</sup> _d_ <sup>]</sup> The logical variable Υ <sup>_α_</sup> _d_ ESSs in their ON state must be bounded, i.e., _Pd_ _∈_ [ _Pd_ <sup>_m,_</sup> <sup>_P M_</sup> _d_ <sup>]</sup> for all _d ∈D_, where _Pd_ <sup>_m_</sup> and _Pd_ <sup>_M_</sup> are lower and upper limits of the operation powers. Specifically, the power associated to the operation _d_ is constrained as _d_ <sup>_m_</sup> and _Pd_ <sup>_M_</sup> _d_ <sup>_m,_</sup> <sup>_P M_</sup> _d_ _Pd_ ( _k_ ) = 0 _⇐⇒_ Υ <sup>OFF</sup> _d_ ( _k_ ) = 1 _,_ (1a) _Pd_ ( _k_ ) = _Pd_ <sup>STB</sup> _d_ <sup>STB</sup> _⇐⇒_ Υ <sup>STB</sup> _d_ _Pd_ ( _k_ ) _∈_ [ _Pd_ <sup>_m_</sup> _d_ <sup>_m, P_</sup> _d_ <sup>_M_</sup> _d_ <sup>_M_</sup> <sup>]</sup> _⇐⇒_ Υ <sup>ON</sup> _d_ <sup>STB</sup> _d_ ( _k_ ) = 1 _,_ (1b) <sup>ON</sup> _d_ ( _k_ ) = 1 _._ (1c) These constraints are now equivalently rewritten in linear inequalities [43] to be included in numerical solvers. To this aim, each left-side expression in (1) is defined by introducing the two logical variables _ν_ <sup>_≥ξm_</sup> and _ν_ <sup>_≤ξM_</sup>, as follows and the definition in (6b) can be rewritten as a set of inequalities in a similar fashion. The remaining allowed transitions, instead, do not require a waiting action and are defined as <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k −_</sup> <sup>1)</sup> <sup>_∧_</sup> <sup>Υ</sup> _d_ <sup>_β_</sup> _d_ <sup>_β_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> (8) ∆ <sup>_β_</sup> ∆ <sup>_β_</sup> ∆ <sup>_β_</sup> _α,_ ∆ <sup>_β_</sup> <sup>_β_</sup> _α,d_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>Γ</sup> <sup>_α_</sup> _d_ <sup>_β_</sup> _α,d_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>Υ</sup> <sup>_β_</sup> _d_ <sup>_β_</sup> _α,_ d <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_≥_</sup> <sup>Γ</sup> <sup>_α_</sup> _d_ <sup>_β_</sup> _α,d_ <sup>(</sup> <sup>_k_</sup> <sup>) = Γ</sup> <sup>_α_</sup> _d_ <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k −_</sup> <sup>1)</sup> <sup>_,_</sup> (9a) <sup>_β_</sup> _d_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_,_</sup> (9b) _νd_ <sup>_≥ξm_</sup> ( _k_ ) = for all ( _α, β_ ) _∈T_ _\{_ (OFF _,_ STB) _,_ (STB _,_ ON) _,_ (OFF _,_ ON) _}_ . The expression above is equivalent to _νd_ <sup>_≤ξM_</sup> ( _k_ ) = 1 _Pd_ ( _k_ ) _≥_ _ξm,_ (2a) 0 _Pd_ ( _k_ ) _< ξm,_ 0 _Pd_ ( _k_ ) _> ξM_ _,_ (2b) 1 _Pd_ ( _k_ ) _≤_ _ξM_ _,_ <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k −_</sup> <sup>1) + Υ</sup> _d_ <sup>_β_</sup> _d_ <sup>_β_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>_._</sup> (9c) where _ξm_ _∈{_ 0 _, Pd_ <sup>STB</sup> _d_ <sup>STB</sup> _, Pd_ <sup>_m_</sup> _d_ <sup>_m}_</sup> <sup>and</sup> <sup>_ξM_</sup> _∈{_ 0 _, Pd_ <sup>STB</sup> _d_ <sup>STB</sup> _, Pd_ <sup>_M_</sup> where _ξm_ _∈{_ 0 _, Pd_ <sup>STB</sup> _, Pd_ <sup>_m}_</sup> <sup>and</sup> <sup>_ξM_</sup> _∈{_ 0 _, Pd_ <sup>STB</sup> _, Pd_ <sup>_M_</sup> <sup>_}_</sup> <sup>.</sup> According to the MLD equivalences in [43], the definitions in (2) are equivalent to _Pd_ ( _k_ ) _−_ _ξm_ _< Mν_ <sup>_≥ξm_</sup> ( _k_ ) _,_ (3a) _−Pd_ ( _k_ ) + _ξm_ _≤_ _M_ (1 _−_ _ν_ <sup>_≥ξm_</sup> ( _k_ )) _,_ (3b) _−Pd_ ( _k_ ) + _ξM_ _< Mν_ <sup>_≤ξM_</sup> ( _k_ ) _,_ (3c) _Pd_ ( _k_ ) _−_ _ξM_ _≤_ _M_ (1 _−_ _ν_ <sup>_≤ξM_</sup> ( _k_ )) _,_ (3d) where _M_ is an upper bound of _Pd_, and _−M_ is its lower bound. Then, each constraint in (1) is rewritten as Moreover, in order to model the inadmissibility of the transition (OFF, ON), it is ∆ <sup>ON</sup> OFF _,d_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>=</sup> <sup>0</sup> <sup>for</sup> <sup>all</sup> <sup>_d_</sup> <sup>_∈D_</sup> <sup>and</sup> <sup>all</sup> time-steps _k_ . In addition, for all _d ∈D_ the condition ( _α,β_ ) _∈T_ ∆ <sup>_β_</sup> _α,d_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>1</sup> (10) <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k_</sup> <sup>)) +</sup> <sup>_ν_</sup> _d_ <sup>_≥ξm_</sup> <sup>_α_</sup> _d_ <sup>are</sup> <sup>obtained</sup> <sup>from</sup> <sup>the</sup> <sup>transition</sup> <sup>variables</sup> <sup>∆</sup> <sup>_α_</sup> <sup>_α_</sup> _β,d_ <sup>as</sup> (1 _−_ Υ <sup>_α_</sup> _d_ (1 _−_ Υ <sup>_α_</sup> _d_ _d_ <sup>_≥ξm_</sup> ( _k_ ) _≥_ 1 _,_ (4a) _d_ <sup>_≤ξM_</sup> ( _k_ ) _≥_ 1 _._ (4b) has to be considered due to the fact that at most one transition can occur at each time-step. _3)_ _MLD_ _constraints_ _for_ _the_ _states:_ Finally, the state variables Γ <sup>_α_</sup> _d_ <sup>are</sup> <sup>obtained</sup> <sup>from</sup> <sup>the</sup> <sup>transition</sup> <sup>variables</sup> <sup>∆</sup> <sup>_α_</sup> _β,d_ <sup>as</sup> <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k_</sup> <sup>)) +</sup> <sup>_ν_</sup> _d_ <sup>_≤ξM_</sup> <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k −_</sup> <sup>1)</sup> ( _β,γ_ ) _∈T_ _β∈S\{α}_ ∆ <sup>_α_</sup> _d,β_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_∨_</sup> ∆ <sup>_α_</sup> ∆ <sup>_γ_</sup> <sup>_γ_</sup> _d,β_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_∧_</sup> <sup>Γ</sup> <sup>_α_</sup> _d_ - _._ Moreover, the intentions to stay in a state are mutually exclusive, i.e., Γ <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k_</sup> <sup>) =</sup> - _¬_ _α∈S_ Υ <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k_</sup> <sup>) = 1</sup> <sup>_,_</sup> _∀d ∈D._ (5) According to this definition, the automation is set to _α_ if at _k −_ 1 the state was not _α_ and at the current time one of the two transitions pointing to _α_ is enabled, or if at _k_ _−_ 1 the state was _α_, there are no enabled transitions and the state remains unchanged. The definition above can be rewritten as _2)_ _MLD_ _constraints_ _for_ _the_ _state_ _transition:_ The logical variables Γ <sup>_α_</sup> _d_ <sup>and ∆</sup> <sup>_β_</sup> _α,d_ <sup>are derived by the variables Υ</sup> _d_ <sup>_α_</sup> <sup>. Indeed,</sup> the transitions (OFF, STB) and (STB, ON) are enabled only after a fixed time interval which is necessary to execute the cold-start and the warm-start processes. This constraint can be described by introducing the following definitions <sup>_α_</sup> _d_ <sup>and ∆</sup> <sup>_β_</sup> <sup>_β_</sup> _α,d_ <sup>are derived by the variables Υ</sup> _d_ <sup>_α_</sup> ∆ <sup>_γ_</sup> <sup>_γ_</sup> _d,β_ <sup>(</sup> <sup>_k_</sup> <sup>))Γ</sup> <sup>_s,α_</sup> _d_ <sup>_s,α_</sup> _d_ <sup>(</sup> <sup>_k−_</sup> <sup>1))</sup> <sup>_._</sup> Γ <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k_</sup> <sup>) =</sup> _β∈S\{α}_ ∆ <sup>_α_</sup> _d,β_ <sup>(</sup> <sup>_k_</sup> <sup>)+((1</sup> <sup>_−_</sup> ∆ <sup>_α_</sup> ( _β,γ_ ) _∈T_ <sup>STB</sup> OFF _,d_ <sup>(</sup> <sup>_k_</sup> <sup>) = Υ</sup> _d_ <sup>STB</sup> ∆ <sup>STB</sup> OFF _d_ <sup>STB</sup> ( _k −_ _τ_ <sup>_c_</sup> ) _∧· · · ∧_ Υ <sup>STB</sup> _d_ <sup>STB</sup> _d_ ( _k_ ) (6a) In (11), the product of two logical variables makes the problem nonlinear, and it must be introduced a further logical variable _∧_ Γ <sup>OFF</sup> _d_ <sup>OFF</sup> _d_ ( _k −_ _τ_ <sup>_c_</sup> ) _∧· · · ∧_ Γ <sup>OFF</sup> _d_ <sup>OFF</sup> _d_ ( _k −_ 1) _,_ <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k −_</sup> <sup>1)</sup> (11) ( _β,γ_ ) _∈T_ ∆ <sup>_γ_</sup> <sup>_γ_</sup> _β,d_ <sup>(</sup> <sup>_k_</sup> <sup>)) Γ</sup> <sup>_α_</sup> _d_ ∆ <sup>ON</sup> STB <sup>ON</sup> STB _,d_ <sup>(</sup> <sup>_k_</sup> <sup>) = ΥON</sup> _d_ <sup>ON</sup> _d_ ( _k −_ _τ_ <sup>_w_</sup> ) _∧· · · ∧_ Υ <sup>ON</sup> _d_ <sup>ON</sup> _d_ ( _k_ ) (6b) Λ <sup>_α_</sup> _d_ <sup>= (1</sup> <sup>_−_</sup> _∧_ Γ <sup>STB</sup> _d_ <sup>STB</sup> _d_ ( _k −_ _τ_ <sup>_w_</sup> ) _∧· · · ∧_ Γ <sup>STB</sup> _d_ <sup>STB</sup> _d_ ( _k −_ 1) _,_ where _τ_ <sup>_c_</sup> and _τ_ <sup>_w_</sup> are the time intervals for the cold-start and warm-start processes, respectively. The definition in (6a) is equivalently converted into the following inequalities which is recast as the following set of inequalities Λ <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>(1</sup> <sup>_−_</sup> ( _β,γ_ ) _∈T_ ∆ <sup>_γ_</sup> _β,d_ <sup>(</sup> <sup>_k_</sup> <sup>))</sup> <sup>_,_</sup> (12a) <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k −_</sup> <sup>1)</sup> <sup>_−_</sup> ( _β,γ_ ) _∈T_ ∆ <sup>STB</sup> OFF _,d_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>ΥSTB</sup> _d_ ( _k −_ _τ_ <sup>_c_</sup> ) ... ∆ <sup>STB</sup> OFF <sup>STB</sup> OFF _,d_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>ΥSTB</sup> _d_ Λ <sup>_α_</sup> _d_ Λ <sup>_α_</sup> _d_ <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>Γ</sup> <sup>_α_</sup> _d_ <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_≥_</sup> <sup>Γ</sup> <sup>_α_</sup> _d_ <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k −_</sup> <sup>1)</sup> <sup>_,_</sup> (12b) ∆ <sup>_α_</sup> _β,d_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_._</sup> (12c) ∆ <sup>STB</sup> OFF ∆ <sup>STB</sup> OFF <sup>STB</sup> OFF _,d_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>ΥSTB</sup> _d_ <sup>STB</sup> _d_ ( _k −_ 1) ∆ <sup>STB</sup> OFF _,d_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>ΓOFF</sup> _d_ ( _k −_ _τ_ <sup>_c_</sup> ) ... <sup>STB</sup> OFF _,d_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>ΓOFF</sup> _d_ (7) Finally, the operations of the electrolyzer and the fuel cell are not interconnected, i.e., the production and the consumption of hydrogen can occur at the same time. On the other hand, the charging and discarding are mutually exclusive, and then the further constraint ∆ <sup>STB</sup> OFF ∆ <sup>STB</sup> OFF <sup>STB</sup> OFF _,d_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>ΓOFF</sup> _d_ <sup>STB</sup> OFF _,d_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_≥_</sup> <sup>ΓOFF</sup> _d_ <sup>OFF</sup> _d_ ( _k −_ 1) + _. . ._ + Γ <sup>OFF</sup> _d_ <sup>OFF</sup> _d_ ( _k −_ _τ_ <sup>_c_</sup> ) <sup>OFF</sup> _d_ ( _k −_ 1) Γ <sup>ON</sup> ch <sup>ON</sup> ch <sup>+ ΓON</sup> dc <sup>ON</sup> dc <sup>_≤_</sup> <sup>1</sup> (13) + Υ <sup>STB</sup> _d_ <sup>STB</sup> _d_ ( _k −_ 1) + _. . ._ + Υ <sup>STB</sup> _d_ + 2 _τ_ <sup>_c_</sup> _−_ 1 _,_ <sup>STB</sup> _d_ ( _k −_ _τ_ <sup>_c_</sup> ) must be considered. _C._ _Power_ _exchanged_ _with_ _the_ _utility_ _grid_ In the system, the electricity can be both purchased from and sold to the grid. Then, the logical variable Θ _g_ is defined such that Θ _g_ ( _k_ ) = 1 if the system interacts with the grid at the time-step _k_, and Θ _g_ ( _k_ ) = 0 otherwise. In particular, based on the definition in [7], it is where the logical power auxiliary variables of the electrolyzer and the fuel cell _νe_ ( _k_ ) = _P_ pr( _k_ )Γ <sup>ON</sup> pr <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>and</sup> <sup>_νf_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>=</sup> _P_ co( _k_ )Γ <sup>ON</sup> co <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>are</sup> <sup>required</sup> <sup>to</sup> <sup>hide</sup> <sup>the</sup> <sup>non-linearity</sup> <sup>intro-</sup> duced by the product of two decision variables. The auxiliary variables can be written as linear constraints as reported in [43]. _ηe_ and _ηf_ are the efficiencies of the HESS devices, _Ts_ is the sampling time, and _H_ ls( _k_ ) models the use of the stored hydrogen for supplying demand from external agents. _E._ _Electrical_ _storage_ _system_ Θ _g_ ( _k_ ) = 1 _,_ _Pg_ ( _k_ ) _̸_ = 0 _,_ (14) 0 _,_ _Pg_ ( _k_ ) = 0 _,_ where _Pg_ is the grid power that defines the possibility to either buy from (if _Pg_ ( _k_ ) _>_ 0) or sell energy to (if _Pg_ ( _k_ ) _<_ 0) the utility grid. The definition (14) is equivalent to [Θ _g_ ( _k_ ) = 1] _⇐⇒_ [ _Pg_ ( _k_ ) _<_ 0] _∨_ [ _Pg_ ( _k_ ) _>_ 0] _,_ (15) which can be rewritten by introducing two logical variables Θsell and Θbuy defined as [Θsell( _k_ ) = 1] _⇐⇒_ [ _Pg_ ( _k_ ) _<_ 0] _,_ (16a) [Θbuy( _k_ ) = 1] _⇐⇒_ [ _Pg_ ( _k_ ) _>_ 0] _._ (16b) The logical expressions (16a) is equivalent to The dynamics of the stored energy in the BESS is given as a function of the stored energy at the previous time-step and the power _Pb_ ( _k_ ) exchanged with the storage units during its charging and discharging. The activation of charging and discharging modeled by the Boolean variables Γ <sup>ON</sup> ch <sup>and</sup> <sup>ΓON</sup> dc <sup>,</sup> respectively, depends on the sign of _Pb_ ( _k_ ) (positive when discharging and negative when charging), i.e., [Γ <sup>ON</sup> dc <sup>(</sup> <sup>_k_</sup> <sup>) = 1]</sup> <sup>_⇐⇒_</sup> <sup>[</sup> <sup>_Pb_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_≥_</sup> <sup>0]</sup> <sup>_,_</sup> (22a) According to the MLD framework, the definition in (22) can be equivalently rewritten in terms of linear inequalities. Moreover, charging and discharging affect the dynamics of the stored energy through different efficiencies, namely _ηc_ and _ηd_, respectively [19], by resulting in [Γ <sup>ON</sup> ch <sup>(</sup> <sup>_k_</sup> <sup>) = 1]</sup> <sup>_⇐⇒_</sup> <sup>[</sup> <sup>_Pb_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_<_</sup> <sup>0]</sup> <sup>_._</sup> (22b) Θsell( _k_ ) = 0 _Pg_ ( _k_ ) _≥_ 0 _,_ (17) 1 _Pg_ ( _k_ ) _<_ 0 _,_ which can be recast by the following inequalities _−Pg_ ( _k_ ) _≤_ ( _Mg_ + _ϵ_ )Θsell( _k_ ) _−_ _ϵ,_ (18) _Pg_ ( _k_ ) _≤_ _Mg_ (1 _−_ Θsell( _k_ )) _,_ where _Mg_ is an upper bound of _Pg_ ( _k_ ), _−Mg_ is a lower bound of _Pg_ ( _k_ ), and _ϵ_ is a small positive number which is usually set equal to the machine precision. The definition in (16b) can be rewritten in a similar way. In order to define the interaction with the utility grid, the slack variables _ν_ sell and _ν_ buy are defined as _ν_ sell( _k_ ) = _−Pg_ ( _k_ )Θsell( _k_ ) _,_ (19a) _ν_ buy( _k_ ) = _Pg_ ( _k_ )Θbuy( _k_ ) _._ (19b) The product variables _ν_ sell can be recast as _ν_ sell( _k_ ) _≤_ _mg_ Θsell( _k_ ) _,_ <sup><u>ch(</u></sup> <sup>_<u>k</u>_</sup> <sup><u>)</u></sup> <sup>_<u>Ts</u>_</sup> + <sup>_ν_</sup> <sup>dc(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_Ts_</sup> _c_ <sup>max</sup> _c_ <sup>max</sup> _ηd_ soc( _k_ + 1) = soc( _k_ ) + <sup>_<u>ηcν</u>_</sup> <sup><u>ch(</u></sup> <sup>_<u>k</u>_</sup> <sup><u>)</u></sup> <sup>_<u>Ts</u>_</sup> _c_ <sup>max</sup> _ηd_ _,_ (23) _ν_ sell( _k_ ) _≥_ _Mg_ Θsell( _k_ ) _,_ _ν_ sell( _k_ ) _≥_ _Pg_ ( _k_ ) _−_ _Mg_ (1 _−_ Θsell( _k_ )) _,_ _ν_ sell( _k_ ) _≤_ _Pg_ ( _k_ ) + _mg_ (1 _−_ Θsell( _k_ )) _._ and the _ν_ sell can be recast in the same way of (20). (20) where soc( _k_ ) denotes the stored energy at the timestep _k_, _c_ <sup>max</sup> is the maximum storage capacity, _νc_ ( _k_ ) = _−Pb_ ( _k_ )Γ <sup>ON</sup> ch <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>and</sup> <sup>_νdc_</sup> <sup>=</sup> <sup>_Pb_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)ΓON</sup> dc <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>are</sup> <sup>such</sup> <sup>that</sup> <sup>the</sup> power _Pb_ ( _k_ ) exchanged with the storage unit is defined as _Pb_ ( _k_ ) = _ν_ dc( _k_ ) _−_ _ν_ ch( _k_ ). Note that the charging and discharging efficiencies _ηc_ and _ηd_ can be possibly updated when a significant deviation with respect to the current adopted values is measured. _F._ _Power_ _balance_ _constraint_ The power balance at a given time-step _k_ is _P_ re( _k_ ) + _Pb_ ( _k_ ) _−_ _Ph_ ( _k_ ) + _Pg_ ( _k_ ) _−_ _ν_ ev( _k_ ) = _Ps_ ( _k_ ) _,_ (24) The technique adopted for transforming the (nonlinear) mixed product in (19) in the equivalent mixed-linear formulation (20) can be used for the other mixed products; for the sake of brevity, the repetition of such transformation has not been reported for other analogous cases later in the paper. _D._ _Hydrogen_ _storage_ _system_ The dynamics of the stored hydrogen _H_ in the tank is where _P_ re = _Pw_ + _P_ pv, _Pb_ = _νd −_ _νc_ and _Ph_ = _νe −_ _νf_ are the RES power, the BESS power, and the net-hydrogen storage power, respectively, _Pg_ is the exchange power with the grid and _Ps_ is the available power in the system. In order to model the batteries of EVs, the slack variable _ν_ ev = _P_ ev _δ_ ev <sup>ON</sup> has _H_ ( _k_ + 1) = _H_ ( _k_ ) _−_ _H_ ls( _k_ ) + _ηeνe_ ( _k_ ) _Ts −_ <sup>_<u>νf</u>_</sup> <sup><u>(</u></sup> <sup>_<u>k</u>_</sup> <sup><u>)</u></sup> <sup>_<u>Ts</u>_</sup> _ηf_ ev <sup>ON.</sup> _,_ (21) the batteries of EVs, the slack variable _ν_ ev = _P_ ev _δ_ ev <sup>ON</sup> has to be considered, where _δ_ ev <sup>ON</sup> is a logical variable such that _δ_ ev <sup>ON(</sup> <sup>_k_</sup> <sup>)</sup> <sup>=</sup> <sup>1</sup> <sup>if</sup> <sup>the</sup> <sup>BEV</sup> <sup>is</sup> <sup>connected</sup> <sup>as</sup> <sup>external</sup> <sup>consumers</sup> and _δ_ ev <sup>ON(</sup> <sup>_k_</sup> <sup>) = 0</sup> <sup>otherwise.</sup> <sup>Note</sup> <sup>that</sup> <sup>the</sup> <sup>batteries</sup> <sup>of</sup> <sup>EVs</sup> <sup>are</sup> modeled similarly to the BESS in (23) but with the addition of the logical variable _δ_ ev <sup>ON.</sup> _G._ _Physical_ _constraints_ The hydrogen devices, the stored hydrogen in the tank, and the stored power in the battery have to keep within the minimum and the maximum constraints, i.e., _Pd_ <sup>min</sup> _d_ <sup>min</sup> _≤_ _Pd_ ( _k_ ) _≤_ _Pd_ <sup>max</sup> _d_ <sup>max</sup> _,_ (25a) _2)_ _Hydrogen_ _operating_ _cost_ _functions:_ The hydrogen operating cost functions are related to the operation of the hydrogen devices (electrolyzer and the fuel cell). In order to tackle their expensive costs, the life cycles are defined based on the number of working hours and state switches. To save devices’ lifetime and consequently enhance cost saving, not only the working hours for the hydrogen devices have to be minimized, but the devices’ startup/shutdown/standby cycles and the fluctuations in the operation conditions are also included since operational switchings prematurely reduce the life of the devices. Consequently, the hydrogen operating cost functions are the combination of three terms: the hydrogen devices’ working costs, the degradation cost of the devices associated to their switching and the energy spent in keeping the units warm during the standby mode. Hence, the cost functions can be defined as follows _H_ <sup>min</sup> _≤_ _H_ ( _k_ ) _≤_ _H_ <sup>max</sup> _,_ (25b) soc <sup>min</sup> _≤_ soc( _k_ ) _≤_ soc <sup>max</sup> _,_ (25c) where _Pd_ <sup>min</sup> where _Pd_ <sup>min</sup>, _Pd_ <sup>max</sup>, with _d_ _∈D_, _H_ <sup>min</sup>, _H_ <sup>max</sup>, soc <sup>min</sup>, and soc <sup>max</sup> are the minimum and the maximum bounds of the power of the hydrogen devices (electrolyzer and fuel cell), the power of the battery (charging and discharging), hydrogen tank, and battery storage, respectively. It is worth to highlight that the constraint (25c) introduces a further dependence between soc( _k_ ) and the battery power _Pb_ ( _k_ ) since _Pb_ ( _k_ ) must be such that the BESS must operate in a range of soc( _k_ ) values to avoid over and undercharging that remarkably reduce the number of admissible cycles. _d_ <sup>min</sup>, _Pd_ <sup>max</sup> �Γ <sup>ON</sup> pr <sup>(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>)</sup> �� _c_ <u>prrep</u> NHpr _α∈A_ _α∈A_ _P_ co <sup>_α_</sup> co <sup>_α_</sup> <sup>_π_</sup> <sup>sp(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>)Γ</sup> co <sup>_α_</sup> + _c_ <sup>OM</sup> pr _β∈A_ _β̸_ = _α_ <sup>_α_</sup> _β_ <sup>∆</sup> _β,_ <sup>_α_</sup> _c_ <sup>_α_</sup> _β_ _β,_ <sup>_α_</sup> pr <sup>(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>)</sup> IV. CONTROL STRATEGY The adoption of ESSs allows to cope with the uncertainty of the RESs and enables additional services, e.g., the injection of smooth power. Hence, the control architecture distinguishes between the microgrid in the intraday market when no energy/hydrogen is exchanged with external consumers and the microgrid with external consumers, where additional costs are included for the optimal tracking of their requests. _A._ _Cost_ _functions_ This section presents the cost functions included in an optimization problem for the requirements of the controller. In order to improve the readability, it is useful to define the sets _M_ = _{_ 1 _,_ 2 _, . . .,_ 24 _}_ containing the samplings considered in the proposed control, which derive from the sample time of 1 hour. _1)_ _Grid_ _cost_ _function:_ The grid cost function is related to the possibility to either buy from (if _Pg_ ( _k_ ) _<_ 0) or sell energy to (if _Pg_ ( _k_ ) _<_ 0) the utility grid. The possibility to participate to the electricity markets can be leveraged to maximize the energy selling revenue or economical energy buying cost from the main grid. Then, the cost function for selling/buying energy to the main grid is given by _Jg_ ( _k_ + _j_ ) = [ _−c_ sell( _k_ + _j_ ) _ν_ sell( _k_ + _j_ ) (26) + _c_ buy( _k_ + _j_ ) _ν_ buy( _k_ + _j_ )] _Ts,_ where _Ts_ is the sampling time, _k_ is the current time instant, _j_ = 0 _,_ 1 _, . . ., T_ _−_ 1 accounts for future time instants, _T_ is the discrete time optimization horizon, and _ν_ sell and _ν_ buy are given in (19) to model the possibility of purchasing/selling energy from/to the utility grid during market operations at time-step _k_ over the control horizon _H_, respectively, and _c_ sell and _c_ buy are the corresponding energy prices. It is important to highlight that the purpose of the intraday market is to handle electricity transactions for the following day through the presentation of electricity bids by market participants. _J_ pr( _k_ + _j_ ) = + + _J_ co( _k_ + _j_ ) = + _−_ _α∈A_ _α∈A_ (27a) (27b) pr <sup>_α_</sup> <sup>_π_</sup> <sup>sp(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>)Γ</sup> pr <sup>_α_</sup> _P_ pr <sup>_α_</sup> pr <sup>_α_</sup> <sup>(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>)</sup> <sup>_Ts_</sup> �� _<u>c</u>_ <u>corep</u> NHco + _c_ <sup>OM</sup> co �Γ <sup>ON</sup> co <sup>(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>)</sup> _β∈A_ _β̸_ = _α_ <sup>_α_</sup> _β_ <sup>∆</sup> _β,_ <sup>_α_</sup> _c_ <sup>_α_</sup> _β_ _β,_ <sup>_α_</sup> co <sup>(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>)</sup> co <sup>_α_</sup> <sup>(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>)</sup> <sup>_Ts_</sup> _,_ _._ For the reader’s convenience, the term - NH _<u>co</u>_ rep _o_ <sup>+</sup> <sup>_c_</sup> _o_ <sup>OM</sup> �Γ <sup>ON</sup> _o_ ( _k_ + _j_ ), with _o_ _∈{_ pr _,_ co _}_, accounts for the devices’ operating power only at their ON states, according to the replacement and maintenance costs ( _c_ <sup>rep</sup> _o_ and _c_ <sup>OM</sup> _o_ ) associated to their cy For the reader’s convenience, the term - _<u>co</u>_ rep NH _o_ <sup>+</sup> <sup>_c_</sup> _o_ <sup>OM</sup> _o_ �Γ <sup>ON</sup> _o_ <sup>rep</sup> _o_ and _c_ <sup>OM</sup> _o_ and maintenance costs ( _c_ <sup>rep</sup> _o_ and _c_ <sup>OM</sup> _o_ ) associated to their cy cles lifespan (NH _o_ ). The term _c_ <sup>_α_</sup> _β_ <sup>∆</sup> <sup>_α_</sup> _β,o_ <sup>(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>), with</sup> <sup>_β_</sup> <sup>_∈A_</sup> <sup>and</sup> <sup>_α_</sup> _β_ <sup>∆</sup> <sup>_α_</sup> cles lifespan (NH _o_ ). The term _c_ <sup>_α_</sup> _β_ <sup>∆</sup> <sup>_α_</sup> _β,o_ <sup>(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>), with</sup> <sup>_β_</sup> <sup>_∈A_</sup> <sup>and</sup> _β̸_ = _α_, accounts the working switches from _α_ to _β_ for each device, according to the cycle cost of the state transition from _α_ to _β_, denoted by _c_ <sup>_α_</sup> _β_ <sup>. The third term</sup> <sup>_P α_</sup> _o_ <sup>_π_</sup> <sup>sp(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>)Γ</sup> <sup>_α_</sup> _o_ <sup>(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>)</sup> <sup>_Ts_</sup> represents the energy spent to keep the devices warm in their standby mode, according to the power spot price _π_ <sup>sp</sup> . _3)_ _Load_ _tracking_ _cost_ _function:_ The load tracking cost function is included in the optimization algorithm to take into account the tracking of the forecasted electric reference demand. Such a function is defined by the cumulative square error between the available system power and the reference signal, as follows _Jt_ ( _k_ + _j_ ) = ( _Ps_ ( _k_ + _j_ ) _−_ _P_ req( _k_ + _j_ )) <sup>2</sup> _,_ (28) where _Ps_ and _P_ req are the available power in the system and the requested load, respectively. _4)_ _Hydrogen tracking cost function:_ The hydrogen tracking cost function is related to the satisfaction of requests by the external hydrogen consumer, i.e., FCEVs. In particular, the stored hydrogen in the tank is used to meet the external <sup>_α_</sup> _β_ <sup>. The third term</sup> <sup>_P α_</sup> _o_ <sup>_α_</sup> _o_ <sup>_π_</sup> <sup>sp(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>)Γ</sup> <sup>_α_</sup> _o_ hydrogen consumer requests _H_ req with a free decision variable _H_ ls. Hence, the corresponding cost function is given by _JH_ ( _k_ + _j_ ) = ( _H_ ls( _k_ + _j_ ) _−_ _H_ req( _k_ + _j_ )) <sup>2</sup> _._ (29) _5)_ _Energy_ _exchanging_ _with_ _BEVs_ _cost_ _function:_ The cost functions of the energy exchange process with BEVs are given by _J_ exc( _k_ + _j_ ) = ( _ν_ ev( _k_ + _j_ ) _−_ _P_ exc( _k_ + _j_ )) <sup>2</sup> _,_ (30) where _ν_ ev is the final exchange of power delivered by the demand of BEVs and _P_ exc is the initial requirement of power from external agents. _6)_ _Battery cost function:_ The battery cost function is related to the lifetime of the battery, which can be expressed as a function depending on the number of working hours. However, to save devices’ lifetime, not only the working hours for the battery storage system is minimized, but the fluctuations in the operation conditions are also included since operational switchings prematurely reduce the life of the device. Therefore, the battery cost function is expressed as s _._ t _._ State actions constraints (3) _−_ (5) _,_ State transition constraints (7) _−_ (10) _,_ not been explicitly modeled. The proposed control compares for the following day the forecasts of the RESs power _P_ re and load demand _P_ req, and computes the optimal scheduling of the devices, the evolution of the hydrogen level _H_ and the state of charge soc for the next few hours. Then, the references determined by the MPC strategy will be used in the secondary control layer to compensate for any deviations of the realtime renewable generations and electricity demand from the forecasted one in short term. In the controller, the set of the decision variables at the generic step _k_ + _j_ is given by <sup>_α_</sup> _d_ <sup>_,_</sup> <sup>Υ</sup> <sup>_α_</sup> _d_ <sup>_α_</sup> _d_ <sup>_,_</sup> <sup>Λ</sup> <sup>_α_</sup> _d_ <sup>_α_</sup> _d_ <sup>_,_</sup> <sup>_ν_</sup> <sup>_≥_</sup> _d_ <sup>_ξm_</sup> <sup>_≥_</sup> _d_ <sup>_ξm_</sup> _,_ _ν_ <sup>_≤_</sup> _d_ <sup>_ξm_</sup> _d_ _Hk_ = - _p_ _s,_ _p_ _d,_ _p_ _g,_ _p_ _b,_ Γ <sup>_α_</sup> _d_ <sup>_α_</sup> _d_ <sup>_,_</sup> <sup>Θ</sup> <sup>_α_</sup> _d_ - _,_ where Γ <sup>_α_</sup> _d_ <sup>=</sup> �Γ _αd_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_, . . .,_</sup> <sup>Γ</sup> <sup>_α_</sup> _d_ <sup>(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_T_</sup> <sup>_−_</sup> <sup>1)�</sup> <sup>_⊤_</sup> <sup>and</sup> <sup>the</sup> <sup>other</sup> vectors are similarly defined. The optimization problem is where Γ <sup>_α_</sup> _d_ <sup>_α_</sup> _d_ <sup>=</sup> �Γ _αd_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_, . . .,_</sup> <sup>Γ</sup> <sup>_α_</sup> _d_ min _Hk_ _T −_ 1 _j_ =0 _JGF_ ( _k_ + _j_ ) _<u>c</u>_ <sup>bat</sup> _Jb_ ( _k_ + _j_ ) = 2 _Nb_ <sup><u>cyc</u></sup> (32) - _ν_ ch <sup>ON</sup> dc <sup>ON(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>)</sup> ch <sup>ON(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_ν_</sup> dc <sup>ON</sup> _β,_ <sup>_α_</sup> ch <sup>(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>)</sup> (31) - _c_ <sup>_α_</sup> _β,_ State constraints (11) _−_ (12) _,_ HESS dynamics (21) _,_ BESS dynamics (23) _,_ + - _α∈A_ _β∈A_ _β̸_ = _α_ <sup>_α_</sup> _β,_ ch <sup>∆</sup> _β,_ <sup>_α_</sup> <sup>_α_</sup> _β,_ ch <sup>∆</sup> _β,_ <sup>_α_</sup> _−_ _c_ <sup>_α_</sup> _β,_ _β,_ <sup>_α_</sup> dc <sup>(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>)</sup> - _ν_ dc <sup>ON</sup> dc <sup>ON(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>)</sup> �2 _,_ - _ν_ ch <sup>ON</sup> �2 _−_ _c_ <sup>deg</sup> dc dc + _c_ <sup>deg</sup> ch + _c_ <sup>deg</sup> ch ch <sup>ON(</sup> <sup>_k_</sup> <sup>+</sup> <sup>_j_</sup> <sup>)</sup> where _c_ <sup>bat</sup> is the battery capital cost, _Nb_ <sup>cyc</sup> where _c_ <sup>bat</sup> is the battery capital cost, _Nb_ <sup>cyc</sup> is the battery working cycles, _c_ <sup>deg</sup> ch and _c_ <sup>deg</sup> dc are the battery degradation costs for charging and discharging, respectively, and _c_ <sup>_α_</sup> _β_ <sup>are</sup> the device cycle costs associated to the corresponding logic states transition. Focusing on the battery cost function, it is possible to recognize that the first two terms are similar to the corresponding ones in the hydrogen operation cost function. The last terms, instead, are introduced to avoid high-stress ratio in the charging and discharging process. It is important to highlight that the slack variable _νℓ_ <sup>ON</sup> = _Pℓ_ ( _k_ + _j_ )Γ <sup>ON</sup> _ℓ_ ( _k_ + _j_ ), with _ℓ_ _∈{_ ch _,_ dc _}_, is required to hide the non-linearity introduced by the product of two decision variables. <sup>deg</sup> ch and _c_ <sup>deg</sup> dc _ℓ_ <sup>ON</sup> = _Pℓ_ ( _k_ + _j_ )Γ <sup>ON</sup> _ℓ_ _B._ _MPC_ _algorithm_ The control strategy is based on the MPC framework [43], whose architecture is shown by the conceptual block in Fig. 3. In the diagram, the vectors _u_ 0 and _u_ in and the matrix _U_ include the initial conditions, the inputs and the outputs of the proposed controller, respectively. According to the MLD framework, for a given time-step _k_, the cost functions are minimized and the corresponding optimal control sequence is determined for _j_ = 0 _, · · ·_ _, T_ _−_ 1 steps ahead, where _T_ is the control horizon, but only the first sample of the control sequence is applied to the system before the horizon is advanced one step. The purpose behind choosing MPC policy is to simultaneously handle constraints, delays and system disturbances that may occur on the plant even though they have Utility grid constraints (18) _−_ (20) _,_ Power balance constraint (24) _,_ Physical constraint (25) _,_ where the global cost function _JGF_ ( _k_ + _j_ ) is given by _JGF_ ( _k_ + _j_ ) = _ωgJg_ ( _k_ + _j_ ) + _ω_ pr _J_ pr( _k_ + _j_ ) + _ω_ co _J_ co( _k_ + _j_ ) + _ωbJb_ ( _k_ + _j_ ) + _ωtJt_ ( _k_ + _j_ ) + _ωH_ _JH_ ( _k_ + _j_ ) + _ω_ exc _J_ exc( _k_ + _j_ ) _,_ (33) with _Jg_ ( _k_ + _j_ ), _J_ pr( _k_ + _j_ ), _J_ co( _k_ + _j_ ), _Jb_ ( _k_ + _j_ ), _Jt_ ( _k_ + _j_ ), _JH_ ( _k_ + _j_ ) and _J_ exc( _k_ + _j_ ) are the grid cost, the hydrogen devices operating costs, the battery cost, the load tracking cost, the hydrogen tracking cost and energy exchanging with BEVs cost function as defined in (26), (27), (31), (28), (29) and (30), and _ωg_, _ω_ pr, _ω_ co, _ωb_, _ωt_, _ωH_ and _ω_ exc are suitable weights selected through numerical simulations to define a trade-off between goal satisfaction, power consumption and equipment degradation. Fig. 3. MPC control diagram. The optimal sequence of the problem in (32) is given by _H_ <sup>ˆ</sup> _k_ <sup>_∗_</sup> <sup>=</sup> <sup>_{H_</sup> _k_ <sup>_∗, H_</sup> _k_ <sup>_∗_</sup> +1 <sup>_, . . ., H_</sup> _k_ <sup>_∗_</sup> + _T −_ 1 <sup>_}_</sup> <sup>, where</sup> <sup>_H_</sup> _k_ <sup>_∗_</sup> <sup>is the optimal</sup> value of _Hk_ at the time-instant _k_ + _j_ . By receding the horizon, only the first optimal control input from the optimal sequence is set to the energy storage systems. For the sake of clarity, Algorithm 1 explains the working of the proposed MPC approach. _P_ pr <sup>max</sup> Maximum power of electrolyzer 1 MW _P_ pr <sup>STB</sup> Standby consumption 0 _._ _k_ <sup>_∗_</sup> <sup>=</sup> <sup>_{H_</sup> _k_ <sup>_∗_</sup> _k_ <sup>_∗, H_</sup> _k_ <sup>_∗_</sup> _k_ <sup>_∗_</sup> +1 <sup>_, . . ., H_</sup> _k_ <sup>_∗_</sup> _k_ <sup>_∗_</sup> + _T −_ 1 <sup>_}_</sup> <sup>, where</sup> <sup>_H_</sup> _k_ <sup>_∗_</sup> TABLE I PARAMETERS AND WEIGHTING FACTORS SET IN THE MPC STRATEGY BASED ON THE CIRA PROJECT UNDER THE KUST RESEARCH INSTITUTE AND ON THE LITERATURE [7], [44]. <u>Electrolyzer</u> <u>Parameters</u> <u>Variable</u> <u>Parameter</u> <u>Value</u> _P_ pr <sup><u>min</u></sup> Minimum power of electrolyzer 0 _._ 1 MW _P_ pr <sup><u>min</u></sup> Minimum power of electrolyzer 0 _._ 1 MW _P_ pr <sup>max</sup> Maximum power of electrolyzer 1 MW Algorithm 1: MPC algorithm for the wind-solar mi<u>crogrid.</u> Input : u in, H 0 and soc0 (initial conditions) Output: Receding horizon control input u ( _k_ ) begin Load parameters; _N_ _←_ simulation horizon for the MPC; _H_ ( _k_ ) _←_ _H_ 0; soc( _k_ ) _←_ soc0; for _k_ _←_ 1 to _N_ do _P_ pr <sup>STB</sup> Standby consumption 0 _._ 003 MW _η_ pr Efficiency 0 _._ 015 kg _/_ kWh _d_ pr Efficiency degradation 4%/year NHpr Cycles lifespan of the electrolyzer 4000 h <u>NYpr</u> <u>Operation</u> <u>hours</u> <u>20 000 h</u> <u>Fuel</u> <u>cell</u> <u>parameters</u> _P_ co <sup><u>min</u></sup> Minimum power of fuel cell 0 _._ 002 MW _P_ co <sup><u>min</u></sup> Minimum power of fuel cell 0 _._ 002 MW _P_ co <sup>max</sup> Maximum power of fuel cell 0 _._ 1 MW _P_ co <sup>max</sup> Maximum power of fuel cell 0 _._ 1 MW _P_ co <sup>STB</sup> Standby consumption 0 _._ 001 MW _H_ ˆ _k_ <sup>_∗_</sup> _H_ ˆ _k_ <sup>_∗_</sup> <sup>_←_</sup> <sup>solve</sup> <sup>problem</sup> <sup>(32);</sup> _Hk_ <sup>_∗_</sup> <sup>_←_</sup> _H_ <sup>ˆ</sup> _k_ <sup>_∗{_</sup> <sup>1</sup> <sup>_}_</sup> <sup>;</sup> _▷_ Apply _k_ <sup>_∗_</sup> <sup>_←_</sup> _H_ <sup>ˆ</sup> _k_ <sup>_∗_</sup> _Hk_ <sup>_∗_</sup> <sup>_←_</sup> _H_ <sup>ˆ</sup> _k_ <sup>_∗{_</sup> <sup>1</sup> <sup>_}_</sup> <sup>;</sup> _▷_ Apply the first element _H_ ( _k_ + 1) _←_ update (21); soc( _k_ + 1) _←_ update (23); _P_ co <sup>STB</sup> Standby consumption 0 _._ 001 MW _η_ co Efficiency 22 kWh _/_ kg _d_ co Efficiency degradation 4%/year NHco Cycles lifespan of the fuel cell 3000 h <u>NYco</u> <u>Operation</u> <u>hours</u> <u>15 000 h</u> <u>Tank</u> <u>parameters</u> _VH_ Volume of hydrogen tank 20 kg _PH_ Pressure of hydrogen tank 20 bar _H_ 0 Initial of hydrogen tank 0 _._ 6 p.u. _H_ <sup>min</sup> Minimum of hydrogen tank 0 _._ 1 p.u. _<u>H</u>_ <sup>max</sup> <u>Maximum</u> <u>of</u> <u>hydrogen</u> <u>tank</u> <u>0</u> _<u>.</u>_ <u>95 p.u.</u> <u>Li-Ion</u> <u>battery</u> <u>parameters</u> _ηc_ Charging efficiency 0 _._ 90 _ηd_ Discharging efficiency 0 _._ 95 _c_ <sup>bat</sup> Battery capital cost 125 AC _/_ kWh _c_ <sup>deg</sup> ch Charging degradation cost 10 <sup>_−_</sup> <sup>9</sup> AC _/_ W <sup>2</sup> _c_ <sup>deg</sup> ch Charging degradation cost 10 <sup>_−_</sup> <sup>9</sup> AC _/_ W <sup>2</sup> h _Nc_ <sup>deg</sup> dc _b_ <sup>cyc</sup> BatteryDischargingworkingdegradationcycles cost 3000 h10 <sup>_−_</sup> <sup>9</sup> AC _/_ W <sup>2</sup> h V. SIMULATION RESULTS The proposed controller has been tested through simulations that take into account wind and solar profiles, and electric and hydrogen loads. Because of the connection with the main grid, the energy market price profile is considered too. The numerical results show that the proposed controller is able to correctly satisfy the overall system constraints and achieve the set control objectives of the research under study. The analysis and the experimental validation are conducted through simulations according to the considered control. _A._ _Simulation_ _setup_ In order to satisfy the validation of the proposed control in this research study, the control horizon, simulation horizon, sampling time, and the main characteristics of the device parameters have to be defined. Firstly, the controller sampling time is chosen as _Ts_, synchronized with the RESs installed at the integrated system, located in the United Arab Emirates. Likewise, for the coupled hybrid-ESSs along with the RESs, a prediction horizon of _N_ hours is used in the MPC to store/charge or consume/discharge hydrogen/power through the hydrogen tank/battery without violating the storage hard physical constraints. A longer prediction horizon can also be selected, but the increased prediction horizon results in high computation time. Therefore, a choice of _N_ hours is selected based on the trade-off between the feasible solution and the computation time. For the day-ahead market, numerical results are conducted over the simulation horizon of 24 h with a sampling time of 1 h for the utility grid interaction. Table V-A summarizes the main characteristics of the device parameters. Since the control strategy implemented in this paper will be integrated into the Khalifa University laboratory _<u>ωg</u>_ <u>Hydrogen</u> <u>tracking</u> <u>weight</u> <u>15</u> _<u>e</u>_ <sup>7</sup> microgrid, which is currently under construction in Abu Dhabi, United Arab Emirates, data from the literature are adopted for the parameters not yet defined. The simulations have been carried out in MATLAB with YALMIP tool and GUROBI optimizer, and the optimization problem of the microgrid under investigation is solved in 25 s on a PC with an Intel Xeon (R) _W −_ 2245HQ 3 _._ 9 GHz with 128 GB RAM. Fig. V-B shows the requested load, the RES power, and the price profile considered in the scenario. _B._ _Case_ _study_ The control goal of the microgrid dispatched without external consumers is to meet the requested load and participate in the electricity market. Fig. 5 provides a summary of the strategy’s effectiveness by showing that the proposed controller allows the achievement of the ESS optimal behavior. Particularly, in Fig. 5, it is possible to see that the available system power is adequately filtered when tracking the reference. The correct working of hydrogen devices and batters depends on the power surpluses or the deficit scenarios explained with the help of power flow towards or from the _Nb_ <sup>cyc</sup> Battery working cycles 3000 h soc0 Initial state of charge 0 _._ 15 p.u. soc <sup>min</sup> Minimum state of charge 0 _._ 1 p.u. <u>soc</u> <sup>max</sup> <u>Maximum</u> <u>state</u> <u>of</u> <u>charge</u> <u>1 p.u.</u> <u>Controller</u> <u>parameters</u> _Ts_ Sampling time 1 h _T_ Control horizon 4 h _N_ Simulation horizon 24 h _ωg_ Grid weight 4 _×_ 10 <sup>6</sup> _ω_ pr Electrolyzer weight 1 _×_ 10 <sup>8</sup> _ω_ co Fuel cell weight 2 _×_ 10 <sup>4</sup> _ωb_ Battery weight 16 _×_ 10 <sup>_−_</sup> <sup>4</sup> _ωt_ Load tracking weight 12 _×_ 10 <sup>10</sup> 10 5 0 Preq Pre=Pw+Ppv c <sup>price</sup> 3 6 9 12 15 18 21 Time [Hour] 0 3 6 9 12 15 18 21 24 Time [Hour] 10 5 0 700 600 500 Ph Pb loh soc 1 0.5 Fig. 4. Data profiles (wind and solar) and energy price for intraday market (Source: _“Sotaventogalicia_ _dei_ _Mercati_ _Energetici_ _S.p.A._ _-_ _www.sotaventogalicia.com)”_ . Fig. 7. ESSs levels and net powers without consumers. 0.3 c <sup>price</sup> 700 600 500 ~~P~~ g 3 6 9 12 15 18 21 24 Time [Hour] 10 5 0 0 3 6 9 12 15 18 21 24 Time [Hour] 0.2 0.1 0 ~~P~~ h Pb Pg ~~P~~ s Preq loh <u>soc</u> 1 0.5 Fig. 5. Microgrid dispatched without external consumers. ESSs. In this configuration with the ESSs, the powers _Pd_, with _d_ _∈D_, are always positive, and all variables cannot be different from 0 at the same time. Their effect can be simplified by considering only two variables, defined as _Ph_ = _P_ pr _−_ _P_ co and _Pb_ = _P_ ch _−_ _P_ dc, which are the net hydrogen storage power and battery power, respectively. After meeting the load demand, any excess of renewable power is either shunted towards the electrolyzer for hydrogen production or the battery for the charge, while the consumption of hydrogen and the discharge are ON during low or nearly zero RESs hours. Fig. 7 presents the hydrogen devices’ powers, the battery power, the stored hydrogen in the tank, and the stored energy in the battery. It can be observed that the sold power revenues are maximized, depending on the energy price profile and the available power. As shown in Fig. 8, during the 24 hours except for the hours 12–18 and 22, the controller tends to sell as much as possible. Then, the controller tracks successfully the users’ requests and supplies the contractual loads. The control goal of the microgrid dispatched with FCEVs and BEVs is to track the requested hydrogen/electric load as a fuel for external consumers. For FCEVs and BEVs, the hydrogen production and the exchange of power with the BEVs have the unconditional highest priority among all objectives, respectively. In particular, at the first step, the requested forecast demand for external agents is addressed Fig. 8. Gird power without external consumers. through the minimization of the quadratic deviation from the expected hydrogen and electricity demands. Then, the ESSs’ operating costs, load tracking and the market participation are addressed by taking the optimal value of hydrogen level and the exchange of power with the BEVs as further constraints in the second step. Over the control horizon _T_, the exchange of energy and hydrogen correctly meets the requested demand by the external agents as shown in Fig. 9. _C._ _Comparison_ _with_ _literature_ _results_ In order to further demonstrate the paper’s findings, this section shows a comparison between the MPC method proposed in this paper and two pertinent literature-based techniques proposed in [19] and [7], respectively, by taking into account a 24-h scenario and a one-week scenario. The authors in [19] have proposed an MPC scheme for the optimal economic schedule of a hydrogen-based microgrid including hybridESSs and the ultracapacitor and then tested it at the University of Seville in Spain using a lab-scale microgrid. The degradation issues of the fuel cell, the electrolyzer, the ultracapacitor, and the batteries are included in the dynamic models. The degradation issues, however, are less detailed than our model, and, in particular, only the degradation issues caused by the OFF and the ON states are considered. The authors in [7], instead, have proposed an MPC approach for the management of grid-connected wind farms with HESS and local loads. 0 3 6 9 12 15 18 21 24 Time [Hour] 10 5 0 Preq c <sup>price</sup> Ps 3 6 9 12 15 18 21 Time [Hour] 10 5 0 20 15 10 5 700 600 500 Pexc Pev Hreq ~~H~~ loss Fig. 6. Load tracking without consumers. Fig. 9. Microgrid dispatched with external consumers. ON OFF 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Time [Hour] Fig. 10. Electrolyzer switches according to [19]. ON OFF 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Time [Hour] Fig. 11. Fuel cell switches according to [19]. The strategy increases revenue through participation in the electricity market while minimizing the number of switches between operating modes of the HESS. The controller has been tested at the Raggovidda wind park in Norway using a weekly connected-microgrid. However, the microgrid does not integrate PV panels, and then only wind is considered as the RES in the system. Moreover, in order to consider the slow response of the devices, the models proposed in these papers include virtual states, by increasing the number of decision variables, and then open-source solvers cannot be used. In order to ensure a rigorous comparison, the operation of the BESS, solar panels and external consumers are assumed to be disabled, since the authors in [7] have proposed a control strategy for a microgrid that includes only the HESS and wind farm. Moreover, for the comparison with [19], it is assumed that only the ON-OFF and OFF-ON transitions are permitted since the STB state is not included in their work. Moreover, it is important to highlight that the ON-OFF/OFF-ON transitions are characterized by higher costs than the OFF-STB/ON-STB ones. Figs. 10–15 show the state switches of the electrolyzer and the fuel cell in the 24-h scenario according to the controllers under investigation. It is possible to observe from Figs. 10 and 11 that the ON-OFF strategy in [19] leads to a greater number of ON-OFF switches compare to those shown in Figs. 14 and 15 which are determined according to the strategy proposed in this study. Similarly, from the comparison between Figs. 12 and 13 with Figs. 14 and 15, respectively, it derives that the strategy presented in [7] generates a larger number of ON-OFF switches compared to our proposed strategy which privileges switches to STB. As a consequence, the devices’ degradations are reduced and the devices’ lifespan is increased, when the proposed strategy is adopted. Table II reports the characteristics of the proposed strategy and those in [19] and [7] and summarizes the results of their comparison obtained with the one-week scenario. From the comparison, it follows that taking degradation aspects ON STB OFF 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Time [Hour] Fig. 12. Electrolyzer switches according to [7]. ON STB OFF 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Time [Hour] Fig. 13. Fuel cell switches according to [7]. into account allows for setting control references that reduce avoidable unit switchings, so as to preserve them from premature degradation and increase their lifespan. This results in maximizing the life span of such expensive devices while decreasing the states switching costs. In particular, when the switching costs and the degradation costs are accounted for in the optimization, the algorithm leads to a reduction in the operating costs by 25% (this estimated value will be verified on the physical plant, once the construction and commitment of the system are terminated) with respect to the case when they are neglected (this is the case of the revised literature). This reduction results in more than 1500 commutations saving per year. Moreover, it is important to highlight that for the controller proposed in this research study all the commercial and open-source solvers give successful solutions. ON STB OFF 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Time [Hour] Fig. 14. Electrolyzer switches according to this research study. ON STB OFF 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Time [Hour] Fig. 15. Fuel cell switches according to this research study. TABLE II COMPARISON OF THE PROPOSED MODEL WITH [19] AND [7] ACCORDING TO SIMULATION HORIZON. State switches (Day) State switches (Week) Ref States State switches (Day) State switches (Week) Solver Boolean Computation Electrolyzer Fuel cell Electrolyzer Fuel cell Tool variables time Tool <u>ON</u> <u>OFF</u> <u>STB</u> <u>ON</u> <u>OFF</u> <u>STB</u> <u>ON</u> <u>OFF</u> <u>STB</u> <u>ON</u> <u>OFF</u> <u>STB</u> <u>commercial</u> <u>open-sorc</u> [19] 2 11 13 - 16 8 - 89 79 - 96 72 - OPL-CPLEX ✓ 45 65 s [7] 5 13 4 7 16 3 5 81 44 43 88 44 36 CVXPY ✓ 100 55 s <u>Proposed</u> <u>3</u> <u>11</u> <u>3</u> <u>10</u> <u>14</u> <u>0</u> <u>10</u> <u>84</u> <u>13</u> <u>71</u> <u>71</u> <u>8</u> <u>89</u> <u>YALMIP</u> ✓ ✓ <u>33</u> <u>25 s</u> VI. CONCLUSIONS This work proposed a novel control strategy based on the MPC framework for a wind and solar microgrid, which includes HESS and BESS units, and the interaction with external consumers of hydrogen and electricity (FCEVs/BEVs). One of the main contributions of this paper is the development of a new MLD model for the ESSs’ operations, which is integrated into the control. Such a model has a less number of variables compared to the models in the literature, and then its complexity and computational time are reduced. In order to increase device lifespans and efficiency, an optimization problem, which includes the cost that the ESSs’ operation introduces at each state transition, is proposed. The validation of the control strategy has been carried out through numerical simulations, including different wind and solar scenarios. The proposed control allows one to increase the battery lifetime, and the maintenance costs reduce. The control strategy implemented in this paper will be integrated into the Khalifa University laboratory microgrid, which is currently under construction in Abu Dhabi, United Arab Emirates. Future works will also include more sophisticated MPC strategies, e.g., the stochastic MPC, to take into account the regulation service and uncertainties of the forecast loads. Finally, the relaxed signal temporal logic specifications will be used for encoding the MIP constraints in a formal language, which allows one to relax the logic decision variables as real numbers to further reduce the computation time. VII. ACKNOWLEDGEMENT This work was supported by Khalifa University of Science and Technology (KUST), Abu Dhabi, UAE, under Award CIRA-2021-063. REFERENCES [1] E. L. Gonz´alez, F. I. Llerena, M. S. P´erez, F. R. Iglesias, and J. G. Macho, “Energy evaluation of a solar hydrogen storage facility: Comparison with other electrical energy storage technologies,” _International_ _Journal_ _of_ _Hydrogen_ _Energy_, vol. 40, no. 15, pp. 5518–5525, 2015. [2] B. Hamad, A. Al-Durra, T. H. M. EL-Fouly, and H. H. Zeineldin, “Economically optimal and stability preserving hybrid droop control for autonomous microgrids,” _IEEE Transactions on Power Systems_, vol. 38, no. 1, pp. 934–947, 2023. [3] L. Valverde, F. Rosa, C. Bordons, and J. Guerra, “Energy management strategies in hydrogen smart-grids: A laboratory experience,” _Interna-_ _tional_ _Journal_ _of_ _Hydrogen_ _Energy_, vol. 41, no. 31, pp. 13 715–13 725, 2016. [4] M. F. Shehzad, M. B. Abdelghany, D. Liuzza, and L. Glielmo, “Mod eling of a hydrogen storage wind plant for model predictive control management strategies,” in _2019_ _18th_ _European_ _Control_ _Conference_ _(ECC)_, June 2019, pp. 1896–1901. [5] C. Bordons, F. Garcia-Torres, and M. A. Ridao, _Model_ _Predictive_ _Control_ _of_ _Microgrids_ . Springer, 2020. [6] A. Serna, I. Yahyaoui, J. E. Normey-Rico, C. de Prada, and F. Tadeo, “Predictive control for hydrogen production by electrolysis in an offshore platform using renewable energies,” _International_ _Journal_ _of_ _Hydrogen_ _Energy_, vol. 42, no. 17, pp. 12 865–12 876, 2017. [7] M. B. Abdelghany, M. F. Shehzad, V. Mariani, D. Liuzza, and L. Glielmo, “Two-stage model predictive control for a hydrogen-based storage system paired to a wind farm towards green hydrogen production for fuel cell electric vehicles,” _International_ _Journal_ _of_ _Hydrogen_ _Energy_, vol. 47, no. 75, pp. 32 202–32 222, 2022. [8] C. Bernardo and F. Vasca, “A mixed logical dynamical model of the Hegselmann–Krause opinion dynamics,” _IFAC-PapersOnLine_, vol. 53, no. 2, pp. 2826–2831, 2020. [9] M. Petrollese, L. Valverde, D. Cocco, G. Cau, and J. Guerra, “Real time integration of optimal generation scheduling with MPC for the energy management of a renewable hydrogen-based microgrid,” _Applied_ _Energy_, vol. 166, pp. 96–106, 2016. [10] F. J. V. Fern´andez, F. Segura Manzano, J. M. And´ujar M´arquez, and A. J. Calder´on Godoy, “Extended model predictive controller to develop energy management systems in renewable source-based smart microgrids with hydrogen as backup. Theoretical foundation and case study,” _Sustainability_, vol. 12, no. 21, p. 8969, 2020. [11] M. Pereira, D. Limon, T. Alamo, and L. Valverde, “Application of periodic economic MPC to a grid-connected micro-grid,” _IFAC-_ _PapersOnLine_, vol. 48, no. 23, pp. 513–518, 2015. [12] Z. Li, H. Dong, S. Hou, L. Cheng, and H. Sun, “Coordinated control scheme of a hybrid renewable power system based on hydrogen energy storage,” _Energy_ _Reports_, vol. 7, pp. 5597–5611, 2021. [13] F. H. Aghdam, N. T. Kalantari, and B. Mohammadi-Ivatloo, “A chance constrained energy management in multi-microgrid systems considering degradation cost of energy storage elements,” _Journal of Energy Storage_, vol. 29, p. 101416, 2020. [14] F. Garcia-Torres, C. Bordons, J. Tobajas, J. J. Marquez, J. Garrido-Zafra, and A. Moreno-Munoz, “Optimal schedule for networked microgrids under deregulated power market environment using model predictive control,” _IEEE_ _Transactions_ _on_ _Smart_ _Grid_, vol. 12, no. 1, pp. 182– 191, 2020. [15] L. Valverde, C. Bordons, and F. Rosa, “Integration of fuel cell technolo gies in renewable-energy-based microgrids optimizing operational costs and durability,” _IEEE_ _Transactions_ _on_ _Industrial_ _Electronics_, vol. 63, no. 1, pp. 167–177, 2015. [16] M. Daneshvar, B. Mohammadi-Ivatloo, K. Zare, and S. Asadi, “Trans active energy management for optimal scheduling of interconnected microgrids with hydrogen energy storage,” _International_ _Journal_ _of_ _Hydrogen_ _Energy_, vol. 46, no. 30, pp. 16 267–16 278, 2021. [17] A. Shafiqurrahman, B. S. Umesh, N. A. Sayari, and V. Khadkikar, “Electric vehicle-to-vehicle energy transfer using on-board converters,” _IEEE_ _Transactions_ _on_ _Transportation_ _Electrification_, vol. 9, no. 1, pp. 1263–1272, 2023. [18] N. Sulaiman, M. Hannan, A. Mohamed, P. J. Ker, E. Majlan, and W. W. Daud, “Optimization of energy management system for fuel-cell hybrid electric vehicles: Issues and recommendations,” _Applied_ _Energy_, vol. 228, pp. 2061–2079, 2018. [19] F. Garcia-Torres, C. Bordons, and M. A. Ridao, “Optimal economic schedule for a network of microgrids with hybrid energy storage system using distributed model predictive control,” _IEEE_ _Transactions_ _on_ _Industrial_ _Electronics_, vol. 66, no. 3, pp. 1919–1929, 2019. [20] H. Khani, N. A. El-Taweel, and H. E. Z. Farag, “Supervisory scheduling of storage-based hydrogen fueling stations for transportation sector and distributed operating reserve in electricity markets,” _IEEE_ _Transactions_ _on_ _Industrial_ _Informatics_, vol. 16, no. 3, pp. 1529–1538, 2020. [21] M. Nasir, A. Rezaee Jordehi, S. A. A. Matin, V. S. Tabar, M. Tostado V´eliz, and S. A. Mansouri, “Optimal operation of energy hubs including parking lots for hydrogen vehicles and responsive demands,” _Journal_ _of_ _Energy_ _Storage_, vol. 50, p. 104630, 2022. [22] A. M. Abomazid, N. A. El-Taweel, and H. E. Z. Farag, “Optimal energy management of hydrogen energy facility using integrated battery energy storage and solar photovoltaic systems,” _IEEE_ _Transactions_ _on_ _Sustainable_ _Energy_, vol. 13, no. 3, pp. 1457–1468, 2022. [23] A. S. Al-Buraiki and A. Al-Sharafi, “Hydrogen production via using excess electric energy of an off-grid hybrid solar/wind system based on a novel performance indicator,” _Energy_ _Conversion_ _and_ _Management_, vol. 254, p. 115270, 2022. [24] N. Rezaei and Y. Pezhmani, “Optimal islanding operation of hydrogen integrated multi-microgrids considering uncertainty and unexpected outages,” _Journal_ _of_ _Energy_ _Storage_, vol. 49, p. 104142, 2022. [25] S. S. Reddy, P. Bijwe, and A. R. Abhyankar, “Real-time economic dispatch considering renewable power generation variability and uncertainty over scheduling period,” _IEEE_ _Systems_ _Journal_, vol. 9, no. 4, pp. 1440–1451, 2014. [26] M. Elkazaz, M. Sumner, E. Naghiyev, S. Pholboon, R. Davies, and D. Thomas, “A hierarchical two-stage energy management for a home microgrid using model predictive and real-time controllers,” _Applied_ _Energy_, vol. 269, p. 115118, 2020. [27] S. S. Reddy and J. A. Momoh, “Realistic and transparent optimum scheduling strategy for hybrid power system,” _IEEE_ _Transactions_ _on_ _Smart_ _Grid_, vol. 6, no. 6, pp. 3114–3125, 2015. [28] X. Fang, W. Dong, Y. Wang, and Q. Yang, “Multiple time-scale energy management strategy for a hydrogen-based multi-energy microgrid,” _Applied_ _Energy_, vol. 328, p. 120195, 2022. [29] S. S. Reddy, “Optimal power flow with renewable energy resources including storage,” _Electrical_ _Engineering_, vol. 99, pp. 685–695, 2017. [30] ——, “Optimal scheduling of thermal-wind-solar power system with storage,” _Renewable_ _Energy_, vol. 101, pp. 1357–1368, 2017. [31] A. Merabet, A. Al-Durra, and E. F. El-Saadany, “Energy management system for optimal cost and storage utilization of renewable hybrid energy microgrid,” _Energy_ _Conversion_ _and_ _Management_, vol. 252, p. 115116, 2022. [32] ——, “Improved feedback control and optimal management for battery storage system in microgrid operating in bi-directional grid power transfer,” _IEEE_ _Transactions_ _on_ _Sustainable_ _Energy_, vol. 13, no. 4, pp. 2106–2118, 2022. [33] M. M. Samy and S. Barakat, “Hybrid invasive weed optimization particle swarm optimization algorithm for biomass/PV micro-grid power system,” in _2019 21st International Middle East Power Systems Confer-_ _ence_ _(MEPCON)_ . IEEE, 2019, pp. 377–382. [34] C. Mokhtara, B. Negrou, N. Settou, A. Bouferrouk, and Y. Yao, “Design optimization of grid-connected PV-hydrogen for energy prosumers considering sector-coupling paradigm: Case study of a university building in Algeria,” _International_ _Journal_ _of_ _Hydrogen_ _Energy_, vol. 46, no. 75, pp. 37 564–37 582, 2021. [35] C. Xu, Y. Ke, Y. Li, H. Chu, and Y. Wu, “Data-driven configuration optimization of an off-grid wind/PV/hydrogen system based on modified NSGA-II and CRITIC-TOPSIS,” _Energy_ _Conversion_ _and_ _Management_, vol. 215, p. 112892, 2020. [36] S. AlYahya and M. A. Irfan, “The techno-economic potential of saudi arabia’s solar industry,” _Renewable_ _and_ _Sustainable_ _Energy_ _Reviews_, vol. 55, pp. 697–702, 2016. [37] E. Gonz´alez-Rivera, R. Sarrias-Mena, P. Garc´ıa-Trivi˜no, and L. M. Fern´andez-Ram´ırez, “Predictive energy management for a wind turbine with hybrid energy storage system,” _International_ _Journal_ _of_ _Energy_ _Research_, vol. 44, no. 3, pp. 2316–2331, 2020. [38] F. I. Gallardo, A. Monforti Ferrario, M. Lamagna, E. Bocci, D. Astiaso Garcia, and T. E. Baeza-Jeria, “A techno-economic analysis of solar hydrogen production by electrolysis in the north of chile and the case of exportation from atacama desert to japan,” _International_ _Journal_ _of_ _Hydrogen_ _Energy_, vol. 46, no. 26, pp. 13 709–13 728, 2021. [39] M. Minutillo, A. Perna, A. Forcina, S. Di Micco, and E. Jannelli, “Analyzing the levelized cost of hydrogen in refueling stations with onsite hydrogen production via water electrolysis in the italian scenario,” _International_ _Journal_ _of_ _Hydrogen_ _Energy_, vol. 46, no. 26, pp. 13 667– 13 677, 2021. [40] M. G¨okc¸ek and C. Kale, “Techno-economical evaluation of a hydrogen refuelling station powered by wind-PV hybrid power system: A case study for <sup>˙</sup> Izmir-C¸ es¸me,” _International_ _Journal_ _of_ _Hydrogen_ _Energy_, vol. 43, no. 23, pp. 10 615–10 625, 2018. [41] M. B. Abdelghany, M. Faisal Shehzad, D. Liuzza, V. Mariani, and L. Glielmo, “Modeling and optimal control of a hydrogen storage system for wind farm output power smoothing,” in _2020 59th_ _IEEE Conference_ _on_ _Decision_ _and_ _Control_ _(CDC)_, 2020, pp. 49–54. [42] M. B. Abdelghany and A. Al-Durra, “A coordinated model predictive control of grid-connected energy storage systems,” in _2023_ _American_ _Control_ _Conference_ _(ACC)_, 2023. [43] A. Bemporad and M. Morari, “Control of systems integrating logic, dynamics, and constraints,” _Automatica_, vol. 35, no. 3, pp. 407–427, 1999. [44] F. Garcia-Torres, L. Valverde, and C. Bordons, “Optimal load sharing of hydrogen-based microgrids with hybrid storage using model-predictive control,” _IEEE_ _Transactions_ _on_ _Industrial_ _Electronics_, vol. 63, no. 8, pp. 4919–4928, 2016. Muhammad Bakr Abdelghany (Member, IEEE) received the B.Sc. degree (with distinction) in Computers and Systems Engineering and the M.Sc. degree in Electrical Engineering (specialization in computer-controlled systems) from the Faculty of Engineering, Minia University, Egypt in 2010 and 2015, respectively, and the Ph.D. degree in Systems and Control Engineering from the University of Sannio, Italy, in 2022. In 2010, he was a Teaching Assistant at the Department of Computers and Systems Engineering, Minia University, Egypt. Currently, he is a Postdoctoral researcher in the Electrical Engineering and Computer Science Department and on leave from the Faculty of Engineering, Minia University. His current research interests include control synthesis, cyberphysical systems, computer-controlled systems, green hydrogen production, renewable energy systems, and embedded systems. He has supervised/cosupervised 5 Master students. Ahmed Al-Durra (Senior Member, IEEE) received the B.Sc., M.Sc., and PhD degrees in Electrical and Computer Engineering from Ohio State University in 2005, 2007, and 2010, respectively. He is the Associate Provost for Research and Professor in the Electrical Engineering and Computer Science Department at Khalifa University, UAE. His research interests are applications of control and estimation theory on power systems stability, micro and smart grids, renewable energy systems and integration, and process control. He has over 300 scientific articles in top-tier journals and refereed international conference proceedings. He has supervised/co-supervised over 30 PhD/Master students. He leads the Energy Systems Control and Optimization Lab under the Advanced Power and Energy Center. He is an Editor for IEEE Transactions on Sustainable Energy and IEEE Power Engineering Letters, and Associate Editor for IEEE Transactions on Industry Applications, IET Renewable Power Generation, and IET Generation Transmission and Distribution. Prof. Fei Gao (S’08 - M’10 - SM’15 - F’23) is currently the Deputy Director of the French CNRS research institute FEMTO-ST and a Full Professor at the School of Energy and Computer science of the University of Technology of Belfort-Montbeliard (UTBM) in France. He received from UTBM the PhD degree in renewable energy with distinguished Youth Doctor Award in 2010. His main research fields include fuel cells for transportation and realtime simulation technology for modern power electronics and energy systems. Prof. Gao is a Fellow of IEEE and IET. He is the recipient of 2020 ”IEEE J. David Irwin Early Career Award” from IEEE Industrial Electronics Society, 2022 “LeonNicolas Brillouin Award” from SEE France, and 2022 industrial “Sustainable Future Visionary Award” from Typhoon HIL. Prof. Gao is a Distinguished Lecturer of IEEE Industry Applications Society. He is the Editor-in-Chief of IEEE Industrial Electronics Technology News, and the Deputy Editor-inChief of IEEE Transactions on Transportation Electrification. He currently serves as the Technical Activities Committee Chair of IEEE Transportation Electrification Community, the Vice-Chair of the Technical Committee on Electrified Transportation Systems of IEEE Power Electronics Society and the Secretary of Industrial Automation and Control Committee of IEEE Industry Application Society.

섹션 본문 105문단 · 49,317자

(제목 없음)

1The hybrid-energy storage systems (ESSs) are promising eco-friendly power converter devices used in a wide range of applications.However, their insufficient lifespan is one of the key issues by hindering their large-scale commercial application.In order to extend the lifespan of the hybrid-ESSs, the cost functions proposed in this paper include the degradation of the hydrogen devices and the battery.Indeed, this paper aims to develop a sophisticated model predictive control strategy for a grid-connected wind and solar microgrid, which includes a hydrogen-ESS, a battery-ESS, and the interaction with external consumers, e.g., battery/fuel cell electric vehicles.The integrated system requires the management of its energy production in different forms, i.e., the electric and the hydrogen ones.The proposed strategy consists of the economical and operating costs of the hybrid-ESSs, the degradation issues, and the physical and dynamic constraints of the system.The mixed-logic dynamic framework is required to model the operating modes of the hybrid-ESSs and the switches between them.The effectiveness of the controller is analyzed by numerical simulations which are conducted using solar and wind generation profiles of solar panels and wind farms located in Abu Dhabi, United Arab Emirates.Such simulations, indeed, show that the proposed strategy appropriately manages the plant by fulfilling constraints and energy requests while reducing device costs and increasing battery life.

2of energy management systems (EMSs) based on renewable energy sources (RESs).Indeed, RESs, particularly wind and solar power, utilization has substantially grown in the past decades and a further increase is expected in the future to reduce greenhouse gas emissions [1], [2].However, their sporadic nature impacts both the power quality and the economic competitiveness of energy supply systems equipped with both renewable and conventional sources.The support of short-term and long-term energy storage systems (ESSs) technologies is required for the integration of RESs in the main grid [3], [4].However, due to low energy density and self-discharge, battery-ESSs (BESSs) can be used only for short-term storage [5].Among the different long-term ESS technologies, the use of hydrogen-ESSs (HESSs) emerges as one of the most exciting options since it is environmentally friendly, and with high energy density [3].Hydrogen is produced through electrolysis, stored in storage tanks, and re-electrified by fuel cells for meeting electric and contractual demands.

3The so-called microgrids, given by the combination of RESs with ESSs, require the deployment of control strategies that take into account equipment limitations, degradation, and costs.This research study focuses on providing control solutions based on the model predictive control (MPC) framework [6], in which the devices are modeled by using the mixed logical dynamical (MLD) formulation [7], [8].Several strategies have been proposed in the literature for the management of HESSs and BESSs integrated with RESs.

4With respect to the equipment operation and maintenance costs, for instance, an MPC strategy in which both the short-and long-term optimal planning of a microgrid comprising RESs, a HESS, and a BESS has been considered in [9].The work shows that the strategy satisfies the electrical load demand while minimizing the microgrid running costs.Moreover, the maximization of the hydrogen devices' lifespan has been included in [10], where an MPC policy to control a RES hydrogen-based microgrid has been designed and experimentally tested by computing the equipment degradation at each time interval.In [11], an MPC strategy that takes into account cost optimization and equipment damage has been proposed.The approach limits the intensive use of electrolyzers and fuel cells by constraining the devices to operate within the minimum and the maximum power values.In [12], a coordinated control method for a hybrid large-scale RES based on HESS has been implemented to guarantee the optimal operation of the system.The authors in [13] have designed a stochastic multi-microgrid EMS, based on a chance-constrained programming strategy, which takes into account the uncertainties of the forecasted loads.In particular, the cost functions address the frequent charging/discharging cycles, which represent a major factor in battery life cycle reductions.However, in these papers, neither the degradations are considered, nor the hydrogen devices' short-term features, i.e., the cold and warm starts, and their standby consumptions, are taken into account.This is, instead, one of the key aspects included in the strategy proposed in this research study.

5Regarding revenue maximization via the energy market participation, in [14], an MPC strategy has been developed to optimally control the network of interconnected hydrogen-driven microgrids with different ESSs under failure conditions.A control strategy has been implemented in [15] to meet userrequested electric reference by taking into account the devices' life degradation, and the costs related to the HESS acquisition, the electricity export/import to/from the grid, and the operation and the maintenance of the overall system.Other MPC strategies have been presented in the literature for the optimal economic schedule and management of microgrids by considering economic and environmental aspects, see for instance [16].In the aforementioned papers, the authors have presented their studies with regard to the energy market participation, however neglecting the devices' cold and warm starts and/or minimum ON/OFF times constraints which affect their lifespans and short time scale dynamics.

6In general, microgrids can exchange energy in the local market with external agents, such as other microgrids, aggregators, or battery/fuel cell electric vehicles (BEVs/FCEVs) [17], to improve their economic benefits [18].In [19], the problem of microgrid economic dispatch and interaction with external agents has been analyzed.By taking into account the energy price predictions and the forecasts of the production, the internal resources of the microgrid are optimally distributed in the day-ahead energy market.A novel supervisory-based model for the optimal scheduling of distributed HESS fueling stations for tracking the external consumers of hydrogen and electricity has been provided in [20].A multi-objective mixed integer linear programming (MILP) framework based on the uncertainty related to the demand, prices, and wind speed for the design of an energy hub including parking areas of hydrogen vehicles has been developed in [21].An optimal scheduling strategy for the energy management of a microgrid including solar panels paired with a HESS and integrated BESS units has been proposed in [22] to satisfy electric and hydrogen demands requested by the industrial hydrogen facility.The authors in [23] have developed a hybrid RES paired with combined ESSs (BESS and HESS) in order to track the requested load of a typical residential house in Dhahran city, KSA, and to produce hydrogen as a fuel for hydrogen vehicles.In [7], a strategy controls a grid-connected wind farm including a HESS, which both meets electric and contractual loads and produces hydrogen as a fuel for FCEVs.Similar to this research study, the latter uses MPC with MLD for devices' models and minimizes the devices' operating costs; however, in [7], a wind-microgrid integrated only with a HESS has been considered, and virtual states have been taken into account in the devices' models by increasing the number of Boolean variables and, consequently, their complexity.Apart from the latter, to the best of the authors' knowledge, the literature seems to not address exactly the combination of different features, as in this article.

7The literature on optimization under uncertainties shows that stochastic programming is considered a suitable method for dealing with uncertainties.In particular, stochastic techniques have been proposed in the literature to reduce operating costs and/or emissions of smart grids and microgrids.As a relevant example among others, a contingency-constrained optimal operation model for a multi-microgrids system has been addressed in [24], where the authors have designed a scenario-based approach to integrate multiple uncertainties, e.g., electrical storage, and demand response resources, to reduce the operating costs.The authors in [25] have developed a real-time economic dispatch with static snapshot forecast data to evaluate the best-fit by considering the minute-to-minute variability of solar, wind, and load demand.The paper offers a robust optimization approach that accounts for the techno-economic uncertainties of hydrogen-based power plants.In order to control the load sharing of a solar microgrid paired with hybrid-ESSs and battery packs, an MPC algorithm that includes the degradation issues of the batteries has been developed in [26].In [27], a genetic algorithm and two-point estimate methods have been used for the best-fit day-ahead schedule and coupled with a controller for a hybrid power system including the impact of uncertainties in RESs (wind and solar) and load forecasts.In order to minimize the operational costs of a multi-energy microgrid, a multiple time-scale EMS based on the MPC framework for a HESS multi-energy microgrid which considers forecasted uncertainties regarding the fulfillment of different demands, e.g., electricity, hydrogen, and heating, has been developed in [28].Moreover, in [29], [30], an optimal scheduling power flow problem considering RESs paired with an ESS that takes into account the uncertainties of RESs and load forecasts has been designed.Contrary to the aforementioned mentioned papers, in this study wind power and solar power represent uncontrollable exogenous signals for the controller.In particular, it is assumed that the owners of the wind farms and solar panels provide the best-fit day-ahead schedule to the controller, after taking into account the uncertainties in wind, solar photovoltaic (PV), and load forecasts.Therefore, estimations predicted with statistical, stochastic or machine learning approaches are out this paper's scope.

8Heuristics and meta-heuristics techniques are also proposed in the literature.In particular, the genetic algorithm, the particle swarm optimization (PSO), the duelist algorithm, the simulated annealing, and the ant colony optimization are the most adopted heuristic algorithms.An advanced battery-based EMS has been proposed in [31] to reduce running costs by integrating a backup source that provides power supplies on the basis of energy market profiles.Moreover, an improved feedback controller and optimal EMS for BESS based on online optimization have been developed in [32] in order to reduce battery degradation and enhance its lifespan.An energy system with PV and biomass using both invasive weed optimization and PSO has been proposed in [33] to supply the electric demand from a farm located in Alexandria, Egypt.The authors in [34] have studied a strategy for both transportation and building sectors based on a meta-heuristic PSO to guarantee the independence of a university located in Ouargla, Algeria, through the production of hydrogen and power.Moreover, a data-driven approach based on hierarchical multi-objective optimization has been provided in [35] to determine the optimal sizing of an energy system with PV and wind energy.Contrary to the aforementioned mentioned papers, this study uses numerical commercial solvers for the mixed integer programming (MIP) optimal problems, where heuristic approaches are not adopted.

9The production and utilization of renewable energy have many economic advantages, which are investigated in the literature.In this regard, in [36], a comparison of six renewable power generation systems in different areas of Saudi Arabia has shown that the lowest cost of energy can be achieved using hybrid-RESs (PVs and wind) with battery storage systems.As further examples of techno-economic analysis, in [37], MPC implemented solutions for the optimal economic dispatch of renewable generation units and demand response have been proposed in a grid-tied hybrid system.Moreover, a comprehensive techno-economic analysis of the solar hydrogen production supply chain by concentrated solar power plants with thermal energy storage with different energy supply schemes has been proposed in [38].A techno-economic analysis of on-site hydrogen refueling stations based on grid-connected PVs coupled with HESSs has been provided in [39], where the levelized cost of hydrogen has been determined for all configurations through the estimation of operational and maintenance costs, investment costs and replacement costs.Another analysis has been carried out in [40] to study the fulfillment of the demand from 25 vehicles by a hydrogen station located in Turkey and powered by a hybrid (PVs and wind) power system.The literature revised above either ignores the high equipment costs or, if it does, the ESSs degradation models are oversimplified.This is one of the main points of the study, which proposes an ESSs model by taking into account both their equipment working modes/switches and their operational constraints.

10In all the aforementioned studies, according to the authors' knowledge, the short-and long-term optimal energy management of both the HESS and the BESS that simultaneously takes into account devices degradation, start up/shut down and standby cycles, limitations of the ESSs, and operational and maintenance costs have not yet been addressed.Moreover, in this paper, the production/consumption of hydrogen, and the battery charge/discharge are modeled such that the warm-start and the cold-start processes required by the devices before some state switches are captured.As a result, the model does not explicitly include the two virtual states introduced in [7], [41], and then the number of variables involved reduces.The contributions of this study are:

111) the development of a novel MLD model for ESSs' operations which includes logical variables corresponding to the possible states and their switches, and further Boolean variables, called waiting actions, for safe state switches.The less number of Boolean variables in the proposed model with respect to the models proposed in the literature results in a reduction of complexity and computational costs; 2) the application of the MPC approach to reduce operation and maintenance costs, and simultaneity to minimize the energy exchanged with the grid for high levels of autonomy; 3) the management of the exchange of energy between the microgrid and external agents, such as the BEVs and FCEVs.

II. GENERAL OPERATIONS OF ENERGY PLANT

12In the energy plant under investigation, wind and solar are the main energy sources.As shown by the conceptual representation in Fig. 1, the components of the system are the wind farm, the PV panels, two different ESSs (HESS and BESS), hydrogen loads, external consumers (FCEVs and BEVs), local and contractual loads.In turn, the HESS includes a tank, an electrolyzer, and a fuel cell.In the figure, P w , P pv and P ev denote the power generated by the wind farm, PV panels and BEVs, respectively, P pr is the input power given to the electrolyzer, P co is the output power from the fuel cell, P b is the battery power, P req is the requested load, P s and P g are the available system and the grid powers in the system, respectively.The available electricity is used to satisfy load requests.Any excess of energy is used by the electrolyzer, which produces hydrogen that will be stored in the tank, or by the BESS, which charges its battery storage.Then, in low or nearly zero wind/solar hours, the stored hydrogen is re-electrified by the fuel cell and/or the energy in the battery is delivered to loads.These operations require the development of control strategies that operate the devices to provide smooth power injection into the main grid, manage uncertainties, participate in the electricity and hydrogen local consumption and integrate external agents in the microgrid.

13The main purposes of the integrated system are to supply the local load both in islanded (i.e., without grid support) and in connected (i.e., with grid support) modes, and to interact with external consumers, e.g., BEVs and FCEVs.As a result, four possible modes are considered: the islanded mode, the grid-connected mode, interaction with BEVs, and interaction with FCEVs.However, the four different architectures feature the common target of minimizing the ESSs' operating costs.The developed hierarchical controller (primary level, secondary level and tertiary control) will be deployed onto the management platform of the hybrid-ESS which is paired to the wind farm and solar panel established in Abu Dhabi, UAE within the funded project CIRA.According to the project, three control scenarios have to be developed and, in our manuscript, we have implemented only the first one to be integrated with the other two scenarios in future developments.In particular, the first control scenario is related to the design of the tertiary control to optimize the power flow between the components of the microgrid (RESs + hybrid-ESSs) and the main grid on large time scales (planning and scheduling) by an online solution of an optimal control problem that provides the current optimal control action by minimizing an objective function.However, our research study targets how the active power is dispatched within the microgrid, according to the proposed criteria, and the reactive power dispatch among the distributed generations is out this paper's scope.

III. SYSTEM MODELING

14The modeling of the system under investigation is the first step in the implementation of the model-based control strategy for the operations modes.The proposed strategy consists of the economical and operating costs of the hybrid-ESSs, the degradation issues, and the physical and dynamic constraints of the system [42].Since the formulation deals with both logic and continuous variables, the MLD framework is required to model the operating modes and the switches between them characterizing the hybrid-ESSs.

A. Preliminaries and Notation

15In this section, we introduce notations and standard assumptions that will be used throughout the paper.Some models used by the MPC strategy are built upon automata.The tags OFF, STB, and ON are used to label their states, and it is useful to define the state set S = {OFF, STB, ON}, the operation set D = {pr, co, ch, dc}, and the transaction set T = {(OFF, STB), (OFF, ON), (STB, OFF), (STB, ON), (ON, OFF), (ON, STB)}.Furthermore, the subscript d identifies a particular operation of ESSs, i.e., d = pr, d = co, d = ch, and d = dc refer to the operation of the hydrogen devices (electrolyzer and fuel cell) and BESS operations (charging and discharging), respectively.Moreover, α and β are two generic indices that take value in S; when α and β are used in conjunction, it is assumed that α = β.The logic variables used in the model are

16and mixed variables are νs with some superscript, e.g., ν α , given by P d Γ α d , with P d ∈ R + .General bold is used to denote vectors.Note that the proposed models are in discrete time k, and the mapping to the continuous time t can be derived through t = kT s , with T s = 1h is the sampling time.

B. Model of Energy Storage Systems

17The on, off, and standby modes are the three physical states in which the HESS and BESS can operate.As Fig. 2 shows, each operation of the ESSs (production and consumption of hydrogen for the HESS; charge and discharge for the BESS) can be represented by a three-state automaton with the state set S = {OFF, STB, ON} and the transaction set T = {(α, β) ∈ S × S | α = β}, where (α, β) denotes the transition from the state α to the state β.As a result, four automata are required, one for each of the considered operations.The nodes refer to the states of the devices, while the edges indicate the state transitions.The state is ON when the electrolyzer (fuel cell) is producing (consuming) hydrogen and the BESS is charging/discharging; the state OFF corresponds to the opposite situation, i.e., the hydrogen device is not producing/consuming hydrogen and the BESS is not charging/discharging; the state STB denotes the case in which the device is consuming electric power even if its corresponding operation is not active.In order to consider the slow response of the devices, the transitions (OFF, STB) and (STB, ON) require a waiting action, called cold-start and warm-start processes, respectively.Due to the waiting actions, the transition (OFF, ON), denoted by the dashed edge, is not allowed.

18The automata can be described through logical and continuous variables, according to the MLD framework [43].Then, for the state α ∈ S of the automation related to the operation d ∈ D, the logic variable Γ α d is defined such that Γ α d (k) = 1 if the automaton for the operation d is in the state α at the time-step k, and Γ α d (k) = 0 otherwise.Similarly, for the transition (α, β) ∈ T of the automation related to the operation d ∈ D, the logical variable Δ β α,d is defined such that Δ β α,d (k) = 1 if the automaton for the operation d switches from the state α to the state β at the time-step k, and Δ β α,d (k) = 0 otherwise.1) MLD Constraints for the State Actions: As already discussed, some state transitions are subject to their corresponding waiting actions due to the slow response of the devices.In order to take into account these actions, it is useful to define for each state a further logical variable

19These constraints are now equivalently rewritten in linear inequalities [43] to be included in numerical solvers.To this aim, each left-side expression in ( 1) is defined by introducing the two logical variables ν ≥ξ m and ν ≤ξ M , as follows

20where

21According to the MLD equivalences in [43], the definitions in (2) are equivalent to

22where M is an upper bound of P d , and −M is its lower bound.Then, each constraint in (1) is rewritten as

23Moreover, the intentions to stay in a state are mutually exclusive, i.e., α∈S

242) MLD Constraints for the State Transition: The logical variables Γ α d and Δ β α,d are derived by the variables Υ α d .Indeed, the transitions (OFF, STB) and (STB, ON) are enabled only after a fixed time interval which is necessary to execute the cold-start and the warm-start processes.This constraint can be described by introducing the following definitions

25) where τ c and τ w are the time intervals for the cold-start and warm-start processes, respectively.The definition in (6a) is equivalently converted into the following inequalities

26and the definition in (6b) can be rewritten as a set of inequalities in a similar fashion.The remaining allowed transitions, instead, do not require a waiting action and are defined as

27for all (α, β) ∈ T \ {(OFF, STB), (STB, ON), (OFF, ON)}.

28The expression above is equivalent to

29Moreover, in order to model the inadmissibility of the transition (OFF, ON), it is Δ ON OFF,d (k) = 0 for all d ∈ D and all time-steps k.In addition, for all d ∈ D the condition

30has to be considered due to the fact that at most one transition can occur at each time-step.

313) MLD Constraints for the States: Finally, the state variables Γ α d are obtained from the transition variables Δ α β,d as

32According to this definition, the automation is set to α if at k − 1 the state was not α and at the current time one of the two transitions pointing to α is enabled, or if at k − 1 the state was α, there are no enabled transitions and the state remains unchanged.

33The definition above can be rewritten as

34Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

35In (11), the product of two logical variables makes the problem nonlinear, and it must be introduced a further logical variable

36which is recast as the following set of inequalities

37Finally, the operations of the electrolyzer and the fuel cell are not interconnected, i.e., the production and the consumption of hydrogen can occur at the same time.On the other hand, the charging and discarding are mutually exclusive, and then the further constraint

38must be considered.

C. Power Exchanged With the Utility Grid

39In the system, the electricity can be both purchased from and sold to the grid.Then, the logical variable Θ g is defined such that Θ g (k) = 1 if the system interacts with the grid at the time-step k, and Θ g (k) = 0 otherwise.In particular, based on the definition in [7], it is

40where P g is the grid power that defines the possibility to either buy from (if P g (k) > 0) or sell energy to (if P g (k) < 0) the utility grid.The definition ( 15) is equivalent to

41which can be rewritten by introducing two logical variables Θ sell and Θ buy defined as

42The logical expressions (17a) is equivalent to

43which can be recast by the following inequalities

44where M g is an upper bound of P g (k), −M g is a lower bound of P g (k), and is a small positive number which is usually set equal to the machine precision.The definition in (17b) can be rewritten in a similar way.In order to define the interaction with the utility grid, the slack variables ν sell and ν buy are defined as

45The product variable ν sell can be recast as

46and ν buy can be recast in the same way of ( 21).

47The technique adopted for transforming the (nonlinear) mixed product in (20a) in the equivalent mixed-linear formulation (21) can be used for the other mixed products; for the sake of brevity, the repetition of such transformation will be not reported for other analogous cases later in the paper.

D. Hydrogen Storage System

48The dynamics of the stored hydrogen H in the tank is

49where the logical power auxiliary variables of the electrolyzer and the fuel cell ν e (k) = P pr (k)Γ ON pr (k) and ν f (k) = P co (k)Γ ON co (k) are required to hide the non-linearity introduced by the product of two decision variables.The auxiliary variables can be written as linear constraints as reported in [43].η e and η f are the efficiencies of the HESS devices, T s is the sampling time, and H ls (k) models the use of the stored hydrogen for supplying demand from external agents.

E. Electrical Storage System

50The dynamics of the stored energy in the BESS is given as a function of the stored energy at the previous time-step and the power P b (k) exchanged with the storage units during its charging and discharging.The activation of charging and discharging modeled by the Boolean variables Γ ON ch and Γ ON dc , respectively, depends on the sign of P b (k) (positive when discharging and negative when charging), i.e.,

51According to the MLD framework, the definition in ( 23) can be equivalently rewritten in terms of linear inequalities.Moreover, charging and discharging affect the dynamics of the stored energy through different efficiencies, namely η c and η d , respectively [19], by resulting in

52where soc(k) denotes the stored energy at the time-step k, c max is the maximum storage capacity,

53Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

54ν dc = P b (k)Γ ON dc (k) are such that the power P b (k) exchanged with the storage unit is defined as P b (k) = ν dc (k) − ν ch (k).Note that the charging and discharging efficiencies η c and η d can be possibly updated when a significant deviation with respect to the current adopted values is measured.

F. Power Balance Constraint

55The power balance at a given time-step k is (25) where P re = P w + P pv , P b = ν d − ν c and P h = ν e − ν f are the RES power, the BESS power, and the net-hydrogen storage power, respectively, P g is the exchange power with the grid and P s is the available power in the system.In order to model the batteries of EVs, the slack variable ν ev = P ev δ ON ev has to be considered, where δ ON ev is a logical variable such that δ ON ev (k) = 1 if the BEV is connected as external consumer and δ ON ev (k) = 0 otherwise.Note that the batteries of BEVs are modeled similarly to the BESS in (24) but with the addition of the logical variable δ ON ev .

G. Physical Constraints

56The hydrogen devices, the stored hydrogen in the tank, and the stored power in the battery have to keep within the minimum and the maximum constraints, i.e.,

57where P min d , P max d , with d ∈ D, H min , H max , soc min , and soc max are the minimum and the maximum bounds of the power of the hydrogen devices (electrolyzer and fuel cell), the power of the battery (charging and discharging), hydrogen tank, and battery storage, respectively.It is worth to highlight that the constraint (26c) introduces a further dependence between soc(k) and the battery power P b (k) since P b (k) must be such that the BESS must operate in a range of soc(k) values to avoid over and undercharging that remarkably reduce the number of admissible cycles.

IV. CONTROL STRATEGY

58The adoption of ESSs allows to cope with the uncertainty of the RESs and enables additional services, e.g., the injection of smooth power.Hence, the control architecture distinguishes between the microgrid in the intraday market when no energy/hydrogen is exchanged with external consumers and the microgrid with external consumers, where additional costs are included for the optimal tracking of their requests.

A. Cost Functions

59This section presents the cost functions included in an optimization problem for the requirements of the controller.In order to improve the readability, it is useful to define the set M = {1, 2, . . ., 24} containing the samplings considered in the proposed control, which derive from the sample time of 1 h.

1) Grid Cost Function:

60The grid cost function is related to the possibility to either buy from (if P g (k) < 0) or sell energy to (if P g (k) < 0) the utility grid.The possibility to participate to the electricity markets can be leveraged to maximize the energy selling revenue or economical energy buying cost from the main grid.Then, the cost function for selling/buying energy to the main grid is given by

61where T s is the sampling time, k is the current time instant, j = 0, 1, . . ., T − 1 accounts for future time instants, T is the discrete time optimization horizon, and ν sell and ν buy are given in (20) to model the possibility of purchasing/selling energy from/to the utility grid during market operations at time-step k over the control horizon H, respectively, and c sell and c buy are the corresponding energy prices.It is important to highlight that the purpose of the intraday market is to handle electricity transactions for the following day through the presentation of electricity bids by market participants.

2) Hydrogen Operating Cost Functions:

62The hydrogen operating cost functions are related to the operation of the hydrogen devices (electrolyzer and fuel cell).In order to tackle their expensive costs, the life cycles are defined based on the number of working hours and state switches.To save devices' lifetime and consequently enhance cost saving, not only the working hours for the hydrogen devices have to be minimized, but the devices' startup/shutdown/standby cycles and the fluctuations in the operation conditions are also included since operational switchings prematurely reduce the life of the devices.Consequently, the hydrogen operating cost functions are the combination of three terms: the hydrogen devices' working costs, the degradation cost of the devices associated to their switching and the energy spent in keeping the units warm during the standby mode.Hence, the cost functions can be defined as follows

63For the reader's convenience, the term

64, with o ∈ {pr, co}, accounts for the devices' operating power only at their ON states, according to the replacement and maintenance costs (c rep o and c OM o ) associated to their cycles lifespan (NH o ).The term c α β Δ α β,o (k + j), with α, β ∈ A and β = α, accounts the working switches from α to β for each device, according to the cycle cost of the state transition from α to β, denoted by c α β .The third term P α o π sp (k + j)Γ α o (k + j)T s represents the energy spent to keep the devices warm in their standby mode, according to the power spot price π sp .

653) Load Tracking Cost Function: The load tracking cost function is included in the optimization algorithm to take into account the tracking of the forecasted electric reference demand.Such a function is defined by the cumulative square error between the available system power and the reference signal, as follows

66where P s and P req are the available power in the system and the requested load, respectively.

4) Hydrogen Tracking Cost Function:

67The hydrogen tracking cost function is related to the satisfaction of requests by the external hydrogen consumer, i.e., FCEVs.In particular, the stored hydrogen in the tank is used to meet the external hydrogen consumer requests H req with a free decision variable H ls .Hence, the corresponding cost function is given by

5) Energy Exchanging With BEVs Cost Function:

68The cost function of the energy exchange process with BEVs is given by

69where ν ev is the final exchange of power delivered by the demand of BEVs and P exc is the initial requirement of power from external agents.

6) Battery Cost Function:

70The battery cost function is related to the lifetime of the battery, which can be expressed as a function depending on the number of working hours.However, to save devices' lifetime, not only the working hours for the battery storage system is minimized, but the fluctuations in the operation conditions are also included since operational switchings prematurely reduce the life of the device.Therefore, the battery cost function is expressed as

71where c bat is the battery capital cost, N cyc b is the battery working cycles, c deg ch and c deg dc are the battery degradation costs for charging and discharging, respectively, and c α β are the device cycle costs associated to the corresponding logic states transition.Focusing on the battery cost function, it is possible to recognize that the first two terms are similar to the corresponding ones in the hydrogen operation cost function.The last terms, instead, are introduced to avoid high-stress ratio in the charging and discharging process.It is important to highlight that the slack variable ν ON = P (k + j)Γ ON (k + j), with ∈ {ch, dc}, is required to hide the non-linearity introduced by the product of two decision variables.

B. MPC Algorithm

72The control strategy is based on the MPC framework [43], whose architecture is shown by the conceptual block in Fig. 3.In the diagram, the vectors u u u 0 and u u u in and the matrix U U U include the initial conditions, the inputs and the outputs of the proposed controller, respectively.According to the MLD framework, for a given time-step k, the cost functions are minimized and the corresponding optimal control sequence is determined for j = 0, . . ., T − 1 steps ahead, where T is the control horizon, but only the first sample of the control sequence is applied to the system before the horizon is advanced one step.The purpose behind choosing MPC policy is to simultaneously handle constraints, delays and system disturbances that may occur on the plant even though they have not been explicitly modeled.The proposed control compares for the following day the forecasts of the RESs power P re and load demand P req , and computes the optimal scheduling of the devices, the evolution of the hydrogen level H and the state of charge soc for the next few hours.Then, the references determined by the MPC strategy will be used in the secondary control layer to compensate for any deviations of the real-time renewable generations and electricity demand from the forecasted one in short term.

73In the controller, the set of the decision variables at the generic step k + j is given by

74where State transition constraints ( 7)-( 10), State constraints ( 13)-( 14), Utility grid constraints ( 19)-( 21), HESS dynamics (22), BESS dynamics (24), Power balance constraint (25), Physical constraint (26), (34) where the global cost function J GF (k + j) is given by J GF (k + j) = ω g J g (k + j) + ω pr J pr (k + j)

75+ ω exc J exc (k + j), (35) with J g (k + j), J pr (k + j), J co (k + j), J b (k + j), J t (k + j), J H (k + j) and J exc (k + j) are the grid cost, the hydrogen devices operating costs, the battery cost, the load tracking cost, the hydrogen tracking cost and the energy exchanging with BEVs cost function as defined in ( 27), ( 28), ( 32), ( 29), ( 30) and (31), and ω g , ω pr , ω co , ω b , ω t , ω H and ω exc are suitable weights selected through numerical simulations to define a trade-off between goal satisfaction, power consumption and equipment degradation.The optimal sequence of the problem in ( 34) is given by Ĥ * k = {H * k , H * k+1 , . . ., H * k+T −1 }, where H * k is the optimal value of H k at the time-instant k + j.By receding the horizon, only the first optimal control input from the optimal sequence is set to the energy storage systems.For the sake of clarity, Algorithm 1 explains the working of the proposed MPC approach.

V. SIMULATION RESULTS

76The proposed controller has been tested through simulations that take into account wind and solar profiles, and electric and hydrogen loads.Because of the connection with the main grid, the energy market price profile is considered too.The numerical results show that the proposed controller is able to correctly satisfy the overall system constraints and achieve the set control objectives of the research under study.The analysis and the experimental validation are conducted through simulations according to the considered control.

A. Simulation Setup

77In order to satisfy the validation of the proposed control in this research study, the control horizon, simulation horizon, sampling time, and the main characteristics of the device parameters have to be defined.Firstly, the controller sampling time is chosen as T s , synchronized with the RESs installed at the integrated system, located in the United Arab Emirates.Likewise, for the coupled hybrid-ESSs along with the RESs, a prediction horizon of N hours is used in the MPC to store/charge or consume/discharge hydrogen/power through the hydrogen tank/battery without violating the storage hard physical constraints.A longer prediction horizon can also be selected, but the increased prediction horizon results in high computation time.Therefore, a choice of N hours is selected based on the trade-off between the feasible solution and the computation time.For the day-ahead market, numerical results are conducted over the simulation horizon of 24h with a sampling time of 1h for the utility grid interaction.Table I summarizes the main characteristics of the device parameters.Since the control strategy implemented in this paper will be integrated into the Khalifa University laboratory microgrid, which is currently under construction in Abu Dhabi, United Arab Emirates, data from the literature are adopted for the parameters not yet defined.The simulations have been carried out in MATLAB with YALMIP tool and GUROBI optimizer, and the optimization problem of the microgrid under investigation is solved in 25s on a PC with an Intel Xeon (R) W − 2245HQ 3.9 GHz with 128 GB RAM.Fig. 4 shows the requested load, the RES power, and the price profile considered in the scenario.

B. Case Study

78The control goal of the microgrid dispatched without external consumers is to meet the requested load and participate in the electricity market.Fig. 5 provides a summary of the strategy's effectiveness by showing that the proposed controller allows the achievement of the ESS optimal behavior.Particularly, in Fig. 5, it is possible to see that the available system power is adequately filtered when tracking the reference.The correct working of hydrogen devices and batters depends on the power surpluses or the deficit scenarios explained with the help of power flow towards or from the ESSs.In this configuration with the ESSs, the powers P d , with d ∈ D, are always positive, and all variables cannot be different from 0 at the same time.

79Their effect can be simplified by considering only two variables, defined as P h = P pr − P co and P b = P ch − P dc , which are the net hydrogen storage power and battery power, respectively.After meeting the load demand, any excess of renewable power is either shunted towards the electrolyzer for hydrogen production or the battery for the charge, while the consumption of hydrogen and the discharge are ON during low or nearly zero RESs hours.Fig. 7 presents the hydrogen devices' powers, the battery power, the stored hydrogen in the tank, and the stored energy in the battery.It can be observed that the sold power revenues are maximized, depending on the energy price profile and the available power.As shown in Fig. 8, during the 24 hours except for the hours 12-18 and 22, the controller tends to sell as much as possible.Then, the controller tracks successfully the users' requests and supplies the contractual loads.

80The control goal of the microgrid dispatched with FCEVs and BEVs is to track the requested hydrogen/electric load as a fuel for external consumers.For FCEVs and BEVs, the hydrogen production and the exchange of power with the BEVs have the unconditional highest priority among all objectives, respectively.In particular, at the first step, the requested forecast demand for external agents is addressed through the minimization of the quadratic deviation from the expected hydrogen and electricity demands.Then, the ESSs' operating costs, load tracking and the market participation are addressed by taking the optimal value of hydrogen level and the exchange of power with the BEVs as further constraints in the second step.Over the control horizon T , the exchange of energy and hydrogen correctly meets the requested demand by the external agents as shown in Fig. 9.

C. Comparison With Literature Results

81In order to further demonstrate the paper's findings, this section shows a comparison between the MPC method proposed in this paper and two pertinent literature-based techniques proposed in [19] and [7], respectively, by taking into account a 24-h scenario and a one-week scenario.The authors in [19] have proposed an MPC scheme for the optimal economic schedule Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply. of a hydrogen-based microgrid including hybrid-ESSs and the ultracapacitor and then tested it at the University of Seville in Spain using a lab-scale microgrid.The degradation issues of the fuel cell, the electrolyzer, the ultracapacitor, and the batteries are included in the dynamic models.The degradation issues, however, are less detailed than our model, and, in particular, only the degradation issues caused by the OFF and the ON states are considered.The authors in [7], instead, have proposed an MPC approach for the management of grid-connected wind farms with HESS and local loads.The strategy increases revenue through participation in the electricity market while minimizing the number of switches between operating modes of the HESS.The controller has been tested at the Raggovidda wind park in Norway using a weekly connected-microgrid.However, the microgrid does not integrate PV panels, and then only wind is considered as the RES in the system.Moreover, in order to consider the slow response of the devices, the models proposed in these papers include virtual states, by increasing the number of decision variables, and then open-source solvers cannot be used.

82In order to ensure a rigorous comparison, the operation of the BESS, solar panels and external consumers are assumed to be disabled, since the authors in [7] have proposed a control strategy for a microgrid that includes only the HESS and wind farm.Moreover, for the comparison with [19], it is assumed that only the ON-OFF and OFF-ON transitions are permitted since the STB state is not included in their work.Moreover, it is important to highlight that the ON-OFF/OFF-ON transitions are characterized by higher costs than the OFF-STB/ON-STB ones.

83Figs. 10-15 show the state switches of the electrolyzer and the fuel cell in the 24-h scenario according to the controllers under investigation.It is possible to observe from Figs. 10 and 11 that the ON-OFF strategy in [19] leads to a greater number of ON-OFF switches compare to those shown in Figs. 14 and 15 which are determined according to the strategy proposed in this study.Similarly, from the comparison between Figs. 12 and 13 with Figs. 14 and 15, respectively, it derives that the strategy presented in [7] generates a larger number of ON-OFF switches compared to our proposed strategy which privileges switches to STB.As a consequence, the devices' degradations are reduced and the devices' lifespan is increased, when the proposed strategy is adopted.

84Table II reports the characteristics of the proposed strategy and those in [19] and [7] and summarizes the results of their comparison obtained with the one-week scenario.From the comparison, it follows that taking degradation aspects into account allows for setting control references that reduce avoidable unit switchings, so as to preserve them from premature degradation and increase their lifespan.This results in maximizing the life span of such expensive devices while decreasing the states switching costs.In particular, when the switching costs and the degradation costs are accounted for in the optimization, the algorithm leads to a reduction in the operating costs by 25% (this estimated value [19] AND [7] ACCORDING TO SIMULATION HORIZON will be verified on the physical plant, once the construction and commitment of the system are terminated) with respect to the case when they are neglected (this is the case of the revised literature).This reduction results in more than 1500 commutations saving per year.Moreover, it is important to highlight that for the controller proposed in this research study all the commercial and open-source solvers give successful solutions.

VI. CONCLUSION

85This work proposed a novel control strategy based on the MPC framework for a wind and solar microgrid, which includes HESS and BESS units, and the interaction with external consumers of hydrogen and electricity (FCEVs/BEVs).One of the main contributions of this paper is the development of a new MLD model for the ESSs' operations, which is integrated into the control.Such a model has a less number of variables compared to the models in the literature, and then its complexity and computational time are reduced.In order to increase device lifespans and efficiency, an optimization problem, which includes the cost that the ESSs' operation introduces at each state transition, is proposed.The validation of the control strategy has been carried out through numerical simulations, including different wind and solar scenarios.The proposed control allows one to increase the battery lifetime, and the maintenance costs reduce.

86The control strategy implemented in this paper will be integrated into the Khalifa University laboratory microgrid, which is currently under construction in Abu Dhabi, United Arab Emirates.Future works will also include more sophisticated MPC strategies, e.g., the stochastic MPC, to take into account the regulation service and uncertainties of the forecast loads.Finally, the relaxed signal temporal logic specifications will be used for encoding the MIP constraints in a formal language, which allows one to relax the logic decision variables as real numbers to further reduce the computation time.

Fig. 1 .

87Fig. 1.Microgrid with external agents.

Fig. 2 .

88Fig. 2. Automaton of ESSs operations.

Fig. 3 .

89Fig. 3. MPC control diagram.

1 j=0J

90and the other vectors are similarly defined.The optimization problem is minH k T −GF (k + j) s.t.State actions constraints (3)-(5),Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

Algorithm 1 :

91MPC Algorithm for the Wind-Solar Microgrid.

Fig. 4 .

92Fig.4.Data profiles (wind and solar) and energy price for intraday market (Source: "Sotaventogalicia dei Mercati Energetici S.p.A" -www.sotaventogalicia.com).

Fig. 5 .

93Fig. 5. Microgrid dispatched without external consumers.

Fig. 6 .Fig. 7 .Fig. 8 .

94Fig. 6.Load tracking without consumers.

Fig. 9 .

95Fig. 9. Microgrid dispatched with external consumers.

Fig. 10 .

96Fig.10.Electrolyzer switches according to[19].

Fig. 11 .

97Fig. 11.Fuel cell switches according to [19].

Fig. 12 .

98Fig.12.Electrolyzer switches according to[7].

Fig. 13 .

99Fig.13.Fuel cell switches according to[7].

Fig. 14 .

100Fig. 14.Electrolyzer switches according to this research study.

Fig. 15 .

101Fig. 15.Fuel cell switches according to this research study.

1021 if the device intends to stay in the state α at the time-step k, and Υ α d (k) = 0 otherwise.For the sake of clarity, consider the following examples.Υ ON d (k) = 1 and Γ STB d (k) = 1 represent the case in which the operation d is in the state STB and should shift in the state ON, but due to the warm-start process it still remains in STB.Instead, Υ STB Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply. in order to avoid damages, the powers of the ESSs in their ON state must be bounded, i.e., P d ∈ [P m d , P M d ] for all d ∈ D, where P m d and P M d are lower and upper limits of the operation powers.Specifically, the power associated to the operation d is constrained as

103d (k) = 1 and Γ STB d (k) = 1 denote the situation in which the operation d is in STB and there is no intention of changing state.The logical variable Υ α d , α ∈ S and d ∈ D, is connected to the relevant power of the corresponding state through constraints that allow the correct functioning of the system.For instance,

TABLE I PARAMETERS

104[44]WEIGHTING FACTORS SET IN THE MPC STRATEGY BASED ON THE CIRA PROJECT UNDER THE KUST RESEARCH INSTITUTE AND ON THE LITERATURE[7],[44]

TABLE II COMPARISON

105OF THE PROPOSED MODEL WITH

참고문헌 44건

  1. Control of systems integrating logic, dynamics, and constraints Automatica · Elsevier BV · 1999 10.1016/s0005-1098(98)00178-2
  2. Realistic and Transparent Optimum Scheduling Strategy for Hybrid Power System IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2015 10.1109/tsg.2015.2406879
  3. Energy evaluation of a solar hydrogen storage facility: Comparison with other electrical energy storage technologies International Journal of Hydrogen Energy · Elsevier BV · 2015 10.1016/j.ijhydene.2015.01.181
  4. Real-Time Economic Dispatch Considering Renewable Power Generation Variability and Uncertainty Over Scheduling Period IEEE Systems Journal · Institute of Electrical and Electronics Engineers · 2014 10.1109/jsyst.2014.2325967
  5. The techno-economic potential of Saudi Arabia׳s solar industry Renewable and Sustainable Energy Reviews · Elsevier BV · 2015 10.1016/j.rser.2015.11.017
  6. Integration of Fuel Cell Technologies in Renewable-Energy-Based Microgrids Optimizing Operational Costs and Durability IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2015 10.1109/tie.2015.2465355
  7. Real-time integration of optimal generation scheduling with MPC for the energy management of a renewable hydrogen-based microgrid Applied Energy · Elsevier BV · 2016 10.1016/j.apenergy.2016.01.014
  8. Optimal Load Sharing of Hydrogen-Based Microgrids With Hybrid Storage Using Model-Predictive Control IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2016 10.1109/tie.2016.2547870
  9. Energy Management Strategies in hydrogen Smart-Grids: A laboratory experience International Journal of Hydrogen Energy · Elsevier BV · 2016 10.1016/j.ijhydene.2016.05.279
  10. Application of Periodic Economic MPC to a Grid-Connected Micro-Grid**The financial support from Ministerio de EconomÍa y Competitividad (Project No. DPI2013-48243-C2-2-R) is gratefully acknowledged. IFAC-PapersOnLine · Elsevier BV · 2015 10.1016/j.ifacol.2015.11.330
  11. Optimal power flow with renewable energy resources including storage Electrical Engineering · Springer Science+Business Media · 2016 10.1007/s00202-016-0402-5
  12. Optimal scheduling of thermal-wind-solar power system with storage Renewable Energy · Elsevier BV · 2016 10.1016/j.renene.2016.10.022
  13. Predictive control for hydrogen production by electrolysis in an offshore platform using renewable energies International Journal of Hydrogen Energy · Elsevier BV · 2016 10.1016/j.ijhydene.2016.11.077
  14. Techno-economical evaluation of a hydrogen refuelling station powered by Wind-PV hybrid power system: A case study for İzmir-Çeşme International Journal of Hydrogen Energy · Elsevier BV · 2018 10.1016/j.ijhydene.2018.01.082
  15. Optimal Economic Schedule for a Network of Microgrids With Hybrid Energy Storage System Using Distributed Model Predictive Control IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tie.2018.2826476
  16. Optimization of energy management system for fuel-cell hybrid electric vehicles: Issues and recommendations Applied Energy · Elsevier BV · 2018 10.1016/j.apenergy.2018.07.087
  17. Supervisory Scheduling of Storage-Based Hydrogen Fueling Stations for Transportation Sector and Distributed Operating Reserve in Electricity Markets IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tii.2019.2926779
  18. Modeling of a Hydrogen Storage Wind Plant for Model Predictive Control Management Strategies 2019 10.23919/ecc.2019.8795937
  19. Model Predictive Control of Microgrids Advances in industrial control · Springer Nature · 2019 10.1007/978-3-030-24570-2
  20. Predictive energy management for a wind turbine with hybrid energy storage system International Journal of Energy Research · Wiley · 2019 10.1002/er.5082
  21. Hybrid Invasive Weed optimization - Particle Swarm optimization Algorithm for Biomass/PV Micro-grid Power System 2019 10.1109/mepcon47431.2019.9008156
  22. Data-driven configuration optimization of an off-grid wind/PV/hydrogen system based on modified NSGA-II and CRITIC-TOPSIS Energy Conversion and Management · Elsevier BV · 2020 10.1016/j.enconman.2020.112892
  23. A hierarchical two-stage energy management for a home microgrid using model predictive and real-time controllers Applied Energy · Elsevier BV · 2020 10.1016/j.apenergy.2020.115118
  24. A chance-constrained energy management in multi-microgrid systems considering degradation cost of energy storage elements Journal of Energy Storage · Elsevier BV · 2020 10.1016/j.est.2020.101416
  25. A Techno-Economic Analysis of solar hydrogen production by electrolysis in the north of Chile and the case of exportation from Atacama Desert to Japan International Journal of Hydrogen Energy · Elsevier BV · 2020 10.1016/j.ijhydene.2020.07.050
  26. Optimal Schedule for Networked Microgrids Under Deregulated Power Market Environment Using Model Predictive Control IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2020 10.1109/tsg.2020.3018023
  27. Transactive energy management for optimal scheduling of interconnected microgrids with hydrogen energy storage International Journal of Hydrogen Energy · Elsevier BV · 2020 10.1016/j.ijhydene.2020.09.064
  28. Extended Model Predictive Controller to Develop Energy Management Systems in Renewable Source-Based Smart Microgrids with Hydrogen as Backup. Theoretical Foundation and Case Study Sustainability · Multidisciplinary Digital Publishing Institute · 2020 10.3390/su12218969
  29. Design optimization of grid-connected PV-Hydrogen for energy prosumers considering sector-coupling paradigm: Case study of a university building in Algeria International Journal of Hydrogen Energy · Elsevier BV · 2020 10.1016/j.ijhydene.2020.10.069
  30. Analyzing the levelized cost of hydrogen in refueling stations with on-site hydrogen production via water electrolysis in the Italian scenario International Journal of Hydrogen Energy · Elsevier BV · 2020 10.1016/j.ijhydene.2020.11.110
  31. Modeling and Optimal Control of a Hydrogen Storage System for Wind Farm Output Power Smoothing 2021 60th IEEE Conference on Decision and Control (CDC) · 2020 10.1109/cdc42340.2020.9304133
  32. A Mixed Logical Dynamical Model of the Hegselmann–Krause Opinion Dynamics IFAC-PapersOnLine · Elsevier BV · 2020 10.1016/j.ifacol.2020.12.952
  33. Coordinated control scheme of a hybrid renewable power system based on hydrogen energy storage Energy Reports · Elsevier BV · 2021 10.1016/j.egyr.2021.08.176
  34. Energy management system for optimal cost and storage utilization of renewable hybrid energy microgrid Energy Conversion and Management · Elsevier BV · 2021 10.1016/j.enconman.2021.115116
  35. Hydrogen production via using excess electric energy of an off-grid hybrid solar/wind system based on a novel performance indicator Energy Conversion and Management · Elsevier BV · 2022 10.1016/j.enconman.2022.115270
  36. Optimal islanding operation of hydrogen integrated multi-microgrids considering uncertainty and unexpected outages Journal of Energy Storage · Elsevier BV · 2022 10.1016/j.est.2022.104142
  37. Optimal Energy Management of Hydrogen Energy Facility Using Integrated Battery Energy Storage and Solar Photovoltaic Systems IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2022 10.1109/tste.2022.3161891
  38. Optimal operation of energy hubs including parking lots for hydrogen vehicles and responsive demands Journal of Energy Storage · Elsevier BV · 2022 10.1016/j.est.2022.104630
  39. Economically Optimal and Stability Preserving Hybrid Droop Control for Autonomous Microgrids IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2022 10.1109/tpwrs.2022.3169801
  40. Improved Feedback Control and Optimal Management for Battery Storage System in Microgrid Operating in Bi-Directional Grid Power Transfer IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2022 10.1109/tste.2022.3184165
  41. Electric Vehicle-to-Vehicle Energy Transfer Using On-Board Converters IEEE Transactions on Transportation Electrification · Institute of Electrical and Electronics Engineers · 2022 10.1109/tte.2022.3172029
  42. Two-stage model predictive control for a hydrogen-based storage system paired to a wind farm towards green hydrogen production for fuel cell electric vehicles International Journal of Hydrogen Energy · Elsevier BV · 2022 10.1016/j.ijhydene.2022.07.136
  43. Multiple time-scale energy management strategy for a hydrogen-based multi-energy microgrid Applied Energy · Elsevier BV · 2022 10.1016/j.apenergy.2022.120195
  44. A coordinated model predictive control of grid-connected energy storage systems 2022 American Control Conference (ACC) · 2023 10.23919/acc55779.2023.10155903