# Relevance of Optimized Low-Scale Green H2 Systems in a French Context: Two Case Studies

Timothé Gronier, William Maréchal, Stéphane Gibout, Christophe Geissler

► To cite this version:

Timothé Gronier, William Maréchal, Stéphane Gibout, Christophe Geissler. Relevance of Optimized Low-Scale Green H2 Systems in a French Context: Two Case Studies. Energies, 2022, 15 (10), pp.3731. 10.3390/en15103731. hal-03980576

HAL Id: hal-03980576

https://hal.science/hal-03980576

Submitted on 2 May 2023

HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entific research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d'enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.

<figure><img src="image_1.png" /></figure>

Distributed under a Creative Commons Attribution 4.0 International License
Article

# Relevance of Optimized Low-Scale Green H₂ Systems in a French Context: Two Case Studies

Timothé Gronier<fnref n="1" />,<fnref n="2" />,<fnref n="3" /> ID, William Maréchal<fnref n="1" />,*, Stéphane Gibout<fnref n="2" />,*,<fnref n="3" /> ID and Christophe Geissler<fnref n="1" />

**Abstract:** Hydrogen has been identified as a very promising vector for energy storage, especially for heavy mobility applications. For this reason, France is making significant investments in this field, and use cases need to be evaluated as they are sprouting. In this paper, the relevance of H₂ in two storage applications is studied: a domestic renewable electricity production system connected to the grid and a collective hydrogen production for the daily bus refill. The investigation consists of the sizing of the system and then the evaluation of its performance according to several criteria depending on case. Optimizations are made using Bayesian and gradient-based methods. Several variations around a central case are explored for both cases to give insights on the impact of the different parameters (location, pricing, objective, etc.) on the performance of the system. Our results show that domestic power-to-power applications (case 1) do not seem to be competitive with electrochemical storage. Meanwhile, without any subsidies or incentives, such configuration does not allow prosumers to save money (+16% spendings compared to non-equipped dwelling). It remains interesting when self-sufficiency is the main objective (up to 68% of energy is not exchanged). The power-to-gas application (case 2, central case), with a direct use of hydrogen for mobility, seems to be more relevant according to our case study, we could reach a production cost of green H₂ around 5 €/kg, similar to the 3–10 $/kg found in literature, for 182 houses involved. In both cases, H₂ follows a yearly cycle, charging in summer and discharging in winter (long term storage) due to low conversion efficiency.

**Keywords:** energy management system; optimization; power-to-power; power-to-gas; green H₂

<figure><img src="image_2.png" /></figure>

### check for updates

**Citation:** Gronier, T.; Maréchal, W.; Gibout, S.; Geissler, C. Relevance of Optimized Low-Scale Green H₂ Systems in a French Context: Two Case Studies. *Energies* **2022**, *15*, 3731. https://doi.org/10.3390/en15103731

Academic Editor: Luis Hernández-Callejo

Received: 12 April 2022

Accepted: 12 May 2022

Published: 19 May 2022

**Publisher's Note:** MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

<figure><img src="image_3.png" /></figure>

**Copyright:** © 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).

## 1. Introduction

### 1.1. Context

Energy storage is one of the key technologies that allow (or will allow) a better use of energy resources, and in particular will allow the solving of the problems linked to the integration of renewable resources, which are by nature variable in time [1–4]. In simple terms, the problem is to satisfy an energy need at a given moment and at a given point, from sources that vary in time and are spread over a territory. The link between these two actors is called a “grid”, which becomes a “smart-grid” when specific functions are added to [1]. It is thus possible to manage production, by starting or stopping certain devices that support it (hydraulic energy, gas power station, for example). One can also manage demand by favoring or penalizing the use of energy at certain times (mainly via the price signal), or even by taking control of equipment, by Direct Load Control (DLC) and Demand-Side Management (DSM). However, the most flexible way to achieve this adaptation is to use the storage device [5–7]. Unfortunately, storage almost systematically involves energy dissipation related to the necessary conversions, as well as for some forms of storage, a loss of capacity over time. Thus, because of these non-idealities, the implementation of a storage system must be carefully considered and analyzed, over time, in terms of energy and economy at least. The environmental aspects, over the complete life cycle

<footnote n="1">¹ Advestis, 75008 Paris, France; tgronier@advestis.com (T.G.); cgeissler@advestis.com (C.G.)</footnote>

<footnote n="2">² Université de Pau et des Pays de l'Adour, E2S UPPA, LaTEP, Pau, France</footnote>

<footnote n="3">³ ADERA, 33608 Pessac, France</footnote>

<footnote>* Correspondence: wmarechal@advestis.com (W.M.); stephane.gibout@univ-pau.fr (S.G.)</footnote>
of the device, must also be taken into consideration. Thus, associated with the cost of installation, storage systems—whatever their nature—must be designed and operated to achieve maximum performance. Thus, the scientific literature abounds [5,8–13] and much of it focuses on the expected behavior and performance of a storage system. When focusing on systems adapted to the residential sector, one must consider small capacity and diffuse systems. These residential micro-smart-grids—or smart-storage—have several singular characteristics. Thus, one generally converges to an electrical energy production system (often PV, sometimes wind) whose production is oriented towards self-consumption. The power calls are generally very variable because they do not benefit from the “averaging” effects due to the multiplicity of consumers. The very structure of the system can be variable over time, the classic example being the electric vehicle, which extends the storage capacity but whose presence is not continuous and difficult to predict. Finally, the residential sector raises issues of space, but also of equipment safety and maintenance. For these reasons, we limit the renewable energy source to photovoltaic cells and do not incorporate in this study wind turbines or concentrated solar systems that are better suited for bigger installations [14–16].

## 1.2. Literature Review

In [17], the authors study the performance of a system with PV, battery storage (stationary and from electrical vehicles), and access to the main-grid. They propose and evaluate an energy management strategy by incorporating the notion of non-critical load which presents tolerances on their operating domain (voltage may be 20% below the nominal value). This equipment thus provides an additional degree of freedom to the algorithm for minimizing the demand on the grid. Note here (again) that the system, the consumptions, and the PV production are perfectly defined (including vehicle presence/kilometre and non-critical load scheduling). However, the authors show an overall reduction of the grid call (thus an increase of the self-consumption share) and a 50% reduction of the peak power demand. In [18], an analysis of the main simulation/optimization tools are available, with a prevalence of the Homer tool should it be for a standalone system [19–21], a network of small systems [22,23], or for facilities [24–28]. From an economic point of view, Zakeri et al. [29] show that financial mechanisms encouraging self-consumption (instead of reinjection) would be relevant. They announce a savings of 41 to 74% for a combined storage/PV system. More generally, Ref. [30] presents a review of the literature on the economic benefits of microgrids. They conclude that there is potentially a substantial economic gain, while insisting that the monetization strategy must be adapted to the specificities of the deployment site. The literature incorporating a hydrogen storage is also very abundant [13,31–34]. In [35], the authors present an Energy Management System (EMS) adapted to a smart autonomous electrical grid (SAEG) connecting production resources (controllable: Diesel Generator and not controllable: Wind Turbine, PV) and consumers (which can be reactive so consumption can be shifted, or not). The storage is constituted by a couple electrolyzer/fuel cell, the H₂ being stored in gaseous form in a tank, as well as the battery of the electric vehicles present in some dwellings. The objective function has three sub-objectives: (1) minimization of the operational cost, (2) maximization of the reliability, and (3) reduction of the unsatisfied (for the reactive consumers, the difference between the desired consumption, and the energy actually supplied). The minimization is performed using a shuffled frog leaping algorithm (SFLA). They show that the presence of storage facilities improves sub-objects 1 and 2 but tends to increase the rebound effect driven by insatiability. This raises the question of the weighting of the sub-objectives to build the global objective function, and thus the influence of this choice on the “optimal” solution obtained. In Ref. [36], an optimization of a mini-grid integrating PV, battery and hydrogen, in an insular context is presented, where, despite the presence of a main grid, energy autonomy is desired. Thus, the objective function integrates the maximization of the financial efficiency and the minimization of the grid call. The authors conclude about the need to develop design tools, requiring a precise description of the application case
(available resources and consumption). Then, Ref. [37] presents a micro-grid including a wind turbine, a hydrogen storage, and a battery storage through an electric vehicle. As the installation actually exists, the results of modelling are compared to measurements (average error less than 2%). Finally, Ref. [38] presents a comparison of the performance of an isolated micro-grid (PV, batteries and H₂) according to two strategies. The first one is qualified as “myopic control” in the sense that only the present state is taken into consideration to make decisions. The second approach implements a prediction of the production and consumption over a future time horizon of 12 h in order to refine the control strategy. However, the authors remain unclear on the method used to obtain these predictions.

