1. Introduction
The rapid increase in residential solar photovoltaic (PV) systems in low-voltage (LV) distribution networks is transforming the operation of power grids. PV systems provide environmental and economic benefits; as power is generated locally, dependence on centralized plants is reduced, and excess energy can be exported to the grid [
1,
2]. However, this transition also introduces several operational challenges. When PV generation is high and local demand is low, reverse power flow can occur. This may cause voltage rise beyond the allowed limit and voltage imbalance in single-phase and multi-phase feeders. Most of the installed residential inverters operate close to unity power factor and mainly focus on exporting real power. These inverters do not actively provide reactive power support at the PCC. As a result, voltage rise becomes more severe, feeder losses increase, and consumers may face penalties from utilities [
3,
4].
Solar power generation is also intermittent and varies with time. The net power exchanged between the household and the grid depends on both the load demand and available PV power. Since both are changing continuously, the operating condition of the system also changes frequently [
5,
6,
7,
8,
9,
10,
11]. These variations can reduce power quality and may not use the inverter capacity effectively. In many conventional control methods, all available real power is exported to the grid without reactive power management. This approach does not properly address voltage limits or the economic performance of the installed system.
To address the above mentioned issues, research is moving towards optimization-based control methods. Multiple objectives such maintaining the voltage at the regulatory limit, reducing power losses, utilizing inverter capacity, and reducing voltage fluctuations can be handled by formulating the problem as a multi-period optimal power flow (OPF). Models such as LinDistFlow are widely used to represent the LV network. Such models can capture the influence of real and reactive power on voltage fluctuations [
12,
13,
14,
15,
16,
17,
18]. Reports [
19,
20,
21,
22,
23,
24] have presented several advanced methods that demonstrably improve voltage regulation and loss reduction compared to conventional methods. Optimization-based approaches have also been applied at the transmission level for multi-objective optimal power flow incorporating FACTS devices [
25,
26], though such methods are designed for network-level dispatch rather than real-time embedded residential control.
Another important issue in residential systems is the shift from kilowatt (kW)-based billing to kilovolt-ampere (kVA)-based billing. In kW-based billing, only real power consumption is considered, whereas in a kVA-based billing, apparent power is considered. Furthermore, a low power factor leads to a penalty even if real energy use is the same. Many residential consumers are not fully aware of this change. If the inverter cannot provide reactive power support or manage apparent power properly, the household may face higher electricity bills. Therefore, inverter control strategies must consider both technical and economic aspects, especially under time-of-day (ToD) tariffs.
Motivated by these objectives, this paper focuses on an optimization-based control strategy for residential PV inverters in LV networks. A multi-period OPF problem is formulated to decide the optimal real and reactive power schedule of the inverter. The inverter rating, ToD tariffs, and voltage constraints are clearly included in the formulation. The method can be applied to single-phase as well as multi-phase feeders. The aim is to improve voltage quality, enhance inverter utilization, and enable coordinated techno-economic operation in residential systems.
The proposed method is formulated as a convex quadratic programming (CQP) problem, where the PF is incorporated through a quadratic penalty on the deviation from the desired active–reactive power relationship. This formulation enables a controlled trade-off between economic objectives and grid-support requirements, allowing the inverter to dynamically balance real and reactive power under varying operating conditions while ensuring convergence to a globally optimal solution due to convexity and computational efficiency.
Conventional Volt-VAR droop control strategies rely on predefined static characteristics and do not explicitly account for economic objectives or optimal allocation of inverter capacity. In contrast, the proposed optimization-based approach dynamically coordinates real and reactive power by considering time-of-day tariffs, inverter constraints, and power factor requirements, enabling a techno-economic optimal operation.
The main contributions of this paper can be summarized as follows:
- 1.
A supervisory control strategy is developed to manage the coordinated export of real and reactive power by the inverter without violating the power factor constraints or the inverter rating.
- 2.
The optimized set points are derived using convex quadratic programming constraints and implemented on a laboratory prototype without modifying its internal control architecture.
- 3.
Experimental validation on the hardware prototype demonstrates improved PF compliance, improved utilization of inverter capacity for real and reactive power export, and measurable economic benefit under ToD tariffs.
The remainder of the paper is organized as follows:
Section 2 describes the system and explains the problem formulation.
Section 3 presents the optimization method, including objective functions and constraints.
Section 4 discusses the experimental results.
Section 5 concludes the paper and discusses possible future work in optimization-based residential PV inverter control under ToD pricing and reactive power support.
2. System Description and Problem Formulation
The residential system under consideration in this study is explained in this section. The formulation includes the load, PV generation, and constraints influencing the real and reactive operation. It also includes the time-of-day operation and regulatory power factor penalty factors.
2.1. Household Power Balance
Consider a residential household connected to a radial LV distribution feeder. The household is also equipped with a rooftop photovoltaic (PV) system interfaced with the LV grid via an inverter. Let
and
denote the real and reactive power demand of the household at time
t, and let
denote the instantaneous PV power generation. The inverter injects
and
, subject to its rated apparent power
. The net real power exchanged with the grid is given by
A similar expression holds for reactive power:
The imported and exported real power components are defined as follows:
The household PCC power factor, which determines billing under emerging kVA-based tariffs, is defined as the ratio of real power to apparent power. Owing to its nonlinear nature, this expression is not directly incorporated into the optimization. Instead, an equivalent linear relationship between active and reactive power is adopted for the proposed formulation.
The desired power factor condition can be equivalently expressed as a linear relationship between active and reactive power, given by , where . This relationship is used in the optimization formulation to avoid the nonlinearity of the conventional power factor expression while preserving its physical meaning.
2.2. Inverter Capability and Constraints
Each PV inverter is constrained by its rated apparent power
, which defines the feasible operating region:
This enforces both thermal and electrical limits and couples real and reactive power output. Real power injection is further bounded by the available PV generation:
ensuring that the inverter does not export more than the generated PV power. The reactive power can be allocated to maintain the PCC PF constraint while respecting the inverter’s apparent power limit.
2.3. Time-of-Day Tariff Considerations
In contrast to a conventional tariff system, the price of electricity varies at different times of the day in a ToD tariff system. Let and denote the import and export prices at time t. The household inverter must operate to maximize economic benefit. The inverter cannot operate by importing real power while ignoring reactive power, as this would result in a power factor penalty. Focusing solely on improving the power factor ignores export revenue. Thus, the inverter requires an optimal operating mode that differs from that of conventional residential PV inverters.
2.4. Motivation for Optimization
The load connected, the PV generation and the ToD tariff change throughout the day. The inverter must control its real and reactive power export according to this for every change. Such an operating point cannot be determined using simple rule-based control as in a conventional system. Hence, such a commercially available inverter cannot be operated to ensure both technical and economic benefit. Furthermore, in most commercial inverters, the operating mode is set to export only real power even when PV generation is absent or reduced. The kVA capacity of the inverter remains underutilized. The proposed system attempts to utilized the remaining available capacity of inverter, thereby increasing the economic benefit of the installed system.
The proposed system utilizes an optimization strategy that provides a systematic way to determine the appropriate operating point for the inverter under the varying conditions described above. The optimization techniques ensure that the inverter obeys the regulatory norms and achieves economic benefits without violating its power rating. The optimization method is executed and implemented as a supervisory control in such a way as to decide the actual real and reactive power to be exported. This ensures that the inverter’s internal control architecture is not modified and that its control performance remains unmodified. The proposed system works as a supervisory control and sends the required real and reactive power as a set reference command to the inverter.
Contributions of the Work:The main contributions of this paper to the field are as follows:
- (1)
A supervisory control strategy is developed to manage the export of real and reactive power by an inverter without violating the pf and inverter rating is developed.
- (2)
The optimized set points are derived using the constraints and implemented on a laboratory prototype without violating or changing its internal control architecture.
- (3)
Experimentation on the hardware prototype is performed to show improved PF compliance and better utilization of the inverter to manage real and reactive power export for economic benefit and power quality improvement.
3. Optimization-Based Inverter Control
This section explains the optimization framework developed for residential PV inverter control. The main objective is to reduce electricity cost and maximize economic benefit from export while maintaining the power factor close to the desired threshold under ToD tariffs. The framework combines an optimization problem with a supervisory control logic that can be implemented in real time. To clearly define the optimization problem, the decision variables and required notation for modeling inverter operation are introduced first.
At each discrete time step
, the inverter injects real power
and reactive power
, subject to its apparent power limit
. The net power exchange with the grid at the PCC is given by (1) and (2), and the corresponding PCC power factor is defined as discussed in
Section 2.1. These definitions establish the decision space of inverter set points and form the foundation for the optimization model. Building on this notation, the optimization problem is now formulated.
3.1. Optimization Problem Formulation
The multi-period optimization problem is formulated to minimize the total electricity cost over the horizon
T while respecting inverter and PCC constraints:
where
and
are the ToD-based import and export tariffs. Minimizing this cost inherently promotes real power export during high-tariff periods while reducing household import expenses.
To incorporate power factor regulation, a penalty-based formulation is introduced in the objective function. A quadratic penalty term is used to penalize deviations from the desired active–reactive power relationship.
The target power factor is fixed at
, and the weighting parameter is selected as
. These parameters are predefined and remain constant throughout the study. The adaptability of the controller arises from the repeated solution of the optimization problem under varying operating conditions, rather than any change in these parameters.
The optimization is subject to inverter apparent power limits, real power bounds, and reactive power feasibility constraints. Power factor regulation is handled through a penalty-based formulation within the objective function rather than as a strict constraint. Although the optimization framework provides the theoretical formulation, a supervisory control strategy is required to implement the framework in real time. Power factor regulation is incorporated by enforcing a quadratic penalty on the deviation from the desired linear relationship between active and reactive power, ensuring that the formulation remains a convex quadratic program. This enables a flexible trade-off between economic objectives and power factor performance, while preserving the convex quadratic structure of the optimization problem. The resulting optimization problem is a convex quadratic programming (QP) problem. The objective function consists of a linear economic term and a quadratic penalty term for power factor regulation. All constraints, including the inverter’s apparent power limits and operational bounds, define a convex feasible region.
Owing to the convexity of the region, there is a unique global optimum, and the optimization problem can be solved efficiently using standard QP solvers, ensuring reliable real-time implementation.
3.2. Supervisory Control Logic
The optimization framework is programmed as a hierarchical supervisory control procedure to deploy it in a real-time environment. At each time step, the following actions are performed:
- 1.
Allocate reactive power based on the optimization objective to improve power factor while respecting inverter constraints.
- 2.
Assign the remaining inverter capacity to real power for economic dispatch based on ToD tariffs.
- 3.
Continuously ensure that the apparent power limit of the inverter is not exceeded.
- 4.
Update the inverter set points dynamically using measured PV generation and household load.
This enables implementation of the optimization framework on the existing inverter. Standard quadratic programming solvers such as the active set method and interior-point methods are utilized to solve the optimization in the controller. Interior-point methods are employed owing to their superior convergence properties and robustness for convex optimization problems.
4. Experimental Setup and Control Implementation
4.1. Hardware Configuration and Experimentation
To evaluate the proposed supervisory optimization control strategy, an experimental prototype is designed to emulate realistic residential load conditions using passive components. The key components are listed in
Table 1. A schematic of the setup is shown in
Figure 1.
The experimental test bed consists of a programmable DC supply that emulates PV generation. A grid-connected single-phase inverter, rated at 6 kVA, receives high-level and set points from the supervisory controller while its internal voltage and current loops remain unchanged. Household loads are emulated using a mixture of resistive components (lamps, heaters) and inductive components (fans, motors) to replicate realistic residential demand profiles.
PCC voltage and current are continuously measured using calibrated voltage and current sensors, enabling real-time monitoring and feedback for the supervisory controller.
To evaluate the system, two operational scenarios were performed during experimentation: (i) the Base Case and (ii) Optimized Control. The characteristics of these scenarios were as follows:
- 1.
Base Case: This depicts the case of a commercially available solar PV inverter. In this case, the inverter is programmed to export the real power to the grid without providing any reactive power support.
- 2.
Optimized Control: In this case, the supervisory control algorithm is active. The supervisory control algorithm actively computes and commands the set points and at each control interval. This enables us to evaluate the performance of the proposed strategy on the developed prototype.
To emulate realistic economic incentives, a time-of-day (ToD) tariff scheme is employed. The tariff values for each interval are summarized in
Table 2.
The experimental design ensures that all hardware, measurement, and tariff inputs are synchronized with the supervisory controller for real-time evaluation. The hourly load demand and PV generation profiles used in the experiments are explicitly provided in
Table 3. The experimental conditions, including load variations and PV generation, are designed to reflect realistic residential operating scenarios over a 24-h cycle.
4.2. Controller Implementation
The proposed supervisory optimization control strategy is coded as a higher-level set point controller. The control strategy computes the optimal real (
) and reactive (
) power commands and dispatches them as reference set points. This methodology ensures that the inner current loop and outer voltage control loop remain unaffected. The parameters for the reference set points are obtained from the higher-level supervisory control algorithm as mentioned previously. Such an implementation enables the control algorithms of existing inverters to be upgraded easily without modifying the existing core control loops.
where
represents the desired power factor slope.
The convex quadratic program is solved using an interior-point method owing to its robustness and computational efficiency for convex problems. A convergence tolerance of is used, with a maximum of 10 iterations per control interval.
Active and reactive power at the PCC are computed using measured voltage and current signals. To mitigate measurement noise, a first-order digital low-pass filter with a cutoff frequency of 50 Hz is applied.
The weighting parameter is consistently used in both the optimization formulation and experimental implementation.
The optimization is executed at each control interval with a sampling step of ms in a receding-horizon manner, where updated PCC measurements of load demand and PV generation are used at each step to compute fresh optimal set points. The supervisory layer operates at this 2 ms timescale, which is significantly slower than the inverter’s inner current and voltage control loops, making it inherently insensitive to high-frequency measurement noise. Signal conditioning and anti-aliasing filtering are handled within the TI C2000 DSP’s built-in ADC interface and digital filtering stages. Sensing and actuation delays are effectively compensated by the fast inner control loops of the inverter, ensuring stable real-time operation. The convex nature of the optimization ensures smooth variation in set points, avoiding abrupt control actions.
4.3. Supervisory Control Flow
The control flow starts with sampling of PCC voltage and current. A programmable DC source is utilized to emulate PV generation. Resistive loads (e.g., lamps, heaters) are emulated using laboratory resistive elements, while inductive loads (e.g., fans, motors) are emulated using combinations of rheostats and inductors. The available laboratory load components are varied to match the characteristics of actual appliance loads.
The net active power demand, time-of-day tariffs and inverter rating are updated for the current interval in the control loop. This ensures that real-time data are utilized for decision making at each interval.
To solve the constraints, a convex quadratic program is formulated and solved using the interior-point method. This enables the calculation of optimal set point reference signals to the control loops of the inverter. The interior-point method is utilized because it guarantees convergence to a global optimum within the sampling period, thus ensuring a real-time implementation of the proposed algorithm. The solver is configured with a convergence tolerance of and typically converges within approximately 10 iterations.
The computed set points are dispatched to the inverter. Parameters at the PCC are continuously monitored and provided to update the optimization in subsequent intervals. This control flow is formalized in Algorithm 1. The algorithm illustrates the practical implementation of the supervisory optimization framework on an embedded controller, ensuring that all constraints are satisfied and enabling real-time execution.
The final inverter set points are consistent with the optimal solution obtained from the quadratic program, and the two-stage structure represents an implementation mapping rather than a heuristic replacement.
Before hardware prototype development, simulations were carried out to verify the behavior of the proposed control algorithm. The PV generation profile used in the experiments—showing the MPPT voltage and current throughout the day—is illustrated in
Figure 2. The simulated PCC and grid currents for typical daytime and nighttime periods are shown in
Figure 3,
Figure 4,
Figure 5 and
Figure 6.
Figure 3 and
Figure 4 show the simulated midday operation, where high PV generation allows the inverter to export real power while the supervisory controller modulates reactive power to maintain the PCC power factor. The resulting grid current waveform reflects reduced reactive demand and effective utilization of the inverter’s kVA capability.
Figure 5 and
Figure 6 illustrate nighttime operation with zero PV generation. In this case, the grid supplies all real power, and the inverter provides controlled reactive compensation to ensure that the PCC power factor remains above the mandated threshold.
| Algorithm 1 Supervisory optimization-based inverter control |
Require:
Ensure:
Phase 1: Problem Formulation
- 1:
Objective: Minimize - 2:
where: - 3:
and: - 4:
Constraints: - 5:
- 6:
Phase 2: Constrained Optimization - 7:
Initialize: , , , - 8:
for each control interval t do - 9:
Construct barrier function - 10:
Compute Newton step: - 11:
Update inverter set points: - 12:
if then - 13:
break - 14:
end if - 15:
Update barrier parameter: - 16:
end for Phase 3: Set point Dispatch - 17:
Obtain optimal solution - 18:
Dispatch to inverter - 19:
return
This pseudo-code demonstrates how the supervisory optimization is practically realized on the embedded controller. The interior-point iterations ensure that the constraints are respected, and the routine is completed within the sampling period, making it suitable for real-time deployment.
|
5. Results and Discussion
Table 3 summarizes the hourly operation of the PV–inverter system, including load, PV generation, grid injection before and after optimization, inverter reactive power contribution, cost, and savings. The complete dataset provided in
Table 3 enables full reconstruction and verification of the system operation over the 24-h period. The proposed supervisory optimization maintains the power factor close to the desired threshold (approximately 0.94–0.96 under most operating conditions), with minor deviations under inverter capacity constraints.
It is observed that the power factor is maintained within the range of approximately 0.94–0.96. Minor deviations below 0.95 occur when the inverter operates near its apparent power limit, where strict PF enforcement would reduce economic benefit.
Figure 7 presents the hourly grid reactive power before and after optimization. It is evident that the optimization substantially reduces grid reactive power, particularly during midday and evening hours when PV generation is high. The percentage reduction is shown in
Figure 8, where reductions exceeding 50% are achieved in most hours, confirming the effectiveness of the proposed strategy.
Hourly inverter utilization is illustrated in
Figure 9 and
Figure 10. During peak PV generation, the inverter operates near its rated capacity while retaining sufficient margin for reactive power support. The stacked bar plot demonstrates that high real power export and reactive compensation can be delivered simultaneously without exceeding the inverter’s rated limits.
Economically, the optimization reduces daily electricity costs by scheduling PV export during high-tariff periods and minimizing reactive power drawn from the grid.
Figure 11 depicts the hourly cost before and after optimization, highlighting peak savings during midday PV generation. Overall, the strategy achieves a cumulative cost reduction of Rs. 144.67 in the considered operating scenario, primarily driven by time-of-day tariff optimization.
The results demonstrate that the supervisory optimization strategy effectively balances technical and economic objectives. The primary economic benefit arises from time-of-day tariff optimization through strategic real power export. Reactive power control enhances inverter capacity utilization and improves power factor performance, indirectly supporting economic gains while reducing the grid reactive power burden.
An analysis of the hourly savings in
Table 3 provides further insight into the individual contributions of each component. During nighttime hours (hours 0–5 and 19–23), where PV generation is zero, the inverter provides only reactive power compensation to reduce the apparent power drawn from the grid. The savings during these hours arise purely from reactive power management and amount to approximately Rs. 14.00, representing around 9.7% of total savings. During daytime hours (hours 6–18), both ToD-based real power export scheduling and reactive power compensation contribute to savings, amounting to approximately Rs. 130.70 (90.3% of total savings). The dominant contribution during the daytime arises from the strategic export of real power during high-tariff periods, while the management of reactive power provides additional benefit through improved inverter utilization.
To assess measurement reliability and repeatability, multiple experimental runs were conducted under identical operating conditions. The variation in key performance indicators, including power factor and cost savings, was observed to be within approximately , indicating consistent system performance.
The measurements are obtained using calibrated voltage and current sensors with appropriate signal conditioning and filtering, ensuring reliable data acquisition.
The results demonstrated consistent behavior across varying operating conditions, including changes in load demand, PV generation, and tariff levels. The observed improvements in power factor, reduction in grid reactive power, and cost savings remained consistent across repeated trials, confirming the reliability of the proposed control strategy. These results provide quantitative validation of the proposed method and confirm its effectiveness under practical operating conditions.
In comparison to conventional Volt/VAR droop control, which regulates reactive power solely on the local voltage using predefined static characteristics, the proposed optimization-based approach provides a more flexible and adaptive control framework.
Conventional volt/VAR droop control operates on the basis of predefined voltage–reactive power characteristics and does not explicitly consider economic objectives or optimal allocation of inverter capacity. In contrast, the proposed optimization-based approach dynamically coordinates real and reactive power by incorporating time-of-day tariffs, inverter constraints, and power factor requirements. The results demonstrate that the proposed method achieves a significant reduction in grid reactive power (exceeding 50% in several operating intervals) while maintaining the power factor close to the desired range (approximately 0.94–0.96). This comparison highlights the advantage of the proposed method in achieving coordinated techno-economic operation. While a direct experimental comparison with droop control is not included, the qualitative analysis highlights the inherent limitations of droop-based methods and the advantages of the proposed optimization-based approach.
6. Conclusions and Future Work
The proposed supervisory optimization strategy for residential PV inverters has been implemented and validated on a real-time laboratory prototype. The results demonstrate that the controller maintains the power factor close to the desired regulatory threshold, improves inverter utilization, and reduces electricity cost through coordinated management of real and reactive power. The proposed approach enables a practical realization of a multi-objective optimization framework in real time without violating inverter operating limits.
The proposed method operates in a measurement-driven manner and adapts to real-time variations in load and PV generation. Future work will focus on incorporating uncertainty-aware and predictive optimization techniques to further enhance performance under stochastic operating conditions. The present study focuses on a single-inverter household-level implementation. While the proposed method is inherently scalable, feeder-level impacts such as voltage profile improvement and loss reduction are not explicitly evaluated and will be considered in future work.The proposed supervisory control strategy can be extended to multi-inverter systems or microgrid environments, where coordination between multiple distributed resources becomes important. Future work will focus on distributed optimization approaches for scalable implementation, as well as incorporating dynamic tariffs, stochastic PV generation, and load forecasting. The inclusion of energy storage systems can further enhance system flexibility and improve performance under highly variable operating conditions.