2.1. Problem Formulation
A user-side park system with distributed photovoltaic generation and behind-the-meter distributed energy storage is considered in this study [
9,
10,
11,
12]. In practical operation, the distribution system operator can usually obtain the net load power at the point of common coupling, the photovoltaic power, and the time-of-use tariff information. However, the actual user load and the charging/discharging power of the behind-the-meter energy storage system are generally not directly measured. Therefore, the main task of this study is to estimate the unobservable user load, behind-the-meter storage power, SOC trajectory, and dominant storage operation mode using limited external measurement information.
For a consistent notation, d = 1, 2, …, D denotes the day index, and h = 1, 2, …, H denotes the intra-day time interval index. The absolute time index can be written as t = (d, h). The sampling interval is denoted by Delta t. In this paper, power variables are expressed in kW, energy variables are expressed in kWh or MWh, and SOC is dimensionless.
Let
denote the net load power measured at the grid connection point,
denote the actual user load power,
denote the photovoltaic output power, and
denote the behind-the-meter energy storage power. In this paper, positive
represents discharging, while negative
represents charging. When line losses are ignored, the power balance relationship among these variables can be expressed as:
In the above equation, , , and the time-of-use tariff π() are known variables, while and are unknown variables to be estimated. Equation (1) describes the coupling relationship among user load, photovoltaic output, and energy storage power. However, when both and are unknown, the power balance equation alone is insufficient to obtain a unique and accurate estimation result. Therefore, additional information, including time-of-use tariff characteristics, daily load patterns, energy storage power limits, SOC dynamics, and daily energy balance constraints, should be introduced to improve the identifiability of behind-the-meter energy storage power.
Different from the ideal case where
can be directly measured, behind-the-meter storage power is hidden in the observed net load. From the perspective of the distribution system operator, the estimation problem is essentially an underdetermined component estimation problem under incomplete information. Therefore, this paper formulates the behind-the-meter storage power estimation problem as a constrained inverse optimization problem, in which the estimated user load and storage power should not only reconstruct the observed net load, but also satisfy the assumed load regularity, tariff-driven storage operation logic, and energy storage operational constraints [
18].
2.2. Overall Framework of the Proposed Method
The overall framework of the proposed mode-aware behind-the-meter distributed energy storage power estimation method is shown in
Figure 1. The proposed method takes the measured net load power, photovoltaic power, and time-of-use tariff as the available input information. Since the actual user load and the behind-the-meter storage power are not directly observable, the estimation problem is solved by combining mode-aware joint component representation, operational constraints, and constrained inverse optimization.
In addition to the common template-based representation, this paper further introduces an arbitrage mode library for behind-the-meter energy storage. Two typical operation modes are considered: the single-cycle charge–discharge mode and the dual-cycle charge–discharge mode. The single-cycle mode represents the case where the storage system charges once during the valley-tariff period and discharges once during the peak-tariff period. The dual-cycle mode represents the case where the storage system performs two charging and two discharging actions within one day according to multiple valley, peak, and critical peak tariff periods.
The two modes are selected according to the storage operation characteristics observed in the studied park-level fixed time-of-use tariff scenario. The single-cycle mode represents the basic peak–valley arbitrage strategy, in which the storage system charges during the valley-tariff period and discharges during the peak-tariff period. The dual-cycle mode represents a more flexible intraday arbitrage strategy under multiple valley, peak, or critical peak tariff periods, where the storage system may perform more than one charging and discharging action within a day. Therefore, the two-mode library is used as a case-specific representation of the main tariff-driven storage behaviors considered in this study, rather than a general mode library for all possible behind-the-meter storage operation strategies.
If the reference storage behavior deviates significantly from the predefined single-cycle and dual-cycle mode library, the local correction terms can partially absorb the mismatch. However, the estimation error may increase, and the estimated mode weights may become less decisive. Therefore, the proposed mode library should be regarded as suitable for the fixed time-of-use arbitrage scenario studied in this paper. More complex storage behaviors, such as demand charge reduction, photovoltaic self-consumption, backup reserve, grid service participation, or manual dispatch, require an extended mode library or additional operation constraints.
First, the user load and energy storage power are described using a joint representation model. Instead of treating the two components as completely free time-series variables, common daily templates are introduced to represent their typical intraday patterns. Daily scaling factors are used to describe the differences in load level and storage action intensity among different days, and local correction terms are added to compensate for short-term deviations. In addition, weekdays and weekends are modeled separately to reflect their different load patterns and storage operation characteristics.
Second, energy storage operational constraints are embedded into the estimation model. The estimated storage power is required to satisfy charging and discharging power limits, SOC dynamic constraints, SOC boundary constraints, and daily energy balance constraints. These constraints restrict the feasible range of storage power and prevent physically unreasonable estimation results, such as continuous one-way charging or discharging.
Third, a mode-aware inverse optimization model is established. The reconstructed net load is calculated from the estimated user load, photovoltaic power, and estimated storage power, and then compared with the measured net load. The reconstruction error, together with load smoothness, storage local correction penalty, storage template complexity penalty, tariff-response consistency penalty, and mode selection penalty, forms the objective function. During the iterative solution process, the templates, mode weights, daily coefficients, local correction terms, and storage-related variables are updated according to the reconstruction error and operational constraints until convergence is reached.
Therefore, under the studied fixed time-of-use tariff scenario, the proposed method can be summarized as a “mode-aware joint representation–operational constraint–constrained inverse optimization” framework. The final outputs are the estimated user load, behind-the-meter storage power, SOC trajectory, and dominant storage arbitrage mode.
2.3. Mode-Aware Joint Representation of User Load and Storage Power
Under fixed time-of-use tariff conditions, the user load and the operation of behind-the-meter energy storage are not completely random. The user load usually has relatively stable intraday patterns, while the charging and discharging behavior of the energy storage system is closely related to the valley, flat, peak, and critical peak tariff periods. In practical user-side applications, the energy storage system may follow different arbitrage operation patterns. Therefore, this paper introduces a mode-aware joint representation model to describe user load and storage power, in which single-cycle and dual-cycle charge–discharge modes are considered as the mode library for the studied fixed time-of-use tariff scenario.
Considering the differences between weekdays and weekends in load level, peak–valley position, and storage response behavior, two types of daily templates are constructed. The day type of day d is denoted by c_d, where c_d = w represents a weekday and c_d = e represents a weekend. The user load of day d is represented as
where
is the common user load template corresponding to day type c_d, a_d is the daily scaling coefficient of user load, and
is the local correction term of user load. The common template describes the typical intraday variation pattern of user load, the daily scaling coefficient reflects the overall load level of each day, and the local correction term compensates for short-term fluctuations that cannot be described by the common template.
Different from the conventional single-template representation, this paper introduces a storage arbitrage mode library to describe different charging and discharging behaviors under time-of-use tariffs. Let M = {m1, m2}, where m1 denotes the single-cycle charge–discharge mode and m2 denotes the dual-cycle charge–discharge mode. The storage power of the d-th day is represented as
where
is the storage power template of the single-cycle charge–discharge mode,
is the storage power template of the dual-cycle charge–discharge mode,
is the daily action intensity coefficient of storage operation,
and
are the mode weights of the d-th day, and
is the local correction term of storage power. The mode weights satisfy
The dominant storage mode of day d is determined according to the larger mode weight. If , the dominant mode is identified as the single-cycle mode; otherwise, it is identified as the dual-cycle mode.
The single-cycle mode describes the case where the storage system charges once during the valley-tariff period and discharges once during the peak-tariff period. The dual-cycle mode describes the case where the storage system performs two charging and two discharging actions within one day according to multiple valley, peak, and critical peak tariff periods. Under the studied fixed time-of-use tariff scenario, the proposed representation can estimate the storage power and provide an interpretable indicator of the dominant daily arbitrage mode through the mode weights.
This mode-aware joint representation has three main advantages. First, it reduces the degrees of freedom of the estimation problem by using common templates to represent the typical daily patterns of user load and storage power. Second, it retains sufficient flexibility through daily coefficients and local correction terms, so that day-to-day differences and local variations can still be described. Third, the mode weights provide an interpretable indicator of the daily storage arbitrage mode. Therefore, the proposed model avoids directly treating the hidden components as completely free time-series variables and helps improve the stability and interpretability of behind-the-meter storage power estimation.
2.4. Energy Storage Operational Constraints
Although the joint representation model in
Section 2.3 reduces the degrees of freedom of the estimation problem, the estimated storage power may still be physically unreasonable if no operational constraints are imposed. In practical operation, behind-the-meter energy storage is limited by its charging and discharging power capability, energy capacity, SOC operating range, and daily operation strategy. Therefore, energy storage operational constraints are introduced to ensure that the estimated storage power satisfies basic physical and operational feasibility requirements.
First, the charging and discharging power of the energy storage system should not exceed its rated power limits. The power limit constraint is expressed as
where
and
denote the maximum charging power and maximum discharging power, respectively. In this paper, positive
represents discharging, while negative
represents charging.
To describe the charging and discharging process more clearly, the storage power is further decomposed into the discharging power and charging power:
where
and
denote the charging and discharging powers, respectively.
To avoid physically unrealistic simultaneous charging and discharging, an additional simultaneous charge–discharge penalty is introduced:
This term penalizes the overlap between charging power and discharging power. When either
or
is close to zero at each time interval,
Jcd becomes small. Therefore, this term encourages the storage system to operate in either charging, discharging, or standby state, rather than charging and discharging simultaneously. The penalty
Jcd is further included in the total objective function in
Section 2.5.
Second, the
SOC evolution of the energy storage system is considered. The
SOC at the next time interval is determined by the current
SOC, charging power, discharging power, charging efficiency, discharging efficiency, and sampling interval. The
SOC dynamic equation is given by
where
denotes the state of charge of the energy storage system on day d at time interval h,
denotes the available energy capacity,
and
denote the charging and discharging efficiencies, respectively, and Δ
t denotes the sampling interval.
Third, the
SOC should remain within a reasonable operating range to avoid overcharging and overdischarging. The
SOC boundary constraint is expressed as
where
and
denote the lower and upper
SOC limits, respectively.
Finally, a daily energy balance constraint is introduced. For a behind-the-meter storage system operating under a typical daily cycle, the
SOC at the end of a day is expected to return to approximately the initial
SOC level. Therefore, the following constraint is imposed:
where
H denotes the number of time intervals in one day. In the case study,
SOCmin is set to 0.1,
SOCmax is set to 0.9, and the initial
SOC is set to
SOC0 = 0.2. This constraint prevents the model from continuously charging or discharging the storage system only to improve the net load reconstruction accuracy. By introducing the above constraints, the estimated storage power is not only required to explain the observed net load, but also required to satisfy the basic operation mechanism of energy storage.
In addition to the physical operation constraints, a tariff-response consistency penalty is introduced to reflect the economic operation mechanism of behind-the-meter energy storage. During valley-tariff periods, the storage system is expected to charge rather than discharge. During peak and critical peak periods, the storage system is expected to discharge rather than charge. Therefore, the tariff-response consistency penalty is defined as
where
denotes the valley-tariff period, and
denotes the peak or critical peak tariff period. This term penalizes discharging during low-tariff periods and charging during high-tariff periods so that the estimated storage power can better follow the basic arbitrage logic under time-of-use tariffs.
2.5. Objective Function and Inverse Optimization Procedure
Based on the mode-aware joint representation model and energy storage operational constraints described above, an inverse optimization model is established to estimate the user load, behind-the-meter energy storage power [
19,
20], and dominant storage arbitrage mode. The objective function is designed to ensure that the reconstructed net load is close to the measured net load, while the estimated load and storage components remain smooth, stable, and physically reasonable.
Before constructing the total objective function, different objective terms are normalized to reduce the scale difference among reconstruction error, smoothness penalty, correction penalty, template complexity penalty, tariff-response penalty, mode selection penalty, and simultaneous charge–discharge penalty. The reconstruction error is treated as the dominant term, while the other terms are used as regularization terms to improve physical feasibility and estimation stability.
First, the net load reconstruction error is defined as
where
D is the number of days in the dataset,
H is the number of time intervals in one day, and
is the reconstructed net load, which is given by
The term is the core part of the objective function. It forces the estimated user load and energy storage power to explain the measured net load as accurately as possible.
Second, a load smoothness term is introduced to avoid unreasonable high-frequency fluctuations in the estimated user load:
Since user load usually changes gradually within a short time interval, this term helps improve the rationality of the estimated load curve.
Third, a storage local correction penalty is introduced to prevent the storage power estimation from relying excessively on local correction terms:
This term limits the magnitude of local corrections and prevents the estimated storage power from becoming overly irregular.
Fourth, a storage template complexity penalty is used to constrain the fluctuation of the storage power template:
This term prevents the common storage template from becoming too fragmented and helps retain the typical charging and discharging pattern under time-of-use tariffs.
To avoid ambiguous mixing between different arbitrage modes, a mode selection penalty is introduced as
Therefore, the total objective function can be formulated as
where
is the net load reconstruction error,
is the user load smoothness penalty,
is the storage local correction penalty,
is the storage template complexity penalty,
is the tariff-response consistency penalty,
is the mode selection penalty, and
are weighting parameters used to balance different objective terms after normalization. The coefficients
are weighting parameters used to balance different objective terms.
The decision variable set in the training stage is defined as
where
is the user load template,
and
are the single-cycle and dual-cycle storage templates, respectively,
and
are the mode weights, and
denotes the storage-related parameter set.
Here denotes the storage-related parameter set.
The unified optimization model in the training stage can be expressed as
The feasible set Phi includes the power balance equation, charging and discharging power limits, storage power decomposition, SOC dynamic equation, SOC bounds, daily SOC balance, mode-weight constraints, bounds of daily scaling coefficients, bounds of local correction terms, and the storage-related parameter ranges. Therefore, Phi defines the feasible operation region of the estimated behind-the-meter storage system.
Since the optimization variables include the user load template, mode-dependent storage templates, daily coefficients, mode weights, local correction terms, storage power, SOC trajectories, and storage parameters, directly solving the whole optimization problem may lead to high dimensionality and unstable convergence. Therefore, an alternating iterative solution strategy is adopted. The training process includes the following steps:
Initialize the user load template, the single-cycle storage template, the dual-cycle storage template, and storage-related parameters.
Estimate the daily coefficients, local correction terms, storage power, SOC trajectory, and mode weights for each training day.
Identify the dominant arbitrage mode of each day according to the estimated mode weights.
Update the user load template and the mode-dependent storage templates.
Update the storage-related parameters under the operational constraints.
Calculate the objective function and check the convergence condition.
Repeat the above steps until the objective function converges or the maximum number of iterations is reached.
After training, the learned user load template, mode-dependent storage templates, mode-weight ranges, and storage-related parameter ranges are fixed. In the testing stage, only the measured net load, photovoltaic power, and time-of-use tariff information of the testing days are used as inputs. The user load, behind-the-meter storage power, SOC trajectory, and dominant storage arbitrage mode are then estimated by solving the same mode-aware inverse optimization problem under the trained templates and operational constraints. The overall mode-aware inverse optimization procedure is summarized in
Figure 2.
To improve the reproducibility of the proposed inverse optimization procedure, the main implementation settings are summarized in
Table 1. All objective terms were normalized before weighting, and the same settings were used in the main dual-cycle case and the supplemental single-cycle case.
The reconstruction-error weight was set as the dominant term, while the other weights were used as regularization terms to improve load smoothness, storage feasibility, tariff-response consistency, mode interpretability, and suppression of simultaneous charging and discharging.
The computational complexity mainly increases with the number of days D, the number of time intervals H, and the number of decision variables in the daily subproblem. Since the case study uses 40 days with a 1 h resolution, the computational burden is acceptable for offline estimation.