## 1.3. *Contributions to Novelty*

With the global trend gearing for energy storage technologies, and public investment soaring on those technologies, as France with its “France relance” [39] plan, the relevance of those technologies should be evaluated for usage by a private individual connected to the national grid, as they could be important users of those technologies. Meanwhile, the concrete applications of H₂ energy vector are not that clear in the French context. Thus, this work proposes to study the relevance of using one or two energy storage technologies, electrochemical batteries and gaseous hydrogen systems under three different French climates and different energy allocation strategies (self-sufficient, economic), exogenous conditions (price raise, transit cost) and configurations (number of dwellings, rooftop coverage). First, a Power-to-Power (P2P) paradigm is studied, before moving to a Power-to-Gaz (P2G) paradigm, before concluding on the usage of those technologies and how to enhance them.

Even if a software was developed specifically for this study, we believe that the main contributions to novelty of this article revolve around the assessment of these two case studies within the French context.

# 2. Methodology

## 2.1. *Algorithm Architecture*

A proprietary code, written in Python 3.8, was developed for this study. It is object-oriented and separates into three parts: case definition, simulation and optimization (Figure 1).

In the “case definition” part, the various pieces of equipment of the energy chain and how they are connected to each other are defined, the meteorological conditions, the objective function (economic, independence, maximum consumption...) as well as the optimization tool (genetic algorithm, particle swarm optimization, Bayesian, Levenberg-Marquardt...) and the energy allocation strategy.

The “simulation” part assembles the various components following the defined topology and runs the model accordingly to the energy allocation strategy. A time step of 1 h will be used so as to not have to take into account the transitory phases.

Regarding the “optimization” part, its role is to manage the optimization schema of the simulations using the instruction of the user.

Such an architecture enables easily changing configuration.

## 2.2. *Physical Model*

### 2.2.1. Photovoltaïcs

The PV panel model is based on [40]. In this model, the electrical power produced $P_{PV}$ [W] is directly proportional to the received irradiation (global irradiation $I$ [W m$^{-2}$] in the collector panel) and to the collector area, this latter being equal to 2 m$^2$. The number of PV panels is noted $N_{PV}$. The proportionality coefficient, $\eta_{PV}$, which corresponds to the overall conversion efficiency of the photovoltaic chain, takes into account phenomena intrinsic to photovoltaic conversion (intrinsic conversion efficiency and its decrease with temperature), inverter/MPPT efficiencies, losses in cables, etc.
<figure><img src="image_4.png" /><figcaption>Figure 1. Algorithm overview.</figcaption></figure>

The efficiency is assumed to decrease linearly (coefficient $\alpha > 0$ [K$^{-1}$]) above a reference temperature (which corresponds to the standard test conditions STC: 25 °C and 1000 W m$^{-2}$) and $T_{PV}(t)$ [°C] the operating temperature of the panel, which depends on the ambient temperature $T_{\infty}(t)$ and the irradiation:

$$T_{PV}(t) = T_{\infty}(t) + \left( \frac{NOCT - 20}{800} \right) \cdot I(t) \quad (1a)$$

$$P_{PV}(t) = \eta_{PV,conv} \cdot N_{PV} \cdot P_{PV,STC} \cdot \left[ \frac{I(t)}{1000} \cdot (1 - \alpha \cdot (T_{PV}(t) - 25)) \right] \quad (1b)$$

The NOCT (Normal Operating Cell Temperature) is the equilibrium temperature of a panel placed in an atmosphere at 20 °C and subjected to a flow of 800 m$^2$.

The PV panel’s max power per house was computed with geometrical considerations. In order to calculate the area available $A_{av}$, a house of 7 × 10 m$^2$ was chosen, $A_h$ with a roof angle $\theta$ of $\frac{\pi}{4}$, where only the best half of the roof can be covered. It gives 50 m$^2$ of area
available, corresponding to a maximum of 17 kW/house, as the irradiation peak, $I_{max}$, is equal to 360 W·m⁻²:

$$A_{av.} = 0.5 \cdot \frac{A_h}{\cos(\theta)} = 50 \text{ m}^2 \qquad (2a)$$

$$P_{peak}^{PV} = A_{av.} \cdot I_{max} = 17 \text{ kW/house} \qquad (2b)$$

### 2.2.2. Electrolyzer and Fuel Cell

A static efficiency was used for both the electrolyzer and the fuel cell. These efficiencies, $\eta_{el}$, $\eta_{fc}$, contain all the information useful to build a simplified model of the behavior of an electrolyzer. This approach also allows us to take into account the auxiliary energy consumption associated with the control and regulation systems, but also, when integrated in the electrolyzer apparatus, to the compression stage.

The energy efficiencies are defined from a system point of view, with respect to the Higher Heating Value of hydrogen ($HHV = 286 \text{ kJ mol}^{-1} = 141.86 \times 10^6 \text{ J kg}^{-1}$) for the fuel cell and the Lower Heating Value ($LHV = 242.7 \text{ kJ mol}^{-1} = 120.38 \times 10^6 \text{ J kg}^{-1}$) for the electrolyzer, as made by [33]:

$$\eta_{el} = \frac{\dot{m}_{el} \cdot HHV}{P_{el}} \qquad (3a)$$

$$\eta_{fc} = \frac{P_{fc}}{\dot{m}_{H_2,fc} \cdot LHV} \qquad (3b)$$

### 2.2.3. Hydrogen Storage

The storage of hydrogen in the energy context is done either in pure form under pressure in the gaseous state, or in the form of metal hydride [41–43].

It is considered here that the $H_2$ is stored under pressure in a tank with a static volume $V^{tank}$ and temperature $T^{tank}$ and a pressure $p^{tank}(t)$ [44,45]. A virial equation was used as the equation of state for the $H_2$ stored. Compressibility factor $Z$ was calculated with data taken from [46]. It has been validated up to 1000 bar and up to 473 K. Moreover, as $H_2$ is used as a fuel, the energy in the tank is the product of the mass and of the Higher Heating Value (HHV). Thus:

$$E^{tank}(t) = Z(p, T) \cdot \frac{p^{tank}(t) \cdot V^{tank} \cdot M^{H_2} \cdot HHV}{R \cdot T^{tank}} \qquad (4)$$

It is also considered that the max charging and discharging rate of the tank are, in practice, respectively limited by the electrolyzer and the fuel cell limits.

### 2.2.4. Battery

Electrochemical storage [47] is modeled here by considering a homogeneous set of individual batteries regarded as a single battery of capacity $C_{nom}^{bat}$ whose charge ($C^{bat}(t)$) evolves at each time step $\Delta t$ as a function of the charge power, $P_{in}^{bat}$, and discharge power, $P_{out}^{bat}$. This results in the following first law based equation:

$$C^{bat}(t + \Delta t) = C^{bat}(t) + \eta^{bat}(P_{in}^{bat} + P_{out}^{bat}) \cdot \Delta t \qquad (5)$$

where $\eta^{bat}$ is the battery charging and discharging efficiency.

The maximum value of the stored energy $C^{bat}(t)$ is limited by the nominal capacity $C_{nom}^{bat}$. Regarding the minimum value, a lower limit $C_{min}^{bat}$ below which the battery risks being deteriorated because of irreversible phenomena is introduced [48,49].
### 2.2.5. Converter

Electrical converters are necessary to adapt the nature of the electricity (DC/AC) as well as the voltage levels. They are modeled with a static efficiency, $η^{conv}$, and the input power, $P_{max,in}^{conv}$:

$$P_{out}^{conv} = η^{conv} \cdot P_{in}^{conv} \qquad (6)$$

The output power is also limited to $P_{max,out}^{conv}$.

Some authors [50] introduce a variation of the efficiency for low powers in order to take into account the decrease of efficiency when the equipment operates far from the nominal regime.

## 2.3. Input Data

### 2.3.1. Meteorology

Two meteorological measures are needed to compute the production of PV panels: temperature and irradiation. They are both taken from the PVGIS database [51], a free European meteorological database giving years-averaged values. The values used correspond to the city of Pau, in France (oceanic climate).

### 2.3.2. Energy Tariffs

