With the rapid integration of residential solar photovoltaic (PV) systems into low-voltage distribution networks, voltage violations such as overvoltage and undervoltage have become critical issues. These problems arise due to the intermittent nature of solar generation and the reverse power flow during peak PV production periods. In this context, effective voltage control strategies are essential to ensure grid stability and maximize the utilization of renewable energy. Traditional methods like on-load tap changers (OLTCs) or active power curtailment have limitations, including equipment wear and reduced energy yield. Therefore, leveraging the flexibility of solar inverters for reactive power control and energy storage systems (ESS) for active power control offers a promising solution. This article presents a two-stage distributed control strategy based on consensus algorithms to coordinate solar inverters and ESS for voltage regulation in low-voltage networks. We focus on optimizing control efficiency and cost, ensuring that the strategy is practical for real-world applications with limited communication infrastructure.
The core idea of our approach is to prioritize the use of solar inverters for reactive power support due to their lower operational cost and faster response, followed by ESS for active power adjustment when necessary. We formalize this through a control-effectiveness-cost coefficient that quantifies the economic viability of each device. The distributed control framework uses consensus algorithms to achieve coordinated action among multiple devices without centralized computation, enhancing robustness and scalability. In the following sections, we detail the control architecture, mathematical formulations, simulation results, and parameter analysis. We emphasize the role of solar inverters throughout, as they are key components in modern distributed energy systems. To illustrate a practical setup, consider a typical residential installation:

Such systems combine solar inverters with battery storage, enabling both reactive and active power management. Our strategy aims to optimize these resources for grid support.
Voltage control in low-voltage networks with high PV penetration is challenging due to the bidirectional power flows and varying load profiles. Solar inverters, which convert DC power from PV panels to AC power for grid injection, inherently possess the capability to provide reactive power support. According to standards like IEEE 1547, modern solar inverters can operate in power factor control or voltage regulation modes. The reactive power capacity of a solar inverter is given by:
$$Q_{inv,max} = \pm \sqrt{S_{inv}^2 – P_{pv}^2}$$
where \(S_{inv}\) is the inverter’s apparent power rating, and \(P_{pv}\) is the active power output from the PV system. This equation shows that solar inverters can supply or absorb reactive power even at full active power output, depending on the inverter sizing. For instance, a 1 kW PV system with a 1.1 kVA solar inverter can provide up to 0.46 kvar of reactive power, which is 46% of the active power rating. This flexibility makes solar inverters a cost-effective tool for voltage control, as their operational cost is estimated at around 0.067 USD per kvar-hour, significantly lower than ESS adjustments. In contrast, ESS units, typically lithium-ion batteries, have higher costs due to cycle life limitations, with active power control costs ranging from 0.6 to 1.0 USD per kWh. Thus, coordinating solar inverters and ESS requires careful consideration of economic factors.
We propose a two-stage voltage control architecture that first utilizes solar inverters for reactive power compensation and then engages ESS for active power adjustment if voltage violations persist. This order is justified by the control-effectiveness-cost coefficient \(S_{ij}^{c}\), defined for device \(j\) affecting voltage at node \(i\):
$$S_{ij}^{c} = \frac{\Delta V_{ij}}{C_j}$$
Here, \(\Delta V_{ij}\) is the voltage change at node \(i\) due to power adjustment at node \(j\), and \(C_j\) is the unit adjustment cost of device \(j\). For solar inverters providing reactive power, the coefficient is:
$$S_{ij}^{PV,c} = \frac{S_{ij}^{V-Q} \Delta Q_{pv,j}}{C_{pv}}$$
where \(S_{ij}^{V-Q}\) is the voltage-reactive power sensitivity, \(\Delta Q_{pv,j}\) is the reactive power change from the solar inverter at node \(j\), and \(C_{pv}\) is the unit cost of reactive power adjustment for solar inverters. For ESS providing active power, the coefficient is:
$$S_{ij}^{ESS,c} = \frac{S_{ij}^{V-P} \Delta P_{ess,j}}{C_{ess}}$$
where \(S_{ij}^{V-P}\) is the voltage-active power sensitivity, \(\Delta P_{ess,j}\) is the active power change from the ESS at node \(j\), and \(C_{ess}\) is the unit cost of active power adjustment for ESS. In low-voltage networks, the resistance-to-reactance ratio \(r_0/x_0\) is typically between 0.18 and 0.88, implying that voltage-active power sensitivities are larger than voltage-reactive power sensitivities. However, since \(C_{ess}\) is 9 to 15 times higher than \(C_{pv}\), the overall coefficient for solar inverters is greater, making them more economical for initial voltage control. The aggregated comparison across all nodes confirms this:
$$\frac{\sum_{i \in \Theta} S_{ij}^{PV,c}}{\sum_{i \in \Theta} S_{ij}^{ESS,c}} = \frac{x_0}{r_0} \cdot \frac{C_{ess}}{C_{pv}} > 1$$
where \(\Theta\) is the set of nodes with PV and ESS installations. Thus, our control architecture prioritizes solar inverters to minimize overall costs.
The distributed control strategy employs consensus algorithms to coordinate multiple devices. We model the communication network as a directed graph \(G_c = (V, \epsilon)\), where \(V\) represents the set of controllable devices (solar inverters and ESS), and \(\epsilon \subseteq V \times V\) represents communication links. The graph is assumed to be strongly connected, ensuring information exchange between any two nodes. The consensus algorithm updates the state variable of each device based on neighbors’ states, converging to a common value. For a state variable \(x_i(k)\) at node \(i\) and iteration \(k\), the update rule is:
$$x_i(k+1) = \sum_{j \in N_i} d_{ij} x_j(k)$$
where \(N_i\) is the set of neighbors of node \(i\), and \(d_{ij}\) are weights of the state transition matrix \(D\). We choose weights according to the Metropolis-Hastings rule for convergence:
$$d_{ij} = \begin{cases}
\frac{1}{1 + \max(D_i, D_j)} & \text{if } j \neq i \text{ and } (i,j) \in \epsilon \\
1 – \sum_{j \neq i} d_{ij} & \text{if } j = i \\
0 & \text{otherwise}
\end{cases}$$
where \(D_i\) is the degree of node \(i\). This ensures that the consensus algorithm asymptotically converges to an average of initial values, facilitating distributed coordination without central authority.
In the first stage, solar inverters are controlled using the reactive power utilization ratio as the consensus variable. The utilization ratio \(u_{pv,i}\) for solar inverter at node \(i\) is defined as:
$$u_{pv,i} = \frac{Q_{pv,i}}{Q_{pv,max,i}}$$
where \(Q_{pv,i}\) is the reactive power output, and \(Q_{pv,max,i}\) is the maximum reactive power capacity from Equation (1). The goal is to equalize utilization ratios across all solar inverters while regulating voltage. A leader node, typically the one with the most severe voltage violation, updates its reference utilization ratio \(u_{ref}\) based on local voltage measurement:
$$u_{ref}(k) = \begin{cases}
u_{ref}(k-1) – a (V_N(k) – V_{max}) & \text{if } V_N(k) > V_{max} \\
u_{ref}(k-1) & \text{if } V_{min} \leq V_N(k) \leq V_{max} \\
u_{ref}(k-1) – a (V_N(k) – V_{min}) & \text{if } V_N(k) < V_{min}
\end{cases}$$
where \(V_N(k)\) is the voltage at the leader node, \(V_{max}\) and \(V_{min}\) are voltage limits (e.g., 1.07 pu and 0.93 pu), and \(a\) is a tuning parameter for convergence speed and accuracy. Other solar inverters update their utilization ratios via consensus:
$$u_{pv,i}(k) = \sum_{j \in \Theta_{pv}} d_{ij} u_{pv,j}(k-1)$$
where \(\Theta_{pv}\) is the set of nodes with solar inverters. The reactive power setpoint for each solar inverter is then:
$$Q_{pv,i}^*(k) = u_{pv,i}(k) \cdot Q_{pv,max,i}$$
Constraints include the reactive power capacity limits and power factor requirements at the point of common coupling (PCC):
$$-Q_{pv,max,i} \leq Q_{pv,i} \leq Q_{pv,max,i}, \quad \cos \phi_i \in [-1, -0.9] \cup [0.9, 1]$$
If voltage violations persist after solar inverter adjustments, the second stage activates ESS control. We use the state-of-charge (SOC) change \(\Delta S_i\) as the consensus variable to account for energy capacity differences among ESS units. The leader node updates its reference SOC change based on voltage:
$$\Delta S_{ref}(k) = \begin{cases}
\Delta S_{ref}(k-1) – b (V_N(k) – V_{max}) & \text{if } V_N(k) > V_{max} \\
\Delta S_{ref}(k-1) & \text{if } V_{min} \leq V_N(k) \leq V_{max} \\
\Delta S_{ref}(k-1) – b (V_N(k) – V_{min}) & \text{if } V_N(k) < V_{min}
\end{cases}$$
where \(b\) is a tuning parameter. Other ESS units update their SOC changes via consensus:
$$\Delta S_i(k) = \sum_{j \in \Theta_{ess}} d_{ij} \Delta S_j(k-1)$$
where \(\Theta_{ess}\) is the set of nodes with ESS. The active power setpoint for each ESS is calculated as:
$$P_{ess,i}^*(k) = \frac{\Delta S_i(k) \cdot C_{ess,i}}{\Delta t}$$
where \(C_{ess,i}\) is the energy capacity of ESS at node \(i\), and \(\Delta t\) is the control time interval (e.g., 5 minutes). The SOC at the next time step is:
$$S_i(t+1) = S_i(t) + \Delta S_i(k)$$
with constraints on SOC and power:
$$S_{min} \leq S_i \leq S_{max}, \quad -P_{ess,rated,i} \leq P_{ess,i} \leq P_{ess,rated,i}$$
where \(S_{min}\) and \(S_{max}\) are SOC limits (e.g., 20% and 80%), and \(P_{ess,rated,i}\) is the rated power of the ESS. This two-stage approach ensures that solar inverters are fully utilized before engaging ESS, reducing overall control costs.
To validate our strategy, we conducted simulations on a 21-node low-voltage distribution network with high PV penetration. The network parameters include a nominal voltage of 380 V, line impedance of \(0.650 + j0.412 \ \Omega/km\), and PV systems installed at nodes 4, 8, 10, 11, 12, 13, 16, 17, and 20. The total PV capacity is 218% of the peak load, representing a high-penetration scenario. Load and PV generation profiles are based on realistic data with 5-minute intervals. We compare three control strategies: S1 (solar inverter-only distributed control), S2 (ESS-only distributed control), and S3 (our proposed two-stage strategy). The performance metrics include voltage violation mitigation, control costs, and network losses.
The simulation results demonstrate that our strategy S3 effectively eliminates voltage violations while minimizing costs. Table 1 summarizes the control costs and network losses for a 24-hour period:
| Control Strategy | Solar Inverter Reactive Power Cost (USD) | ESS Active Power Cost (USD) | Total Control Cost (USD) | Network Losses (kWh) |
|---|---|---|---|---|
| S1 (Solar Inverter Only) | 28.74 | 0 | 28.74 | 34.18 |
| S2 (ESS Only) | 0 | 90.61 | 90.61 | 40.26 |
| S3 (Two-Stage) | 18.45 | 18.88 | 37.33 | 34.18 |
In S1, solar inverters alone cannot fully mitigate voltage violations during peak PV generation due to limited reactive power capacity, leading to residual overvoltages. S2 uses ESS extensively, resulting in high costs and larger SOC swings (from 20% to 71.78%), requiring 78.71 kWh of energy capacity. In contrast, S3 reduces the required ESS capacity to 25.80 kWh (32.78% of S2) by prioritizing solar inverters. The total control cost of S3 is 37.33 USD, significantly lower than S2’s 90.61 USD. Moreover, network losses are lower in S3 compared to S2, as reactive power support from solar inverters improves local power factor and reduces line currents. This highlights the economic and technical advantages of coordinating solar inverters and ESS.
We also compared our strategy with a local control method (denoted S4) that uses preset curves for solar inverters and ESS without coordination. The results show that S4 leads to higher control costs (133.87 USD) and network losses (65.31 kWh) due to inefficient resource utilization. For instance, ESS units at nodes with mild voltage deviations are activated unnecessarily, wasting energy capacity. In contrast, our distributed consensus-based strategy ensures proportional sharing of control tasks based on device capacities, optimizing overall performance.
The choice of consensus variables is critical for fair resource allocation. In solar inverter control, using the reactive power utilization ratio ensures that inverters with larger capacities contribute more, preventing overloading of smaller units. If reactive power itself were used as the consensus variable (as in some literature), equal power sharing might strain low-capacity solar inverters. Similarly, for ESS control, using SOC changes instead of active power accounts for energy capacity differences, avoiding premature saturation of smaller batteries. We validate this through comparative simulations: when active power is used as the consensus variable for ESS, units with lower energy capacity reach SOC limits faster, increasing cycling and reducing lifespan. Our approach with SOC changes mitigates this issue, as shown in Table 2 for a sample node:
| Consensus Variable | ESS Cycling Count (per day) | SOC Range (%) | Voltage Violation Duration (minutes) |
|---|---|---|---|
| Active Power | 15 | 20-85 | 10 |
| SOC Change (Our Method) | 8 | 20-80 | 0 |
The parameters \(a\) and \(b\) in the leader update equations influence convergence speed and control precision. We analyzed their effects by varying values and measuring the number of iterations to reach consensus (with a tolerance of \(1 \times 10^{-3}\)) and the steady-state voltage error. The results are summarized in Table 3:
| Parameter Value | Iterations to Convergence | Voltage Error (pu) | Recommended Range |
|---|---|---|---|
| a = 0.1 | 150 | 0.001 | 1-10 |
| a = 1 | 50 | 0.005 | 1-10 |
| a = 10 | 20 | 0.01 | 1-10 |
| b = 0.01 | 200 | 0.0005 | 0.1-1 |
| b = 0.1 | 80 | 0.002 | 0.1-1 |
| b = 1 | 30 | 0.008 | 0.1-1 |
For solar inverter control, \(a\) between 1 and 10 balances convergence speed (20-50 iterations) with acceptable voltage errors (less than 0.01 pu). For ESS control, \(b\) between 0.1 and 1 is optimal. These ranges ensure that the distributed control responds quickly to voltage deviations without excessive oscillations. In practice, the parameters can be tuned based on network characteristics, such as the sensitivity of voltage to power injections. The robustness of the consensus algorithm to communication delays or packet losses is also important; we assume a strongly connected graph where temporary link failures do not disrupt convergence, as the Metropolis-Hastings weights adapt to topology changes.
The scalability of our strategy is evident from the consensus algorithm’s decentralized nature. Adding more solar inverters or ESS units simply expands the communication graph without requiring central recalibration. However, the leader node selection can impact performance. We use the node with the worst voltage violation as the leader, but alternatives like rotating leadership or weighted averages could be explored. In our simulations, the leader node is typically at the network end (e.g., node 16), where voltage deviations are most pronounced due to cumulative line losses. The leader’s reference updates propagate through the network, driving all devices toward a common action. This mechanism is inherently resilient to single-point failures; if the leader fails, another node can assume the role based on local voltage measurements, though we assume a stable leader for simplicity.
From an implementation perspective, solar inverters must be equipped with communication modules (e.g., WiFi, Zigbee, or PLC) to exchange utilization ratios. Modern smart solar inverters often have such capabilities, enabling seamless integration into distributed control schemes. The communication overhead is minimal, as only scalar values (utilization ratios or SOC changes) are transmitted at each iteration. For a network with \(N\) devices, each device communicates with its neighbors, resulting in \(O(N)\) messages per iteration, which is manageable for typical low-voltage networks with tens to hundreds of nodes. The control interval \(\Delta t = 5\) minutes aligns with common metering and control cycles in distribution systems, allowing sufficient time for consensus convergence.
Future work could extend this strategy to address three-phase unbalance in low-voltage networks, as solar inverters can provide phase-specific reactive power support. Additionally, coordination with medium-voltage control devices like OLTCs could enhance voltage regulation across multiple voltage levels. The integration of advanced forecasting for PV generation and load could further optimize the control actions, reducing unnecessary adjustments. Nevertheless, our current approach demonstrates the viability of consensus-based distributed control for solar inverters and ESS, offering a cost-effective solution for voltage management in high-PV penetration scenarios.
In conclusion, we have presented a two-stage distributed voltage control strategy that coordinates solar inverters and energy storage systems using consensus algorithms. By prioritizing solar inverters for reactive power support and then engaging ESS for active power adjustment, we achieve effective voltage regulation with minimized operational costs. The use of utilization ratios for solar inverters and SOC changes for ESS ensures fair resource allocation and prolongs device lifespan. Simulation results on a 21-node network confirm that our strategy eliminates voltage violations, reduces control costs by over 58% compared to ESS-only methods, and lowers network losses. Parameter analysis provides practical guidelines for tuning the control algorithms. This work underscores the importance of solar inverters in modern grid support functions and offers a scalable framework for distributed energy resource management. As PV penetration continues to grow, such strategies will be crucial for maintaining grid stability and maximizing renewable energy integration.
