Skip to Content
EnergiesEnergies
  • Article
  • Open Access

19 August 2026

20 Pages

Representative-Day Selection for PV-Storage Lifespan Estimation Using Prior SOC and DOD Binning Features

,
,
,
,
,
and
School of Electrical Engineering and Automation, Harbin Institute of Technology, Harbin 150001, China
*
Author to whom correspondence should be addressed.
This article belongs to the Section D: Energy Storage and Application

Abstract

Representative-day methods reduce the computational burden of energy storage dispatch and planning. Conventional clustering criteria typically preserve operating scenarios relevant to dispatch economics, whereas lifespan evaluation requires days that better represent battery degradation. Days selected only from load, photovoltaic generation, and electricity-price profiles may therefore miss cycling structures that determine degradation. We propose a representative-day selection method based on prior battery-behavior features for lifespan estimation in photovoltaic-storage systems. The method first clusters daily scenario profiles to maintain scenario coverage. Within each cluster, it constructs a capacity-aware prior state-of-charge sequence from net-load variations and applies rainflow counting to obtain depth-of-discharge bins. The method then standardizes and covariance-whitens the first- and second-order moments of this feature vector. A global moment-matching problem selects one real representative day from each cluster. Case studies using multiple annual user-side datasets show that the proposed method reduces lifespan estimation errors compared with the baseline. The method also retains a clear computational advantage over full-year daily dispatch, supporting repeated calculations for capacity searches and economic assessment.

1. Introduction

Sustainable smart-city development increasingly depends on integrating renewable energy into urban energy systems [1]. The growing integration of renewable generation has increased the need for flexibility because of photovoltaic (PV) intermittency, load variability, and electricity-price uncertainty [2,3]. Lithium-ion battery energy storage systems provide fast response, flexible operation, and convenient deployment [4]. Among lithium-ion chemistries, lithium iron phosphate (LFP) has become a dominant choice for stationary energy storage because of its favorable safety, cycle-life, and cost characteristics [5]. It has therefore been widely used for renewable-energy accommodation, peak shaving, user-side energy management, and microgrid operation [6,7]. The economics of battery storage, however, depend not only on arbitrage revenue and operating cost, but also on battery lifespan degradation. During long-term operation, a battery experiences many irregular charge–discharge cycles [8]. Different state-of-charge (SOC) trajectories, depths of discharge (DODs), and cycle counts lead to different levels of capacity fade [9,10], with SOC denoting the ratio of stored energy to usable battery capacity and DOD denoting the fraction of usable battery capacity discharged during a cycle. Accurate characterization of battery lifespan loss is therefore essential for reliable storage dispatch and capacity planning.
The most direct approach to lifespan evaluation dispatches the storage system for all 365 days, and accumulates degradation from the resulting SOC profiles through rainflow counting. Rainflow-based dispatch formulations quantify cyclic aging from SOC trajectories [11,12], whereas cell-life assessment models convert the counted cycles into degradation estimates [13]. Full-year simulation preserves detailed information on operating conditions throughout the year. However, it requires dispatch and degradation to be evaluated for every simulated day. When these evaluations are repeated during capacity planning, parameter searches, or comparative economic assessments, the cumulative computational burden becomes substantial [14,15]. Representative-day methods have therefore been widely used in energy-system planning and operation. By selecting a small number of typical days and assigning corresponding weights, these methods approximate full-year operation while reducing optimization and simulation complexity [16,17]. Moreover, representative-day methods may be integrated with multi-objective dispatch algorithms, such as NSGA-III with reliability screening, when repeated time-series evaluations are required [18]. Existing representative-day methods usually cluster conventional scenario profiles, such as load, renewable generation, and electricity price, and then use a limited set of typical days to approximate annual scenarios. For building energy-system design, Schütz et al. clustered heat demand, electricity demand, and solar irradiation to obtain typical days [16]. For multi-energy systems with seasonal storage, Gabrielli et al. clustered weather conditions, energy prices, and load profiles to derive representative design days [17]. For battery and gas-turbine scheduling, Teichgraeber and Brandt clustered hourly day-ahead electricity-price profiles to construct representative days [19].
Load, PV generation, and electricity prices directly determine supply–demand balance and dispatch costs. They therefore provide suitable features for selecting representative days in studies of operating cost, power balance, and renewable-energy utilization. Time-series aggregation criteria should nevertheless be chosen according to the modeling target [20]. When the research target shifts to battery lifespan estimation, defined here as estimating service life from annually accumulated degradation, representative days must preserve the cycling structure induced by storage operation. Two days with similar load, PV, or price profiles may still lead to different SOC trajectories and DOD distributions because of different net-load energy-shifting patterns, storage-capacity constraints, and cycle-depth structures. These differences are propagated to lifespan loss through rainflow counting. Thus, representativeness in conventional scenario profiles does not necessarily imply representativeness in battery cycling damage. Directly applying conventional representative-day methods may therefore yield large lifespan estimation errors even when annual power profiles are approximated well.
To address this issue, this paper proposes a prior battery-behavior representative-day method for PV-storage systems. The method retains the scenario-coverage capability of conventional representative-day selection by first clustering daily load, PV, and price profiles. It then introduces prior features related to battery cycling behavior within each scenario cluster. Specifically, a capacity-aware prior SOC sequence is constructed from intraday net-load variations to approximate how the stored energy may evolve under each operating scenario. Rainflow counting is then applied to the prior SOC sequence, and the resulting cycle depths are aggregated into a DOD binning structure to characterize potential cycling intensity across DOD intervals. Finally, first- and second-order moment construction, standardization, covariance whitening, and global moment matching are used to select real representative days that better preserve the annual cycling structure. Using full-year input data without requiring daily dispatch for every candidate evaluation, the method extends representative-day selection from matching conventional scenario profiles to matching battery cycling behavior.
The proposed method is validated using multiple datasets containing real load, PV, electricity price, and storage parameters. First, a conventional scenario-profile representative-day method is used as the baseline, and its annual lifespan estimation error is compared with that of the proposed prior battery-behavior method. Second, to avoid attributing the results to a single representative-day number, the number of representative days is varied under different levels of time-series compression. Finally, the runtime of full-year daily dispatch, the baseline representative-day method, and the proposed method is compared. The economic bias caused by lifespan estimation errors is also examined in capacity-search and planning scenarios.
The main contribution of this paper is a prior battery-behavior representative-day selection framework. It retains conventional scenario coverage while adding SOC- and DOD-based cycling descriptors. This design improves lifespan-oriented evaluation without full-year daily dispatch and reduces lifespan-cost estimation bias in repeated planning assessments.
The remainder of this paper is organized as follows. Section 2 defines the problem, introduces the prior battery-behavior representative-day method, and describes the battery cycle-life estimation model. Section 3 presents the case datasets, experimental settings, comparison of lifespan estimation accuracy, analysis of cycle-damage error transmission and applicability, sensitivity analysis of the number of representative days, computational-efficiency analysis, and economic-bias analysis. Section 4 concludes the paper and discusses future work.