Energy tariffs are based on historical intraday prices values for France (and thus Western Europe, due to the European Power EXchange [52]), following a Real-Time Pricing (RTP) logic. Price of the energy bought to the grid is different from the price of the energy sold to it. It is considered that the former is equal to the RTP, while the latter is set equal to three times the RTP values, as it is the proportion observed between the cost of electricity for retailers and for consumers because of taxes and distribution costs, according to a report of the French competition authority [53].

### 2.3.3. Load

The load is aggregated. It corresponds to a house heated by electricity. The shape was extracted from the IHOGA software [54]. Then, this shape is scaled to fit the energy consumed in France by a dwelling, according to public data given by ENGIE (french gas and electricity provider) for consumption in France [55,56].

## 2.4. Equipment Settings

Table 1 summarizes the different values of CAPEX and OPEX for the different equipment. CAPEX represents the initial investment cost while OPEX corresponds to maintenance and replacement costs, but not the cost of the electricity or H₂ consumed. Neither capital cost nor incentives or subsidies are considered.

<table><caption>Table 1. Economic settings of the equipment.</caption><thead><tr><th>Name</th><th>CAPEX</th><th>OPEX<br>(% of the CAPEX)</th><th>References</th></tr></thead><tbody><tr><td>Battery</td><td>792.2 €/kWh</td><td>2</td><td>[57]</td></tr><tr><td>Converter</td><td>neglected</td><td>neglected</td><td>[33]</td></tr><tr><td>Electrolyzer <sup>1</sup></td><td>3947 €/kW</td><td>2</td><td>[58]</td></tr><tr><td>Fuel cell <sup>1</sup></td><td>4600 €/kW</td><td>2</td><td>[59]</td></tr><tr><td>Fuel tank</td><td>470 €/kg</td><td>2</td><td>[60]</td></tr><tr><td>PV panels</td><td>1547 €/kW</td><td>1.5</td><td>[32]</td></tr></tbody></table>

Table 2 presents the technical settings taken for the different equipment. Concerning the fuel tank, minimum and maximum pressure for the tank have been chosen in a range commonly used for compressed H₂ storage, according to [60] and are different, as the scale is different between the first and the second case.

<footnote n="1">¹ The evolution of the CAPEX of the electrolyzer and fuel cell are not linear but are corrected in a power law as recommended in [33,61].</footnote>
<table><caption>**Table 2.** Technical settings of the equipment.</caption><thead><tr><th>Component</th><th>Variable</th><th>Value</th><th>Reference</th></tr></thead><tbody><tr><td rowspan="2">Battery</td><td>Degradation rate</td><td>7.12 × 10<sup>-5</sup> (-)</td><td>[62]</td></tr><tr><td>Efficiency (charge and discharge)</td><td>0.95 (-)</td><td>[33]</td></tr><tr><td>Converter</td><td>Efficiency</td><td>0.95 (-)</td><td>[50]</td></tr><tr><td>Electrolyzer</td><td>Efficiency</td><td>0.7 (-)</td><td>[63]</td></tr><tr><td>Fuel cell</td><td>Efficiency</td><td>0.5 (-)</td><td>[63]</td></tr><tr><td rowspan="3">Fuel tank</td><td>Pressure minimum</td><td>10 (bar)</td><td>N/A</td></tr><tr><td>Pressure maximum</td><td>fist case: 100 (bar)<br>second case: 700 (bar)</td><td>N/A</td></tr><tr><td>Temperature</td><td>55 (°C)</td><td>[63]</td></tr><tr><td rowspan="3">PV panels</td><td>Temperature coefficient (α)</td><td>3.4 × 10<sup>-3</sup></td><td>[64] & datasheets</td></tr><tr><td>NOCT</td><td>43 (°C)</td><td>datasheets</td></tr><tr><td>Auxiliary systems efficiency *</td><td>0.8</td><td>N/A</td></tr></tbody></table>

### 3. First Case Study: Domestic Power-to-Power Hydrogen

#### 3.1. Case Description

The case investigated here is a microgrid composed of one house equipped with PV panels, a battery and a P2P H₂ system, illustrated in Figure 2. With the house being connected to the electrical grid, the objective of the system is to reduce its dependency to the grid and its expenses.

<figure><img src="image_5.png" /><figcaption>**Figure 2.** First case illustration.</figcaption></figure>

#### 3.2. Optimization Settings

The objective of the optimization is to size the different equipment. The scipy-optimize python library [65] was used to perform optimization. First, a Bayesian method is used to locate the global minimum neighborhood. Then, a simplex algorithm (Nelder-Mead method) is applied to refine the results.

This case being applied to one house, restrictions on the size of equipment are implemented because of volume considerations. The chosen boundaries are presented in Table 3: they are of the same order of magnitude as the load. PV panel's max size is determined by the house size (see Equation (2)). The fuel tank size is based on geometric considerations: taking a pressure of 100 bar and a temperature of 55 °C and a maximum mass of 20 kg, ending with a volume around 2.5 m³, which is already quite big.

<footnote>* mainly inverter, MPPT and wiring.</footnote>
<table><caption>**Table 3.** Optimization values with their bounds.</caption><thead><tr><th>Name</th><th></th><th>Bounds</th></tr></thead><tbody><tr><td>Battery</td><td>0.5 kWh</td><td>20 kWh</td></tr><tr><td>Electrolyzer</td><td>1 kW</td><td>10 kW</td></tr><tr><td>Fuel cell</td><td>1 kW</td><td>10 kW</td></tr><tr><td>Fuel tank</td><td>0.1 kg</td><td>20 kg</td></tr><tr><td>PV panels</td><td>1 kW</td><td>17 kW</td></tr></tbody></table>

The optimization target takes into account both independence from the grid and economic performance.

The independence criterion, $\epsilon_{Ind}$, is equal to the total of all exchanges made with the grid (both the energy bought, $E_b$, and the energy sold, $E_s$) divided by the energy bought when none of the considered equipment (3) is present, $E_b^{ref}$ (7a). Thus, this criterion is equal to 1 when no equipment is present and, as energy sold to the grid is accounted for negatively, it penalizes solutions relying on a blatant oversizing of the PV panels.

The criterion measuring economic performance, $\epsilon_{Eco}$, is calculated by summing all the money flows: $M_e$ for the money earned from the grid, $M_s$ for the money given to the grid, the OPEX and the CAPEX. This sum is divided by the money spent when there is no equipment, $M_s^{ref}$ (7b).

As these two criteria are normalized, the final criterion, $\epsilon_{Tot}$, is the sum of the precedent criteria (7c):

$$ \epsilon_{Ind} = \frac{E_b + E_s}{E_b^{ref}} \qquad (7a) $$

$$ \epsilon_{Eco} = \frac{F_e - F_s + \text{OPEX} + \text{CAPEX} + F_s^{ref}}{F_s^{ref}} \qquad (7b) $$

$$ \epsilon_{Tot} = \epsilon_{Ind} - \epsilon_{Eco} \qquad (7c) $$

### 3.3. Strategy

The aim of this strategy is to limit the exchanges with the grid. Consequently, it always uses all the storage power available to either satisfy consumption or absorb production in excess. As detailed in Algorithm 1, the battery is employed in priority: it is faster to start than the hydrogen system but loses energy over time.

<table><caption>**Algorithm 1** Algorithm of the first case strategy</caption><tr><td>ΔE ← Cons. - Prod.</td></tr><tr><td>if ΔE > 0 then</td></tr><tr><td>ΔE ← max(ΔE - P<sub>out</sub><sup>bat</sup>·Δt, 0)</td></tr><tr><td>if ΔP > 0 then</td></tr><tr><td>ΔE ← max(ΔE - P<sub>out</sub><sup>%H<sub>2</sub></sup>·Δt, 0)</td></tr><tr><td>end if</td></tr><tr><td>else if ΔE < 0 then</td></tr><tr><td>ΔE ← min(ΔE + P<sub>in</sub><sup>bat</sup>·Δt, 0)</td></tr><tr><td>if ΔE < 0 then</td></tr><tr><td>ΔE ← min(ΔE + P<sub>in</sub><sup>%H<sub>2</sub></sup>·Δt, 0)</td></tr><tr><td>end if</td></tr><tr><td>end if</td></tr><tr><td>E<sup>exchanges</sup> ← ΔE</td></tr></table>
### 3.4. Simulation Plan

Several independent runs are realized to understand better how the optimization behaves. A central case is realized using exactly the elements described above, but some variations are tested around this case:

