Electromagnetic Transient Modeling and Verification for Battery Energy Storage Systems on ADPSS

Accurate electromagnetic transient (EMT) simulation models of battery energy storage systems (BESS) are fundamental for analyzing their dynamic impact on power grid stability and designing control and protection strategies. Existing studies predominantly utilize foreign simulation platforms, leaving a gap in modeling and comparison on the domestically developed ADPSS (Advanced Digital Power System Simulator) platform. This work addresses this gap by designing a generic low/high voltage fault ride-through (LVRT/HVRT) control strategy based on mainstream battery energy storage unit characteristics and grid codes. We construct EMT models of a specific 200-kW BESS on both MATLAB/Simulink and ADPSS platforms. Through comparative analysis with manufacturer-provided encapsulated model test data, we find that MATLAB-based simulations achieve higher consistency with manufacturer response characteristics. We further identify and rectify discrepancies in the main circuit, control circuit, and measurement circuit modules specific to ADPSS. A systematic verification methodology is proposed, including parameter recalculation for transformer equivalent circuits, structural modification for PI controllers, and hysteresis comparator parameter tuning. The rectified ADPSS model demonstrates fault ride-through responses closely matching manufacturer data across various symmetrical and asymmetrical fault scenarios. This work enables high-precision EMT modeling of battery energy storage systems on the ADPSS platform, promoting the domestic substitution of simulation software for large-scale power system studies.

Introduction and Background

The large-scale integration of wind and solar power is critical for achieving carbon neutrality and constructing new power systems. However, the intermittent nature of renewable energy sources poses challenges to grid stability, power quality, and the efficient utilization of clean energy. Battery energy storage systems (BESS), with their fast and flexible power regulation capabilities, have emerged as a key technology for smoothing renewable fluctuations, mitigating voltage sags, and providing peak shaving and frequency regulation services. To study the grid-connected characteristics and control strategies of BESS, accurate simulation models are essential. Most existing BESS modeling efforts focus on electromechanical transients using platforms like PSD-FDS, PSS/E, PowerWorld, or PSASP, but these often neglect electromagnetic transient processes. Only a few studies address EMT modeling, and they are predominantly built on PSCAD/EMTDC or MATLAB, with limited consideration of both LVRT and HVRT scenarios simultaneously. Furthermore, the use of domestic simulation platforms such as ADPSS for BESS EMT modeling remains largely unexamined. This paper aims to fill this gap by developing a generic control strategy for BESS voltage fault ride-through and building EMT models on both MATLAB and ADPSS, comparing their responses to manufacturer encapsulated models, and proposing correction methods for ADPSS to achieve high-fidelity simulations.

Generic Control Strategy for Low/High Voltage Fault Ride-Through

The typical grid-connected BESS structure comprises a battery pack, a power conversion system (PCS), and a control system. The PCS determines the external power characteristics through its control strategy. We adopt a dual closed-loop feedforward decoupling control scheme for steady-state operation, as depicted in the following block diagram (conceptual representation). In the steady state, the outer power loop and inner current loop are used. For fault conditions, we design a generic LVRT/HVRT control method that complies with the Chinese national standard GB/T 34120–2017 and the test code GB/T 44117–2024. The control logic is as follows:

LVRT: During a voltage dip, the reactive power outer loop is bypassed, and a reactive current generator is cascaded with the inner loop to provide rapid reactive support according to the voltage drop depth. The active power outer loop is also disconnected, and a reactive-priority strategy is adopted. The d-axis current reference and q-axis current reference are given by:

$$i_{dref} = \min\left( \sqrt{I_{\max}^2 – i_{qref}^2},\ k_{dL1}u + k_{dL2} I_{d0} + I_{dLset},\ k_0 u + \frac{P_0}{u} \right)$$

$$i_{qref} = \max\left( k_{qL1}(U_{Lin} – u) + k_{qL2} I_{q0} + I_{qLset},\ I_{qLmin} \right)$$

where \(u\) is the terminal voltage magnitude, \(I_{\max}\) is the maximum current limit, \(U_{Lin}\) is the threshold for entering LVRT, and other coefficients are defined according to the standard.