2. Materials and Methods

2.1. Problem Definition and Daily Sample Construction

Representative-day selection approximates full-year operation with a small number of typical days. This reduction lowers the computational scale of storage dispatch, lifespan evaluation, and capacity planning. A full-year daily calculation requires dispatch and degradation accumulation for all 365 days. In contrast, a representative-day method selects K real days and assigns each day a weight to approximate annual operating characteristics. The key problem is to retain information relevant to the research target while reducing the number of simulated days.
For the PV-storage scenario considered in this paper, annual data are divided into daily samples according to natural days, and each sample contains 24 hourly points. The 24 h load-power vector P load , d , PV-power vector P PV , d , and electricity-price vector p d of day d are denoted as follows:
P load , d = P load , d ( 1 ) , P load , d ( 2 ) , … , P load , d ( 24 ) .
P PV , d = P PV , d ( 1 ) , P PV , d ( 2 ) , … , P PV , d ( 24 ) .
p d = p d ( 1 ) , p d ( 2 ) , … , p d ( 24 ) .
Here, d is the day index within a year. P load , d ( t ) , P PV , d ( t ) , and p d ( t ) denote the load power, PV power, and electricity price at time t of day d, respectively. The raw operating scenario of day d is written as
X d = P load , d , P PV , d , p d .
Existing representative-day methods usually measure daily similarity using conventional scenario profiles such as load, renewable generation, and electricity price. We use the standardized X d as the baseline clustering feature and select the real day closest to each cluster center. The resulting representative-day index vector r and weight vector w are
r = r 1 , r 2 , … , r K .
w = w 1 , w 2 , … , w K .
Here, r k is the representative-day index of the k-th cluster, and w k is the fraction of the year represented by that day, where
∑ k = 1 K w k = 1 .
Conventional scenario-profile methods preserve information relevant to operating cost and power balance but may not preserve the cycling-damage patterns required for lifespan evaluation. Similar load, PV, and price profiles can yield different SOC trajectories and DOD distributions, biasing lifespan estimates and motivating the use of battery cycling features.

2.2. Prior Battery-Behavior Representative-Day Selection Method

Figure 1 shows the complete workflow of the proposed representative-day selection method based on prior battery-behavior features.
Figure 1. Workflow of the prior battery-behavior representative-day selection method. Blue boxes denote data processing and clustering, green boxes moment feature construction, purple boxes representative day selection, and the orange box feature error minimization. Gray shapes denote inputs, outputs, and terminal nodes.
The method first constructs conventional scenario clusters using load, PV, and price profiles. It then builds a prior SOC sequence from net load and storage parameters and obtains DOD bins through rainflow counting. Finally, the method selects one real day from each cluster. The weighted annual moment features of these days approximate those of the full annual sample. For day d, we define the net-load vector N d as
N d = P load , d − P PV , d = N d ( 1 ) , N d ( 2 ) , … , N d ( 24 ) .
Here, N d ( t ) denotes the net-load power at time t of day d.
To approximate storage charge–discharge behavior before dispatch, we construct potential charging and discharging power from the direction of net load:
P d ch ( t ) = min max − N d ( t ) , 0 , P max .
P d dis ( t ) = min max N d ( t ) , 0 , P max .
Here, P max is the storage power limit. Based on the potential charging and discharging power, the prior SOC sequence is updated hourly as
Δ S d ( t ) = η ch P d ch ( t ) − P d dis ( t ) / η dis E cap Δ t .
S d ( t + 1 ) = S min , S d ( t ) + Δ S d ( t ) < S min , S d ( t ) + Δ S d ( t ) , S min ≤ S d ( t ) + Δ S d ( t ) ≤ S max , S max , S d ( t ) + Δ S d ( t ) > S max .
Here, E cap denotes the storage capacity. The parameters η ch and η dis denote the charging and discharging efficiencies, while S min and S max define the SOC limits. The parameter Δ t is the time interval between adjacent time steps, which is set to 1 h in this paper. The prior SOC sequence of day d is then obtained as
S d = S d ( 1 ) , S d ( 2 ) , … , S d ( 24 ) .
Rainflow counting is then applied to the prior SOC sequence. This procedure identifies charge–discharge cycles from local extrema and converts SOC fluctuations into cycle events [12]. For day d, it yields the cycle-depth vector D d and cycle-count vector n d :
D d = D d , 1 , D d , 2 , … , D d , M d .
n d = n d , 1 , n d , 2 , … , n d , M d .
Here, D d , i is the depth of the i-th cycle, and n d , i is the corresponding cycle count. A half cycle is assigned a count of 0.5, whereas a full cycle is assigned a count of 1. M d is the number of identified cycle events.
To obtain a fixed-dimensional feature for representative-day selection, the cycle-depth range [ 0 , 1 ] is divided into 10 DOD bins. The value of the b-th DOD bin is defined as
h d DOD ( b ) = ∑ i ∈ Ω b n d , i D d , i .
Here, Ω b is the set of cycle events whose depths fall into the b-th DOD interval. The resulting binning vector preserves both cycle-count and cycle-depth information:
h d DOD = h d DOD ( 1 ) , h d DOD ( 2 ) , … , h d DOD ( 10 ) .
We then construct the prior battery-behavior feature vector z d by concatenating the prior SOC sequence and the DOD binning vector:
z d = S d , h d DOD .
Here, S d is the 24-dimensional prior SOC sequence, and h d DOD is the 10-dimensional DOD binning structure. Thus, z d is a 34-dimensional vector.
The prior SOC sequence characterizes the overall pattern of potential variations in the storage energy state induced by net load. The DOD bins aggregate the rainflow-counting results by depth interval to characterize the distribution of cycle depths and counts associated with fluctuations of different magnitudes. Thus, the two feature types describe the overall energy variation and the composition of cycles across different depth ranges, respectively.
In the representative-day selection stage, we construct first- and second-order moment features from z d :
m d = z d , z d 2 .
Here, z d 2 denotes element-wise squaring of z d . Both the original and squared components are computed element-wise from the prior SOC sequence and the DOD-bin vector. The resulting moment vector is standardized and covariance-whitened so that features with different scales and correlations contribute comparably to the matching objective. The resulting 68-dimensional whitened moment vector is denoted by y d .
Let C k be the k-th scenario cluster and w k its weight. The method selects one real day r k from each cluster. The objective makes the weighted mean of the selected features approach the mean of all 365 daily samples:
min { r k } k = 1 K ∑ j = 1 J ∑ k = 1 K w k y r k , j − 1 365 ∑ d = 1 365 y d , j , r k ∈ C k .
Equation (20) is solved approximately using deterministic cyclic coordinate descent. The algorithm sequentially updates the representative day of each cluster until a complete iteration no longer reduces the objective value.
Through this global moment-matching procedure, the selected representative-day set maintains scenario coverage while further preserving annual prior SOC variation and DOD distribution structures.
To evaluate these design choices, we conducted an ablation study of the feature combination, moment order, and DOD-bin resolution using the same 36 datasets at K = 25 . The SOC+10-bin DOD representation with first- and second-order moment matching achieved the lowest mean cycle-only lifespan error.