* Economic only: the self-sufficiency criterion is not considered here. This configuration and the following one help to identify the impact of each criterion on the final sizing, which relies on a mixed criterion;

* Self-sufficiency only: the economic criterion is not considered here;

* Sunnier climate: the meteorological data taken correspond to the city of Marseille, a sunnier French city (+25% irradiation). This configuration, like the next one, tests the robustness of the results obtained for the different regions of mainland France in terms of solar resource, as illustrated in Figure 3;

* Cloudier climate: the meteorological data taken correspond to the city of Amiens, a cloudier French city (−17.5% irradiation);

* Pricesx2: prices are multiplied by 2, for both buying and selling. This configuration reduces the importance of the CAPEX;

* Equal prices: prices are the same for buying and selling energy. This configuration makes it more economically interesting to sell energy excess to the grid.

<figure><img src="image_6.png" /><figcaption>**Figure 3.** Solar resource in France, according to ADEME.</figcaption></figure>

### 3.5. Results

#### Results and Discussion

The sizing obtained after the optimization can be seen in Table 4. As it can be observed, the H₂ P2P system is really developed in only 2 cases over 7: in *Self-sufficiency only* and in *Pricesx2*. In the other runs, the fuel tank does not go beyond 1.4 kg of H₂ stored, while the sizings of the electrolyzer and the fuel cell remain small. Meanwhile, it is observed that the electrolyzer is always bigger than the fuel cell (two times more on average). It means that the P2P system is faster to charge than to discharge. It comes from the nature of the production and the load. The former is concentrated around midday, so the peak power of the electrolyzer is important. The latter, meanwhile, is more spread over the evening and the night: as the energy available is low compared to consumption all over the night, stored energy can be delivered slowly. Thus, there is no need for a high power for discharge, i.e., an important fuel cell.
The battery is more popular, as it is encountered in all configurations, but *Economic only*. In *Central case*, 7 kWh are installed. This capacity increases, unsurprisingly, for *Self-sufficiency only* (11.9 kWh), where the cost does not count, and also in *Pricesx2* (11.6 kWh) and *Equal prices* (9.3 kWh), where the investment costs are less critical. On the contrary, batteries are smaller in *Sunnier climate* (4.1 kWh) and *Cloudier climate* (2.5 kWh), for different reasons. In the first case, PV production is more spread along the day, fitting better with consumption. Consequently, less storage is needed. On the contrary, in the second case, less efficient energy production leads to a global reduction of installed capacities to save money.

Concerning PV panels, they are installed in every configuration, but the upper limit (17 kW) is never reached. In addition, 12.3 kW are installed in *Central case*. Like for batteries, and for the same reasons, more PV is used in *Self-sufficiency only* (16.1 kW), *Pricesx2* (16.2 kW) and *Equal prices* (13.4 kW). It is stable in *Cloudier climate* (11.8 kW) because they are less cost-efficient (but there is a bad impact on performance).

<table><caption>**Table 4.** Result of the sizing.</caption><thead><tr><th rowspan="2">Run</th><th colspan="5">Sizing</th></tr><tr><th>PV Panels (kW)</th><th>Battery (kWh)</th><th>Electrolyzer (kW)</th><th>Fuel Cell (kW)</th><th>Fuel Tank (kg)</th></tr></thead><tbody><tr><td>Central case</td><td>12.3</td><td>7.0</td><td>4.6</td><td>1.3</td><td>1.4</td></tr><tr><td>Economic only</td><td>6.8</td><td>0.5<sup>1</sup></td><td>1.0<sup>1</sup></td><td>1.0<sup>1</sup></td><td>0.2</td></tr><tr><td>Self-sufficiency only</td><td>16.1</td><td>11.9</td><td>10.0<sup>2</sup></td><td>8.2</td><td>20<sup>2</sup></td></tr><tr><td>Sunnier climate</td><td>10.3</td><td>4.1</td><td>5.0</td><td>2.2</td><td>1.4</td></tr><tr><td>Cloudier climate</td><td>11.8</td><td>2.5</td><td>4.1</td><td>1.2</td><td>0.9</td></tr><tr><td>Pricesx2</td><td>16.2</td><td>11.6</td><td>7.0</td><td>2.2</td><td>3.4</td></tr><tr><td>Equal prices</td><td>13.4</td><td>9.3</td><td>3.2</td><td>1.2</td><td>0.9</td></tr></tbody></table>

Table 5 gives the performance of the different sizings in relative values. Self-sufficiency is compared to the total consumption of the dwelling. Economic balances are compared to the expenses made by the dwelling without any equipment: 0 means that no money is spent and 1 that no money is saved or lost. Above 1, the consumer is losing money. Overall, a very small quantity of energy is sold to the grid (5% on average), as it can be seen in Figure 4, illustrating the central case. The prosumer is also almost always losing money: this is not surprising as no subsidies were considered and as intraday prices are generally lower than regulated ones, reducing the possibility to save money.

First, the results of *Economic only* and *Self-sufficiency only* runs reveal that *Central case* cannot go below 30% of energy bought and sold to the grid, and that it cannot save money. In the *Central case* configuration, energy bought to the grid is divided by 2, but at the cost of a 16% increase of expenses for prosumers.

Concerning the climate effect, *Sunnier climate* is unsurprisingly the most efficient in the solar-based energy production set-up (but note that, in the cloudier region, renewable production is more focused on wind turbines). It can be seen that irradiation variation of about 20 more or less lead to smaller variations in terms of performance, 44 and 58% of energy is exchanged with the grid (–6% and +23% compared to the *Central case*) and the increase in expenses is equal to 7 and 18% (–8% and +2%). Thus, performances of the whole system are quite robust, at least for mainland France.

<footnote n="1">¹ minimum allowed, ² maximum allowed.</footnote>
<table><caption>**Table 5.** Final performance in case 1.</caption><thead><tr><th rowspan="2">Run</th><th colspan="3">Self-Sufficiency</th><th colspan="3">Economy</th></tr><tr><th>Bought (kWh/kWh)</th><th>Sold (kWh/kWh)</th><th>Total</th><th>Money Flow (€/€)</th><th>CAPEX (€/€)</th><th>Total</th></tr></thead><tbody><tr><td>Central case</td><td>0.44</td><td>0.03</td><td><strong>0.47</strong></td><td>0.66</td><td>0.50</td><td><strong>1.16</strong></td></tr><tr><td>Economic only</td><td>0.67</td><td>0.05</td><td><strong>0.72</strong></td><td>0.77</td><td>0.23</td><td><strong>0.99</strong></td></tr><tr><td>Self-sufficiency only</td><td>0.29</td><td>0.03</td><td><strong>0.32</strong></td><td>0.68</td><td>0.95</td><td><strong>1.63</strong></td></tr><tr><td>Sunnier climate</td><td>0.42</td><td>0.02</td><td><strong>0.44</strong></td><td>0.63</td><td>0.44</td><td><strong>1.07</strong></td></tr><tr><td>Cloudier climate</td><td>0.56</td><td>0.02</td><td><strong>0.58</strong></td><td>0.76</td><td>0.42</td><td><strong>1.18</strong></td></tr><tr><td>Pricesx2</td><td>0.31</td><td>0.09</td><td><strong>0.40</strong></td><td>0.46</td><td>0.36</td><td><strong>0.82</strong></td></tr><tr><td>Equal prices</td><td>0.41</td><td>0.09</td><td><strong>0.50</strong></td><td>0.58</td><td>0.53</td><td><strong>1.11</strong></td></tr></tbody></table>

The best configuration is *Pricesx2*, thanks to its economic performance, which is the best of the seven runs. *Equal prices* is not really different from *Central case*: as expected, it sells more PV production to the grid than most other cases (9% of the total consumption), but this does not lead to a big improvement in the economic performance (1.11 compared to 1.16 in *Central case*).

<figure><img src="image_7.png" /><figcaption>**Figure 4.** Energy flows in the first case over one year, on a daily basis, from January to December.</figcaption></figure>

Overall, some observations can be made. In a connected grid, storage is still too costly to be economically efficient without any incentives: it appears only when exchanges with the grid are penalized. In addition, even in this case, the battery is favored, as it is cheaper
than a H₂ P2P system. Meanwhile, H₂ P2P has an interest from a self-sufficiency point of view, as it is deployed in *Self-sufficiency only* or when CAPEX is less critical, like in *Pricesx2*: there is almost no energy degradation over the time. This is observable in Figure 5, where it is clear that the P2P system follows a yearly cycle, while batteries' cycles are much shorter. Furthermore, the low prices values leading to small equipment sizes for storage in general and H₂ in particular are taken from the past and the electricity price has risen drastically during the last six months (+35% over 2021, according to a communiqué from the French government [66]).