HVRT: During a voltage swell, the reactive power loop is similarly bypassed, and reactive current is injected to absorb reactive power. The active power loop remains in steady-state operation, maintaining constant active power by reducing active current. The d-axis current reference comes from the PI controller in the outer loop, while the q-axis reference is:

$$i_{qref} = \min\left( k_{qH1}(u – U_{Hin}) + k_{qH2} I_{q0} + I_{qHset},\ I_{qHmax} \right)$$

All control parameters and limits are summarized in Table 1.

Table 1. Key Parameters of the Generic LVRT/HVRT Control Strategy
Parameter Description Typical Value
\(U_{Lin}\) Voltage threshold for entering LVRT (p.u.) 0.90
\(U_{Hin}\) Voltage threshold for entering HVRT (p.u.) 1.10
\(I_{\max}\) Maximum current limit (p.u.) 1.10
\(k_{dL1}, k_{dL2}\) Active current coefficients during LVRT 1.5, 0.5
\(k_{qL1}, k_{qL2}\) Reactive current coefficients during LVRT 2.0, 0.5
\(k_{qH1}, k_{qH2}\) Reactive current coefficients during HVRT 2.0, 0.5
\(r_P, r_Q\) Power ramp rates (p.u./s) 0.1
\(I_{d0}, I_{q0}\) Initial d-axis and q-axis currents (p.u.) Depends on operating point

Modeling on MATLAB and ADPSS Platforms

Overall Model Structure

Both MATLAB/Simulink and ADPSS models are built using the same main circuit parameters: rated power 200 kW, DC-side nominal voltage 800 V, DC-link capacitance 2960 μF, LCL filter (0.05 Ω, 185 μH), and a step-up transformer (35 kV/800 V, Dyn11, winding resistance 0.0048 p.u., leakage reactance 0.035 p.u.). The battery is modeled using an improved Rint model (controlled voltage source) with parameters extracted from lithium-ion battery data.

Comparison of Response Characteristics

We perform steady-state and transient tests using manufacturer encapsulated model data as the benchmark. Steady-state tests involve step changes in active and reactive power references. Transient tests include symmetrical voltage dips to 0.5 p.u. and swells to 1.25 p.u. The results are compared for positive-sequence voltage, active power, reactive power, active current, and reactive current. The MATLAB model shows excellent agreement with the manufacturer model, while the ADPSS model exhibits noticeable deviations, especially in voltage magnitude, current spikes during fault onset, and timing of control mode switching.

Identification of Module Discrepancies

We systematically analyze the main circuit, control circuit, and measurement circuit modules of both platforms.

Transformer equivalent circuit: In ADPSS, the three-phase two-winding transformer uses an R-L coupled branch representation, whereas MATLAB uses a different equivalent circuit (with magnetizing branch modeled as RZ-XZ parallel). This leads to steady-state voltage differences. The equivalent circuits are:

ADPSS single-phase equivalent:

$$R_1 \text{ and } X_1 \text{ (winding 1)}, \quad R_2 \text{ and } X_2 \text{ (winding 2)}, \quad R_m \text{ and } X_m \text{ (magnetizing branch in parallel)}$$

MATLAB single-phase equivalent:

$$R_1, X_1, R_2, X_2, \quad R_Z \text{ and } X_Z \text{ (magnetizing branch)}$$

PI controller internal structure: ADPSS places the output limiter inside the integrator path, while MATLAB places it at the overall output. This causes a transient overshoot in ADPSS when the PI output exceeds the limit. Figure 4 in the original paper illustrates the internal structures. For correction, we set the ADPSS PI limiter to infinity and add an external limiter.

Hysteresis comparator: ADPSS uses “interval average” and “interval margin” parameters, whereas MATLAB uses “turn-on point” and “turn-off point”. This leads to different trigger thresholds and timing.

Verification Methodology for ADPSS Models

Main Circuit Correction

To eliminate transformer differences, we recalculate the ADPSS magnetizing branch resistance and reactance using the formula:

$$R_m = \frac{R_Z X_Z^2}{R_Z^2 + X_Z^2}, \quad X_m = \frac{R_Z^2 X_Z}{R_Z^2 + X_Z^2}$$

Then convert to per-unit values using standard transformer test data (short-circuit loss, no-load loss, etc.). After correction, the steady-state voltage at the transformer low-voltage side matches between the two platforms.