2.3. Battery Cycle-Life Model and Weighted Representative-Day Estimation

After representative-day selection, a unified storage dispatch model generates the actual SOC curve for each representative day. The corresponding battery lifespan loss is then calculated using a cycle-aging model.
Following the common practice of representing the main cycling damage in battery-storage dispatch by DOD [12,21], we use a DOD-based semi-empirical cycle-life model:
N bat ( D ) = α D − β e − γ D .
Here, D is the cycle depth, and N bat ( D ) is the number of cycles to 80% SOH under cycle depth D.
The model parameters were fitted to the public LiFePO4/graphite cycle-aging data reported by Naumann et al. [22,23]. We use five cycle-life data points spanning DOD value from 10% to 100% under constant test conditions of 40 °C, 50% mean SOC, and 1C charge and discharge rate. The fitting target is the number of cycles to 80% SOH, and the parameters are estimated by nonlinear least squares. Table 1 lists the fitted parameters. Figure 2 shows the fitting result, with R 2 = 0.9995 and a mean absolute percentage error (MAPE) of 5.86%.
Table 1. Fitted parameters of the cycle-life model.
Figure 2. Fit of the DOD-based cycle-life model.
The model captures DOD-dependent cycle aging under the stated calibration conditions. It excludes calendar aging and the effects of temperature, charge and discharge rates, and mean SOC. Thus, the reported lifespan refers to the cycle-life estimate obtained using this model.
During lifespan evaluation, we apply rainflow counting to the dispatch-derived SOC curve and identify cycle depths and cycle counts. To distinguish these quantities from the prior cycling features in Section 2.2, we denote them by D d , i disp and n d , i disp , respectively. The cycle lifespan loss of day d is
Deg d = ∑ i = 1 M d n d , i disp N bat D d , i disp .
Here, M d is the number of cycle events identified from the dispatch-derived SOC curve of day d.
For the representative-day method, let r k be the k-th representative day and w k its weight. The annual lifespan loss after weighted expansion is
D ^ year = 365 ∑ k = 1 K w k Deg r k .
As the full-year benchmark, all 365 days are dispatched, and rainflow counting is applied to the actual SOC curve of each day. The full-year lifespan loss is
D year 365 = ∑ d = 1 365 ∑ i = 1 M d n d , i disp N bat D d , i disp .
When annual loss represents the fraction of lifetime consumed in one year, we calculate storage lifetime as
L rep = 1 D ^ year , L full = 1 D year 365 .
With this evaluation process, representative-day selection is assessed by how well it approximates annual cycling loss rather than by conventional scenario-profile similarity alone. This directly tests whether the selected representative days retain the cycle-depth structure that affects battery lifespan estimation.

3. Case Study and Results

3.1. Case Data and Experimental Settings

