1 Introduction

China’s high-speed railway construction has achieved a significant breakthrough and distinguished achievement [1]. In China, the mileage of railways in service reached 131,000 km in 2018, of which 29,000 km are high-speed lines. Meanwhile, it should be noted that the energy consumption of the railway system is high. The statistics indicated that the total energy consumption in 2018 was equivalent to 16.2 million tons of standard coal [2]. Huge energy procurement costs prompt railway system to seek a lower energy consumption. Massive actual operating data demonstrate that, for high-speed railway system (HSRS), regenerative braking energy (RBE) accounts for about 5% of total energy [3]. On the other hand, the high-speed trains (HSTs) adopt pulse width modulation (PWM)-based four-quadrant converter (four QC), thereby the regenerative braking power (RBP) generated by the train may be up to 20 MW instantaneously [4]. Public power grid would suffer from intense impact when high-frequency power is directly fed back to the power grid. At the same time, power quality problems such as voltage imbalance, voltage reduction and frequency fluctuation are inevitably encountered [5]. Consequently, the energy storage system (ESS) has been considered as a key factor in solving these problems [6].

Energy storage utilization of regenerative braking energy in urban rail transit system has been widely applied. A case study confirms the effectiveness of reducing energy-consuming by 10% to 45% by means of regenerative braking systems [7]. Considering that the AC power supply of high-speed railway with characteristic of bi-directional energy flow, researches about energy storage and energy recycling for electrified railway have been put forward [8]9. A novel energy storage traction power supply system is examined for peak clipping and valley filling, and the validity of the control method and the excellent performance of the system are indicated by a case study in an electrified railway [10]. A co-phase traction power supply system with SC ESS was proposed in [11], and the conclusions validated that the structure effectively realized the energy management of electrified railway, including four working modes: traction, regenerative braking, peak shaving and valley filling. In [12], an ESS sizing method for peak-demand reduction of an urban railway system is proposed, and a numerical example considering data from railway systems shows the suitable performance of the ESS for railway systems. A supervision strategy based on multi-criteria approach was proposed and the results showed the good investment value of ESS in railway [13].

The energy management strategy plays an important role of reasonable configuration of ESS, and previous studies offered quite a few important insights for reference [9,10,11,12,13]. In [14] two different connection topologies of the ESS technologies were examined, and the system efficiency and performance were compared in an example wind farm. A knowledge-based approach was further proposed to schedule the power of a two-stage ESS, to minimize the negative impact of wind energy on the grid [15]. According to a hybrid centralized-decentralized concept, a new railway energy management system (REM-S) combining with the smart grid (SG) concept was proposed for partial energy management [16]. Based on the frame of REM-S, a prototype software suite for REM-S was developed and simulated in a suburban 3 kV DC supply railway line in Spain, where the effectiveness and reliability were validated [17]. A position-based Takagi–Sugeno fuzzy (T-S fuzzy) power management for trams equipped with ESS was proposed, and the simulation based on real traffic data indicated that the strategy allowed a 14.9% decrease in the energy consumption [18]. The management strategies proposed in above papers mostly ignored the periodicity and violent fluctuation of traction load, and simultaneously led to an excess in ESS capacity. Energy management with higher accuracy and efficiency is mandated by HSRS.

The ESS size is highly correlated with technical performance and economic investment, hence this series of problems have been attracting broad interests throughout the world. In [19] the cost–benefit analysis of ESS was formulated as a mixed linear integer problem (MLIP), in order to quantitatively determine the optimal capacity of ESS. The reliability criterion was considered further to calculate the optimal size of ESS and the problem was transformed into a mixed-integer programming (MIP) model [20]. With regard to the traction power supply system, an optimal operation model which takes the impedance of the traction network into account is brought forward, but the mixed integer non-linear programming model (MINLP) employed here involves complicated calculations. However, considering its high susceptibility to high-rate power cycling, the battery service life is also of concern [21]. For instance, a comprehensive ESS sizing model based on an MLIP of ESS was proposed, which considered the impact of depth of discharge and the number of charging and discharging (C&D) cycles on the battery degradation [22]. The rain-flow method is generally utilized to quantitatively investigate the service life of battery [23]24. A novel bi-level of energy management system was developed based on rain-flow method, in which simulation power data of trains was employed [25]. The simulation conditions tended to be ideal, although the reduction in electricity costs demonstrated by the optimization results was satisfactory (about 30%). Likewise, the exploited algorithm has significant effects on optimization objective searching, thus an improved particle swarm optimization (PSO) is proposed in this paper.

