Abstract
Dynamic reconfiguration coordinated with distributed generation and energy storage can improve active distribution networks, but its mixed-integer, time-coupled and multi-objective nature challenges exact solvers and metaheuristics. This paper proposes GARL-MOPSO, a bi-level method in which multi-objective particle swarm optimization searches topology sequences and an embedded second-order cone program (SOCP) computes the dispatch. Each particle carries a preference vector, and the lower level solves an augmented Tchebycheff SOCP with an exactness check, ensuring every evaluated dispatch is Pareto-optimal for its topology and physically valid. A loop-based probabilistic encoding with a bridge mask guarantees radiality without repair, and net-load-driven segmentation limits switching. A Q-learning agent selects among four velocity update strategies, and a topology-masked graph attention ensemble surrogate screens out over half of the candidates before exact evaluation. Tests on 33-, 69- and 118-bus feeders driven by open measured data show that GARL-MOPSO outperforms nine peer algorithms in hypervolume on all systems. On the 33-bus system, its compromise schedule reduces energy loss by 37.9% and voltage deviation by 57.7% relative to the base case while using 63.2% fewer switching actions than hourly reconfiguration. The method also reaches 98.2% of the exact benchmark hypervolume in 1/24.9 of its computation time.
1. Introduction
1.1. Background and Motivation
Distribution networks are being transformed into active systems as photovoltaic (PV) plants, small wind turbines (WTs), and battery energy storage systems (ESSs) are connected at the medium-voltage level. The variable output of these resources creates bidirectional power flows, mid-day voltage rise, evening voltage sag, and avoidable curtailment, all of which erode efficiency and hosting capacity. Network reconfiguration, which changes the open or closed status of sectionalizing and tie switches, is one of the least expensive countermeasures because it reshapes power paths without new assets. Capitanescu et al. [1] showed that reconfiguration could substantially enlarge the DG hosting capacity of active systems, extending the classical loss-oriented view established by Baran and Wu [2]. As remotely controlled switches become more common, operators can adjust the topology several times per day, and this dynamic form of reconfiguration is increasingly coordinated with inverter reactive power and storage dispatch [3,4]. Topology thereby turns from a planning decision into an operational resource.
1.2. Challenges in Dynamic Reconfiguration and DG Coordination
Turning this idea into a practical decision tool raises three coupled difficulties. The first is combinatorial and physical: switch states are binary, radiality must hold in every period, switching wear couples consecutive periods, and branch power flow is nonconvex. Mixed-integer second-order cone programming (MISOCP) formulations [5,6] provide optimality certificates, but their solution time grows rapidly with the number of switches and periods, and a multi-objective study needs one MISOCP per point on the Pareto front. The second difficulty concerns metaheuristics. Genetic and swarm algorithms [7,8] handle nonconvex objectives easily, yet their standard encodings generate many meshed or islanded topologies, each candidate requires a full multi-period power flow, and the continuous dispatch is often tuned by the same stochastic search that handles the switches, which slows convergence. The third difficulty arises in learning-based approaches. Deep reinforcement learning (DRL) policies [9,10] make fast decisions after training, but they require large amounts of representative operating data, rely on penalty shaping for feasibility, and usually merge several objectives into one reward, which hides the trade-offs that operators need to see.
A decomposition that assigns each part of the problem to the most suitable tool therefore appears promising. Once the topology is fixed, the branch flow model admits an exact SOCP relaxation under mild conditions [11], so the continuous dispatch can be solved to global optimality in polynomial time. The remaining search over topology sequences is a discrete multi-objective problem, for which multi-objective particle swarm optimization (MOPSO) [12] is attractive because of its fast information sharing. Plain MOPSO, however, is prone to premature convergence, and in this decomposition, every particle evaluation costs a full SOCP solve. Recent progress in reinforcement-learning-assisted evolutionary computation [13] and surrogate-assisted evolutionary optimization [14] offers remedies for both issues, but these techniques have not yet been tailored to time-coupled problems in which the decision variable is itself a graph.
1.3. Main Contributions
This paper develops a graph-attention-surrogate-assisted and reinforcement-learning-guided MOPSO with an embedded SOCP, denoted GARL-MOPSO, for coordinated dynamic reconfiguration and DG dispatch. The main contributions are as follows.
- (1)
- A preference-embedded bi-level MOPSO-SOCP framework is proposed. Each particle carries both a topology sequence and a weight vector, and the lower level solves an augmented Tchebycheff SOCP, so the dispatch returned for each topology is Pareto-optimal for the preference carried by the particle. An explicit relaxation-exactness test with a penalty-based correction protects the physical validity of every evaluated point.
- (2)
- A topology-aware and temporally consistent probabilistic encoding is designed. Particles choose one open branch per fundamental loop through categorical velocities and softmax sampling, and a connectivity-preserving mask guarantees that every sampled configuration is radial. Net-load-driven Fisher segmentation and a temporal inheritance bias further reduce switching at the encoding level.
- (3)
- A Q-learning-guided strategy selector switches among four velocity update strategies according to hypervolume progress and archive diversity, which reduces the dependence of MOPSO on fixed parameters and mitigates premature convergence.
- (4)
- A topology-masked graph attention ensemble surrogate is developed. Its attention weights are gated by the current switch states, so it responds directly to topology changes, and its ensemble uncertainty drives an optimistic screening rule that saves more than half of the SOCP solves.
The method is validated on three public benchmark feeders driven by open measured data and is compared with nine peer algorithms, four of which were released between 2024 and 2026, as well as with an exact ε-constraint MISOCP reference.
1.4. Organization of the Paper
2. Related Work
2.1. Distribution Network Reconfiguration: From Static to Dynamic
Static reconfiguration. Early work treated reconfiguration as a static loss-minimization problem solved for a single loading condition, with the branch-exchange method of Baran and Wu [2] as a representative example. Heuristic refinements remain active: Harsh and Das [15] proposed a fast heuristic that reaches near-optimal radial topologies with few power flow runs. On the exact side, Lei et al. [16] derived a disjunctive convex hull formulation that tightened the continuous relaxation of the radiality constraints, while Jabr et al. [5] and Taylor and Hover [6] established the mixed-integer convex models on which most exact methods now rely.
Dynamic reconfiguration. With time-varying renewable output, a single topology is rarely adequate for a whole day, and attention has shifted to dynamic reconfiguration. Santos et al. [3] coordinated hourly reconfiguration with distributed renewables and storage. Liu et al. [17] combined nodal sensitivity models with a co-evolutionary algorithm to account for DG and load uncertainty. Hematian et al. [18] formulated a stochastic dynamic reconfiguration problem with storage, demand response, and electric vehicles as an SOCP. Bahrami et al. [4] addressed uncertainty with a transformer-based DRL policy that proposed the topology and then solved an optimal power flow to restore feasibility. These studies consistently confirm the value of time-varying topology. Most of them, however, either optimize a single weighted objective or treat switching wear only through a fixed penalty, which leaves the trade-off between loss, voltage quality, and cost implicit.
2.2. Coordinated Optimization of Reconfiguration, DG, and ESS
DG and ESS act on the same voltage and loss profiles as topology, so optimizing them separately wastes flexibility. Capitanescu et al. [1] showed that the joint treatment of reconfiguration and DG control increased hosting capacity more than either measure alone. The branch flow model and its SOCP relaxation, analyzed by Farivar and Low [11], made such joint problems tractable for fixed topologies, and Peng and Wang [19] used the same relaxation to coordinate active and reactive power while explicitly accounting for PV curtailment. On the metaheuristic side, Razavi et al. [7] formulated daily reconfiguration as a multi-objective problem solved by an evolutionary method, and Naguib et al. [8] combined reconfiguration with DG allocation under uncertainty.
An issue that is often overlooked is the exactness of the relaxation. The SOCP relaxation is exact under conditions that include the absence of binding upper voltage limits and the absence of strong reverse flows [11], and both conditions can be violated at high PV penetration. Hybrid methods that call SOCP solvers inside a search loop rarely check exactness at every evaluation, although a single inexact solution can mislead the search.
2.3. Learning-Based Distribution Network Operation
Reinforcement learning has become a strong alternative for real-time operation. Li et al. [10] used DRL to assist a many-objective reconfiguration algorithm, and Wang et al. [9] coordinated dynamic reconfiguration and Volt–VAR control with a graph-aware DRL agent. Li and He [20] introduced safe DRL to limit constraint violations during distribution network operation. Yan et al. [21] and Cao et al. [22] showed that graph representations improve voltage control policies because they exploited the physical coupling between buses.
Liao et al. [23] surveyed graph neural networks (GNNs) in power systems and identified power flow approximation as one of their most mature applications. Khaloie et al. [24] reviewed machine learning for optimal power flow and concluded that learned models were most reliable when they were embedded in, rather than substituted for, physics-based optimization. This conclusion motivates the use of a GNN in the present work as a screening surrogate rather than as the final decision maker.
2.4. MOPSO and Learning-Assisted Evolutionary Multi-Objective Optimization
MOPSO [12] and the nondominated sorting genetic algorithm NSGA-II [25] remain common baselines for reconfiguration. The competitive mechanism of CMOPSO [26] improved convergence speed by letting particles learn from the winners of pairwise competitions among elite archive members. Song et al. [13] surveyed reinforcement-learning-assisted evolutionary algorithms and grouped them into operator selection, parameter adaptation, and population management schemes. MOEA/D-DQN, proposed by Tian et al. [27], uses a deep Q-network to select variation operators for each parent. Hou et al. [28] embedded Q-learning into a multi-objective evolutionary algorithm (QL-MOEA) to choose search strategies online, and Wu et al. [29] introduced RL-MOPSO, which switches among global-best, ring, and Von Neumann topologies according to convergence and distribution feedback. These algorithms target continuous or permutation benchmarks with inexpensive objective functions, and none of them considers the case in which each evaluation is itself an optimization problem.
2.5. Surrogate-Assisted Evolutionary Optimization and Graph Neural Networks
Surrogate-assisted evolutionary algorithms replace most expensive evaluations with approximate models, as reviewed by He et al. [14]. K-RVEA [30] couples Kriging models with reference-vector-guided selection and uncertainty-based infill. The surrogate-assisted PSO of Yu et al. [31], denoted SAPSO-ANS in this paper, uses an archive-based neighborhood search for medium-dimensional expensive multi-objective problems, and SEAMS by Liu and Wang [32] dynamically adjusts its offspring selection strategy according to performance metrics. All of these methods model the objectives as functions of a vector in Euclidean space. In reconfiguration, however, the decision is a graph whose edge set changes from one candidate to the next, and a Kriging or radial basis function model on a binary vector cannot exploit the fact that two topologies differing in one tie switch usually have very similar power flows.
2.6. Summary of Research Gaps
The review above reveals four gaps. First (G1), existing hybrid methods do not guarantee that the dispatch returned for each topology is Pareto-consistent, and they rarely verify SOCP exactness. Second (G2), common encodings waste effort on infeasible topologies and do not discourage switching at the representation level. Third (G3), learning-assisted MOPSO variants have not been adapted to expensive, topology-dependent evaluations. Fourth (G4), the surrogate models used in evolutionary optimization ignore graph structure. Contributions (1) to (4) in Section 1.3 respond to G1 to G4, respectively.
To delineate the contributions of this paper from the cited sources, the following building blocks are adopted from the literature without modification: the DistFlow model and its SOCP relaxation [2,11], augmented Tchebycheff scalarization [33], Fisher’s ordered clustering [34], tabular Q-learning [35], graph attention [36], deep ensembles [37], and shift-based density estimation [38]. The novelty of this paper lies in how these blocks are adapted and coupled for dynamic reconfiguration. (i) The reconfiguration methods reviewed in Section 2.1 and Section 2.2 either optimize a single weighted objective or determine the dispatch within the same stochastic search as the switch states. Here, in contrast, each particle carries its own preference vector, and the lower level returns a dispatch that is Pareto-optimal for that preference and verified by an exactness test (G1). (ii) Unlike binary encodings with repair, the loop-based categorical encoding with a bridge mask and an inheritance bias makes the radiality and low switching properties of the representation itself (G2). (iii) The algorithms in [27,28,29] use states, rewards, and policies designed for inexpensive benchmark functions. Here, the Q-learning agent observes hypervolume progress and archive diversity, credits each action with the archive entries it produces, and uses a Boltzmann policy that tolerates the reward noise introduced by surrogate screening (G3). (iv) Unlike the Euclidean surrogates in [30,31,32], the attention coefficients are gated by the switch states and the preference vector is an explicit input, so that a single model predicts the outcome of the Pareto-consistent dispatch for any radial topology (G4).
3. Methodology
3.1. Overall Research Framework
The proposed framework is illustrated in Figure 1 and consists of four layers. In the data layer, public time series are converted into seasonal typical days, and each day is partitioned into a small number of switching segments. In the upper layer, GARL-MOPSO evolves particles that encode one radial configuration per segment together with a preference vector. Before any expensive evaluation, a graph attention ensemble predicts the objectives and their uncertainty, and only candidates that are optimistically nondominated are passed on. The lower layer solves a preference-embedded SOCP for each retained candidate and checks the tightness of the relaxation, and the output layer returns the Pareto archive, the compromise solution, the switching schedule, and the corresponding DG and ESS dispatch.
Figure 1.
The overall research framework of the proposed study.
3.2. Multi-Objective Dynamic Reconfiguration and DG Coordination Model
Consider a network with bus set , branch set , switchable branch set sw ⊆ , DG set , ESS set , and horizon = {1,2,…,T} with time step Δt. The binary variable αij,t equals 1 when branch (i,j) is closed in period t; αij,t = 1 holds for every nonswitchable branch (i,j) ∈ ∖sw, and αij,0 denotes the base topology, from which the switching actions in (3) and (11) are counted. The continuous variables are the sending-end branch flows Pij,t and Qij,t, the squared current magnitude 𝓁ij,t, the squared voltage magnitude vi,t, and the DG and ESS set points, all of which are collected in y.
3.2.1. Objective Functions
Three objectives are minimized. The first is the energy loss over the horizon:
The second is the cumulative voltage deviation, expressed in squared-voltage form:
The third is the operating cost, which includes the energy purchased at the substation at the day-ahead price , a penalty on curtailed renewable energy, ESS degradation, and switching wear:
The absolute values in (2) are handled with standard epigraph variables and therefore remain convex, while the switching term in (3) depends only on the topology and is a constant once the topology is fixed. Exported energy is credited at the same price, so is free in sign.
3.2.2. Operational Constraints
The DistFlow balance at bus j, introduced by Baran and Wu [2] and written here in the branch flow form of Farivar and Low [11], is given by (4), and the net nodal injections are defined in (5).
The voltage drop equation must hold only on closed branches and is therefore relaxed with a big-M constant Mb:
The squared branch current is defined by the nonconvex equality:
Voltage, current, and flow limits are imposed as
Each PV or WT inverter is limited by its available active power and its apparent power rating Sg:
Storage follows the energy balance and operating limits in (10). The complementarity condition is not imposed explicitly, because enforcing it would require one binary variable per ESS and period, turn (16) into a mixed-integer program, and forfeit the convexity on which Proposition 1 and the exactness check in Section 3.3 rely. The relaxation is justified as follows. Charging and discharging simultaneously with unchanged stored energy absorbs (1 − ηchηdis) kWh from the network per kWh charged, at a degradation cost of cdeg(1 + ηchηdis), that is, at cdeg(1 + ηchηdis)/(1 − ηchηdis)≈0.107 €/kWh of absorbed energy. Because the day-ahead prices on all four typical days are non-negative, this absorption cannot reduce the energy purchase in (3). Because it is also more expensive than curtailment (ccur = 0.060 €/kWh) and reactive power absorption by the inverters, which carries no cost in (3), a surplus of energy or a voltage rise is normally relieved more cheaply by these alternatives. Since this argument does not cover every weighting of f1 and f2, the condition is also verified ex post. After every lower-level solve, is compared with a tolerance of 10−6 p.u. If the tolerance were exceeded, the operating mode of the ESS in the affected periods would be fixed to the sign of its net output and (16) solved again, which preserves convexity. This correction was never triggered in any SOCP solved during the 30 runs on the three systems, so holds in every evaluated and reported dispatch.
Switching wear is bounded per switch and in total:
In every period, the closed branches must form a spanning tree. Let Ar(αt) be the reduced bus-branch incidence matrix of the closed branches, obtained by deleting the substation row. By the matrix-tree theorem, a set of || − 1 closed branches forms a spanning tree if and only if this square matrix is nonsingular, in which case its determinant equals ±1. Radiality is therefore stated as
The substation bus (bus 1) has its voltage fixed at v1,t = 1.0 p.u. and is excluded from (5); its net injection p1,t is a free variable, so that (4) written at bus 1 yields the power purchased from the upstream grid, .
3.2.3. SOCP Relaxation and Compact MISOCP Formulation
Relaxing (7) to an inequality yields the rotated second-order cone
Let Ωrad denote the set of binary topology sequences that satisfy (11) and (12), and let (α) denote the set of continuous variables that satisfy (4) to (6), (8) to (10), and (13) for a given α. Because the determinant condition in (12) is not MISOCP-representable, it is replaced in the benchmark model by the equivalent linear spanning-tree constraints used in [5], so that (14) remains a mixed-integer SOCP; in GARL-MOPSO, (12) is guaranteed by the encoding in Section 3.4.2. The complete problem is then the multi-objective MISOCP.
Problem (14) serves as the exact reference in Section 4.6. Solving it once per Pareto point is precisely the computational bottleneck that motivates the decomposition described next.
3.3. Preference-Embedded Bi-Level MOPSO-SOCP Decomposition
The decision vector is split into a discrete topology part α and a continuous dispatch part y. In addition, each particle carries a weight vector w on the unit simplex ΔM−1, where M = 3 is the number of objectives. The upper-level problem reads
For a given pair (α,w), the dispatch is obtained from the augmented Tchebycheff program,
where , and the ideal point z* and the nadir estimate znad are updated from the external archive. The auxiliary variable η bounds every weighted normalized objective, as indicated below the operator. With α fixed, constraint (6) reduces to an equality on closed branches and disappears on open ones, and each is linear or convex in y, so (16) is an SOCP.
For a fixed topology, the lower-level problem is convex, so its Pareto front is convex; however, because all three objectives are linear or piecewise linear in y, the front contains flat segments, which frequently appear when curtailment and voltage limits interact. A weighted sum attains the interior points of such a segment only for a single weight vector and otherwise returns its end points, so evenly spread weight vectors yield clustered solutions. The augmented Tchebycheff form, in contrast, can reach every proper Pareto-optimal point when ρ > 0 is sufficiently small [33], and the augmentation term excludes weak Pareto-optimal solutions. This gives the following property.
Proposition 1.
For a fixed feasible topology sequence α and an exact relaxation, every proper Pareto-optimal dispatch of the lower-level multi-objective problem is returned by (16) for some w ∈ ΔM−1, provided that ρ is sufficiently small. Conversely, every solution of (16) is properly Pareto-optimal for that α.
The first part follows from the completeness of augmented Tchebycheff scalarization for properly efficient points [33], and the second part holds because the augmentation term strictly penalizes any dominated alternative. Consequently, an upper-level search over (α,w) never spends evaluations on dispatches that are dominated for their own topology.
Physical validity further requires the relaxation (13) to be tight. After every lower-level solve, the relative gap is computed as
If εgap > εtol, the term is added to the objective of (16), and the problem is solved again. The weight ϑ starts at 10−4 and is multiplied by 10 on each retry, with at most three retries. Candidates that remain inexact after three retries would be discarded, which never occurred in the case studies.
3.4. Topology-Aware and Temporally Consistent Particle Encoding
3.4.1. Net-Load-Driven Time-Period Segmentation
Allowing a new configuration every hour inflates both the search space and the switching count. The horizon is therefore partitioned into S contiguous segments within which the topology is held constant. The partition solves the ordered clustering problem of Fisher [34]:
where dt collects the normalized total load, PV output, WT output, and price in period t, and is the mean of dt over segment s. Problem (18) is solved exactly by dynamic programming in O(ST2) time, and the number of segments is chosen at the elbow of the within-segment sum of squares. Because the topology is fixed within each segment, deviations of load or DG output from the forecast inside a segment are absorbed by re-dispatching the DG and ESS through (16) for the same topology rather than by switching, which rules out reversals within a segment. The shortest time between two operations of the same switch therefore equals the shortest segment, which is 3 h for the typical days used in Section 4.1. Reversals at later boundaries are further discouraged by the inheritance bias λ in (21), the switching cost in (3), and the per-switch limit in (11). If a longer dwell time is required, a minimum segment length Lmin can be imposed in (18) through ts − ts−1 ≥ Lmin without affecting the exactness of the dynamic programming.
3.4.2. Loop-Based Probabilistic Encoding with Radiality Guarantee
Closing all tie switches produces NL = || − || + 1 fundamental loops. Let Ωl be the set of candidate branches of loop l that may be opened. A particle is encoded as
where xl,s is the branch opened in loop l during segment s. Because xl,s is categorical, its velocity is a real vector that expresses preferences over the candidates. With e(⋅) denoting the one-hot vector of a candidate, the velocity update is
where pl,s and gl,s are the corresponding entries of the personal best and of the leader. New positions are sampled loop by loop from the tempered softmax
The mask φb ∈ {0,1} equals 1 only if branch b is not a bridge of the graph that remains after the branches already chosen in segment s are opened; bridges are detected with Tarjan’s linear-time algorithm. Because each step removes a non-bridge edge from a connected graph, connectivity is preserved. After NL steps, exactly || − 1 branches remain closed, and a connected graph with || − 1 edges is a tree. Hence, (12) holds for every sampled particle without any repair.
The bias λ favors keeping the branch chosen in the preceding segment, which discourages switching at the representation level. If (11) is still violated, the segment whose configuration has the smallest total velocity advantage over that of the preceding segment is reset as a whole to the preceding configuration (the base topology for the first segment), and this step is repeated until (11) holds. Because every reset configuration is itself radial, (12) remains satisfied, and the repair always terminates, because resetting every segment produces zero switching actions. The weight part wk is updated by the standard continuous PSO rule and then projected onto the simplex.
3.5. Q-Learning-Guided Adaptive Search Strategy Selection
A fixed velocity rule cannot serve both the early exploratory phase and the late refinement phase. A tabular Q-learning agent [35] therefore selects among four strategies at every iteration k. Strategy A1 performs leader-guided exploitation with rule (20) and a leader drawn by (32). Strategy A2 performs archive-diverse exploration: the leader is drawn uniformly from the sparsest 20% of the archive, and ω is raised by 0.1. Strategy A3 applies rule (20) followed by the heavy-tailed kick in (23). Strategy A4 applies differential mutation to the velocities, , where r1, r2, and r3 are distinct random particles.
The observation combines the relative hypervolume change and the archive diversity:
where Φ(·) maps each quantity to three levels using the terciles of its recent history, which gives nine states. The heavy-tailed kick of A3 is generated with Mantegna’s scheme:
where N(⋅,⋅) denotes the Gaussian distribution and the power of ν is taken elementwise. Each particle samples its own action, and every action receives a reward that combines global progress with its own contribution:
Here, is the number of particles that used action a, and is the number of those particles whose offspring entered the archive. The Q-table is updated by (25), and actions are drawn from the Boltzmann policy (26), where = {A1,A2,A3,A4} is the action set, αQ is the learning rate, γ is the discount factor, and TQ is the temperature:
Unlike the ε-greedy rule used in [29], the Boltzmann policy continues to choose strategies with nearly equal values in proportion to their merit, which matters when the reward is noisy because of surrogate screening.
3.6. Graph Attention Ensemble Surrogate-Assisted Pre-Screening
For segment s, the candidate topology defines a graph s(α) over all buses. The node features hi contain the segment-averaged load, the available PV and WT power, the ESS rating, and a bus-type flag and the edge features zij contain the resistance, reactance, and current rating of branch (i,j). Following the graph attention network of Veličković et al. [36], the attention coefficients are masked by the switch states so that open branches carry no messages:
where αij,s is the state of branch (i,j) in segment s, and the neighborhood (i) includes i itself with αii,s = 1. Two layers with four heads each are used, and the head outputs are concatenated. Node embeddings are updated and pooled into objective predictions as
Here, ng = 2 is the number of GAT layers and Nsw(α) is the total number of switching actions of α. The weight vector is concatenated before the output layer because the dispatch in (16) depends on it, and the switching cost is added exactly rather than learned because it depends only on α.
Following Lakshminarayanan et al. [37], B networks with different initializations and bootstrap samples form a deep ensemble, whose predictions give the mean and standard deviation
A candidate is sent to the SOCP only if its optimistic estimate is not dominated by the current archive 𝒜k, that is, only if it belongs to the evaluation set defined by
In addition, 5% of the rejected candidates are evaluated at random, which prevents the surrogate from sealing off regions where it is confidently wrong. Rejected candidates never update personal bests or the archive, so surrogate errors cannot contaminate the elite set. The ensemble is retrained every Ku iterations on all SOCP-evaluated samples, , by minimizing
where and F are standardized objective-wise by their means and standard deviations over when the loss is computed, the exact switching-cost term of (28) is excluded from the loss, and λΘ = 10−4 is the weight-decay coefficient.
3.7. Archive Maintenance, Leader Selection, and Compromise Decision
The external archive keeps at most NA nondominated solutions. Truncation and leader selection both use shift-based density estimation [38]. For each archive member a, the other members are shifted to at least its own objective values before the nearest-neighbor distance is measured, so the sparsity of a becomes small when another member is close to it or better than it in most objectives; poorly converged members are therefore penalized. The resulting sparsity and leader selection probability are
Members with the smallest χ are removed first when the archive overflows. After termination, the compromise solution is the archive member with the largest normalized fuzzy satisfaction ζa:
3.8. Overall Procedure and Computational Complexity
The complete procedure is summarized in Algorithm 1.
| Algorithm 1. Procedure of GARL-MOPSO |
| Input: network data, typical-day profiles, NP, NA, NFE, N0, and S. |
| Output: Pareto archive 𝒜, compromise switching schedule, and dispatch. |
| Step 1: Partition the horizon into S segments by solving (18). |
| Step 2: Build the fundamental loops and candidate sets; sample N0 solutions by (21); solve (16) and check (17) for each; initialize 𝒜 with their nondominated subset and form the initial swarm from NP of them selected by nondominated sorting, with zero velocity; initialize the personal bests, the Q-table, and the GAT ensemble by (31) using all N0 samples. |
| Step 3: While the number of SOCP solves is below NFE, repeat Steps 3.1 to 3.7. |
| Step 3.1: Observe ok by (22); each particle draws an action from (26). |
| Step 3.2: Draw leaders by (32); update the velocities by (20) and apply the chosen action (A2 to A4, with (23) for A3). |
| Step 3.3: Sample positions by (21); repair (11) if necessary; update w. |
| Step 3.4: Predict μm and σm by (27) to (29); retain the particles that pass (30) plus a 5% random subset of the rejected ones. |
| Step 3.5: Solve (16) for the retained particles; verify (17) and correct if necessary; update the personal bests and 𝒜. |
| Step 3.6: Compute the rewards by (24) and update the Q-table by (25). |
| Step 3.7: Every Ku iterations, retrain the ensemble by (31). |
| Step 4: Select the compromise solution by (33) and output its schedule and dispatch. |
Per iteration, the sampling step costs O(NPSNL(|| + ||)) because of the bridge checks, surrogate inference costs O(BNPSng(||d + ||d2)) for a hidden width d, and the archive update with shift-based density costs . Each SOCP contains O(||T) cones and is solved by an interior-point method in polynomial time. Since the total number of SOCP solves is capped at NFE, the wall-clock time is dominated by these solves, and the overhead of the learning components remains a modest fraction, as quantified in Section 4.6.
4. Case Studies and Results
4.1. Test Systems, Public Datasets, and Scenario Construction
Three public benchmark feeders are used, all of which are balanced and available through MATPOWER [39]: the 33-bus system of Baran and Wu [2] with five tie lines (switches 33 to 37), the 69-bus system of Baran and Wu [40] with the five tie lines commonly adopted in reconfiguration studies (branches 11–43, 13–21, 15–46, 50–59, and 27–65), and the 118-bus system of Zhang et al. [41] with 15 tie lines. Their main parameters are listed in Table 1. The DG and ESS sites and ratings are the only self-defined elements; they follow common practice and give an installed DG capacity of about 70% of the peak load in every system.
Table 1.
Parameters of the test systems.
All hourly profiles are taken from the Open Power System Data (OPSD) time series package [42] (version 6 October 2020, 60 min resolution, year 2019, German bidding zone). The actual load (field DE_load_actual_entsoe_transparency) is normalized by its annual peak, which preserves seasonal differences in loading; solar and onshore wind generation are normalized by the installed capacities reported in the same package; and the day-ahead price is taken from field DE_LU_price_day_ahead. The 365 daily vectors of load, PV, wind, and price were clustered with k-medoids into four seasonal typical days, of which the spring medoid was the main case. Each day is partitioned into S = 5 segments by (18). Table 2 summarizes the data and the segmentation results.
Table 2.
Public data sources, typical-day statistics, and segmentation results.
The operating settings common to all cases are as follows. The voltage limits are [0.95, 1.05] p.u.; the cost coefficients are ccur = 0.060 €/kWh, cdeg = 0.0055 €/kWh, and csw = 2.0 € per switching action; the switching limits are and ; the apparent power rating Sg of each PV and WT inverter is 1.1 times its active power rating; and the ESS efficiencies are 0.95, with an initial state of charge of 50% and energy limits of 20% and 90% of the rating.
4.2. Experimental Settings, Benchmark Algorithms, and Performance Metrics
GARL-MOPSO is compared with nine peer algorithms in three groups, namely the evolutionary algorithms NSGA-II [25], MOEA/D-DQN [27], and QL-MOEA [28]; the swarm algorithms MOPSO [12], CMOPSO [26], and RL-MOPSO [29]; and the surrogate-assisted algorithms K-RVEA [30], SEAMS [32], and SAPSO-ANS [31]. Four of them (QL-MOEA, SAPSO-ANS, SEAMS, and RL-MOPSO) were published between 2024 and 2026. The ε-constraint solution of MISOCP (14) obtained with Gurobi serves as an exact reference.
To isolate the effect of the upper-level search, every metaheuristic uses the same loop-based encoding with the same bridge mask, the same lower-level SOCP (16), the same exactness check, and the same budget NFE of SOCP solves. The parameter settings listed in Table 3 follow the recommendations of the original papers wherever these are available.
Table 3.
Parameter settings of all algorithms.
All methods were implemented in Python 3.11. The SOCPs were solved with MOSEK 10.1 through CVXPY 1.5.2, the surrogate was built with PyTorch Geometric 2.5.3 (with PyTorch 2.3.1), and the MISOCP benchmark was solved with Gurobi 11.0 with a limit of 1800 s per subproblem. The experiments ran on an Intel Xeon Gold 6338 workstation with 256 GB of memory, and each SOCP was solved on a single thread.
Performance is measured by hypervolume (HV), inverted generational distance (IGD), and spacing (SP). HV is computed in the normalized objective space with the reference point (1.1, 1.1, 1.1). The IGD reference front is the ε-constraint MISOCP front for the 33-bus system and the nondominated union of all runs of all algorithms for the larger systems. Significance is assessed with the Wilcoxon rank-sum test at the 0.05 level, and the overall ranking is assessed with the Friedman test.
4.3. Results on the 33-Bus System
Five scenarios are compared for the spring typical day:
- S1 keeps the base topology, operates DG at unity power factor and full output, and leaves the ESS idle.
- S2 applies one static reconfiguration for the whole day, with DG and ESS operated as in S1.
- S3 keeps the base topology and optimizes the DG and ESS dispatch.
- S4 applies hourly reconfiguration without a switching limit together with optimal dispatch.
- S5 applies the proposed segmented reconfiguration together with optimal dispatch.
For S3 to S5, the reported point is the fuzzy compromise solution of each Pareto set. The results are listed in Figure 2.
Figure 2.
Comparison of operating scenarios S1–S5 on the 33-bus system (spring typical day): (a) energy loss f1 versus voltage deviation f2, where the marker area is proportional to the number of switching actions; (b) operating costf3 relative to S1, with the absolute value of f3 (€) labeled on each bar; (c) minimum bus voltage, with the 0.95 p.u. lower limit shown as a dashed line; (d) number of switching actions and curtailed renewable energy, with the switching budget Nₘₐₓˢʷ = 20 shown as a dotted line.
S1 violates the 0.95 p.u. lower limit in 13 of 24 h, which confirms that 70% DG penetration alone does not secure voltage quality in the evening, when PV output disappears. Static reconfiguration (S2) removes all violations and cuts the energy loss by 24.3%. Dispatch without reconfiguration (S3) gives the lowest cost because the ESS performs price arbitrage while no switching cost is incurred, but it must curtail 38.6 kWh at mid-day to respect the voltage limits on the base topology.
Combining both levers yields the largest improvements. Relative to S1, the proposed schedule S5 reduces the energy loss by 37.9% and the voltage deviation by 57.7%; relative to S3, the loss falls by 22.1% at a cost increase of only 0.55%. Hourly reconfiguration (S4) achieves a slightly lower loss than S5, but it needs 38 switching actions and exceeds the budget that is enforced in S5. The segmented schedule therefore trades a 3.6% higher loss for 63.2% fewer switching actions and a lower cost, which is a favorable balance given the wear and reliability risks of frequent switching.
The switching counts should be read as follows. Each count is the number of individual open or close operations, so that a change in configuration (a branch exchange) costs two actions. The six actions of T1 in Figure 3 are a one-off transition from the static base topology. When the schedule is repeated day after day, the transition from T5 of one day to T1 of the next costs four actions (closing branches 28 and 32 and opening ties 36 and 37), so that the spring schedule requires 12 actions per day, performed by only six switches (branches 9, 10, 28, 32, 36, and 37), each operated twice. The 38 actions of S4 are reported only as a reference that exceeds and are not recommended. The budget is an operator input: with , the same number of actions as the static reconfiguration S2, the dynamic schedule still lowers the energy loss by 13.6% relative to S2 (Section 4.8). Such schedules are intended for urban and suburban medium-voltage feeders that are designed as closed loops but operated radially, are equipped with remote-controlled switches for fault location, isolation, and service restoration, and host DG of the order of the peak load, where mid-day reverse flows and evening voltage sag occur on the same day. If only some switches are remotely controlled, the candidate sets Ωl in Section 3.4.2 are restricted to them.
Figure 3.
Segment-wise switching schedule of the compromise solution (33-bus system, spring): (a) open sectionalizing and tie switches in segments T1–T5, where the numbers in the circles give the switching actions at each segment boundary; (b) mean loss power in each segment, where the bar area equals the segment energy loss; (c) minimum bus voltage in each segment, with the 0.95 p.u. lower limit shown as a dashed line.
Figure 3 details the compromise schedule segment by segment.
The first transition from the base topology accounts for six actions, after which each segment boundary costs exactly two. Keeping ties 36 and 37 open at night leaves the wind turbines at buses 18 and 33 at the ends of two separate laterals, so that their output, about 279 kW on average in T1 (Figure 4), is absorbed by nearby loads and relieves the flows on these long laterals. During the morning ramp (T2) and the evening peak (T4), the schedule adopts the configuration that is known to minimize the loss of this feeder under heavy load. At mid-day (T3), closing branch 14 and opening tie 34 transfer buses 15 to 18 and 33 to the lateral supplied through tie 35, downstream of the PV plant at bus 14, so that a larger share of its output is consumed locally instead of flowing back toward bus 22; this relieves the local voltage rise and limits curtailment to 9.7 kWh. The corresponding DG and ESS dispatch is reported in Figure 4.
Figure 4.
DG and ESS dispatch of the compromise solution (33-bus system, spring): (a) energy balance in each segment, with the sources (grid import, PV, WT, and ESS discharging) plotted above zero, the sinks (load, network loss, and ESS charging) plotted below zero, and the segment totals labeled above the bars; (b) reactive energy of the DG inverters in each segment, where positive values denote injection and negative values denote absorption.
The ESS charges twice, at night and at mid-day, and discharges during the two price peaks. It ends the day at its initial state of charge, and the net absorption of 141.4 kWh equals the round-trip losses. At mid-day the inverters absorb reactive power, which complements the topology change in T3 in limiting overvoltage, whereas in the evening reactive injection supports the minimum voltage of 0.9611 p.u. in T4.
4.4. Comparison with State-of-the-Art Multi-Objective Algorithms
Table 4 reports the HV, IGD, SP, and CPU time of all algorithms on the 33-bus system over 30 independent runs.
Table 4.
Performance comparison on the 33-bus system (mean ± standard deviation over 30 runs).
GARL-MOPSO obtains the best mean HV and IGD, and its differences from all peers are significant. Its HV exceeds that of the runner-up, SEAMS, by 1.39%, and its IGD is 10.5% lower. The margin is moderate, as expected when every competitor shares the same encoding, the same exact lower level, and the same evaluation budget, so the gains reflect the search mechanism alone. On SP, RL-MOPSO achieves a slightly smaller mean value, and neither its difference from GARL-MOPSO nor that of MOEA/D-DQN is significant. This indicates that the topology-switching idea of [29] already distributes solutions well and that the main benefit of the proposed method lies in convergence and coverage rather than in uniformity. Because it trains a GAT ensemble, the proposed method is slower than the non-surrogate algorithms, but it remains faster than K-RVEA and SEAMS, whose Kriging and model-management steps scale less favorably with the archive size.
Table 5 lists the compromise solution selected by (33) from the archive of each algorithm.
Table 5.
Compromise solutions obtained by each algorithm (33-bus system, spring).
GARL-MOPSO yields the lowest loss and voltage deviation, together with the fewest switching actions, a value shared with K-RVEA. SEAMS and SAPSO-ANS reach slightly lower costs, by 3.5 € and 0.5 €, respectively. The proposed compromise therefore does not dominate every competitor, which is consistent with the multi-objective nature of the problem; its advantage lies in a better-balanced trade-off rather than in uniform superiority.
4.5. Ablation Study
Five variants were built, each removing or replacing one component. V1 uses a binary switch encoding with a repair operator instead of the loop-based encoding; V2 uses uniformly random strategy selection instead of Q-learning; V3 removes the surrogate so that every particle is evaluated by the SOCP; V4 uses an hourly encoding without Fisher segmentation; and V5 uses a weighted-sum lower level instead of (16). The results are given in Figure 5.
Figure 5.
Ablation study on the 33-bus system (mean over 30 runs): (a) performance of variants V1–V5 and of the full GARL-MOPSO, where each cell gives the mean value and its relative change with respect to the full model, and the cell color indicates this change (positive = better); an upward arrow (↑) indicates that a larger value is better, and a downward arrow (↓) that a smaller value is better; (b) HV loss caused by removing each component, grouped into structural, learning, and decomposition components; (c) HV versus CPU time of the variants and the full model. All five variants are significantly worse than the full GARL-MOPSO in HV and IGD (Wilcoxon rank-sum test, 0.05 level).
Every variant is inferior to the full method in HV and IGD, but the contributions of the components differ. Replacing the loop-based encoding (V1) causes the largest HV drop of 2.99% because 34.7% of the raw offspring of V1 are meshed or islanded before repair and the repaired particles cluster around a few configurations. Removing the surrogate (V3) lowers HV by 1.90%: under the same budget of 6000 SOCP solves, V3 completes only 57 iterations, whereas the full method completes about 136 because more than half of the candidates are screened out. The hourly encoding (V4) finds a lower-loss compromise, but it saturates the switching budget and handles roughly five times as many categorical decision variables, so its HV is lower and its runtime is 33.7% longer. The weighted-sum lower level (V5) causes the smallest HV loss of 1.04% but mainly degrades SP, from 0.0214 to 0.0263, which is consistent with the analysis in Section 3.3, because a weighted sum concentrates solutions at the end points of the flat segments of the front where curtailment and voltage limits interact. Q-learning (V2) contributes an HV gain of 1.35%, which is smaller than those of the structural components and the surrogate but still significant.
4.6. SOCP Exactness and Computational Efficiency Analysis
Table 6 reports the behavior of the lower level and of the surrogate on all three systems, together with the exact MISOCP benchmark.
Table 6.
Relaxation exactness, surrogate effectiveness, and computational efficiency.
The relaxation is tight for every 33-bus evaluation. The inexact instances on the larger systems all occur at mid-day, when strong reverse flows push the upper voltage limit toward activity, which is the condition identified in [11]. The penalty correction described in Section 3.3 restores tightness in all of them within at most two retries, which supports the validity of every point in the reported fronts. The surrogate ranks candidates well, with Kendall’s τK between 0.74 and 0.81 on held-out samples; its accuracy degrades gracefully as the systems grow, and it screens out 54% to 58% of the candidates. The SOCP solves account for 68.0%, 86.5%, and 90.6% of the total runtime on the three systems, so the share of the learning overhead shrinks as the problem grows.
On the 33-bus system, the ε-constraint MISOCP needs 7.2 h to solve its 121 subproblems, 9 of which stop at the time limit with a mixed-integer gap of 0.8%. GARL-MOPSO reaches 98.2% of its HV in 1/24.9 of the time. On the 69-bus system, the exact approach solves only 37 subproblems within 24 h, which illustrates why exact multi-objective reconfiguration is not practical at scale.
4.7. Scalability on the 69-Bus and 118-Bus Systems
Table 7 reports HV and CPU time on the two larger systems, together with the average Friedman rank of HV over all three systems.
Table 7.
Scalability results on the 69-bus and 118-bus systems (mean over 30 runs).
GARL-MOPSO ranks first on both systems. Its HV exceeds that of the best competitor by 1.25% on the 69-bus system (RL-MOPSO) and by 1.72% on the 118-bus system (SEAMS). The ranking among the competitors shifts between systems, whereas the proposed method keeps the first position on all three. The gain grows on the largest system, where the 15 fundamental loops and five segments enlarge the topology search space considerably; because the surrogate screens out 54.3% of the candidates (Table 6), GARL-MOPSO completes about 337 iterations within the budget of 16,000 SOCP solves, whereas the algorithms without a surrogate complete only about 160. In physical terms, the compromise solutions reduce the spring-day energy loss relative to S1 by 45.1% on the 69-bus system (from 2361.4 kWh to 1297.3 kWh) and by 32.3% on the 118-bus system (from 13,947.2 kWh to 9436.8 kWh).
4.8. Sensitivity and Robustness Analysis
Table 8 examines how the compromise solution and HV respond to DG penetration, the switching budget , and the screening coefficient κ, with one parameter varied at a time.
Table 8.
Sensitivity analysis on the 33-bus system (spring).
The loss follows the well-known U-shaped dependence on DG penetration, with a minimum near 70%; at 100% penetration, reverse flows raise the loss again, and curtailment grows to 213.9 kWh, or 1.2% of the available renewable energy. A budget of eight switching actions noticeably restricts the search, whereas the results improve up to a budget of 20 and change little beyond it. At a budget of 16, the fuzzy decision happens to select a point with fewer switching actions and a slightly higher loss than at a budget of 12, illustrating that the compromise point can shift between neighboring settings. For the screening coefficient, purely greedy screening (κ = 0) discards too many candidates in regions that the surrogate has not yet learned, whereas large values admit too many poor candidates; values between 0.5 and 1.0 perform best.
Figure 6 repeats the main comparison for all four seasonal typical days.
Figure 6.
Robustness across seasonal typical days (33-bus system): (a) energy lossf1 of the base case S1 and of the GARL-MOPSO compromise solution, with the relative reduction labeled above each pair of bars; (b) voltage deviationf2 of S1 and of the compromise solution, with the relative reduction given in parentheses; (c) mean HV of GARL-MOPSO and SEAMS over 30 runs, with the relative advantage of GARL-MOPSO labeled; (d) loss reduction versus number of switching actions of the compromise solution, where the marker area is proportional to the S1 energy loss.
The loss reduction ranges from 35.1% to 38.7%, with an average of 37.0%, and the voltage deviation falls by 54.4% to 57.7%. Summer requires the most switching actions because mid-day PV output reverses the flow on several laterals, whereas winter requires the fewest because the wind output is steadier. GARL-MOPSO outperforms SEAMS, the strongest competitor on the 33-bus system, in HV on every typical day.
The influence of the time resolution was also examined. The compromise schedule of Figure 3 was kept, and its dispatch was recomputed by (16) with 15 min profiles taken from the 15 min series of the same OPSD package, with the hourly day-ahead price held constant within each hour, and with 30 min profiles obtained by averaging consecutive 15 min values. The curtailment, which occurs only in T3, rises from 9.7 kWh at 60 min resolution to 11.6 kWh at 30 min and 12.9 kWh at 15 min resolution, because hourly averaging smooths the intra-hour PV peaks; it nevertheless remains below 0.4% of the PV energy available in T3. The energy loss only increases from 1356.2 kWh to 1358.4 kWh and 1360.1 kWh, and all voltage limits remain satisfied. The hourly resolution therefore slightly underestimates curtailment but does not affect the conclusions.
Forecast errors were examined by generating 1000 scenarios at each of two error levels. The hourly PV, WT, and load profiles of the spring day were multiplied by error factors that followed a first-order autoregressive process with a lag-one correlation of 0.8. These factors are truncated to ±30% for PV and WT and ±10% for load at level 1, and to ±50% and ±15% at level 2. For each scenario, the topology schedule of Figure 3 was kept and only the DG and ESS dispatch was recomputed by (16), which corresponded to intra-day re-dispatch without additional switching. The voltage limits were implemented as soft constraints with a large penalty so that violations could be quantified. The mean energy loss is 1381.5 kWh at level 1 and 1418.6 kWh at level 2, i.e., 37.1% and 36.1% below that of S1 evaluated on the same scenarios, compared with 37.9% for the forecast day. All voltage and current limits are met in every level-1 scenario and in 98.9% of the level-2 scenarios; in the remaining 1.1%, the minimum voltage drops to 0.9471 p.u. in T4, when a load increase of more than 12% coincides with a low wind output. For 100 scenarios per level, the schedule was also re-optimized with perfect knowledge of the realized profiles, and the fixed schedule was only 1.9% and 3.6% worse in energy loss, respectively. The segmented schedule is therefore robust to forecast errors of the magnitude encountered in practice.
4.9. Practical Implementation Aspects
This subsection examines equipment wear, consumer classes, reliability, and protection, which determine whether the schedules can be implemented in practice.
Equipment wear. In repeated daily operation, the one-off transition from the base topology is replaced by the transition from the last segment of one day to the first segment of the next, so that the cyclic schedules of the winter, spring, summer, and autumn typical days require 10, 12, 14, and 12 switching actions per day, respectively. Weighted by the cluster sizes in Table 2, the feeder performs 4388 operations per year, and no switch operates more than twice per day. The most frequently used switch, branch 9, operates twice per day on the spring, summer, and autumn days, i.e., 542 times per year. A remote-controlled vacuum circuit breaker of mechanical endurance class M2 (10,000 operations according to IEC 62271-100) would therefore reach its rated number of operations after about 18.5 years, and a load-break switch of class M2 (5000 operations according to IEC 62271-103) after about 9.2 years. More generally, the remaining operation-limited life of a switch that has already performed Nused of its Nrated operations is (Nrated − Nused)/nij, where nij is its annual number of operations, so that switches close to their endurance limit can be given a smaller in (11) or removed from the candidate sets Ωl. Electrical wear is less critical, because each branch exchange closes the normally open switch before opening the other one, and the largest current interrupted in the spring schedule is 0.34 times the branch rating. The switching price csw = 2.0 € per action corresponds to spreading an installed cost of about €20,000 over 10,000 operations; the wear of the 14 actions of the spring compromise schedule (€28) is therefore already included in f3, where it accounts for 1.4% of the cost.
Consumer classes. In the main case, all buses follow the aggregated OPSD load profile, which is common practice for benchmark feeders. To account for consumer diversity, the 32 load buses of the 33-bus system were assigned to three classes, as listed in Table 9. Buses with a peak load of at least 400 kW or a power factor below 0.5 are industrial, the remaining buses with a peak load of at least 120 kW are commercial, and all others are residential. The residential and commercial buses were given the BDEW standard load profiles H0 and G0 (transition-period weekday, aggregated to hourly values), the industrial buses kept the OPSD profile, and each class profile was scaled to preserve the daily energy of that class. With these class-specific profiles, the spring compromise schedule still uses 14 switching actions and reduces the energy loss and voltage deviation relative to S1 by 38.5% and 56.9%, respectively, while the curtailment falls to 8.2 kWh because the commercial daytime load absorbs part of the mid-day PV output. Because each branch exchange is a closed-transition transfer, reconfiguration causes no supply interruption, and the largest steady-state voltage step that it causes at the industrial buses is 0.012 p.u., far below the 10% depth that defines a voltage dip. The interruption costs in Table 9 are used in the reliability assessment below.
Table 9.
Consumer classes of the 33-bus system.
Reliability. SAIFI, SAIDI, the energy not supplied (ENS), and the expected interruption cost (ECOST) were evaluated by an analytical failure-mode-and-effect analysis of every segment configuration, weighted by the segment durations and by the cluster sizes in Table 2. Each in-service branch has a permanent failure rate of 0.08 per year and a repair time of 4 h. Protective devices are located at the substation and at the head of each lateral of the respective configuration, and remote-controlled switches restore the healthy sections within 0.5 h. Each switching operation is assumed to cause an interruption of 1 h downstream of the operated switch with a probability of 5 × 10−5. The results are listed in Table 10, where S3 has the same indices as S1 because it uses the same topology. The segmented schedule S5 improves SAIFI, SAIDI, and ENS by 1.4%, 1.8%, and 2.1% relative to the base topology, because its configurations move a larger share of the customers into zones protected by lateral devices. It remains slightly behind the static configuration S2, which incurs no switching-related risk, whereas the unrestricted hourly reconfiguration S4 is worse than the base topology in all four indices. Limiting the number of switching actions is therefore essential for preserving reliability.
Table 10.
Annual reliability indices of the 33-bus system.
Protection. Reconfiguration changes the protection zones and the load currents seen by the protective devices, so the base topology and the four distinct configurations of the spring schedule (T1, T2 = T4, T3, and T5) were checked by short-circuit calculations. The substation breaker and the lateral devices were modeled as inverse-time overcurrent relays with the IEC standard-inverse characteristic. Each configuration was assigned its own setting group, which numerical relays can store and activate together with the switching command. The inverter-based DG units were represented as current sources limited to 1.2 times their rated current. In all five configurations, the minimum two-phase fault current at the end of each protection zone exceeds the pickup current of the protecting relay by a factor of at least 2.07 (a common requirement is 1.5), and the coordination time interval between consecutive relays is at least 0.32 s (required: 0.3 s). The DG infeed reduces the fault current seen by the substation relay by at most 6.8%, so neither protection blinding nor sympathetic tripping occurs. Configurations that fail such a check can be excluded before evaluation by extending the feasibility test of the mask in (21) or by restricting the candidate sets Ωl, so that protection compatibility can be enforced without changing the algorithm.
4.10. Discussion
Three observations help to interpret these results. First, the largest improvement comes from the structural components, namely the loop encoding and the segmentation, rather than from the learning components; by ensuring that every sampled particle is a valid radial schedule, the structural components allow the learning components to operate on a clean search space. Second, the surrogate never replaces the physics. It only decides which candidates deserve an exact solve, and every archived point is certified by the SOCP and the exactness test. This design follows the recommendation of [24] and explains why moderate surrogate accuracy is sufficient. Third, the advantage over the strongest recent algorithms ranges from 1.25% to 1.72% in HV. This margin is smaller than the gaps sometimes reported against outdated baselines, but it is statistically significant and consistent across systems and seasons. Taken together, the experiments address the four gaps identified in Section 2.6: G1 is addressed by the relaxation-gap statistics and the ε-constraint benchmark in Table 6 and by variant V5 in Figure 5; G2 by variants V1 and V4 in Figure 5 and by the switching counts in Figure 2 and Figure 3; G3 by variant V2 in Figure 5 and by the comparison with MOEA/D-DQN, QL-MOEA, and RL-MOPSO in Table 4 and Table 7; and G4 by variant V3 in Figure 5, by the screening ratios and rank correlations in Table 6, and by the comparison with K-RVEA, SEAMS, and SAPSO-ANS in Table 4 and Table 7.
Several limitations should be acknowledged. The model is balanced and single-phase, so unbalanced feeders would require a three-phase relaxation. Forecasts are treated as deterministic in the optimization, and their errors are assessed only ex post in Section 4.8. The surrogate must be retrained when the network or the DG portfolio changes. Finally, the assessments of equipment wear, reliability, and protection in Section 4.9 are based on generic device and failure data and are performed after the optimization; utility-specific data and a detailed relay coordination study would be required before field application.
5. Conclusions
This paper has proposed GARL-MOPSO for coordinated dynamic reconfiguration and DG dispatch in active distribution networks. The method integrates a preference-embedded bi-level MOPSO-SOCP decomposition, a radiality-guaranteed loop-based encoding, Q-learning-guided strategy selection, and a topology-masked graph attention ensemble surrogate. Case studies on three public feeders support the following conclusions. (1) Coordinating segmented reconfiguration with DG and ESS dispatch reduces the spring-day energy loss and voltage deviation of the 33-bus system by 37.9% and 57.7%, respectively, relative to the base case. Compared with hourly reconfiguration, it needs 63.2% fewer switching actions for only 3.6% higher loss. Loss reductions of 35.1–38.7% are maintained across four seasonal typical days. (2) Every component is beneficial, and the structural ones contribute most. Replacing the loop-based encoding causes the largest hypervolume drop (2.99%), Q-learning adds 1.35%, and the augmented Tchebycheff lower level yields more uniform fronts than a weighted sum. (3) The surrogate screens out 54–58% of the candidates with Kendall’s τ of 0.74–0.81. This more than doubles the iterations achievable within a fixed SOCP budget, while the exactness check certifies every archived solution. (4) GARL-MOPSO ranks first among ten algorithms on all systems and improves hypervolume by 1.25–1.72% over the strongest competitor. On the 33-bus system, it reaches 98.2% of the exact MISOCP front hypervolume in 1/24.9 of the computation time. (5) Under generic failure data, the segmented schedule improves SAIFI, SAIDI, and ENS of the 33-bus system by 1.4%, 1.8%, and 2.1% relative to the base topology, whereas unrestricted hourly reconfiguration degrades all of them, which confirms that limiting switching is essential for reliability (Section 4.9, Table 10). Future work will extend the framework to unbalanced three-phase feeders and account for forecast uncertainty. It will also transfer the surrogate across network and DG configurations and embed reliability indices and protection constraints directly into the search.
Author Contributions
Conceptualization, M.L. and H.Q.; methodology, M.L.; software, M.L. and L.X.; validation, M.L., L.X. and Y.X.; formal analysis, M.L. and L.X.; investigation, M.L. and Y.X.; resources, H.Q., L.X. and Y.X.; data curation, M.L. and Y.X.; writing—original draft preparation, M.L.; writing—review and editing, H.Q., L.X. and Y.X.; visualization, M.L. and Y.X.; supervision, H.Q.; project administration, H.Q. and L.X. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The hourly load, solar, wind, and day-ahead price data are publicly available in the Open Power System Data repository at https://data.open-power-system-data.org/time_series/2020-10-06 (accessed on 23 November 2026). The self-constructed dataset and source code will be made publicly available at https://github.com/2022141080285/Data-and-Code (accessed on 23 November 2026) upon acceptance of the manuscript.
Conflicts of Interest
Authors Mu Li and Linsong Xiao were employed by the company Willfar Information Technology Co., Ltd. Authors Mu Li, Linsong Xiao, and Yinghai Xie were employed by the company Zhuhai Zhonghui Microelectronics Co., Ltd. The remaining author declares that the research was conducted in the absence of any commercial or financial relationships that could be construed as potential conflicts of interest.
References
- Capitanescu, F.; Ochoa, L.F.; Margossian, H.; Hatziargyriou, N.D. Assessing the potential of network reconfiguration to improve distributed generation hosting capacity in active distribution systems. IEEE Trans. Power Syst. 2015, 30, 346–356. [Google Scholar] [CrossRef] [Scilit]
- Baran, M.E.; Wu, F.F. Network reconfiguration in distribution systems for loss reduction and load balancing. IEEE Trans. Power Deliv. 1989, 4, 1401–1407. [Google Scholar] [CrossRef] [Scilit]
- Santos, S.F.; Gough, M.; Fitiwi, D.Z.; Pogeira, J.; Shafie-khah, M.; Catalão, J.P.S. Dynamic distribution system reconfiguration considering distributed renewable energy sources and energy storage systems. IEEE Syst. J. 2022, 16, 3723–3733. [Google Scholar] [CrossRef] [Scilit]
- Bahrami, S.; Chen, Y.C.; Wong, V.W.S. Dynamic distribution network reconfiguration with generation and load uncertainty. IEEE Trans. Smart Grid 2024, 15, 5472–5484. [Google Scholar] [CrossRef] [Scilit]
- Jabr, R.A.; Singh, R.; Pal, B.C. Minimum loss network reconfiguration using mixed-integer convex programming. IEEE Trans. Power Syst. 2012, 27, 1106–1115. [Google Scholar] [CrossRef] [Scilit]
- Taylor, J.A.; Hover, F.S. Convex models of distribution system reconfiguration. IEEE Trans. Power Syst. 2012, 27, 1407–1413. [Google Scholar] [CrossRef] [Scilit]
- Razavi, S.-M.; Momeni, H.-R.; Haghifam, M.-R.; Bolouki, S. Multi-objective optimization of distribution networks via daily reconfiguration. IEEE Trans. Power Deliv. 2022, 37, 775–785. [Google Scholar] [CrossRef] [Scilit]
- Naguib, M.; Omran, W.A.; Talaat, H.E.A. Performance enhancement of distribution systems via distribution network reconfiguration and distributed generator allocation considering uncertain environment. J. Mod. Power Syst. Clean Energy 2022, 10, 647–655. [Google Scholar] [CrossRef] [Scilit]
- Wang, R.; Bi, X.; Bu, S. Real-time coordination of dynamic network reconfiguration and Volt-VAR control in active distribution network: A graph-aware deep reinforcement learning approach. IEEE Trans. Smart Grid 2024, 15, 3288–3302. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Hao, G.; Liu, Y.; Yu, Y.; Ni, Z.; Zhao, Y. Many-objective distribution network reconfiguration via deep reinforcement learning assisted optimization algorithm. IEEE Trans. Power Deliv. 2022, 37, 2230–2244. [Google Scholar] [CrossRef] [Scilit]
- Farivar, M.; Low, S.H. Branch flow model: Relaxations and convexification—Part I. IEEE Trans. Power Syst. 2013, 28, 2554–2564. [Google Scholar] [CrossRef] [Scilit]
- Coello Coello, C.A.; Pulido, G.T.; Lechuga, M.S. Handling multiple objectives with particle swarm optimization. IEEE Trans. Evol. Comput. 2004, 8, 256–279. [Google Scholar] [CrossRef] [Scilit]
- Song, Y.; Wu, Y.; Guo, Y.; Yan, R.; Suganthan, P.N.; Zhang, Y.; Pedrycz, W.; Das, S.; Mallipeddi, R.; Ajani, O.S.; et al. Reinforcement learning-assisted evolutionary algorithm: A survey and research opportunities. Swarm Evol. Comput. 2024, 86, 101517. [Google Scholar] [CrossRef] [Scilit]
- He, C.; Zhang, Y.; Gong, D.; Ji, X. A review of surrogate-assisted evolutionary algorithms for expensive optimization problems. Expert Syst. Appl. 2023, 217, 119495. [Google Scholar] [CrossRef] [Scilit]
- Harsh, P.; Das, D. A simple and fast heuristic approach for the reconfiguration of radial distribution networks. IEEE Trans. Power Syst. 2023, 38, 2939–2942. [Google Scholar] [CrossRef] [Scilit]
- Lei, C.; Bu, S.; Zhong, J.; Chen, Q.; Wang, Q. Distribution network reconfiguration: A disjunctive convex hull approach. IEEE Trans. Power Syst. 2023, 38, 5926–5929. [Google Scholar] [CrossRef] [Scilit]
- Liu, Q.; Zhang, L.; Ji, X.; Shi, H. Dynamic reconfiguration of distribution network considering the uncertainty of distributed generation and loads. Front. Energy Res. 2023, 11, 1279579. [Google Scholar] [CrossRef] [Scilit]
- Hematian, M.; Vahedi, M.; Samiei Moghaddam, M.; Salehi, N.; Azarfar, A. Stochastic dynamic reconfiguration in smart distribution system considering demand-side management, energy storage system, renewable and fossil resources and electric vehicle. J. Electr. Eng. Technol. 2023, 18, 3429–3441. [Google Scholar] [CrossRef] [Scilit]
- Peng, B.; Wang, Y. Coordinated active-reactive power optimization considering photovoltaic abandon based on second order cone programming in active distribution networks. PLoS ONE 2024, 19, e0308450. [Google Scholar] [CrossRef]
- Li, H.; He, H. Learning to operate distribution networks with safe deep reinforcement learning. IEEE Trans. Smart Grid 2022, 13, 1860–1872. [Google Scholar] [CrossRef] [Scilit]
- Yan, R.; Xing, Q.; Xu, Y. Multi-agent safe graph reinforcement learning for PV inverters-based real-time decentralized Volt/Var control in zoned distribution networks. IEEE Trans. Smart Grid 2024, 15, 299–311. [Google Scholar] [CrossRef] [Scilit]
- Cao, D.; Zhao, J.; Hu, J.; Pei, Y.; Huang, Q.; Chen, Z.; Hu, W. Physics-informed graphical representation-enabled deep reinforcement learning for robust distribution system voltage control. IEEE Trans. Smart Grid 2024, 15, 233–246. [Google Scholar] [CrossRef] [Scilit]
- Liao, W.; Bak-Jensen, B.; Pillai, J.R.; Wang, Y.; Wang, Y. A review of graph neural networks and their applications in power systems. J. Mod. Power Syst. Clean Energy 2022, 10, 345–360. [Google Scholar] [CrossRef] [Scilit]
- Khaloie, H.; Dolányi, M.; Toubeau, J.-F.; Vallée, F. Review of machine learning techniques for optimal power flow. Appl. Energy 2025, 388, 125637. [Google Scholar] [CrossRef] [Scilit]
- Deb, K.; Pratap, A.; Agarwal, S.; Meyarivan, T. A fast and elitist multiobjective genetic algorithm: NSGA-II. IEEE Trans. Evol. Comput. 2002, 6, 182–197. [Google Scholar] [CrossRef] [Scilit]
- Zhang, X.; Zheng, X.; Cheng, R.; Qiu, J.; Jin, Y. A competitive mechanism based multi-objective particle swarm optimizer with fast convergence. Inf. Sci. 2018, 427, 63–76. [Google Scholar] [CrossRef] [Scilit]
- Tian, Y.; Li, X.; Ma, H.; Zhang, X.; Tan, K.C.; Jin, Y. Deep reinforcement learning based adaptive operator selection for evolutionary multi-objective optimization. IEEE Trans. Emerg. Top. Comput. Intell. 2023, 7, 1051–1064. [Google Scholar] [CrossRef] [Scilit]
- Hou, Y.; Wang, H.; Huang, X. A Q-learning-based multi-objective evolutionary algorithm for integrated green production and distribution scheduling problems. Eng. Appl. Artif. Intell. 2024, 127, 107434. [Google Scholar] [CrossRef] [Scilit]
- Wu, B.; Chen, Z.; Demir, E. Reinforcement learning-guided multi-objective particle swarm optimization with adaptive topology. Comput. Oper. Res. 2026, 195, 107624. [Google Scholar] [CrossRef] [Scilit]
- Chugh, T.; Jin, Y.; Miettinen, K.; Hakanen, J.; Sindhya, K. A surrogate-assisted reference vector guided evolutionary algorithm for computationally expensive many-objective optimization. IEEE Trans. Evol. Comput. 2018, 22, 129–142. [Google Scholar] [CrossRef] [Scilit]
- Yu, M.; Wu, Z.; Liang, J.; Yue, C. Surrogate-assisted PSO with archive-based neighborhood search for medium-dimensional expensive multi-objective problems. Inf. Sci. 2024, 666, 120405. [Google Scholar] [CrossRef] [Scilit]
- Liu, H.; Wang, C.-H. SEAMS: A surrogate-assisted evolutionary algorithm with metric-based dynamic strategy for expensive multi-objective optimization. Expert Syst. Appl. 2025, 265, 126050. [Google Scholar] [CrossRef] [Scilit]
- Steuer, R.E.; Choo, E.-U. An interactive weighted Tchebycheff procedure for multiple objective programming. Math. Program. 1983, 26, 326–344. [Google Scholar] [CrossRef] [Scilit]
- Fisher, W.D. On grouping for maximum homogeneity. J. Am. Stat. Assoc. 1958, 53, 789–798. [Google Scholar] [CrossRef] [Scilit]
- Watkins, C.J.C.H.; Dayan, P. Q-learning. Mach. Learn. 1992, 8, 279–292. [Google Scholar] [CrossRef] [Scilit]
- Veličković, P.; Cucurull, G.; Casanova, A.; Romero, A.; Liò, P.; Bengio, Y. Graph attention networks. In Proceedings of the International Conference on Learning Representations (ICLR), Vancouver, BC, Canada, 30 April–3 May 2018. [Google Scholar]
- Lakshminarayanan, B.; Pritzel, A.; Blundell, C. Simple and scalable predictive uncertainty estimation using deep ensembles. In Proceedings of the Advances in Neural Information Processing Systems (NeurIPS), Long Beach, CA, USA, 4–9 December 2017; Volume 30, pp. 6402–6413. [Google Scholar]
- Li, M.; Yang, S.; Liu, X. Shift-based density estimation for Pareto-based algorithms in many-objective optimization. IEEE Trans. Evol. Comput. 2014, 18, 348–365. [Google Scholar] [CrossRef] [Scilit]
- Zimmerman, R.D.; Murillo-Sánchez, C.E.; Thomas, R.J. MATPOWER: Steady-state operations, planning, and analysis tools for power systems research and education. IEEE Trans. Power Syst. 2011, 26, 12–19. [Google Scholar] [CrossRef] [Scilit]
- Baran, M.E.; Wu, F.F. Optimal capacitor placement on radial distribution systems. IEEE Trans. Power Deliv. 1989, 4, 725–734. [Google Scholar] [CrossRef] [Scilit]
- Zhang, D.; Fu, Z.; Zhang, L. An improved TS algorithm for loss-minimum reconfiguration in large-scale distribution systems. Electr. Power Syst. Res. 2007, 77, 685–694. [Google Scholar] [CrossRef] [Scilit]
- Wiese, F.; Schlecht, I.; Bunke, W.-D.; Gerbaulet, C.; Hirth, L.; Jahn, M.; Kunz, F.; Lorenz, C.; Mühlenpfordt, J.; Reimann, J.; et al. Open Power System Data—Frictionless data for electricity system modelling. Appl. Energy 2019, 236, 401–409. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.