<figure><img src="image_8.png" /><figcaption>**Figure 5.** Storage evolution in the first case over one year, on a daily basis, from January to December.</figcaption></figure>

# 4. Second Case Study: Collective Bus Recharge

## 4.1. *Case Description*

This second case was elaborated after the first one, where H₂ seems unsuitable for a connected microgrid in a P2P perspective. As islanded microgrids are not really relevant in our context (mainland France), a microgrid having a specific usage for H₂ is chosen. If H₂-fueled cars are still rare in France, a fleet of buses propelled by H₂ is currently being exploited in the agglomeration of Pau, the place corresponding to the meteorological data. Thus, the second study bears on the production of green H₂ destined to a local consumption, the refueling of H₂ buses.

The investigated microgrid is composed of several houses equipped with PV panels. The goal here is to identify the size of a system able to refuel a bus on a daily basis and to assess H₂ production cost (if any). According to IAE and IRENA estimations, H₂ produced via renewable energy ranges from 3 to 8 $/kg [67] and 2.7 to 7 $/kg [68], respectively. For further comparison, a study was conducted for a refuelling %H₂ station in Halle, Belgium and found a cost of 10.3 €/kg [69]. This system is composed of houses equipped with individual PV panels, a collective electrolyzer, and a collective fuel tank, as illustrated in Figure 6.
<figure><img src="image_9.png" /><figcaption>Figure 6. Second case illustration.</figcaption></figure>

## 4.2. Optimization Settings

The objective of the optimization is still to size the different equipment. The method is the same as before: a two-phase optimization process is used, with a Bayesian first and then a simplex in second. The quantity of photovoltaic production is represented by the number of houses, as it is considered that each house is equipped with the maximum of PV panels, 17 kW (see Equation (2)). This approach was used to avoid discontinuities in the evaluation function: otherwise, adding 1W of PV can lead to adding a supplementary load of one full house.

The optimization target takes into account the economic performance, trying to minimize the number of houses and penalizes the non-delivery of H₂. The criterion measuring economic performance is the same as the one used in the first case (7b).

The “number of houses” criterion $\epsilon_{houses}$ is simply defined as the number of houses, $N_{houses}$, multiplied by a weighing coefficient, $C_{houses}$, taken equal to 0.001: this setting makes values comparable to the economic criterion, avoiding it from being either dominant or ignored (8a).

The penalty for a lack of H₂ in the tank, $\epsilon_{service}$, is the proportion of energy lacking, $E_{lacking}$ compared to the energy needed for one delivery, $E_{daily}$, multiplied by a weighing coefficient $C_{service}$, taken equal to 0.5, a value large enough to ensure the optimization avoids non-delivery at all cost. Nonetheless, it must not be too high; otherwise, it will hamper the optimizer.

The final criterion, $\epsilon_{Tot}$, is the sum of the three criteria (8c):

$$ \epsilon_{houses} = N_{houses} \cdot C_{houses} \qquad (8a) $$

$$ \epsilon_{service} = \frac{E_{lacking}}{E_{daily}} \cdot C_{service} \qquad (8b) $$

$$ \epsilon_{Tot} = \epsilon_{houses} + \epsilon_{service} - \epsilon_{Eco} \qquad (8c) $$

## 4.3. Strategy

The objective in this case study is to use excess PV production to produce green H₂. Nonetheless, the priority is still to satisfy the consumption of the users with renewable energy. Thus, the production is first affected by self-consumption and second to the recharge of the bus. In one configuration, the use of a battery is considered: there, it comes in third position. Finally, the potential remaining energy is sold to the grid (Algorithm 2).
<caption>**Algorithm 2** Algorithm of the second case strategy</caption>

```
ΔE ← E<Cons.> - E<Prod.>
if ΔE > 0 then
    ΔE ← max(ΔE - P<out><bat>.Δt, 0)
else if ΔE < 0 then
    ΔE ← min(ΔE + P<in><%H2>.Δt, 0)
    if ΔE < 0 then
        ΔE ← min(ΔE + P<in><bat>.Δt, 0)
    end if
end if
p<exchanges> ← ΔE
```

## 4.4. Simulation Plan

Like in the first case study, some variations around the central configuration were assessed. Most of them are similar to the previous variations, but three of them need a complementary explanation:

* half-covered house: in this configuration, houses are only authorized to install half of their max PV capacity: it can be expected to lead to an increase in the number of houses, and thus to increase self-consumption of PV and reduce the investment cost proportion, ultimately leading to cheaper H₂;

* Battery: a battery is added, stemming from the observation that a non-negligible amount of PV is sold to the grid in the central case;

* Minimum houses: the economic performance is not taken into account;

* Sunnier climate;

* Cloudier climate;

* Pricesx2;

* Equal prices.

An optimization not seeking to limit the number of houses involved was tried, but it was not conclusive: as the economic performance becomes the only criterion, it tends to include an unlimited number of houses in order to minimize the individual cost of collective equipment.

## 4.5. Results and Discussion

The sizing results of this second case are available in Table 6, and the related performance are given in Table 7. In Figures 7 and 8, the yearly PV production, electricity consumption, net exchanges with the grid and the amount of energy stored in the fuel tank in the base configuration are displayed. Comparing the two figures, it can be seen that rebound in the fuel tank, from November–December, is caused by an increase in the mean PV production due to nice weather during the same period. The fuel tank never reaches 0 because of pressure constraints.

In all scenarios, it is possible to meet the consumption of one bus-tank of hydrogen with fewer than 300 houses for all configurations and a minimum of 56, at a cost of (+138%).

As predicted, the covering of only half the available surface by photovoltaic panels while maintaining the required H₂ output leads to an increase in the number of necessary houses to meet the demand (+47%). While the increase of self-consumption comes with an increase of the energy purchased from the grid, the better usage of the H₂ system reduces the total cost and thus leads to cheaper H₂.

Since the criterion does not have an independence component, and is mostly economic, it is not surprising that, even though it is observed that a significant surplus of PV power is to be sold to the grid (+41% by averaging to one dwelling), the optimisation process does not select a battery of notable size.

In a sunnier climate, fewer houses (–18%) and a relative smaller fuel tank (–67%) are needed in comparison to a cloudier climate which requires a huge fuel tank (+363%), as carrying the excessive energy from the summer into the winter.
<table><caption>**Table 6.** Results of the optimization.</caption><thead><tr><th rowspan="2">Run</th><th colspan="4">Sizing</th></tr><tr><th>Number of Houses</th><th>Battery (kWh)</th><th>Electrolyzer (kW)</th><th>Fuel Tank (kg)</th></tr></thead><tbody><tr><td>Central case</td><td>182</td><td>NA</td><td>622</td><td>434</td></tr><tr><td>Half-covered house</td><td>267</td><td>NA</td><td>540</td><td>2882</td></tr><tr><td>Battery</td><td>180</td><td>1.2</td><td>528</td><td>499</td></tr><tr><td>Minimum houses</td><td>56</td><td>NA</td><td>800</td><td>9152</td></tr><tr><td>Sunnier climate</td><td>148</td><td>NA</td><td>455</td><td>144</td></tr><tr><td>Cloudier climate</td><td>221</td><td>NA</td><td>530</td><td>2010</td></tr><tr><td>Pricesx2</td><td>149</td><td>NA</td><td>478</td><td>739</td></tr><tr><td>Equal prices</td><td>222</td><td>NA</td><td>485</td><td>394</td></tr></tbody></table>