This paper explores size optimal method and energy management strategy of hybrid energy storage system (HESS) for HSRS. An energy management strategy train-working-diagram-based is proposed by fully analyzing the daily cycle and predictability of traction load of HSRS. The HESS discharge and release energy during power peak, while charge and store energy during power valley. The HESS size problem is cast as an optimization model with the optimal objective of economic returns, where the rain-flow method is assembled for vanadium redox battery (VRB) service life evaluation. The power allocation and operation limits are formulated as optimization constraints, in which the Discrete Fourier Transform (DFT) is adopted to dispatch power between the VRB and the super-capacitor (SC). For the problems existing in the PSO solution process, an improved mutation-based particle swarm optimization (IMBPSO) incorporating the mutation-based operation is proposed to augment the global search ability and result reliability.

The rest of the paper proceeds as follows: Section II presents the energy management strategy of HESS. Section III discusses the optimal model of HESS. The results of the optimization are shown in Section IV and the related discussion is given in Section V.

2 Modeling and Scheduling of HESS

2.1 System Description

As illustrated in Fig. 1, a co-phase power supply system which mainly consists of a traction transformer system (TSS) and an active power conditioner (APC) transmits power flow from grid (i.e., \({P}_{Grid}\)) to traction network (i.e., \({P}_{Load}\)) [26], wherein VRB and SC are respectively connected to the APC via DC/DC converters. Generally, the length of power supply section is about 10 km, but in the HSRS equipped with co-phase power supply system the section extends to over 20 km [11]. Under the same operation condition, the TS with a longer power supply section is responsible for handling higher power flow, which shows a greater potential of HESS. When the HST is in traction mode, the HST power flow \({P}_{HST}\) is greater than zero, and conversely, \({P}_{HST}\) is fed back to the catenary from the HST in regenerative braking mode. As the load power exceeds the threshold region, the power flow of HESS (i.e., \({P}_{HESS}\)) is responsible for peak shaving or valley filling.

Fig. 1
figure 1

Traction power supply system with HESS structure

The energy procurement costs of HSRS are mainly electricity bills, which consists of basic tariff and electricity tariff. It is worth noting that there are two payment modes of basic tariff, separately based on transformer capacity and maximum load demand. In realistic operating conditions, an adequate margin of transformer capacity is provided for long-term planning, therefore the mode based on maximum load demand is chosen widely. Accounting for the payment mode, HESS is exploited to reduce peak power demand and stores energy during the low load periods.

To this end, a charging threshold line \({P}_{L1}\) and a discharging threshold line \({P}_{L2}\) are adopted to formulate the power allocation criterion. A section of the load power and demand curve of a TS has been shown in Fig. 2. When both lines are equal to the average value of traction load, the areas of peak region and valley region are equal. It is well known that HSTs travel according to the operation diagram which repeats every day, thereby the traction load follows the same cycle every day and is predictable in the normal condition. Based on this, an energy management strategy is proposed to realize demand reduction, and it is described in Sect. 2.2 in detail.

Fig. 2
figure 2

Feeder traction load power curve

2.2 Energy Management Strategy

2.2.1 Fixed-Period Control Strategy


For electric utility industry, the maximum power demand tariff is deemed as an important charge pattern to maintain high efficiency of power supply equipment. Demand tariff is defined as the average power measured over a specified period (which has been appointed as 15 min by China metrological verification regulation [27]), which can be described as:

$${P}_{Dem}\left(t\right)=\left\{\begin{array}{c}0 , t<0\\ \sum_{t-\frac{900}{\Delta t}}^{t}{P}_{Load}\left(x\right), t\ge \frac{900}{\Delta t}\end{array}\right.$$
(1)

where \({P}_{Dem}\) is the demand tariff of traction load; t (s) represents the index of time.

Compared with real-time power data, power demand data filters out violent fluctuations and becomes more stable. It can be speculated that the power demand data is cyclical thanks to the daily cycle of train operation diagram. In order to verify the periodicity of the power demand, massive data of power demand are investigated, and Fig. 3 shows power demand profiles in different days.

Fig. 3
figure 3

Power demand curves of three days

As is illustrated in Fig. 3, the probability value of power demand is adopted as the charging threshold. And with the higher threshold, the overlap degree of the curves increases. Therefore, a strategy that releases energy over a fixed time span is proposed and named fixed-period control (FPC) strategy. The historical data of power demand serving as the sample is analyzed to determine the control period. The power dispatch criterion of FPC strategy consists of 5 processes:

  1. i.

    Calculate X% probability value (typically over 80%) of sample data.

  2. ii.

    Take X% probability value of demand data as the discharging threshold \({P}_{L2}\) to calculate time segment in which the power demand exceeds the discharging threshold in historical data.

  3. iii.

    Shift forward the starting point of each time horizon by 15 min as the final fixed discharge time segment.

  4. iv.

    Read the power demand data of the next day. As for time point \(t\) in the final fixed discharge time segment, if \({P}_{Load}\left(t\right)>M{P}_{L2}\), set the state of HESS as discharging. M is defined as the coefficient of peak clipping.

  5. v.

    As for time point \(t\) out of the final fixed discharge time segment, if \({P}_{Load}\left(t\right)<{P}_{L1}\), set the state of HESS as charging.

2.2.2 Real-Time Control Strategy

Another real-time control (RTC) strategy is proposed to compare the performance with the FPC strategy. As shown in Fig. 2, two threshold lines are exploited to control the load power in real-time. In comparison, the implementation of the RTC strategy is much simpler but may lead to higher capital cost.


If the traction power is greater than \({P}_{L2}\), HESS is set in discharging state. If the traction power is lower than \({P}_{L1}\), HESS is charging. In other cases, the HESS is in idle mode. It can be specifically expressed as formulas below:

$${P}_{HESS}\left(t\right)=\left\{\begin{array}{c}{P}_{H,r} , {P}_{Load}>{P}_{L2}\\ 0 , {{P}_{L1}<P}_{Load}\le {P}_{L2}\\ {P}_{Load}-{P}_{L1}, {P}_{L1}-{P}_{H,r}<{P}_{Load}\le {P}_{L1}\\ -{P}_{H,r} , {P}_{Load}\le {P}_{L1}-{P}_{H,r}\end{array}\right.$$
(2)

where \({P}_{H,r}\) is the rated power of HESS, and \({P}_{HESS}>0\) indicates HESS is discharging state.

3 Optimization of HESS Capacity

3.1 Objective Function

Onboard ESS and ESS for traction substation are two common schemes for HSRS. For onboard ESS, the effects of the vehicle operation performance are significant with the change of ESS volume and weight [28]. By contrast, traction substations are located in the suburbs with sufficient usable area, the ESS volume and weight do not constitute a major limitation [29]. Therefore, only the economic effectiveness is considered in this paper.


Cost constraints are generally used in the optimal problem of HESS capacity, where the capital cost and maintenance cost of HESS are considered. However, the HESS size also has remarkable effects on maximum demand and RBE utilization, which indicates that the economic effectiveness of the case is insufficiently analyzed by means of cost constraint. The Net Present Value (NPV) is incorporated for economic effectiveness evaluation of HESS. The objective function (i.e., NPV) of HESS sizing problem can be described as Eq. (3).

$$\mathit{min}f=-NPV=-\sum_{i=1}^{{N}_{p}}({-C}_{CC}\left[i\right]-{C}_{MC}\left[i\right]-{C}_{RC}[i]+{\Delta C}_{EC}\left[i\right]+{S}_{V}[i])\times {(1+F)}^{-i}$$
(3)

where \({N}_{p}\) represents the project service period in years; \({\text{C}}_{{{\text{CC}}}} \left[ {\text{i}} \right]\) refers to the cash flow of ESS capital cost; \({\text{C}}_{{{\text{MC}}}} \left[ {\text{i}} \right]\) is the cash flow of operation and maintenance cost; \({\text{C}}_{{{\text{RC}}}} \left[ {\text{i}} \right]\) represents the cash flow of replacement cost; \(\Delta C_{{{\text{EC}}}} \left[ {\text i} \right]\) is the curtailment of electricity cost; \({\text{S}}_{{{\text{V}}}} \left[ {\text{i}} \right]\) represents the salvage value of the VRB; \(F\) refers to the annualized discount rate.


The HESS is mainly composed of VRB device, SC device and power conversion systems (PCSs), which are recognized as the central components of HESS capital cost. The capital cost of power conversion systems is related to the power level of the two energy storage devices. The cash flow of ESS capital cost can be formulated as:

$${C}_{CC,ESS}\left[i\right]=\left\{\begin{array}{c}{C}_{ESS}\times {E}_{ESS,R}+{C}_{PCS}\times {P}_{ESS,R}, i=1\\ 0 , i=2,\cdots ,{N}_{p}\end{array}\right.$$
(4)

where \({C}_{ESS}\) is the capital cost per unit of capacity associated with VRB and SC; \({C}_{PCS}\) represents the capital cost per unit of power rating related to VRB and SC.


All through the project service period, the appropriate maintenance of energy storage devices is essential for prolonging their lifetime. The operation and maintenance cost is given as:

$${C}_{MC,ESS}\left[i\right]=\left\{\begin{array}{c}0 , i=1\\ {C}_{MC}\times {E}_{ESS,R}, i=2,\cdots ,{N}_{p}\end{array}\right.$$
(5)

where \({C}_{MC}\) represents the maintenance cost per unit of capacity related to VRB and SC.


The project service period can hardly be satisfied by VRB ESS because of the limitation of number of the C&D cycles, hence the VRB ESS necessitates replacement of sulfuric acid electrolyte to keep its operational performance. And it is assumed that the operation demand can be met with the SC technology thanks to its large allowable number of C&D cycles (over 50 M). The replacement cost can be expressed as:

$${C}_{RC,ESS}[i]=\left\{\begin{array}{c}{C}_{RC}\times {E}_{ESS,R}, i=(\mathrm{1,2},3,\cdots ,k){Y}_{SL}\\ 0 , i\ne (\mathrm{1,2},3,\cdots ,k){Y}_{SL}\end{array}\right.$$
(6)

where k denotes the number of replacement times of ESS; \({Y}_{SL}\) is the service lifetime of ESS in years; \({C}_{RC}\) is the replacement cost per unit of capacity related to ESS.


The economic benefits generated by HESS incorporate curtailment of electricity cost. The curtailment of electricity cost is described as:

$${\Delta C}_{EC}\left[i\right]={C}_{EP}\times {\Delta E}_{EC}+{C}_{DCP}\times \Delta {P}_{Dem}, i=1,\dots ,{N}_{p}$$
(7)

where \({C}_{EP}\) represents the electricity price of power; \({C}_{DCP}\) refers to the demand charge price decided by maximum demand during a month; \({\Delta E}_{EC}\) and \(\Delta {P}_{Dem}\) are the electricity consumption reduction and peak demand reduction respectively.

Considering the expected recovery value of VRB in the final year of the project service period, the salvage value \({S}_{V}\) of the VRB can be expressed as follows.

$${S}_{V}[i]=\left\{\begin{array}{c}0 , i=\mathrm{1,2},\dots ,{N}_{p}-1\\ {C}_{RC}{E}_{ESS,R}\frac{(k+1){Y}_{SL}-{N}_{p}}{{Y}_{SL}}, i={N}_{p}\end{array}\right.$$
(8)

In order to measure the operating efficiency of the project, the return on investment (i.e. \(ROI\)) was introduced as a comprehensive indicator, which can be expressed as:

$$ROI=\frac{NPV}{{\sum }_{i=1}^{{N}_{p}}({C}_{CC}\left[i\right]+{C}_{MC}\left[i\right]+{C}_{RC}[i])}$$
(9)

3.2 Problem Constraints


The optimization problem is primarily subject to the power balance, state of charge (SOC) limits and power allocation limits. The traction load,\({P}_{Load}\), should be met with the power supplied from the grid (i.e.,\({P}_{Grid}\)) and the power delivered by HESS (i.e., \({P}_{HESS}\)) at time interval \(t\), which can be depicted as:

$${P}_{Load}\left(t\right)={P}_{Grid}\left(t\right)+{P}_{HESS}\left(t\right)$$
(10)
$${P}_{HESS}\left(t\right)={P}_{SC}\left(t\right)+{P}_{VRB}(t)$$
(11)

where \({P}_{SC}\left(\mathrm{t}\right)\) and \({P}_{VRB}(\mathrm{t})\) are the C&D power of SC and VRB respectively.


SOC limits of ESS desire consideration because of the negative effects induced by excessive C&D operations [30], which is described as Eq. (12).

$${SOC}_{ESS\_min}\le {SOC}_{ESS}(t)\le {SOC}_{ESS\_max}$$
(12)

where \({SOC}_{ESS}(t)\) refer to the SOC of ESS at time interval \(t\), respectively; \({SOC}_{ESS\_min}\) and \({SOC}_{ESS\_max}\) represent the minimum and maximum SOC of ESS.

With the advantages in power density and energy storage capacity, VRB technology becomes justifiable employment as large-capacity energy storage [31, 32], whereas its sensitivity to high-rate power cycling would negatively affect its service lifetime. To this end, SC technology is incorporated as a good complement to VRB technology due to its high power density and fast charging, thus the power coordination becomes a concomitant issue to the HESS sizing. For this problem, the DFT technology is equipped to fulfill the power allocation demand, where the goal is to dispatch low-frequency power components to VRB and deliver high-frequency power components to SC. Equation (13) and Eq. (14) indicate the mathematical formulation of DFT technology, and the HESS power sequence in the frequency domain \({P}_{HESS}^{f}[k]\) can be calculated by Eq. (13).

$${X}^{f}\left[k\right]=\sum_{t=0}^{N-1}{X}^{t}\left[t\right]{e}^{\frac{-i2\pi kt}{N}}, k=\mathrm{0,1},\cdots ,N-1$$
(13)
$${X}^{t}\left[t\right]=\frac{1}{N}\sum_{t=0}^{N-1}{X}^{f}\left[k\right]{e}^{\frac{i2\pi kt}{N}}, t=\mathrm{0,1},\cdots ,N-1$$
(14)

When \({f}_{p}\) is set as the index of the cutoff frequency the power of VRB and SC,\({P}_{VRB}^{f}\left[k\right]\) and \({P}_{SC}^{f}\left[k\right]\) can be expressed as Eq. (15) and Eq. (16), in which the demarcation point (i.e., \({N}_{D}\)) corresponds to the cutoff frequency.

$${P}_{VRB}^{f}\left[k\right]=\left\{\frac{1}{2}{P}_{H}^{f}\left[0\right],\cdots ,{P}_{H}^{f}\left[{N}_{D}\right],0,\cdots ,0,{P}_{H}^{f}\left[N-{N}_{D}\right],\cdots ,\frac{1}{2}{P}_{H}^{f}\left[0\right]\right\}$$
(15)
$${P}_{SC}^{f}\left[k\right]=\left\{0,\cdots ,0,{P}_{H}^{f}\left[{N}_{D}+1\right],\cdots ,{P}_{H}^{f}\left[N-{N}_{D}-1\right],0,\cdots ,0\right\}$$
(16)

The ESS power sequence in time-domain (i.e. \({P}_{ESS}(t)\)) can be calculated by Eq. (14).

3.3 Cycle Lifetime Model of VRB

It is generally believed that the number of cycle lifetime of SC can reach 500,000 – 1,000,000 times [33], which is sufficient to meet the C&D demand during the project service period. Therefore, only the service lifetime of VRB is calculated in this study. Paper [34] points out that the service lifetime of VRB is around 10 years, but it is related to many factors such as temperature, the peak C&D current and C&D times. Hence, the rain-flow method serves as an accurate calculation basis for VRB service lifetime estimation in terms of the SOC-Time curve.

With the depth of discharge (DOD) increasing, the cycle lifetime of VRB is decreased nonlinearly, thus the sum of sine method is selected as an available application for curve-fitting analysis in this study. Equation (17) describes the VRB cycle lifetime as a function of DOD. The corresponding fitting curve is shown in Fig. 4.

Fig. 4
figure 4

Fitting curve of cycle lifetime and DOD

$${L}_{C}=53130\mathit{sin}(2.21DOD+1.32)+49650\mathit{sin}(2.35DOD+4.36)+77.62\mathit{sin}(15.53DOD-1.67)$$
(17)

As \({DOD}_{base}\) is taken as a reference indicator, the VRB lifetime (i.e.,\({L}_{E,i}\)) consumed by a specific depth (i.e., \({DOD}_{i}\)) can be expressed as:

$${L}_{E,i}=\frac{{L}_{C,base}}{{L}_{C,i}}=\frac{{L}_{C}({DOD}_{base})}{{L}_{C,i}({DOD}_{i} )}$$
(18)

The total equivalent cycle lifetime (i.e., \(L\)) consumed during the whole operation period of VRB can be denoted as:

$$L=\sum_{i=1}^{N}\frac{{L}_{C}({DOD}_{base})}{{L}_{C,i}({DOD}_{i} )}$$
(19)

where N represents the number of cycles during the operation period.

3.4 Improved PSO Algorithm and Solution

For HESS sizing optimization, economic effectiveness is selected as the optimization objective and is depicted as a function of HESS rated power and capacity. Generally, optimization algorithms such as genetic algorithm (GA) and PSO are employed for the complicated optimization problem solution [35]36. The GA for optimal solution search is available in the entire solution-space but possesses relatively low convergence speed due to the considerable calculation burden of the optimization problem. The PSO algorithm obtains improved convergence speed but can hardly avoid a local optimal solution. An IMBPSO with incorporation of crossover mutation is proposed to enhance computational efficiency and global optimization ability.

The IMBPSO algorithm starts with a group of random particles which are formulated by two decision variables, i.e., velocity \({V}_{1}\) and position \({X}_{1}\). For each iteration, particles keep following the leading particle. The process can be expressed as:

$${V}_{1}={V}_{min}+({V}_{max}-{V}_{min})\times rand$$
(20)
$${X}_{1}={X}_{min}+({X}_{max}-{X}_{min})\times rand$$
(21)
$${V}_{k+1}={V}_{k}+{c}_{1}\times rand\times \left(gbest-{X}_{k}\right)+{c}_{2}\times rand\times \left(zbest-{X}_{k}\right)$$
(22)
$${X}_{k+1}={X}_{k}+{V}_{k+1}$$
(23)

where \({V}_{min}\) and \({V}_{max}\) are the constraints of velocity; \({X}_{min}\) and \({X}_{max}\) are the constraints of position; \(rand\) is a random vector between 0 and 1; \({c}_{1}\) and \({c}_{2}\) are learning factors; \(gbest\) and \(zbest\) are individual optimal value and global optimal value respectively; \(k\) refers to the index of iteration.

For promoting diversity of particle swarm and avoiding premature convergence, each particle is converted as a chromosome by binary coding under encoding constraints, the new mixed particle swarm is obtained through selection operation, crossover operation and mutation operation. The crossover mutation process is proposed as follows:

  1. i.

    Convert each particle (i.e., \({PSO}_{k}\)) as a chromosome (i.e., \({GA}_{k}=[{k}_{0},{k}_{1},{k}_{2},\cdots ,{k}_{i-1}]\)) by binary coding;

  2. ii.

    Randomly select two genes and generate a random number (i.e., \(j\)) for gene segment selection. The crossover between two chosen genes with chosen segments is performed with crossover probability, repeating the operation until all the particles are investigated. The operation process can be indicated as:

    $${GA}_{k}=\left[{k}_{0},{k}_{1},{k}_{2},\cdots ,{k}_{i-1}\right]\to {GA}_{kj}=[{k}_{0},{k}_{1},{k}_{2},\cdots ,{g}_{j},\cdots ,{g}_{i-1}]$$
    $${GA}_{g}=[{g}_{0},{g}_{1},{g}_{2},\cdots ,{g}_{i-1}]\to {GA}_{gj}=[{g}_{0},{g}_{1},{g}_{2},\cdots ,{k}_{j},\cdots ,{k}_{i-1}]$$
  3. iii.

    A random position of chromosome is operated for mutation with mutation probability, the operation process can be expressed as:

    $${GA}_{k}=[{k}_{0},{k}_{1},{k}_{2},\cdots ,{k}_{i-1}]\to {{GA}_{k}}^{m}=[{k}_{0},{k}_{1},{k}_{2},\cdots ,{{k}_{j}}^{m},\cdots ,{k}_{i-1}]$$
  4. iv.

    Convert each chromosome as a mutation particle (\({{PSO}_{k}}^{m}\));

  5. v.

    Compare the fitnesses of \({PSO}_{k}\) and \({{PSO}_{k}}^{m}\) (i.e. \({f}_{i}\) and \({f}_{mut}\)) calculated by Eq. (3), and preserve the particle with optimal fitness.

The dynamic procedure for the HESS sizing optimization by means of IMBPSO is illustrated in detail in Fig. 5.

Fig. 5
figure 5

Dynamic procedure for HESS sizing optimization based on IMBPSO

4 Case Study

4.1 Case Description

To assess the performance of the proposed strategy, typical practical operation data from Danyang TS in Beijing-Shanghai HSR is analyzed, and the TS is powered by \(220\mathrm{kV}\) voltage with installed transformer capacity of \(100\mathrm{ MW}\). The electricity price and demand charge price of the considered substation are \(0.0924\mathrm{ USD}/\mathrm{kWh}\) and \(6.096\mathrm{ USD}/\mathrm{kWh}/\mathrm{month}\) respectively, also the annual discount rate is \(3\mathrm{\%}\). The relevant parameters of HESS are shown in Table 1 [37]. Load power and demand with sampling time interval of 1 min are illustrated in Fig. 6. The instantaneous load power fluctuated from \(-29\mathrm{MW}\) to \(94\mathrm{ MW}\) with the maximum demand of \(46\mathrm{ MVA}\).

Table 1 Parameters of HESS
Fig. 6
figure 6

Instantaneous power and demand

The following cases are investigated:

Case 1: Base case.

Case 2: Adding VRB installed RTC strategy to Case 1.

Case 3: Adding VRB installed FPC strategy to Case 1.

Case 4: Adding SC installed RTC strategy to Case 1.

Case 5: Adding SC installed FPC strategy to Case 1.

Case 6: Adding HESS installed RTC strategy to Case 1.

Case 7: Adding HESS installed FPC strategy to Case 1.

4.2 Economic Analysis of Cases

The optimization results obtained by IMBPSO are provided in Table 2.

Table 2 Optimization results of ESS sizing problem

Case 1: as the base case, the total annualized electricity charge is 16.36 M USD without HESS, which includes demand charge of 3.36 M USD and energy consumption charge of 13 M USD.

Case 2: in this case, VRB ESS is added to the base case, and the optimal size of 13.9 MWh at 11.36 MW is found for VRB ESS by means of the proposed approach. By adding the VRB ESS, the total annualized electricity charge is 15.38 M USD, which includes 2.87 M USD demand charge and 12.52 M USD energy consumption charge. Furthermore, the VRB lead to 36.39% return on investment (ROI) during the whole project service period.

Case 3: in this case, the FPC strategy is added to case 2 for energy management. A 19.28 MWh VRB with rated power of 14.46 MW is installed with the substation. As the employment of VRB, the curtailment of the total annualized electricity charge is 1.49 M USD (i.e., 9.12% compared to the base case). Also, the VRB imposes 16.73 M USD total capital cost to the HSRS during the whole project service period and 50.81% ROI. Compared with the RTC strategy, a delightful profit is guaranteed by the FPC strategy.

Case 4: in this case, only SC ESS is added to Case1, with the optimal size of 0.4 MWh and 1.03 MW. The effects of ESS total cost reducing is significant with the application of SC ESS compared to Case 2, but it is also closely coupled with the increase in electricity charge (i.e. \({C}_{EC}\)). In short, the benefit of electricity charge can hardly make up for the total cost of SC ESS.

Case 5: A 0.97 MWh SC ESS with rated power of 3.03 MW is installed with the substation, which incurs a 1.48 M USD loss and -31.8% ROI similar to Case 4.

Case 6: SC ESS is added to Case 2, with the optimal size of 0.11 MWh and 5.8 MW. The optimal size of VRB ESS searched by IMBPSO is 19.44 MWh and 17.01 MW. The total electricity charge is reduced by 7.62% compared to that in Case 1, and the economic returns provided by HESS are 8.92 M USD during all the project service period.

Case 7: in this scenario, the FPC strategy substitutes the RTC strategy in Case 6. The optimal sizes of 19.58 MWh at 18.43 MW and 0.12 MWh at 6.39 MW are found for VRB and SC, respectively. By adding the HESS, the total annualized electricity charge is 14.85 M USD, which is reduced by 9.24% compared to that in the base case. The economic benefits provided by HESS are 12.32 M USD through all the project service period, increased by 38.28% compared to that in Case 6.

The economical comparison of different cases is intuitively demonstrated in Fig. 7. It can be seen that the FPC strategy is conducive to decreasing the electricity cost and increasing project NPV. By contrast, whatever strategy is adopted, the VRB ESS without SC ESS has a higher replacement cost and provides less economic benefits for the HSRS considering Case 2 and Case 3. Due to the high cost of SC, the cases (i.e. Case 4 and Case 5) with only SC ESS tend to choose smaller capacity, which can hardly achieve effective maximum demand reduction and further has adverse effects on economic benefits. The economic benefits augmentation of Case 6 and Case 7 reveal that the SC ESS which handles high-frequency power transients plays a vital role in system efficiency enhancement and total cost reduction. Accordingly, the maximum economic effectiveness and ROI of HESS are provided by Case 7, with an annualized benefit of 0.62 M USD and an ROI of 113.35%.

Fig. 7
figure 7

Economic comparison of different cases

4.3 Performance Analysis of HESS

The HESS performance in Case 7 is in detail investigated as a typical example in this section due to the advantage of Case 7 in economic effectiveness.

Figure 8 further demonstrates the curtailment of system power demand in different ESS cases. The large-capacity VRB exhibits good capabilities of peak shaving as shown in Fig. 8a. However, In Fig. 8b, only little power demand of 1 MW is reduced due to the small capacity of the SC. In Fig. 8c,the HESS absorbs electric energy from the power grid in the period from 00:00 to 06:00, and releases electric energy during the peak period of the traction load, thus realizing the transfer of electric energy in time horizon and reducing the maximum demand.

Fig. 8
figure 8

Demand of substation in different cases

A 17.71% reduction of maximum demand is allowed by approach obtained in Case 6, likewise, the maximum demand in Case 7 is decreased by 25.53% compared to the base case, resulting in a remarkable decrease in electricity cost. Compared to Case 6, a larger reduction of maximum demand and a higher economic benefit is obtained in Case 7. Accordingly, it can be inferred that the FPC strategy possesses higher economic viability and a more suitable operation criterion compared to the RTC strategy. It is also worth noting that although the results of system power demand reduction in Case 3 and Case 7 are similar, which is also reflected in the annualized electricity charge, but the adoption of SC ESS have affects on the ESS working status, which lead to different investment costs and project NPV.

The power of TS in the base case and Case 7 at the time span from 12:30 to 15:30 are demonstrated in Fig. 9, which also depicts the C&D power of VRB and SC in Case 7 in the same period. As shown in Fig. 9a, the HESS power is negative when the TS power is lower than the charging threshold, whereas the HESS power is positive when the TS power and demand satisfied the peak shaving criterion. It can be seen that the VRB C&D process outlined in Fig. 9b possesses a smooth C&D operation and ensures the power shaving demand, meanwhile, the installed SC is conducive to alleviating the aggressive stress on VRB.

Fig. 9
figure 9

(a) power of TS; (b) C&D power of VRB and SC

4.4 Convergence Performance of IMBPSO

In this section, both GA and PSO are exploited for solving the proposed optimization problem to compare their convergence velocity to that in IMBPSO, and Case 7 serves as an example here. Regarding the GA, the chromosome length is set as 20 with a population size of 40. As for PSO and IMBPSO, the size of particle swarm is selected as 40. For a clear demonstration of the iteration processes, only a part of them is illustrated in Fig. 10.

Fig. 10
figure 10

Comparison of computational performance of IMBPSO, PSO and GA for Case 7

As is observed in Fig. 10, the optimization result of IMBPSO is achieved at the 5th iterations with best fitness of 12.33 M USD, and the PSO and GA attain the optimization solution at the 13th and 22nd iterations respectively. The best fitness obtained by PSO and GA are both 12.33 M USD. Consequently, the IMBPSO reveals a higher accuracy level and a faster convergence compared to the GA and PSO. In addition, it has shown that the proposed optimization problem is met with the PSO combined with the mutation-based method.

5 Conclusion

In this paper, an accurate optimal HESS sizing model is proposed, in which the economic viability serves as the optimization objective. For system efficiency improving, a practical energy management strategy is formulated with historical data analysis, suitable for HSRS. According to the characteristics of the proposed optimization problem, a mutation-based operation is incorporated for the PSO improvement. The feasibility of the proposed optimization model is justified through a realistic case study. The obtained conclusion can be outlined as follows:

  • The efficiency of system demand curtailment and RBE recovery is enhanced with the proposed FPC energy management strategy, which allows a 31.18% ROI increase compared to RTC strategy.

  • The VRB degradation is effectively subdued due to the SC application, resulting in VRB lifetime promoting and a 34.98% HESS total cost dropping.

  • The proposed IMBPSO can satisfy the computational requirements of the proposed optimization problem, which also enhances the convergence performance and accuracy level due to the incorporation of the mutation-based operation.