1. Introduction
Air pollution and the lack of fossil fuels have become severe in recent years. To solve the two problems, conventional internal combustion engine vehicles will be replaced by plug-in electric vehicles (EVs) [
1] or hydrogen-powered vehicles (FCEVs) [
2]. Compared with EVs, FCEVs can be more promising because of their superior features of fast refueling rate, high mileage range, and zero pollution [
3].
Generally, hydrogen can be produced through electrolytic, thermal, and biochemical processes [
4]. Among these technologies, electrolysis is expected to be the main generation method [
5]. It is a mature technology of applying direct electric current to water to dissociate it; moreover, the green hydrogen obtained has a high purity reaching 99.999 vol.% [
6].
Normally the producing process happens in electrolyzers and the produced hydrogen is stored in storage-equipped fueling stations to fulfill the demand for FCEVs [
7]. For hydrogen refueling stations (HRSs), hydrogen can be generated on-site or at large central production plants and be transported to the stations [
8]. The latter approach costs less for hydrogen production; however, the spend on transporting hydrogen can be excessive [
9]. Ref. [
10] develops a hydrogen supply chain planning model that determines the least-cost mix of H
2 generation, storage, transmission, and compression facilities to meet H
2 demand. A wide range of hydrogen-related technology options is studied.
By contrast, the on-site hydrogen stations eliminate the transportation cost and enhance the safety assurance for the hydrogen industry.
Even though the on-site hydrogen stations with electrolyzers are proving viable [
8], their proliferation is limited by exorbitant construction costs and the high price of electricity for operation [
6]. Therefore, researchers are studying various methods to realize cost reduction.
The efficiency of commercial electrolyzers is less than 60% [
5]; thus a massive amount of electricity is needed to satisfy hydrogen demand [
8]. Some researchers utilize cheap renewable energy, replacing traditional electricity from the grid to supply power to electrolyzers [
11]. Most of them study the scheduling method during an HRS’s operation and concentrate on the stability and economy of the whole system. Ref. [
12] analyzes the modeling and control of a hybrid-drive wind turbine with hydrogen energy storage and studies the regulation function of hydrogen in a wind power generation system. Ref. [
13] proposes a cooperative operation model for the wind turbines and HRSs considering the individual benefit. A planning model for an electricity-hydrogen integrated energy system (EH-IES) is proposed in [
14], with considerations of hydrogen production and storage technologies. Similarly, they both consider the risks deriving from electricity price uncertainties [
13] and generation-load uncertainties [
14]. Moreover, seasonal storage and interregional hydrogen supply chains (HSCs) are employed by some researchers to eliminate the imbalance between renewable energy and hydrogen demand [
15].
Expect for cheap electricity from renewable energy, some researchers focus on the peak-valley difference of electricity price from the power grid, decreasing the operation cost by giving the electrolyzer different production scheduling hourly. In [
7], the dramatically changeable electricity prices provide access for the station to participate in the power market with a hydrogen-storage tank. The operating reserve provision model is proposed in [
8] to intensify the economic feasibility of the investment. Ref. [
16] proposes a model for optimal scheduling of privately owned hydrogen storage stations by exploiting the lower electricity market prices to reduce the power purchase cost.
Even though investment costs have been considered in the optimization of some integrated energy systems [
17], hydrogenation station scenarios with hydrogen energy demand estimations are an original study point. Ref. [
18] proposes a model for optimal day-ahead scheduling of power-to-grid storage and studies the gas load management in electricity and gas markets to minimize the cost of gas consumption for the gas load. A gas demand forecasting algorithm is integrated into the optimal scheduling model using soft constraints, slack variables, and penalizing mechanisms. However, this forecasting algorithm only considers the information from data but ignores the behavior of hydrogen vehicles.
Installation cost accounts for over 30 percent of the total investment; therefore, it is supposed to be considered for cost reduction. To reduce operating costs, it is feasible to make proper use of the peak-valley difference in electricity prices [
16].
To minimize the total cost during the HRS life cycle, this paper proposes a configuration method for installation and hourly generation scheduling for electrolyzers. As for installation investment, the optimal capacity for electrolyzers, as well as for storage devices, is investigated. The peak-valley difference of electricity prices is in full use to reduce electricity costs. The operation constraints of HRS have been mentioned in previous literature. However, precise demand constraints are needed to solve the optimization problem, which has not been studied yet. In this paper, a refueling behavior simulation method for FCEVs is proposed, contributing to hydrogen demand estimation for HRS, which is significant to solve the optimization problem.
The main contributions of this paper are summarized below:
Mimicking the research into electric vehicles, the refueling behavior of FCEVs is simulated and a hydrogen demand estimation method is proposed. The estimation results provide relatively accurate demand constraints for the optimization model to minimize the total cost of HRS.
An OPT-ISL method is developed for both the installation investment and operation cost. The optimal configuration of electrolyzers and storage devices is obtained with this method. The peak-valley difference of electricity prices from the power grid is fully utilized with hydrogen generation plan from the OPT-ISL method.
The economical efficiency to reduce the total cost of HRS with the proposed OPT-ISL method is proven to be optimal.
The remainder of this paper is organized as follows.
Section 2 proposes a simulation method for FCEVs’ refueling behavior and a hydrogen demand estimation method for HRS with a certain amount of FCEVs. An optimization formulation with objective function and constraints is presented in
Section 3. Case studies and profit analysis are conducted in
Section 4. Finally, conclusions are given in
Section 5.
2. Hydrogen Demand Estimation
In the micro-grid with HRS, researchers generally use the previous hydrogen demand curve to predict the subsequent curve, since hydrogen demand is difficult to estimate in complex micro-grid scenarios [
9]. In this study, as the HRS takes power directly from the grid and the fluctuation of electricity price and accurate estimation of hydrogen demand are used to minimize the cost, the research scenario is relatively simple. Therefore, it is feasible to realize an accurate hydrogen demand estimation.
As the output constraint of HRS, hydrogen demand is a critical factor to optimize the configuration of hydrogen refueling stations and calculate the benefits. This depends on the time, the location of the station, and other issues [
17]. In previous studies, a typical hydrogen demand is usually assumed, with random fluctuations to make it more reliable [
10]. However, the daily hydrogen demand follows certain rules, which is not a typical value and can be estimated in some ways.
This chapter proposes a more accurate method to estimate hydrogen demand if the vehicles served are decided.
2.1. Research Background
Compared with HRSs, the demand for gas stations and charging stations [
19] are studied more often. The engineering analogy method performs well for gas stations to estimate hydrogen demand. In this method, the total amount of hydrogen refueling stations is estimated based on the number of urban motor vehicles; that is, the station serves a certain number of motor vehicles, which can match the supply and demand. Since HRSs and gas stations share many similarities, the engineering analogy method can possibly be applied to estimate the hydrogen demand.
It is assumed that the HRS operates the whole 24 h in a day and each FCEV refuels itself only during its driving time on the road. Fuel quantity for FCEVs depends on their fuel tank volumes. The refueling rate is related to the minimum amount of residual hydrogen acceptable to an FCEV [
12].
Thus, the hydrogen demand per hour from each FCEV can be expressed as the product of possibility on the road, refueling rate, and fuel quantity, which can be estimated respectively to obtain hydrogen demand, since for individual FCEVs there are only two states: on the road or not.
There are three different types of FCEVs: taxis, private cars, and buses classified by their travel habits. We derive three driving patterns for each of them. On the basis of the Fermi Estimation Principle [
20], this will produce a more reasonable estimation.
According to studies of plug-in electric vehicle (PEV) driving patterns by using statistics from the National Household Travel Survey in [
21], the home arrival (office departure) times and the office arrival (home departure) times of plug-in electric vehicles can be simulated following the normal distribution. Their daily driving distances can be modeled by a logarithmic normal distribution. Since the lifestyles of the owners are hardly affected by whether the vehicle is FCEV or PEV, the driving pattern of private FCEVs can be considered similar.
2.2. Private FCEVs
Private FCEVs seem to leave home in the morning and arrive back home at night. Similarly, the pattern of PEVs can be applied to private FCEVs.
The home departure times and home arrival times both satisfy the normal distribution
as Equation (1), while the daily driving distances d can be modeled by a logarithmic normal distribution shown in Equation (2), assuming the only time for private hydrogen cars to refuel is when they are on road, from home to workplace, and backtracing. For individual private FCEVs, the one-hot encoding shown in Equation (3) is employed to show whether it is on-road or not:
where
k = l, a to represent departure times or home arrival times.
Since there is no direct relationship between daily driving distance and departure time, home arrival time, the average daily distance is applied to replace .
For private FCEVs, whether they would refuel themselves depends on the state of charge (
SOC), which is normally 0 to 1. Each FCEV should ensure its
SOC is above
when on the road, which is determined by the driving distance between HRS and home (office)
, hydrogen consumption per kilometer
, and nominal hydrogen capacity
. However, obtaining
for each private FCEV is impractical; hence,
replaces
to describe
as Equation (4) shows:
where
is assumed as a constant value between 15 and 25%. Therefore, for private FCEV
i, the refueling rate can be expressed as Equation (5):
2.3. Non-Private FCEVs
There are roughly two kinds of non-private FCEVs: taxis and buses. Taxi drivers also have starting and leaving time of work, which satisfy the normal distribution. For taxis with hydrogen, the possibility on roads can be expressed as Equation (3), while the parameters for
are different. For individual taxis, the time on the road is also decided by home departure time and home arrival time, as shown in Equation (6):
Taxis are assumed to leave home earlier and arrive back home later. Whereas, according to the study of taxis, the refueling time of them is mostly in the period of 11:00–14:00 and 20:00–24:00, which is different from private cars [
22].
Therefore, for hydrogen taxis, the refueling times also obey normal distribution in these two periods, and the daily driving distances obey logarithmic normal distribution. This is because the paths of taxis commonly overlap on the road when taking customers from home to workplace. The SOC also decides whether the taxis refuel themselves, which satisfies normal distribution with a large mean value and little square deviation compared with private cars. This is because the expected travel distance for the next customer is uncertain and drivers may comply with specifications set by the company.
and
are shown in Equations (7) and (8). Their daily driving distances d can be modeled by a logarithmic normal distribution shown in Equation (9):
Hydrogen buses can be scheduled in terms of passenger flow and road congestion [
23], which is not the point of this paper. Here we assume HRS refuels the buses just before they leave for work or arrive after work.
Specifically, buses go on duty (off duty) at regular intervals; their hydrogen demand is distributed evenly during the period between the first-on-duty (first-off-duty) bus and the last-on-duty (last-off-duty) bus. Generally, half of the buses refuel before duty and half after duty. Therefore, assuming the two periods of time are
and
, the number of buses refueling in HRS can be expressed as (10):
2.4. Fuel Quantity
The fuel quantity is the difference value of
SOC between arriving time and leaving time. We assume that FCEVs are always refueled when their
SOC reaches a minimum value and leave HRS with 100%
SOC. For private FCEVs and taxis, the fuel quantity depends on the vehicle’s hydrogen capacity and minimum
SOC, while for buses, it is relative to hydrogen consumption per kilometer and daily mileage. Fuel quantity for three types of FCEVs is described in Equation (11) as follows:
2.5. Summary
Above all, the hydrogen demand for HRSs on weekdays can be expressed as Equation (12), while the hydrogen demand for private FCEVs and taxis on weekends is assumed to be 70 and 120%, respectively.
The estimation algorithm for daily hydrogen demand with hourly intervals is shown in Algorithm 1.
Algorithm 1. Hydrogen demand estimation algorithm. |
.
.
|
.
|
.
|
, multiply private FCEVs’ demand by 70%, taxis’ demand by 120%. |
4. Case Study
The hydrogen estimation and optimization algorithms are developed in Matlab 7.12 and the computer programs are executed in a computer with the following specifications: Core i5-8265U, 3.40GHz CPU, 8GB RAM, and 64-b system.
Figure 2 shows the scenario of the case study. The hydrogen energy output of HRS is determined by the driving and refueling behavior of the three types of hydrogen vehicles, from which HRS obtains income. There are three important parts in HRS: compressor, electrolyzer, and storage, which contribute to most installation costs and operating costs, except electricity costs. Electricity for HRS comes directly from the power grid.
4.1. Hydrogen Demand Estimation
The estimation model for hydrogen demand is performed in
Section 2.
Table 1 shows the parameters applied for the case study [
21]. For hydrogen buses, their working hours are set from 6:00 to 23:00 [
23], and the three-hour period is considered for duty intervals between first-leaving and last-leaving buses. It is worth mentioning that even though the buses are on duty for about 15 h, there may be extra time for them to stop or wait at the departure station. Thus, their driving times are assumed to be 10 h.
4.1.1. Single Private FCEV Refueling Behavior
The driving behavior and refueling behavior of each FCEV are simulated with the proposed estimation model.
Figure 3 shows the state of hydrogen of six representative hydrogen cars among them and the map presents the serial number of each vehicle. The curve goes down when the corresponding car is running on the road, while the curve rises steeply when the corresponding car is being refueled. Different colors represent different cars. Applying the simulation model proposed in
Section 2, each car has its own driving and refueling behavior. Daily consumption and refueling behavior are presented.
During the week, hydrogen consumption happens every day, while the refueling behaviors only take place when the hydrogen storage is lower than the expectant value of drivers. For example, the state of hydrogen for number 17 car is at the lowest at about 8:00 p.m. on Tuesday, and the driver refuels the car at about 9:00 a.m. on Friday, so that the state of hydrogen rises to the highest.
4.1.2. Taxis’ Hydrogen Demand Distribution
According to the simulation model proposed, the hydrogen demand distribution for taxis is shown in
Figure 4. Previous studies indicate that hydrogen vehicles have a similar refueling behavior to traditional vehicles [
25]. Researchers collected 1,342,957 refueling events of taxis to obtain the petrol consumption distribution during the day [
26].
Compared with the actual distribution of petrol consumption in [
26], they have envelopes of similar shape, which is the verification of the proposed estimation method for taxis.
4.1.3. Jensen–Shannon Divergence
The National Renewable Energy Laboratory recorded 18,568 fueling events of FCEVs [
24] and provided actual refueling time during the day. The Jensen–Shannon divergence in Equation (22) can be applied to measure the degree of difference between two probability distributions. Thus, it is used to measure the error between the hydrogen demand estimation results and the actual results.
where
P and
Q are two discrete distributions. The range of JS is from 0 to 1, and the closer it gets to 0, the smaller the error between
P and
Q is.
Considering the average value of the prediction results of taxis and cars in 1 week as
P and the actual refueling distribution as
Q, the result of
JS(
P||
Q) is 0.029.
Figure 5 shows the two hydrogen demand values, in which the shapes of the two distributions are similar.
The previous study also profiles the daily hydrogen demand of HRS [
7]. JS divergence between its profile and the actual value is 0.0989, which is obviously larger than that of our prediction model. Therefore, the proposed hydrogen demand estimation model is proved to be accurate. It is worth mentioning that the total daily hydrogen demand is set as the same for the above distribution to make a comparison. Since the hourly hydrogen demand of buses mostly depends on the dispatching method,
Figure 5 shows the demand distribution except for buses. The demand distribution of buses is shown in
Table 2, according to the dispatching method presented in
Section 2. Including the demand from buses, the assumed HRS’s daily hydrogen demand is about 8000 kg.
4.2. Capacity Configuration Optimization
According to the obtained hydrogen demand curve, the capacity of electrolyzers and storage can be optimized with the optimization formulations in
Section 3. The optimization model is solved as linearly constrained optimization to determine the optimized capacity of electrolyzers and storage, and hydrogen generation scheduling to minimize the costs of both investment and operation.
4.2.1. Parameters Design
Table 3 shows the necessary parameters for capacity configuration. Since the service lives of electrolyzers and hydrogen storage tanks are 10 years for each, we set |Y| = 10, |W| = 52, |D| = 7, and |H| = 24. The real-time electricity prices shown in
Figure 6 are from the Illinois Power Company [
27], which indicates the fluctuation of electricity prices during the day.
4.2.2. Mixed-Integer Linear Programming
It seems that the optimization formulas for HRS are linear optimization problems, which are effortless to solve. However, since this paper considers electricity prices with hourly hydrogen demand, it results in yearly optimization with hourly intervals, resulting in a large number of variables, and hourly hydrogen storage (24 × 364). Thus, some tips are employed to reduce the number of variables for optimization.
Since daily hydrogen demand follows certain rules, the generation scheduling for electrolyzers can be 1-day scheduling, repeating every day. Regular generation scheduling can reduce labor costs and increase algorithm stability. Thus, there are just 24 variables for hydrogen generation scheduling.
Equation (23) expresses hydrogen storage at D = d, H = h as hydrogen storage at D = d, H = 1 combined with hydrogen demand and hydrogen generation between the two times. Therefore, 364 variables are applied for daily hydrogen storage.
Above all, with two variables for capacities of electrolyzers and storage, there is a total of 390 variables in the input vector.
According to the optimization formulas mentioned above, the constraints and goals are described with a matrix. Real-time hydrogen storage is calculated to make sure it is less than the capacity, contributing to the [9124*390] inequality constraints matrix with [364*390] equality constraints matrix.
Figure 7 shows the mixed-integer linear programming algorithm for the optimization problem.
4.3. Optimization Results and Comparison
As mentioned above, the optimization objective for the proposed configuration method is to minimize the annual cost for HRS, considering both installation cost and operation cost, while previous studies usually consider just one of them [
8]. This chapter analyzes the optimization results and compares them with the configuration methods, just considering investment or operation.
OPT Method: Optimize the operation cost only, with prescribed capacity value.
According to the proposed estimation algorithm, the daily hydrogen demand is up to 11,000 kg; therefore, the configuration for electrolyzers and storage of HRS is set at 26,000 kg/d and 22,000 kg [
7]. With this fixed configuration, the optimization formula is applied to minimize the operation cost.
ISL Method: Optimize the installation cost without regard to operating cost.
Configuration of HRS is optimized to minimize the installation cost, but the operation rules are irrelevant to electricity price. Thus, the operation cost is not optimized.
OPT-ISL Method: Our proposed method optimizes the installation cost and operation cost.
Since the daily operation rules depend on the fluctuation of electricity prices, the operation cost can be minimized. Meanwhile, the installation cost is taken into consideration in the optimization objective.
Table 4 shows the optimization results of the above three methods. To ensure the accuracy of comparison, the three cases end with the same amount of hydrogen remaining in storage annually and the same scenario of hydrogen demand. Even though the ISL method performs better in electricity costs, for the whole cost the proposed OPT-ISL method is the least, 8.1% less than the ISL method and 10.5% less than the OPT method. Moreover, placing a 71 MW electrolyzer in a fueling station is impossible, which means it should be located at the service station. Therefore, it seems the traditional configuration method cannot satisfy the demand for hydrogen refueling in the future.
The different hydrogen generation schedulings of the three methods are shown in
Figure 8. For the OPT method, the electrolyzer works in more centralized periods to use the cheapest electricity to generate hydrogen, which may lead to a large capacity of electrolyzer and storage. For the ISL method, hydrogen is generated evenly hourly to minimize the installation costs but increase the electricity costs. Compared with previous methods, the proposed OPT-ISL method balances the installation cost and operation cost, making full use of the peak-valley difference of electricity prices and considering the appropriate capacity of hydrogen generation electrolyzers and storage.
As shown in
Figure 9, the hydrogen storage of HRS can be forecast with optimal configuration for devices and a hydrogen generation plan for electrolyzers. To be precise, the hydrogen storage of HRS changes all the time and is difficult to forecast; however, applied with the proposed OPT-ISL method, hourly hydrogen generation, and demand are obtained, the daily storage change is thus acquired. It is also important to keep hydrogen storage within the permissible limits of capacity.
The percentage of HRS expenses in a year with the three configuration methods is shown in
Figure 10, which illustrates that whichever method is applied to plan an HRS, the installation cost is a non-negligible part of the total cost and the electricity cost is always the most expensive part. Therefore, as shown in
Table 4, the proposed OPT-ISL method takes both of them into consideration, contributing to more than a 40% decrease in electrolyzer investment compared with the OPT method and more than a 20% decrease in electricity cost with the ISL method.
4.4. Profit Analysis
It is noteworthy that hydrogen compressors play an important role in installation cost, which is not the optimized goal in this paper. According to the control variable method, the installation cost of the hydrogen compressor is assumed to be 30% of the investment for electrolyzers and storage devices with the proposed OPT-ISL method, so that the profits can be calculated. The operating costs of compression electricity consumption are included in Equation (15).
Annual hydrogen demand is 3,051,500 kg in the prescribed scenario. Hydrogen price per kilogram is adjustable from USD 2.45 to USD 6.61 [
29,
30], which is influenced by the electrolyzer’s efficiency, electricity price, and so on. The revenue and break-even years of the three configuration methods can be obtained with the hydrogen price decided. Present-value interest factors of annuity (PVIFA) are considered when we analyze profitability.
As shown in
Figure 11, the proposed OPT-ISL method shortens the break-even time for HRS from 11.1 years to 7.8 years, decreasing 29.7%. Even though the ISL method shows much less initial investment, it results in 10.7 years for HRS to achieve break-even. Therefore, the OPT method and ISL method cannot earn their costs within 10 years with hydrogen at USD 3.5/kg.
It is important to decide on a reasonable hydrogen price for the sake of a sustainable market [
31]; normally the price of hydrogen depends on investment during construction and operation. Break-even time indicates income from investment, which can probably help with hydrogen price setting.
The relationship between hydrogen price and break-even time of the three methods is shown in
Table 5.
As shown in
Table 4, a higher hydrogen price contributes to a shorter break-even time. However, if the hydrogen price is less than USD 3/kg, the ISL method will be impractical for configuration.
Figure 12 indicates that the proposed OPT-ISL method has the largest range of hydrogen prices when the break-even time is set less than 10 years. With hydrogen prices between USD 3.2/kg and USD 4.3/kg, the profits with the OPT-ISL method are optimal, while with hydrogen prices higher than USD 4.3/kg, the ISL method appears a little better. However, from the perspective of market economics, high hydrogen prices go against the popularity of FCEVs.
The long-term cost target for dispensed hydrogen is USD 2–3/kg [
29]. Therefore, the proposed OPT-ISL method is beneficial to realize the target, helping to promote the hydrogen market. Meanwhile, it contributes to considerable profit as long as the price is set higher than USD 3.5/kg, the profit ratio can be larger than 20%.
5. Conclusions
In the aspect of the economy of HRS, capacity configuration and generation scheduling are critical research directions. This paper proposes an optimization method (OPT-ISL method) for HRSs with on-site electrolytic production, aiming to minimize the total costs of HRS.
First, a refueling behavior simulation method for three kinds of FCEVs, private cars, taxis, and buses, is creatively developed. With the simulation results of drivers’ travel habits, three critical variables are abstracted out: possibility on the road, refueling rate, and fuel quantity. The hourly hydrogen demand for an HRS with given served vehicles can be estimated with the three critical variables.
Second, an optimization model for HRS is proposed, taking advantage of the peak-valley prices of electricity from the grid and the hydrogen demand estimation results. On the one hand, the installation costs and hourly operating costs are considered; on the other hand, a variety of constraints including electrolyzers, hydrogen storage, and hydrogen demand are analyzed.
Finally, the case study validates the accuracy of the hydrogen demand estimation method and the economical efficiency of the proposed OPT-ISL method. The result of the Jensen–Shannon divergence is applied to verify the accuracy of the hydrogen demand estimation, which is much smaller than that of the estimation method in reference. In comparison with previous configuration methods that consider only installation cost or operating cost, the OPT-ISL method achieves an obvious reduction of total costs. Simultaneously, the break-even time of HRS is evidently shortened with the proposed OPT-ISL method. In other words, the OPT-ISL method achieves a lower hydrogen price with the expectant break-even time, which is beneficial to the sustainable development of the hydrogen energy market.
To sum up, this paper creatively proposes a hydrogen demand estimation method. Based on the estimation results, the proposed OPT-ISL method provides optimal configuration of devices and hydrogen generation plans for future HRS, as well as guidance on hydrogen prices.