<table><caption>**Table 7.** Final performance in case 2.</caption><thead><tr><th rowspan="2">Run</th><th rowspan="2">Number of Houses</th><th colspan="3">Economy</th><th rowspan="2">Non-Service</th><th rowspan="2">H<sub>2</sub> Cost (€/kg)</th></tr><tr><th>Money Flow (€/€)</th><th>CAPEX (€/€)</th><th>Total</th></tr></thead><tbody><tr><td>Central case</td><td>182</td><td>0.68</td><td>0.51</td><td><strong>1.19</strong></td><td>0</td><td>5.24</td></tr><tr><td>Half-covered house</td><td>267</td><td>0.80</td><td>0.23</td><td><strong>1.13</strong></td><td>0</td><td>5.20</td></tr><tr><td>Battery</td><td>180</td><td>0.68</td><td>0.51</td><td><strong>1.19</strong></td><td>0</td><td>5.49</td></tr><tr><td>Minimum houses</td><td>56</td><td>1.29</td><td>1.64</td><td><strong>2.93</strong></td><td>0</td><td>31.38</td></tr><tr><td>Sunnier climate</td><td>148</td><td>0.59</td><td>0.50</td><td><strong>1.09</strong></td><td>0</td><td>0.26</td></tr><tr><td>Cloudier climate</td><td>221</td><td>0.76</td><td>0.56</td><td><strong>1.32</strong></td><td>0</td><td>14.49</td></tr><tr><td>Pricesx2</td><td>149</td><td>0.61</td><td>0.27</td><td><strong>0.88</strong></td><td>0</td><td>-15.15</td></tr><tr><td>Equal prices</td><td>222</td><td>0.38</td><td>0.50</td><td><strong>0.88</strong></td><td>0</td><td>-13.22</td></tr></tbody></table>

<figure><img src="image_10.png" /><figcaption>**Figure 7.** Energy flows in the second case over one year, on a daily basis, from June to May.</figcaption></figure>
<figure><img src="image_11.png" /><figcaption>**Figure 8.** Storage evolution in the second case over one year, on a daily basis, from June to May.</figcaption></figure>

As in the first case, the increase of the energy prices and the omission of the transportation cost are favorable to hydrogen. The negative values of H₂ cost for those two configurations means that the gains from the photo-voltaic production and auto-consumption are sufficient to cover the cost of the hydrogen production.

The H₂ cost is the price H₂ should have to reach a level of expense equal to the one without any equipment. Thus, the real price should be higher (or there should be incentives) for the system to be profitable to prosumers.

**5. Conclusions**

In this paper, an architecture able to model various grid configurations and management strategies was presented. It was applied to two cases: a single dwelling concerned about its energy expenses, and a solar community that has to generate enough hydrogen to refuel a bus on a daily basis. In both cases, the study took place in the French context, i.e., prices, meteorological data, and consumption profile correspond to French data.

In the first case, the pertinence of using storage to improve the self-consumption and the money savings at a domestic scale is assessed. Equipment sizing was made using two criteria: independence from the grid and economic performance. There, energy storage solutions relying on H₂ are interesting only if the economic performance is neglected (*Self-sufficiency* configuration) in the evaluation process or if the prices of energy are slightly higher (*Pricesx2* configuration). The impact of climate (mainly the irradiation here, as the production is solar-based) seems mitigated by storage technologies. Overall, storage is still too costly to be economically efficient and the long-term advantage of H₂ in terms of energy loss does not compensate the lower cost of the battery. It is interesting to note that, with the prices taken, i.e., real intraday prices, even the PV alone is not profitable. This highlights the importance of incentives/subsidies to support the development of renewable energy production and storage.

In the second case, the non-consumed part of PV production was used to produce H₂ directly for a local usage: here, the refueling of a bus, with a collective fuel cell and fuel tank, at the scale of a community. The idea was to find a better usage for the excess
PV production than selling it to the grid. Beyond the sizing of the electrolyzer and the fuel tank, the relations between number of houses and the cost price of H₂ (defined at the cost at which prosumers expense with the equipment are equal to the ones without any equipment) were analyzed. In the studied context, less than 100 houses can be sufficient, but for a high H₂ cost (31.38 €/kg for 56 houses). The relative importance of the cost of the electrolyzer and the fuel tank in the global economic performance tend to decrease with the number of houses (as there are more people paying for equipment of a similar size). Consequently, the more houses, the cheaper the H₂. The compromise reached in *central case* is of 5.26 €/kg for 182 houses. This price is also in the range of IEA estimations (3–8 $/kg). Thus, this second low-scale usage of H₂ seems much more promising to us than the first, especially knowing that H₂ is promoted by the French government.

Overall, this study, made in a French context and considering no financial incentives, tends to show the following results:

* In the first case, H₂, used as a mean of storing electricity, is not economically competitive compared to batteries;

* Use of non self-consumed solar energy to produce collectively H₂ allows for reaching an H₂ price comparable to the ones found in literature. It seems a promising way to produce locally green hydrogen while bringing benefits to consumers.

Furthermore, it is expected that the price of energy will continue to rise, with new controllable systems (like H₂ systems) and prosumers and demand response programs appearing and diffusing, increasing slightly the complexity of energy management. In this context, basic supervision strategies could be insufficient: several studies [70], reveal that Artificial Intelligence techniques are quite efficient at handling such complexity.

**Author Contributions:** Funding acquisition: S.G. and C.G. Investigation: T.G. and W.M. Project Administration: C.G. Software: T.G., W.M. and S.G. Supervision: S.G. Visualization: T.G. Writing: T.G., W.M. and S.G. All authors have read and agreed to the published version of the manuscript.

**Funding:** This research was partially funded by France Relance, especially through their participation in the funding of the post-doctoral stage of Timothé Gronier.

**Acknowledgments:** We thank Salaheddine Chabab for his help in the choice of the equation of state used for hydrogen and Rodolfo Dufo-Lopez for letting us use load data extracted from his iHOGA software.

**Conflicts of Interest:** The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

## Nomenclature

### Latin symbols

A area

C capacity

E energy

F money flows

I global irradiation

M molar mass

m mass

N number

P power

p pressure

R perfect gases constant

t time

T temperature

V volume

Z compressibility factor
### Greek symbols

α temperature coefficient (PV)

ε optimization criterion

η efficiency

θ roof angle

### Abbreviations

The following abbreviations are used in this manuscript:

<table><tr><td>CAPEX</td><td>CAPital EXpenditures</td></tr><tr><td>EMS</td><td>Energy Management System</td></tr><tr><td>HHV</td><td>Higher Heating Value (%H<sub>2</sub>)</td></tr><tr><td>LHV</td><td>Lower Heating Value (%H<sub>2</sub>)</td></tr><tr><td>IEA</td><td>International Energy Agency</td></tr><tr><td>ML</td><td>Machine Learning</td></tr><tr><td>MPPT</td><td>Maximum Power Point Tracking</td></tr><tr><td>NOCT</td><td>Normal Operating Cell Temperature</td></tr><tr><td>OPEX</td><td>Operating EXpense</td></tr><tr><td>P2P</td><td>Power-to-Power</td></tr><tr><td>P2G</td><td>Power-to-Gas</td></tr><tr><td>PV</td><td>Photo-Voltaic</td></tr><tr><td>RTP</td><td>Real-Time Pricing</td></tr><tr><td>STC</td><td>Standard Test Conditions</td></tr></table>

### References

1. Energy Storage Grand Challenge Energy Storage Market Report. Technical Report NREL/TP-5400-78462 DOE/GO-102020-5497. 2020; p. 65. Available online: https://www.energy.gov/sites/default/files/2020/12/f81/Energy%20Storage%20Market%20Report%202020_0.pdf (accessed on 11 May 2022).

2. Spitsen, P. Energy Storage Grand Challenge Roadmap. 2020; p. 157. Available online: https://www.energy.gov/energy-storage-grand-challenge/articles/energy-storage-grand-challenge-roadmap (accessed on 11 May 2022).

3. Joint EASE/EERA Recommendations for a European Energy Storage Technology Development Roadmap. 2017. Available online: https://www.eera-set.eu/component/attachments/?task=download&id=312 (accessed on 11 May 2022).

4. Technology Roadmap Energy Storage. International Energy Agency. 2014; p. 64. Available online: https://iea_blob.core.windows.net/assets/80b629ee-597b-4f79-a236-3b9a36aedbe7/TechnologyRoadmapEnergystorage.pdf (accessed on 11 May 2022).

5. Tan, K.M.; Babu, T.S.; Ramachandaramurthy, V.K.; Kasinathan, P.; Solanki, S.G.; Raveendran, S.K. Empowering Smart Grid: A Comprehensive Review of Energy Storage Technology and Application with Renewable Energy Integration. *J. Energy Storage* **2021**, *39*, 102591. [CrossRef]

6. Zhang, F.; Zhao, P.; Niu, M.; Maddy, J. The Survey of Key Technologies in Hydrogen Energy Storage. *Int. J. Hydrog. Energy* **2016**, *41*, 14535–14552. [CrossRef]

7. Elliott, D. *Energy Storage Systems*; (Book Chapter); IOP Publishing: Bristol, UK, 2017.

