Distributed photovoltaic (PV) generation changes both the direction and the magnitude of power flow in distribution feeders. When PV output exceeds local demand, reverse flow raises node voltages; when PV output falls or load rises, the feeder can experience undervoltage. Because voltage-sensitive equipment requires a stable supply, the control problem is not only to keep nodes within limits but to do so without exhausting battery cycling life. Energy battery storage is attractive for this role because it can absorb or inject active power quickly. Charging absorbs surplus power during high-voltage periods, while discharging injects power during low-voltage periods. The design question is how to choose which nodes to regulate, when to act, and which battery units to use.

Distributed PV and voltage violation
A conventional distribution network is operated as a radial, one-way supply system from the substation to customer nodes. Node voltage is normally kept within \(0.9\) to \(1.1\) p.u. A node is treated as violating its limit when its voltage rises above \(1.1\) p.u. or falls below \(0.9\) p.u. for more than one minute. High PV penetration alters this operating pattern. When local PV output is greater than local load, the surplus power flows back toward the substation. The resulting reverse flow can produce overvoltage at customer nodes. When load increases and PV output cannot meet demand, the feeder current increases and undervoltage can appear.
The location of a node within the feeder also matters. Nodes farther from the substation are more likely to experience voltage instability and limit violations. Changes in their charge or discharge power can also have a stronger influence on the voltages of other customer nodes. This is the practical reason for ranking node voltages before deciding which battery system should act first.
Active-power regulation by battery energy storage
The battery energy storage system (BESS) regulates voltage through active-power charging and discharging. If a node voltage exceeds its charging threshold, the BESS absorbs active power, reducing the reverse power flow that caused the voltage rise. If the node voltage falls below its discharging threshold, the BESS injects active power and supports the feeder. Between the thresholds, the BESS remains idle.
Because the controller must check the effect of each action on the full network, it uses power-flow calculation. The nodal admittance matrix is expressed as \(Y_{ij}=G_{ij}+jB_{ij}\). The active and reactive power equations are
$$ P_i = V_i \sum_{j=1}^{n} V_j \left(G_{ij}\cos\delta_{ij}+B_{ij}\sin\delta_{ij}\right) $$
$$ Q_i = V_i \sum_{j=1}^{n} V_j \left(G_{ij}\sin\delta_{ij}-B_{ij}\cos\delta_{ij}\right) $$
where \(\delta_{ij}=\delta_i-\delta_j\) is the voltage-angle difference between nodes \(i\) and \(j\), and \(V_i\) and \(V_j\) are the voltage magnitudes. The Newton–Raphson correction equation is
$$ \begin{bmatrix}\Delta P\\\Delta Q\end{bmatrix}=J\begin{bmatrix}\Delta\delta\\\Delta V\end{bmatrix} $$
where \(J\) is the Jacobian matrix. The correction is applied iteratively until the convergence criterion is met. After each BESS adjustment, the power flow is recalculated to determine whether the voltage violation has been resolved.
The required regulation power at a node is derived from the node voltage and the net PV–load power imbalance. If \(\Delta P_{vi}\) is the regulation power required at node \(i\), and \(P_b\) is the charge or discharge power of one battery pack, the number of battery packs participating in the adjustment is
$$ n=\frac{\Delta P_{vi}}{P_b} $$
This relationship makes the power rating of the battery units an explicit constraint. A BESS can regulate only within its available charge or discharge capacity, so a remaining violation may require action at other nodes.
Node-voltage sorting and threshold tiers
The sorting-based control ranks node voltages in ascending order. For an overvoltage condition, it starts from the node with the highest voltage. For an undervoltage condition, it starts from the node with the lowest voltage. The largest deviation is therefore addressed first. If adjusting that node also relieves nearby nodes, the controller can avoid separate actions at those nodes. This does not guarantee a global optimum, but it reduces unnecessary battery operations in the tested feeder.
Battery power is finite. After the violating nodes have been adjusted, a voltage limit may still be exceeded. The controller therefore assigns tiered charging and discharging thresholds so that nodes still within limits can provide auxiliary support. For overvoltage, the primary threshold applies to nodes above \(1.1\) p.u. If the violation remains, nodes in the \(1.05\)–\(1.10\) p.u. and \(1.00\)–\(1.05\) p.u. ranges can be called in sequence. For undervoltage, the same logic applies from the lower-voltage side.
| Voltage condition | Control role | Threshold setting |
|---|---|---|
| Above \(1.1\) p.u. | Primary overvoltage charging | \(V_{\max}=V_{\max1}\) |
| \(1.05\)–\(1.10\) p.u. | Auxiliary charging after primary nodes | \(V_{\max}=V_{\max2}\) |
| \(1.00\)–\(1.05\) p.u. | Secondary auxiliary charging | \(V_{\max}=V_{\max3}\) |
| \(0.8\)–\(0.9\) p.u. | Primary undervoltage discharging | \(V_{\min}=V_{\min1}\) |
| \(0.9\)–\(0.95\) p.u. | Auxiliary discharging | \(V_{\min}=V_{\min2}\) |
| \(0.95\)–\(1.0\) p.u. | Secondary auxiliary discharging | \(V_{\min}=V_{\min3}\) |
The sequence is important. The controller first ranks the node voltages, selects the most severe unregulated node, calculates the required charge or discharge power, and applies the BESS action. It then runs a power flow. If the violation is resolved, the control step ends; otherwise, the next ranked node is considered. The auxiliary thresholds allow near-limit nodes to participate only when the primary nodes cannot solve the problem alone.
SOC-aware battery dispatch
Battery cycling must also respect state of charge (SOC). The controller estimates SOC from charge or discharge power, battery capacity, and time:
$$ SOC(t)=SOC_{\mathrm{start}}+\frac{P_{\mathrm{charge}}}{B_{\mathrm{capacity}}}\,t,\quad V_i(t)>V_{\max} $$
$$ SOC(t)=SOC_{\mathrm{start}}-\frac{P_{\mathrm{discharge}}}{B_{\mathrm{capacity}}}\,t,\quad V_i(t)<v_{\min} $$=""
Here \(P_{\mathrm{charge}}\) and \(P_{\mathrm{discharge}}\) are the charge and discharge powers, \(B_{\mathrm{capacity}}\) is battery capacity, and \(t\) is time in hours when power is in MW and capacity is in MWh. The battery units are grouped by SOC. Units with \(SOC\ge 90\%\) are allowed to discharge but not charge. Units with \(10\%<soc<90\%\) 10\%\)="" \(soc\le="" allowing="" an="" and="" appropriate="" at="" battery="" but="" can="" charge="" controller="" discharge.="" each="" either="" event.
IEEE 33-node test case
A 33-node distribution network simulation illustrates the control behavior. Node 1 is the slack bus, held at \(1\) p.u., and the remaining nodes are customer nodes with a normal voltage range of \(0.9\)–\(1.1\) p.u. Distributed PV and battery storage are installed at customer nodes. The simulation covers 24 hours with a 5-minute sampling interval, giving 288 sample points. In the test data, peak PV output is \(10.5\) MW and peak load is \(3.8\) MW.
Without voltage regulation, overvoltage appears from about 10:00 to 14:00, when PV output exceeds load. Undervoltage appears from about 18:00 to 22:00, when PV output falls and load demand rises. Basic BESS regulation keeps node voltages within the normal range, but it requires many charge and discharge actions. The sorting-based control also keeps the nodes within \(0.9\)–\(1.1\) p.u., while reducing the number of BESS regulation actions relative to the basic case. SOC monitoring prevents the battery units from entering overcharge or overdischarge states.
| Control case | Voltage outcome | Battery operation |
|---|---|---|
| No voltage regulation | Overvoltage around 10:00–14:00; undervoltage around 18:00–22:00 | No BESS action |
| Basic BESS regulation | Node voltages held within \(0.9\)–\(1.1\) p.u. | Many charge and discharge actions |
| Sorting-based BESS control | Node voltages held within \(0.9\)–\(1.1\) p.u. | Fewer actions than the basic BESS case |
The improvement is a dispatch-level reduction in cycling, not an increase in installed storage capacity. The case shows that the order in which nodes are regulated and the use of tiered thresholds can reduce unnecessary battery use while maintaining voltage limits. The result depends on the feeder impedance, the PV and load profiles, BESS location, available power and energy capacity, and the chosen threshold settings.
Design implications and limits
The sorting heuristic is useful when a distribution network has limited voltage-regulation authority from on-load tap changers, capacitor banks, or reactive compensation. In low-voltage feeders, active-power control through BESS can be more effective because it acts directly on the power balance that drives voltage rise and drop. The sorting step also gives the controller a clear priority order without requiring a full optimization model at every control interval.
However, the method is not a substitute for adequate BESS sizing. A battery system with insufficient power cannot correct a large violation, and a system with insufficient energy cannot sustain support through a long event. The auxiliary threshold tiers improve voltage support but can increase cycling if they are set too aggressively. Coordination with PV and load forecasting, protection settings, and communication delays is also necessary in practical deployment. The reported cycle reduction is therefore best understood as a control-design benefit under the stated test conditions, not as a universal guarantee for all feeders and operating profiles.
Conclusion
Battery energy storage can regulate distribution voltage by charging during overvoltage and discharging during undervoltage. The node-voltage sorting strategy prioritizes the most severe nodes, uses tiered thresholds to bring near-limit nodes into auxiliary support when needed, and applies SOC-aware battery grouping to avoid overcharge and overdischarge. In the IEEE 33-node case, the method keeps node voltages within \(0.9\)–\(1.1\) p.u. and reduces the number of battery regulation actions compared with basic BESS control. Its practical value lies in combining voltage support with more careful use of limited battery cycling life.
</soc