The proposed representative-day method is validated using multiple annual user-side PV-load scenarios. Each scenario contains one continuous year of load, PV generation, and electricity-price data. For representative-day modeling, the raw time series is first reorganized into daily samples. Each day corresponds to a 24 h load curve, a 24 h PV curve, and a 24 h electricity-price curve.
Table 2 summarizes the data sources. We obtain load and PV data from the public EMSx benchmark described in its accompanying paper [24]. Energy-Charts provides the German hourly spot-market prices for 2016 [25]. The EMSx metadata file provides the storage capacity, power, and efficiency parameters.
Table 2. Data sources and use in this study.
Before analysis, datasets were screened for time-series completeness, PV-storage applicability, and PV-scale consistency, yielding 36 eligible datasets. Detailed screening criteria and exclusions are provided in Appendix A.
The unified storage dispatch model generates actual SOC trajectories for the 365-day benchmark and all representative days [21]. All cases use the same daily cyclic SOC boundary. This setting ensures a consistent comparison. Appendix B provides the complete model formulation and parameter settings.
Two representative-day methods are compared. The first is the conventional scenario-profile method. It concatenates daily load, PV, and electricity-price curves as scenario features, standardizes them, applies K-means clustering, and selects the real day closest to the cluster center as the representative day. The second is the proposed prior battery-behavior method. It uses the same scenario clusters but selects representative days according to the prior SOC curve and DOD binning vector. This approach better preserves battery cycling information.
K-means clustering uses k-means++ centroid initialization and Lloyd’s algorithm. For each number of representative days K, 100 centroid initializations are performed, and the solution with the smallest within-cluster sum of squares is retained. The maximum number of iterations is 1000, the convergence tolerance is 10 − 4 , and the random seed is fixed at 42 to ensure reproducibility.
For a fair comparison, all methods use the same data preprocessing, storage parameters, dispatch model, and lifespan-evaluation model. We use the full-year 365-day dispatch result only as the lifespan benchmark. The main experiment uses 25 representative days. Subsequent sensitivity analysis examines how different values of K affect lifespan estimation error and computational efficiency. We define lifespan estimation error as the relative error between the weighted representative-day lifetime and the full-year daily lifetime:
ε life = L rep − L full L full × 100 % .
Here, L rep denotes the lifetime estimated by weighted representative-day expansion, and L full denotes the full-year daily-dispatch benchmark.
All computations were performed on a Windows 11 workstation equipped with an Intel Core i5-14600KF processor and 32 GB RAM.

3.2. Lifespan Estimation Accuracy

This section compares the lifespan estimation accuracy of the conventional representative-day method based on scenario profiles with that of the proposed method, using the full-year dispatch result as the benchmark. Figure 3 shows the relative lifespan errors of the two methods. The datasets are divided into two groups according to which method yields the lower error; within each group, they are sorted in descending order of the baseline error. The vertical axis represents the relative error between the weighted representative-day lifespan and the full-year lifespan.
Figure 3. Comparison of lifespan estimation accuracy. The vertical dashed line separates the datasets according to whether the proposed method or the baseline achieves the lower error.
Overall, the proposed method reduced the mean lifespan estimation error from 6.23% to 2.91% and outperformed the baseline in 27 of 36 datasets. The mean paired improvement was 3.32 percentage points, and its 95% paired-bootstrap confidence interval ranged from 1.54 to 5.30 percentage points. An exact two-sided Wilcoxon signed-rank test confirmed this reduction, with W = 124 and p < 0.001 . Section 3.3 examines the nine underperforming cases to clarify the method’s applicability limits and underlying mechanisms.
To test whether the observed improvement depended on the baseline choice, we considered three additional temporal-aggregation methods. Figure 4 presents the comparative results.
Figure 4. Comparison of lifespan estimation errors among representative-day selection methods. Each dot represents the lifespan relative error for an individual dataset, and the shaded areas indicate the estimated density distributions of these errors.
These methods were K-means centroid, Ward centroid, and DBA centroid aggregation. Teichgraeber and Brandt provide the general representative-period clustering framework used for this comparison [19]. Ward clustering minimizes the increase in within-cluster variance [26], whereas DBA aligns and averages time-series profiles through dynamic time warping [27]. All methods used the same datasets, K = 25 representative days, dispatch model, and cycle-aging model.
As shown in Figure 4, the proposed method achieved the lowest mean relative lifespan error among all evaluated methods. Its errors were concentrated mainly in the low-error range, with few extreme values, indicating consistent performance.

3.3. Cycle-Damage Error Transmission and Applicability Conditions

To explain why the proposed method can reduce battery-lifespan estimation error, we examined the error-transmission pathway through cycle aging.
Cycle damage reflects both overall cycling intensity and its distribution across cycle depths. The equivalent full-cycle (EFC) count summarizes cycling intensity, whereas the DOD bins retain the cycle-depth distribution. Accordingly, the following expressions define the daily and full-year EFC values:
EFC d = ∑ j = 1 M d D d , j disp n d , j disp
EFC full = ∑ d = 1 365 EFC d
For the representative-day calculation, the annual EFC was obtained by weighting each representative day by its normalized annual cluster weight:
EFC rep = 365 ∑ k = 1 K w k EFC r k .
The relative error in annual EFC was defined as
ε EFC = EFC rep − EFC full EFC full × 100 % .
Figure 5 illustrates how the proposed method reduces lifespan estimation error relative to the baseline by more accurately preserving annual EFC and DOD-resolved cycle damage.
Figure 5. Analysis of lifespan estimation error. (a) Association between reductions in annual EFC error and lifespan estimation error. The green and red shaded areas indicate simultaneous reductions and simultaneous increases in both errors, respectively. (b) DOD-specific and cumulative cycle-damage errors.
Figure 5a shows that annual EFC-error reduction and lifespan-error reduction had a strong positive Spearman rank correlation. Each point represents one dataset; the horizontal and vertical values are the baseline-minus-proposed differences in EFC and lifespan errors, respectively, with positive values favoring the proposed method. The proposed method yielded a lower lifespan estimation error in 27 of 36 datasets, whereas the baseline yielded a lower error in the remaining nine datasets.
Figure 5b shows that, compared with the baseline method, the proposed method better preserves DOD-resolved cycle damage and reduces cumulative cycle-damage bias.
Together, these results support the interpretation that the proposed method improves lifespan estimation by more accurately retaining degradation-relevant cycling information.
To assess whether the method can preserve dispatch-derived cycling intensity without prior optimization, we examined its performance across different levels of PV penetration and net-load variation.
The normalized mean absolute net-load ramp, R MAR , was defined as the mean absolute change in hourly net load normalized by the annual mean load:
R MAR = ∑ t = 2 T N t − N t − 1 ( T − 1 ) P ¯ load
Here, P ¯ load is the annual mean load. The annual PV-to-load ratio is defined as
R PV / L = ∑ t = 1 T P PV , t ∑ t = 1 T P load , t .
R MAR characterizes the strength of temporal net-load variation relative to load scale, whereas R PV / L characterizes the annual energy ratio between PV generation and load. Their relationships with the performance of the proposed method are shown in Figure 6.
Figure 6. Applicability diagnostics. (a) Relationship between R MAR and the improvement in lifespan error. The horizontal solid line distinguishes error reductions above it from error increases below it. (b) Relationship between R PV / L and the absolute relative lifespan error of the proposed method.
As shown in Figure 6a, R MAR had a moderate positive rank correlation with the improvement in lifespan error. Most non-improving cases were concentrated in the lower- R MAR region. Figure 6b shows a moderate negative rank correlation between the annual R PV / L and the absolute relative lifespan error of the proposed method. The cases in which the proposed method did not outperform the baseline were likewise concentrated at relatively low PV penetration.
Together, these results suggest that prior SOC and DOD features derived from net load are more informative when net-load variation is pronounced and PV generation is high relative to load. Stronger ramps and greater PV surplus make potential charging and discharging patterns easier to distinguish. The proposed method is therefore better suited to systems in which battery cycling is driven mainly by PV surplus and load deficits. Its advantage may diminish when net-load variation or PV surplus is limited. Performance may also deteriorate when electricity-price timing, SOC limits, or power constraints dominate dispatch. Higher PV penetration may therefore broaden the method’s practical applicability.