8. DeValeria, M.K.; Michaelides, E.E.; Michaelides, D.N. Energy and Thermal Storage in Clusters of Grid-Independent Buildings. *Energy* **2020**, *190*, 116440. [CrossRef]

9. Vand, B.; Ruusu, R.; Hasan, A.; Manrique Delgado, B. Optimal Management of Energy Sharing in a Community of Buildings Using a Model Predictive Control. *Energy Convers. Manag.* **2021**, *239*, 114178. [CrossRef]

10. Medved, S.; Domjan, S.; Arkar, C. Contribution of Energy Storage to the Transition from Net Zero to Zero Energy Buildings. *Energy Build.* **2021**, *236*, 110751. [CrossRef]

11. Romanchenko, D.; Nyholm, E.; Odenberger, M.; Johnsson, F. Impacts of Demand Response from Buildings and Centralized Thermal Energy Storage on District Heating Systems. *Sustain. Cities Soc.* **2021**, *64*, 102510. [CrossRef]

12. Touretzky, C.R.; Baldea, M. A Hierarchical Scheduling and Control Strategy for Thermal Energy Storage Systems. *Energy Build.* **2016**, *110*, 94–107. [CrossRef]

13. Ibrahim, H.; Ilinca, A.; Perron, J. Energy Storage Systems—Characteristics and Comparisons. *Renew. Sustain. Energy Rev.* **2008**, *12*, 1221–1250. [CrossRef]

14. Khouya, A. Levelized costs of energy and hydrogen of wind farms and concentrated photovoltaic thermal systems. A case study in Morocco. *Int. J. Hydrog. Energy* **2020**, *45*, 31632–31650. [CrossRef]

15. Khouya, A. Hydrogen production costs of a polymer electrolyte membrane electrolysis powered by a renewable hybrid system. *Int. J. Hydrog. Energy* **2021**, *46*, 14005–14023. [CrossRef]

16. van der Roest, E.; Snip, L.; Fens, T.; van Wijk, A. Introducing Power-to-H3: Combining renewable electricity with heat, water and hydrogen production and storage in a neighbourhood. *Appl. Energy* **2020**, *257*, 114024. [CrossRef]
17. Muthiah-Nakarajan, V.; Cherukuri, S.H.C.; Saravanan, B.; Palanisamy, K. Residential Energy Management Strategy Considering the Usage of Storage Facilities and Electric Vehicles. *Sustain. Energy Technol. Assess.* **2021**, *45*, 101167. [CrossRef]

18. Bernal-Agustín, J.L.; Dufo-López, R. Simulation and Optimization of Stand-Alone Hybrid Renewable Energy Systems. *Renew. Sustain. Energy Rev.* **2009**, *13*, 2111–2118. [CrossRef]

19. Okedu, K.E.; Uhunmwangho, R. Optimization of Renewable Energy Efficiency Using HOMER. *Int. J. Renew. Energy Res.* **2014**, *4*, 8.

20. Masud, A.A. The Application of Homer Optimization Software to Investigate the Prospects of Hybrid Renewable Energy System in Rural Communities of Sokoto in Nigeria. *Int. J. Electr. Comput. Eng. (IJECE)* **2017**, *7*, 596. [CrossRef]

21. Khare, V.; Nema, S.; Baredar, P. Optimization of Hydrogen Based Hybrid Renewable Energy System Using HOMER, BB-BC and GAMBIT. *Int. J. Hydrog. Energy* **2016**, *41*, 16743–16751. [CrossRef]

22. Alsharif, M.H. Optimization Design and Economic Analysis of Energy Management Strategy Based on Photovoltaic/Energy Storage for Heterogeneous Cellular Networks Using the HOMER Model. *Sol. Energy* **2017**, *147*, 133–150. j.solener.2017.03.044. [CrossRef]

23. Kumar, P.; Pukale, R.; Kumabhar, N.; Patil, U. Optimal Design Configuration Using HOMER. *Procedia Technol. 2016*, *24*, 499–504. [CrossRef]

24. Gökçek, M.; Kale, C. Techno-Economical Evaluation of a Hydrogen Refuelling Station Powered by Wind-PV Hybrid Power System: A Case Study for İzmir-Çeşme. *Int. J. Hydrog. Energy* **2018**, *43*, 10615–10625. [CrossRef]

25. Balachander, K.; Suresh Kumaar, G.; Mathankumar, M.; Manjunathan, A.; Chinnapparaj, S. Optimization in Design of Hybrid Electric Power Network Using HOMER. *Mater. Today Proc.* **2021**, *45*, 1563–1567. [CrossRef]

26. Khalil, L.; Liaquat Bhatti, K.; Arslan Iqbal Awan, M.; Riaz, M.; Khalil, K.; Alwaz, N. Optimization and Designing of Hybrid Power System Using HOMER Pro. *Mater. Today Proc.* **2021**, *47*, S110–S115. [CrossRef]

27. Ekren, O.; Hakan Canbaz, C.; Güvel, Ç.B. Sizing of a Solar-Wind Hybrid Electric Vehicle Charging Station by Using HOMER Software. *J. Clean. Prod.* **2021**, *279*, 123615. [CrossRef]

28. Singh, A.; Baredar, P.; Gupta, B. Computational Simulation & Optimization of a Solar, Fuel Cell and Biomass Hybrid Energy System Using HOMER Pro Software. *Procedia Eng.* **2015**, *127*, 743–750. [CrossRef]

29. Zakeri, B.; Cross, S.; Dodds, P.; Gissey, G.C. Policy Options for Enhancing Economic Profitability of Residential Solar Photovoltaic with Battery Energy Storage. *Appl. Energy* **2021**, *290*, 116697. [CrossRef]

30. Stadler, M.; Cardoso, G.; Mashayekh, S.; Forget, T.; DeForest, N.; Agarwal, A.; Schönbein, A. Value Streams in Microgrids: A Literature Review. *Appl. Energy* **2016**, *162*, 980–989. [CrossRef]

31. Sreedhar, I.; Kamani, K.M.; Kamani, B.M.; Reddy, B.M.; Venugopal, A. A Bird's Eye View on Process and Engineering Aspects of Hydrogen Storage. *Renew. Sustain. Energy Rev.* **2018**, *91*, 838–860. [CrossRef]

32. Marocco, P.; Ferrero, D.; M., G.; M.M., O.; K., S.; Lanzini, A.; Santarelli, M. A study of the techno-economic feasibility of H2-based energy storage systems in remote areas. *Energy Convers. Manag.* **2020**, *211*, 112768. [CrossRef]

33. Marocco, P.; Ferrero, D.; Lanzini, A.; Santarelli, M. The role of hydrogen in the optimal design of off-grid hybrid renewable energy systems. *J. Energy Storage* **2022**, *46*, 103893. [CrossRef]

34. Sterner, M.; Specht, M. Power-to-Gas and Power-to-X—The History and Results of Developing a New Storage Concept. *Energies* **2021**, *14*, 6594. [CrossRef]

35. Chamandoust, H.; Hashemi, A.; Bahramara, S. Energy Management of a Smart Autonomous Electrical Grid with a Hydrogen Storage System. *Int. J. Hydrog. Energy* **2021**, *46*, 17608–17626. [CrossRef]

36. Avril, S.; Arnaud, G.; Florentin, A.; Vinard, M. Multi-Objective Optimization of Batteries and Hydrogen Storage Technologies for Remote Photovoltaic Systems. *Energy* **2010**, *35*, 5300–5308. [CrossRef]

37. Valverde-Isorna, L.; Ali, D.; Hogg, D.; Abdel-Wahab, M. Modelling the Performance of Wind-Hydrogen Energy Systems: Case Study the Hydrogen Office in Scotland/UK. *Renew. Sustain. Energy Rev.* **2016**, *53*, 1313–1332. [CrossRef]

38. Morin, D.; Stevenin, Y.; Grolleau, C.; Brault, P. Evaluation of Performance Improvement by Model Predictive Control in a Renewable Energy System with Hydrogen Storage. *Int. J. Hydrog. Energy* **2018**, *43*, 21017–21029. [CrossRef]

39. Présentation de la Stratégie Nationale pour le Développement de l'Hydrogène Décarboné en France. 2020. Available online: https://www.economie.gouv.fr/presentation-strategie-nationale-developpement-hydrogene-decarbone-france (accessed on 11 May 2022).