Control Circuit Correction

We replace the built-in ADPSS PI controller with a configuration that sets the internal limits to ±∞ and then adds a separate limiter block externally. The corrected structure is shown in the paper’s Figure 6. After this modification, the step response of the outer power loop shows identical transient behavior between ADPSS and MATLAB.

Measurement Circuit Correction

We map the hysteresis parameters as follows: \(Y_{ON} = \mu_M + \gamma_{HY}\), \(Y_{OFF} = \mu_M – \gamma_{HY}\). The output channel selection follows the correspondence: if MATLAB outputs 1 when open and 0 when closed, use the “high output” channel in ADPSS; if the opposite, use “low output”. After tuning, the fault flag timing matches exactly.

Validation of the Corrected ADPSS Model

We run LVRT and HVRT tests with the corrected ADPSS model and compare with manufacturer encapsulated model data. For LVRT, two cases are shown: voltage dip to 0.2 p.u. (duration 0.625 s) and to 0.5 p.u. (duration 1.21 s). For HVRT, voltage swell to 1.25 p.u. (duration 1 s) and to 1.3 p.u. (duration 0.5 s). Figures 7(a)-(d) in the original paper illustrate the response curves. The corrected ADPSS model exhibits nearly identical steady-state and transient behavior to the manufacturer model, with no overshoot during fault onset and correct timing of control mode transitions.

Quantitative Error Analysis

We compute the steady-state interval average deviation \(F_1\), transient interval average deviation \(F_2\), maximum deviation \(F_3\), and weighted average deviation \(F_G\) according to GB/T 44117–2024. The formulas are:

$$F_n = \left| \frac{ \sum_{i=K_{\text{Start}}}^{K_{\text{End}}} (X_M(i) – X_S(i)) }{ K_{\text{End}} – K_{\text{Start}} + 1 } \right|, \quad n=1,2$$

$$F_3 = \max_i \left| X_S(i) – X_M(i) \right|$$

$$F_G = 0.1 F_{1,A} + 0.6 F_{1,B} + 0.3 F_{1,C}$$

where \(F_{1,A}\), \(F_{1,B}\), \(F_{1,C}\) are the steady-state average deviations before, during, and after the fault respectively. Tables B1 and B2 in the appendix (not shown here) list the actual values. The maximum deviation before correction was up to 12.53%, whereas after correction all deviations are below 1.63%, well under the standard allowable limits.

Performance Summary

The following table summarizes the error reduction achieved for the tested scenarios.

Table 2. Error Comparison Before and After ADPSS Model Correction (Example: Voltage dip to 0.5 p.u.)
Metric Before Correction After Correction Allowable Limit
\(F_{1,A}\) (Pre-fault voltage, p.u.) 0.023 0.004 0.02
\(F_{1,B}\) (During-fault voltage, p.u.) 0.078 0.009 0.05
\(F_{1,C}\) (Post-fault voltage, p.u.) 0.031 0.006 0.02
\(F_G\) (Weighted average, voltage) 0.061 0.007 0.03
Maximum active current deviation (p.u.) 0.15 0.02 0.05

The corrected ADPSS model now provides high-fidelity EMT simulation of battery energy storage systems under both low and high voltage fault conditions, matching the manufacturer’s encapsulated model within acceptable tolerances. This enables the use of ADPSS for large-scale power system studies involving BESS, supporting the domestic software ecosystem.

Conclusion

We have developed a generic LVRT/HVRT control method for battery energy storage systems and built EMT models on both MATLAB and ADPSS platforms. By comparing with manufacturer encapsulated model data, we identified key discrepancies in the transformer equivalent circuit, PI controller structure, and hysteresis comparator settings in ADPSS. A systematic correction method involving parameter recalculation and structural modification was proposed and validated. The corrected ADPSS model achieves average deviations below 1.63% for all tested fault scenarios, significantly improving accuracy over the uncorrected model. This work establishes a reliable approach for high-precision EMT modeling of battery energy storage systems on the ADPSS platform, promoting its application in power system simulation and analysis. Future work will investigate underlying numerical solver differences between platforms to further enhance simulation efficiency and accuracy.

Scroll to Top