3.4. Representative-Day Number Selection and Planning-Oriented Computational Efficiency

The number of representative days K affects both lifespan estimation accuracy and computational cost. A small K compresses annual operating scenarios strongly and may miss lifespan-relevant cycles. A large K improves annual coverage but increases the computational cost of representative-day dispatch, rainflow counting, and lifespan evaluation. A sensitivity analysis of K is therefore performed, and the representative-day number used in the main experiment is selected by considering both accuracy and efficiency [28].
Figure 7 shows the mean lifespan errors of both methods under different values of K and reports the corresponding runtime trend. As K increases, the mean lifespan error generally decreases. This pattern suggests that the prior SOC and DOD bins help preserve lifespan-relevant cycling information.
Figure 7. Accuracy and runtime under different numbers of representative days. The green triangle indicates that the proposed error at K = 1 and exceeds the displayed range, while the red vertical dashed line marks the selected value of K = 25 .
When K exceeds 25, the mean error remained relatively low, and further increases in K yielded little improvement but increased runtime. We therefore selected K = 25 as a practical compromise between accuracy and efficiency.
To enable a transparent comparison, Table 3 reports the runtime of each computational step for a single annual dataset.
Table 3. Runtime decomposition for a single annual dataset.
In capacity-search and planning applications, lifespan must often be evaluated repeatedly. Figure 8a first compares the runtime of a single lifespan evaluation. The full-year daily benchmark requires 30.890 s, whereas the baseline and proposed representative-day methods require 2.392 s and 2.764 s, respectively. Because each candidate capacity in grid search or particle swarm optimization requires storage dispatch and lifespan calculation, this single-evaluation difference is amplified in repeated evaluations. Figure 8b shows that, for 50, 100, and 600 candidate evaluations, the proposed method requires approximately 2.1 min, 4.1 min, and 24.8 min, respectively, compared with 25.7 min, 51.5 min, and 5.15 h for full-year daily evaluation.
Figure 8. Runtime comparison of different methods. (a) Runtime for a single lifespan evaluation. (b) Runtime scaling with the number of candidate evaluations.

3.5. Economic Propagation of Lifespan Estimation Error

To illustrate the engineering implication of lifespan estimation errors, this section translates these errors into errors in the net-benefit assessment of storage operation. This analysis does not imply that the proposed method directly increases operating revenue. Instead, it quantifies the economic bias introduced when different representative-day methods are used to estimate lifespan-dependent battery costs.
Recent institutional estimates of European utility-scale battery-storage costs are summarized in Table 4.
Table 4. Recent institutional estimates of battery-storage costs.
Considering the institutional authority, reporting years, and cost ranges of the sources summarized in Table 4, we conducted a sensitivity analysis over battery-system unit costs of 200–400 EUR/kWh. At each cost level, the full-year dispatch and the dispatch calculations for the baseline and proposed methods were rerun.
Table 5 summarizes the economic results for the 36 datasets. The benchmark annual net saving is defined as the annual electricity-purchasing cost without storage minus the corresponding cost with storage and the annualized battery cost based on the benchmark lifespan obtained from full-year dispatch. The relative error reduction is defined as the decrease in mean absolute error achieved by the proposed method relative to the baseline, expressed as a percentage of the baseline mean absolute error.
Table 5. Economic-error sensitivity to battery-system cost.
Across the 200–400 EUR/kWh range, the proposed method reduced the mean absolute error in annual net-saving estimates by 38.83–49.26%. At every cost level, the baseline exhibited a pronounced systematic overestimation bias, overestimating annual net saving for 30–31 of the 36 datasets. This bias could lead to overestimated project profitability and underestimated payback periods. The proposed method reduced the number of overestimating datasets to 17–23 while also lowering the error magnitude and producing a more balanced distribution of signed errors. These improvements increased the reliability of economic assessments for storage investments.

4. Conclusions