40. Lujano-Rojas, J.M.; Dufo-López, R.; Bernal-Agustín, J.L. Probabilistic modelling and analysis of stand-alone hybrid power systems. *Energy* **2013**, *63*, 19–27. [CrossRef]

41. Durbin, D.; Malardier-Jugroot, C. Review of Hydrogen Storage Techniques for on Board Vehicle Applications. *Int. J. Hydrog. Energy* **2013**, *38*, 14595–14617. [CrossRef]

42. Pukazhselvan, D.; Kumar, V.; Singh, S. High Capacity Hydrogen Storage: Basic Aspects, New Developments and Milestones. *Nano Energy* **2012**, *1*, 566–589. [CrossRef]

43. Sankir, M.; Demirci Sankir, N. (Eds.) *Hydrogen Storage Technologies; Advances in Hydrogen Production and Storage; John Wiley & Sons, Inc.: Hoboken, NJ, USA; Scrivener Publishing LLC: Salem, MA, USA, 2018.*

44. Hosseini, M.; Dincer, I.; Naterer, G.; Rosen, M. Thermodynamic Analysis of Filling Compressed Gaseous Hydrogen Storage Tanks. *Int. J. Hydrog. Energy* **2012**, *37*, 5063–5071. [CrossRef]

45. Yang, J.C. A Thermodynamic Analysis of Refueling of a Hydrogen Tank. *Int. J. Hydrog. Energy* **2009**, *34*, 6712–6721. [CrossRef]
46. Sakoda, N.; Shindo, K.; Motomura, K.; Shinzato, K.; Kohno, M.; Takata, Y.; Fujii, M. Burnett PVT Measurements of Hydrogen and the Development of a Virial Equation of State at Pressures up to 100 MPa. *Int. J. Thermophys.* **2012**, *33*, 381–395. [CrossRef]

47. Achaibou, N.; Haddadi, M.; Malek, A. Lead Acid Batteries Simulation Including Experimental Validation. *J. Power Sources* **2008**, *185*, 1484–1491. [CrossRef]

48. Schiffer, J.; Sauer, D.U.; Bindner, H.; Cronin, T.; Lundsager, P.; Kaiser, R. Model Prediction for Ranking Lead-Acid Batteries According to Expected Lifetime in Renewable Energy Systems and Autonomous Power-Supply Systems. *J. Power Sources* **2007**, *168*, 66–78. [CrossRef]

49. Mohsin, M.; Picot, A.; Maussion, P. Lead-acid battery modelling in perspective of ageing: A Review. In Proceedings of the 2019 IEEE 12th International Symposium on Diagnostics for Electrical Machines, Power Electronics and Drives (SDEMPED), Toulouse, France, 14 October 2019; pp. 425–431. [CrossRef]

50. Dufo-López, R.; Champier, D.; Gibout, S.; Lujano-Rojas, J.M.; Domínguez-Navarro, J.A. Optimisation of Off-Grid Hybrid Renewable Systems with Thermoelectric Generator. *Energy Convers. Manag.* **2019**, *196*, 1051–1067. [CrossRef]

51. Huld, T.; Müller, R.; Gambardella, A. A new solar radiation database for estimating PV performance in Europe and Africa. *Sol. Energy* **2012**, *86*, 1803–1815. [CrossRef]

52. Epex Spot—European Power Exchange. Available online: https://www.europex.org/members/epex-spot/ (accessed on 24 February 2022).

53. Rapport d'Évaluation du 22 Juillet 2021 sur le Dispositif des Tarifs Réelementés de Vente d'Électricité; Technical Report; Autorité de la Concurrence: Paris, France, 2021. Available online: https://www.autoritedelaconcurrence.fr/sites/default/files/2021-09/rapport-trv.pdf (accessed on 24 February 2022).

54. Dufo-López, R.; Bernal-Agustín, J.L.; Yusta-Loyo, J.M.; Domínguez-Navarro, J.A.; Ramírez-Rosado, I.J.; Lujano, J.; Aso, I. Multi-Objective Optimization Minimizing Cost and Life Cycle Emissions of Stand-Alone PV-Wind-Diesel Systems with Batteries Storage. *Appl. Energy* **2011**, *88*, 4033–4041. [CrossRef]

55. ENGIE: Estimer la Consommation Electrique d'Un Appartement. Available online: https://particuliers.engie.fr/economies-energie/conseils-economies-energie/conseils-eco-gestes-au-quotidien/estimer-consommation-electrique-appartement.html (accessed on 24 February 2022).

56. ENGIE: Consommation Electrique Moyenne d'Un Logement par Superficie. Available online: https://particuliers.engie.fr/electricite/conseils-electricite/conseils-tarifs-electricite/consommation-electrique-moyenne-logement-par-superficie.html (accessed on 24 February 2022).

57. Projected Costs of Generating Electricity 2020 Edition. 2020. Available online: https://www.iea.org/reports/projected-costs-of-generating-electricity-2020 (accessed on 11 May 2022).

58. Joris, P. State-of-the art CAPEX data for water electrolysers, and their impact on renewable hydrogen price settings. *Int. J. Hydrog. Energy* **2019**, *44*, 4406–4413. [CrossRef]

59. Marocco, P.; Ferrero, D.; Lanzini, A.; Santarelli, M. *Manufacturing Cost Analysis of PEM Fuel Cell Systems for 5- and 10-kW Backup Power Applications*; Battelle: Columbus, OH, USA, 2016. Available online: https://www.energy.gov/sites/prod/files/2016/12/f34/fcto_cost_analysis_pem_fc_5-10kw_backup_power_0.pdf (accessed on 11 May 2022).

60. *Study on Early Business Cases for H₂ IN Energy Storage and More Broadly Power to H₂ Applications—Final Report*; Technical Report, Fuel Cells and Hydrogen Joint Undertaking; Tractebel Engineering S.A.: Brussels, Belgium, 2017.

61. Kuckshinrichs, W.; Ketelaer, T.; Koj, J.C. Economic Analysis of Improved Alkaline Water Electrolysis. *Front. Energy Res.* **2017**, *5*, [CrossRef]

62. Gracia, L.; Casero, P.; Bourrasseau, C.; Chabert, A. Use of Hydrogen in Off-Grid Locations, a Techno-Economic Assessment. *Energies* **2018**, *11*, 3141. [CrossRef]

63. Debray, B.; Weinberger, B. *Guide pour l'Évaluation de la Conformité et la Certification des Systèmes à Hydrogè*; Technical Report; 2021. Available online: https://librairie.ademe.fr/produire-autrement/4978-guide-pour-l-evaluation-de-la-conformite-et-lacertification-des-systemes-a-hydrogene.html (accessed on 11 May 2022).

64. Paudyal, B.R.; Imenes, A.G. Investigation of temperature coefficients of PV modules through field measured data. *Sol. Energy* **2021**, *224*, 425–439. [CrossRef]

65. Jones, E.; Oliphant, T.; Peterson, P. SciPy: Open Source Scientific Tools for Python. 2001. Available online: https://www.researchgate.net/publication/213877848_SciPy_Open_Source_Scientific_Tools_for_Python (accessed on 11 May 2022)

66. Le Gouvernement Engage des Mesures Exceptionnelles pour Protéger le Pouvoir d'Achat des Français et Préserver la Compétitivité de l'Approvisionnement Électrique des Entreprises Face à la Forte Hausse des Prix de l'Énergie. The Ministry of Ecological Transition: Paris, France, 2022. Available online: https://www.ecologie.gouv.fr/gouvernement-engage-des-mesures-exceptionnelles-proteger-pouvoir-dachat-des-francais-et-preserver (accessed on 11 May 2022)

67. *The Future of Hydrogen*; Technical Report; International Energy Agency: Paris, France, 2019.

68. *Hydrogen: A Renewable Energy Perspective*; Technical Report; International Renewable Energy Agency—IRENA: Masdar City, United Arab Emirates, 2019.
69. Viktorsson, L.; Heinonen, J.T.; Skulason, J.B.; Unnthorsson, R. A Step towards the Hydrogen Economy—A Life Cycle Cost Analysis of A Hydrogen Refueling Station. *Energies* **2017**, *10*, 763. [CrossRef]

70. Antonopoulos, I.; Robu, V.; Couraud, B.; Kirli, D.; Norbu, S.; Kiprakis, A.; Flynn, D.; Elizondo-Gonzalez, S.; Wattam, S. Artificial intelligence and machine learning approaches to energy demand-side response: A systematic review. *Renew. Sustain. Energy Rev.* **2020**, *130*, 109899. [CrossRef]