This paper proposed a representative-day selection method based on prior battery-behavior features for battery lifespan estimation in energy storage modeling. Conventional methods based on scenario profiles mainly preserve similarities in load, PV generation, and price profiles and are therefore suitable for dispatch-cost estimation. For battery lifespan evaluation, however, representative days must also preserve the cycle-depth distribution and cycling intensity resulting from storage operation. The proposed method therefore constructs prior SOC trajectories and DOD binning vectors from net load within the scenario clusters and uses moment matching to select real days that better represent annual battery cycling behavior.
Validation on multiple user-side datasets containing PV, load, and electricity-price data shows that the proposed method reduces lifespan estimation error. Under the main setting of K = 25 , the mean lifespan error of the conventional scenario-profile method is 6.23%, whereas the proposed method reduces it to 2.91%. Across individual datasets, the proposed method obtains lower errors in 27 of 36 datasets. These results indicate that prior SOC and DOD binning structures can improve the retention of battery cycling-damage information in representative days.
The sensitivity analysis of the number of representative days shows that increasing K improves annual coverage, whereas very large K values increase the cost of repeated evaluations. We therefore selected K = 25 for the main experiment after considering both accuracy and computational efficiency. Under the standardized runtime decomposition for a single annual dataset, one candidate evaluation required 2.392 s for the baseline method, 2.764 s for the proposed method, and 30.890 s for full-year evaluation. The proposed method therefore retained a substantial computational advantage over full-year evaluation while explicitly including candidate-dependent feature reconstruction and representative-day reselection.
The proposed method is most applicable when net-load variation is the primary driver of battery energy transfer. Its accuracy may decline in cases with low PV penetration and few periods of negative net load, where cycling is driven mainly by electricity-price arbitrage that is not captured by the prior SOC derived from net load. In addition, all dispatch cases use a daily cyclic SOC boundary and do not model SOC carryover between consecutive days. The reported comparison therefore applies to daily cyclic operation; applications involving multi-day energy shifting require validation with chronologically continuous dispatch.
For engineering applications, the proposed method can serve as a preprocessing module for existing battery energy storage sizing and lifetime-estimation tools. It requires hourly load, photovoltaic generation, and electricity-price data, together with candidate storage capacity, power limits, efficiencies, state-of-charge bounds, and chemistry-specific cycle-life parameters. These inputs are commonly available from smart meters, energy-management or supervisory-control records, tariff or market data, and battery-management systems or manufacturer specifications. For each candidate design, the module reconstructs the prior features, reselects the representative days, and then passes the selected days and their weights to the existing dispatch and degradation models.
Future work may introduce lightweight dispatch proxies or features that couple price and capacity to improve the consistency between prior battery-behavior features and actual storage cycles. Extending the framework to other battery chemistries is another important direction. Such an extension will require chemistry-specific aging models and battery parameters to be reconstructed and validated under the corresponding operating conditions. Further validation should examine multiple years, electricity markets, tariff structures, and degradation models to assess the robustness of the lifespan and economic results. The framework may also be extended to hybrid storage systems and multi-timescale planning scenarios to further assess its generality.

Author Contributions

Conceptualization, Z.O. and C.L.; methodology, Z.O. and D.Y.; software, Z.O., M.B. and S.X.; validation, Z.O., M.B., S.X. and Q.L.; formal analysis, Z.O.; writing—original draft preparation, Z.O. and C.L.; writing—review and editing, C.L., D.Y., M.B. and R.W.; visualization, M.B., S.X. and Q.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding. The APC was funded by the authors.

Data Availability Statement

The public datasets analyzed in this study are described in Section 3.1. The processed data and code generated during the current study are available from the corresponding author upon reasonable request.

Acknowledgments

The authors thank the anonymous reviewers for their constructive comments and suggestions, which helped improve the clarity and quality of this manuscript.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
CSVComma-separated values
DBADynamic time-warping barycenter averaging
DODDepth of discharge
EFCEquivalent full cycle
EMSxEnergy management system benchmark
EOLEnd of life
IDIdentifier
IQRInterquartile range
IRENAInternational Renewable Energy Agency
ISEInstitute for Solar Energy Systems
LFPLithium iron phosphate
MAEMean absolute error
MAPE  Mean absolute percentage error
MILPMixed-integer linear programming
PVPhotovoltaic
RAMRandom-access memory
SOCState of charge
SOHState of health

Appendix A. Data Sources and Screening

In the following, CSV files downloaded from the official EMSx website serve as the reference data source, and all dataset identifiers retain their original EMSx labels. EMSx combines historical observations with benchmark-specific information. The load profiles are historical observations from 70 anonymized industrial sites, whereas the site-level PV profiles are rescaled from a common historical production profile. The storage parameters were adapted for the EMSx benchmark.
To ensure a common temporal basis and consistency with the electricity-price series, we used 2016 data for all datasets and removed 29 February. Of the 70 datasets, 30 contained missing intraday data within this 365-day period and were excluded, as detailed in Table A1. The remaining 40 datasets covered all 8760 h. All completeness checks and missing-data counts below therefore refer specifically to 2016.
Because this study primarily considers cases with PV input, without which the role of the battery would be difficult to demonstrate, datasets with relatively low PV generation were excluded. The conventional Tukey 1.5 IQR rule was applied to the ratio of annual load energy consumption to annual PV generation. The upper fence was 3.917, and Table A2 lists the datasets identified as outliers.
Table A1. Datasets with incomplete intraday data.
Table A2. Datasets with low PV penetration.
In addition, the dataset containing an evident anomaly was excluded, as summarized in Table A3. Its PV generation was abnormally high, whereas the corresponding load and storage-capacity data were similar to normal values.
Table A3. Anomalous dataset.
After the time-series completeness check and PV penetration screening, 36 datasets were retained for the subsequent analysis. To improve the readability of the figures and tables in the main text while preserving traceability to the original website data, the 36 datasets were sorted in ascending order of their original identifiers and relabeled sequentially as DB1–DB36. The complete mapping is given in Table A4.
Table A4. Correspondence between the identifiers used in this study and the original dataset identifiers.

Appendix B. Storage Dispatch Model and Piecewise-Linear Degradation Cost

According to Equation (21), the lifespan loss caused by one complete cycle of depth D is defined as
δ cyc ( D ) = 1 N bat ( D ) .
We partition the available SOC range into an ordered set of energy layers, indexed by ℓ ∈ L . Layer ℓ corresponds to the cycle-depth interval [ D ℓ lo , D ℓ up ] . Its unit degradation cost is
c ℓ = C bat max δ cyc D ℓ up − δ cyc D ℓ lo , 0 2 D ℓ up − D ℓ lo ,
where C bat is the battery unit-capacity cost. The energy width of layer ℓ is
w ℓ = E cap D ℓ up − D ℓ lo .
Let e d , t , ℓ denote the energy stored in layer ℓ at time t of day d. The absolute energy movement in this layer between adjacent time steps is e d , t + 1 , ℓ − e d , t , ℓ . The daily-dispatch objective is
min ∑ t = 1 24 p d ( t ) P d buy ( t ) Δ t + ∑ t = 1 24 ∑ ℓ ∈ L c ℓ e d , t + 1 , ℓ − e d , t , ℓ ,
where P d buy ( t ) is the grid-purchase power. The first term is the electricity-purchase cost, and the second is the cycling-degradation surrogate associated with movements across the SOC energy layers. In the MILP implementation, the absolute-value term is handled by standard linearization.
The power balance at each time step is
P d buy ( t ) + P d , disp dis ( t ) + P PV , d ( t ) = P load , d ( t ) + P d , disp ch ( t ) + P d curt ( t ) ,
where P d , disp ch ( t ) and P d , disp dis ( t ) are the optimized charging and discharging powers, respectively, and P d curt ( t ) is the curtailed PV power. To distinguish it from the prior SOC sequence S d ( t ) , the dispatch-derived SOC is denoted by S d disp ( t ) and evolves as
S d disp ( t + 1 ) = S d disp ( t ) + η ch P d , disp ch ( t ) − P d , disp dis ( t ) / η dis Δ t E cap .
The SOC and daily cyclic boundary conditions are
S min ≤ S d disp ( t ) ≤ S max , S d disp ( 25 ) = S d disp ( 1 ) .
The charging, discharging, grid-purchase, and PV-curtailment powers satisfy
0 ≤ P d , disp ch ( t ) ≤ P max , 0 ≤ P d , disp dis ( t ) ≤ P max ,
0 ≤ P d buy ( t ) ≤ P max buy , 0 ≤ P d curt ( t ) ≤ P PV , d ( t ) .
The total stored energy comprises the fixed reserve associated with the lower SOC limit and the energy occupying the dispatchable layers:
E cap S d disp ( t ) = E cap S min + ∑ ℓ ∈ L e d , t , ℓ .
The layer-energy variables satisfy
0 ≤ e d , t , ℓ ≤ w ℓ , e d , 25 , ℓ = e d , 1 , ℓ .
Accordingly, their net change between adjacent time steps satisfies
∑ ℓ ∈ L e d , t + 1 , ℓ − e d , t , ℓ = E cap S d disp ( t + 1 ) − S d disp ( t ) .
To enforce sequential filling, a binary variable y d , t , ℓ is introduced for every layer after the first:
e d , t , ℓ ≤ w ℓ y d , t , ℓ ,
e d , t , ℓ − 1 ≥ w ℓ − 1 y d , t , ℓ , y d , t , ℓ ∈ { 0 , 1 } .
If layer ℓ contains energy, Equation (A13) activates y d , t , ℓ , and Equation (A14) requires the preceding layer to be full. The absolute change in each ordered layer is then charged at its corresponding coefficient c ℓ in Equation (A4).
Table A5. Core parameters of the storage dispatch verification model.
The initial SOC is the midpoint of the permitted SOC interval, and the terminal equality prevents net energy transfer across the daily boundary. The full-year benchmark therefore consists of 365 daily cyclic dispatch problems evaluated with the same model and boundary conditions as the representative-day cases.

References

  1. Adeleke, O.J.; Jovanovich, K.D.; Ogunbunmi, S.; Samuel, O.W.; Kehinde, T.O. Comprehensive exploration of smart cities: A systematic review of benefits, challenges, and future directions in telecommunications and urban development. IEEE Sens. Rev. 2025, 2, 228–245. [Google Scholar] [CrossRef] [Scilit]
  2. Wang, Y.; Alharthi, Y.Z.; Safaraliev, M. A techno-economic model for flexibility-oriented planning of renewable-based power systems considering integrated features of generator, network, and energy storage systems. J. Energy Storage 2024, 89, 111763. [Google Scholar] [CrossRef] [Scilit]
  3. Zhang, Y.; Davis, D.; Brear, M.J.; Vecchi, A. The performance of renewable-rich wholesale electricity markets with significant energy storage and flexibility. Energy Econ. 2024, 140, 108026. [Google Scholar] [CrossRef] [Scilit]
  4. Navesi, R.B.; Jadidoleslam, M.; Moradi-Shahrbabak, Z.; Naghibi, A.F. Capability of battery-based integrated renewable energy systems in the energy management and flexibility regulation of smart distribution networks considering energy and flexibility markets. J. Energy Storage 2024, 98, 113007. [Google Scholar] [CrossRef] [Scilit]
  5. Beletskii, E.; Popov, A.; Romanovski, V. A review of chemical relithiation strategies for complete recovery of LiFePO4. J. Power Sources 2026, 676, 239882. [Google Scholar] [CrossRef] [Scilit]
  6. Zhao, C.; Andersen, P.B.; Træholt, C.; Hashemi, S. Grid-connected battery energy storage system: A review on application and integration. Renew. Sustain. Energy Rev. 2023, 182, 113400. [Google Scholar] [CrossRef] [Scilit]
  7. Sakib, S.; Hossain, M.B.; Zamee, M.A.; Hossain, M.; Habib, M.A. Role of battery energy storage systems: A comprehensive review on renewable energy zones integration in weak transmission networks. J. Energy Storage 2025, 128, 117223. [Google Scholar] [CrossRef] [Scilit]
  8. Hammed, V.O.; Salako, E.W.; Edet, D.; Ederhion, J.; Keshinro, B.I.; Uwaoma, I.A.; Adeleke, O.J.; Odetoran, A.; Adedokun, O.J.; Makinde, P.F.; et al. Next-generation lithium-ion batteries for electric vehicles: Advanced materials, AI-driven performance optimization, and circular economy strategies. Meas. Energy 2025, 7, 100060. [Google Scholar] [CrossRef] [Scilit]
  9. Wang, J.; Liu, P.; Hicks-Garner, J.; Sherman, E.; Soukiazian, S.; Verbrugge, M.; Tataria, H.; Musser, J.; Finamore, P. Cycle-life model for graphite-LiFePO4 cells. J. Power Sources 2011, 196, 3942–3948. [Google Scholar] [CrossRef] [Scilit]
  10. Barre, A.; Deguilhem, B.; Grolleau, S.; Gerard, M.; Suard, F.; Riu, D. A review on lithium-ion battery ageing mechanisms and estimations for automotive applications. J. Power Sources 2013, 241, 680–689. [Google Scholar] [CrossRef] [Scilit]
  11. Liu, Z.; Wang, X.; Yang, K.; Zhang, F. Analytical model of rainflow-based cyclic aging for economic battery dispatch optimization. IEEE Trans. Energy Convers. 2024, 39, 2425–2438. [Google Scholar] [CrossRef] [Scilit]
  12. Lee, J.-O.; Kim, Y.-S. Novel battery degradation cost formulation for optimal scheduling of battery energy storage systems. Int. J. Electr. Power Energy Syst. 2022, 137, 107795. [Google Scholar] [CrossRef] [Scilit]
  13. Xu, B.; Oudalov, A.; Ulbig, A.; Andersson, G.; Kirschen, D.S. Modeling of lithium-ion battery degradation for cell life assessment. IEEE Trans. Smart Grid 2018, 9, 1131–1140. [Google Scholar] [CrossRef] [Scilit]
  14. Yeganefar, A.; Amin-Naseri, M.R.; Sheikh-El-Eslami, M.K. Improvement of representative days selection in power system planning by incorporating the extreme days of the net load to take account of the variability and intermittency of renewable resources. Appl. Energy 2020, 272, 115224. [Google Scholar] [CrossRef] [Scilit]
  15. Gao, S.; Hu, B.; Xie, K.; Niu, T.; Li, C.; Yan, J. Spectral clustering based demand-oriented representative days selection method for power system expansion planning. Int. J. Electr. Power Energy Syst. 2021, 125, 106560. [Google Scholar] [CrossRef] [Scilit]
  16. Schütz, T.; Schraven, M.H.; Fuchs, M.; Remmen, P.; Müller, D. Comparison of clustering algorithms for the selection of typical demand days for energy system synthesis. Renew. Energy 2018, 129, 570–582. [Google Scholar] [CrossRef] [Scilit]
  17. Gabrielli, P.; Gazzani, M.; Martelli, E.; Mazzotti, M. Optimal design of multi-energy systems with seasonal storage. Appl. Energy 2018, 219, 408–424. [Google Scholar] [CrossRef] [Scilit]
  18. Ajayi, O.C.; Alawode, O.K.; Adeleke, O.J.; Ajewole, T.O. Solution of multi-objective optimal power dispatch using NSGA-III for future reliability screening. Meas. Energy 2026, 11, 100109. [Google Scholar] [CrossRef] [Scilit]
  19. Teichgraeber, H.; Brandt, A.R. Clustering methods to find representative periods for the optimization of energy systems: An initial framework and comparison. Appl. Energy 2019, 239, 1283–1293. [Google Scholar] [CrossRef] [Scilit]
  20. Wogrin, S. Time series aggregation for optimization: One-size-fits-all? IEEE Trans. Smart Grid 2023, 14, 2489–2492. [Google Scholar] [CrossRef] [Scilit]
  21. Zhang, Z.; Zhou, K.; Yang, S.; He, W. Bilevel optimization of hybrid energy storage systems in microgrids considering real-time battery degradation costs. J. Power Sources 2026, 676, 239889. [Google Scholar] [CrossRef] [Scilit]
  22. Naumann, M.; Spingler, F.B.; Jossen, A. Analysis and modeling of cycle aging of a commercial LiFePO4/graphite cell. J. Power Sources 2020, 451, 227666. [Google Scholar] [CrossRef] [Scilit]
  23. Naumann, M. Data for: Analysis and modeling of cycle aging of a commercial LiFePO4/graphite cell. Mendeley Data 2021, Version 1. [Google Scholar] [CrossRef] [Scilit]
  24. Le Franc, A.; Carpentier, P.; Chancelier, J.-P.; de Lara, M. EMSx: A numerical benchmark for energy management systems. Energy Syst. 2023, 14, 817–843. [Google Scholar] [CrossRef] [Scilit]
  25. Fraunhofer Institute for Solar Energy Systems ISE. Energy-Charts: German Hourly Spot-Market Prices in 2016; Fraunhofer ISE: Freiburg, Germany, 2016. [Google Scholar]
  26. Ward, J.H. Hierarchical grouping to optimize an objective function. J. Am. Stat. Assoc. 1963, 58, 236–244. [Google Scholar] [CrossRef]
  27. Petitjean, F.; Ketterlin, A.; Gancarski, P. A global averaging method for dynamic time warping, with applications to clustering. Pattern Recogn. 2011, 44, 678–693. [Google Scholar] [CrossRef] [Scilit]
  28. Thiran, P.; Jeanmart, H.; Contino, F. Validation of a method to select a priori the number of typical days for energy system optimisation models. Energies 2023, 16, 2772. [Google Scholar] [CrossRef] [Scilit]
  29. Fraunhofer Institute for Solar Energy Systems ISE. Levelized Cost of Electricity: Renewable Energy Technologies; Fraunhofer ISE: Freiburg, Germany, 2024. [Google Scholar]
  30. International Renewable Energy Agency. Renewable Power Generation Costs in 2024; IRENA: Abu Dhabi, United Arab Emirates, 2025. [Google Scholar]
  31. SolarPower Europe. EU Battery Storage Market Review 2025; SolarPower Europe: Brussels, Belgium, 2026. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.