Abstract
Coordinating secondary frequency and voltage restoration in mixed-generation systems requires allocating shared converter capability under network constraints. This paper develops a convex allocation of active and reactive power increments for grid-forming and grid-following inverters operating alongside synchronous generators. Full AC sensitivities, voltage-dependent current cones, and both-end branch limits couple the services. A sparse primal–dual solver is implemented within a central supervisor and connected to the plant through demand estimation, command dynamics, and current protection. A three-phase, 50 Hz, 39-bus study has a pre-event renewable active-power share of 65.09%. For the main load step, coordination reduces pilot-voltage integrated absolute error by 57.42% and recovery time by 36.91% relative to matched independent control. Final maximum branch loading decreases from 1.2393 to 0.9723 p.u., with all branches below rating after 19.64 s. These gains accompany greater regulation effort and 5.25% higher frequency integrated absolute error. Additional nonlinear AC comparisons, capability sweeps, component replay, and dynamic sensitivity tests quantify the accuracy and operating limits of the implementation. The demonstrated service is recovery around the calibrated 0.9273 p.u. pilot reference; a separate nonlinear AC design achieves a 0.9616–1.0403 p.u. voltage range under the retained ratings.
1. Introduction
Renewable-rich power systems increasingly combine synchronous generators, grid-forming (GFM) inverters, and grid-following (GFL) inverters. GFM control establishes a voltage waveform, whereas GFL control regulates injection relative to a measured grid angle [1,2]. Droop control and synchronverters provide established approaches to power sharing and voltage formation [3,4]. In a mixed system, however, conventional generators continue to contribute inertia, governor response, and voltage support. Secondary coordination must accommodate these different primary dynamics while respecting the limited current capability of renewable converters.
Hierarchical control separates primary stabilization from secondary restoration and higher-level power management [5]. Distributed averaging extends frequency and voltage restoration across multiple inverters [6], while exposing the tradeoff between voltage regulation and reactive-power sharing. Subsequent work reviews the communication and coordination architectures used for this purpose [7]. Optimization-based approaches connect frequency regulation to economic dispatch [8,9]. More recently, Wang and Chen [10] developed optimal frequency coordination for heterogeneous GFM/GFL resources with active-power and network constraints; their evaluation cases also include synchronous generators. Their published source model [11] provides the starting point for the present implementation.
Voltage support introduces additional interactions. Reactive-power sharing depends on voltage feedback and network structure [12], while optimal photovoltaic-inverter dispatch demonstrates the value of selecting active and reactive set points together for voltage regulation [13]. Feedback-based inverter controllers further connect measured outputs to the pursuit of AC optimal-power-flow solutions [14]. At the device level, both services draw on the same current capability: increasing active output reduces reactive headroom, and a voltage depression contracts the attainable apparent-power region [15]. Converter dynamics can introduce further P/Q coupling [16]. A secondary allocator must therefore consider the feasible P/Q pair as well as the separate restoration errors.
The network and protection layers impose related requirements. Full AC sensitivities couple active and reactive injections to voltage and angle; apparent powers at the two ends of a lossy branch need not coincide. Local power-flow approximations can support tractable optimization, but their accuracy must be evaluated around the operating point [17]. Moreover, a feasible steady-state request does not by itself guarantee the transient response of a current-limited converter. Reviews of GFM current limitation identify the distinct requirements of current protection, disturbance response, and recovery [18]. Stability analyses of droop-controlled networks similarly show that controller settings and network coupling matter to the physical dynamics [19].
Building on these developments, this study investigates joint frequency and pilot-voltage restoration around a specified operating point when active and reactive services compete for voltage-dependent converter current capability and affect the same network constraints. The focus is the resulting coupled allocation and its operating tradeoffs in a mixed SG/GFM/GFL system. Both compared controllers retain the same primary controls and local voltage-compensation interface. We formulate a joint optimal frequency–voltage control (OFVC) allocation and connect it to measured-demand estimation, command dynamics, and local current protection. The contributions are as follows:
- A convex P/Q allocation combining the complete AC Jacobian, pilot-voltage restoration, voltage-dependent converter current cones, and apparent-power limits at both ends of every branch. Conventional primary response enters the measured effective demand; synchronous machines remain outside renewable secondary dispatch.
- A characterization of shared current-headroom scarcity through the KKT conditions, with a sparse disk-dual realization of established primal–dual splitting [20,21]. The projection and convergence derivations specify the fixed-data, exact-projection conditions under which the allocation converges.
- A mixed-generation implementation and matched three-phase Simulink evaluation. Matched disturbances at nominal 50 Hz quantify restoration and loading tradeoffs. Nonlinear AC comparisons, capability sweeps, component replay, dynamic parameter changes, and measured computation time distinguish the model, solver, and physical-response evidence.
The underlying primal–dual splitting method is established; here, its bus/branch decomposition is executed synchronously within one supervisor. Optimality refers to the frozen convex allocation, with finite-iteration accuracy and physical performance assessed separately. Section 2 presents the architecture, model, and implementation. Section 3 reports the case studies, Section 4 and Section 5 discuss the results and conclusions, and the appendices provide the numerical derivations.
2. Materials and Methods
The formulation separates the physical network, frozen allocation, numerical solution, and protected command interface. This separation allows each mathematical guarantee to be associated with the model and assumptions that support it.
2.1. Overall Control Architecture
Figure 1 connects the mixed-generation plant to the renewable secondary coordinator. The upper scene identifies source and load classes; the lower strip summarizes measurement processing, joint allocation, and local execution. Both GFL and GFM resources participate in this feedback loop. Synchronous generators retain their governor and excitation controls, and fixed PV remains outside secondary dispatch.
Figure 1.
Mixed-generation application scene and compact P/Q coordination loop. (a) Source, transmission and load pictograms illustrate the application context; the complete simulated network is given in Figure 2. (b) Separate GFL and GFM P/Q measurements join aggregate bus/branch measurements at the lower dashed collector. The observer supplies the joint allocation, and the local interface applies its requests. The upper dashed path returns commands to both GFL and GFM resources. Filled dots denote signal junctions; dashed paths denote functional signals, not a deployed communication network. SG and fixed PV do not receive secondary commands.
2.1.1. Measurements and Effective Demand
The two renewable measurement branches in Figure 1 represent the full sets of controlled GFL and GFM units, rather than a single inverter of each type. The network branch represents measured bus voltages and incident branch-end powers. Renewable injection increments and branch-power increments form the balance residual in (29); the sampled observer in (30) produces . Conventional primary response, fixed-PV injection, and voltage-dependent consumption therefore affect the allocation through measured network balance. Their participation in that balance does not make them secondary decision variables.
2.1.2. Joint Allocation and Physical Execution
The optimizer allocates increments jointly under AC balance, pilot-voltage restoration, converter capability, and both-end branch constraints. The symbol groups base-reference addition, command dynamics, measured-voltage projection, dq-current limiting, and the device-specific interface. The command filters use held-input updates, and the power projection uses the measured terminal voltage as in (40). Their full equations are given with the physical implementation below. GFL units retain PLL synchronization and power-control loops; GFM units retain voltage formation and pilot-voltage feedback. The diagram aggregates these local measurements and loops within to keep the application scene readable.
The upper plant, wind/solar, tower, and building icons identify an application context, not additional component models or a prescribed wind/solar assignment to GFL/GFM control. The actual source locations and model scope are specified in Section 2.3 and the case-study topology. Predicted voltages in the allocation and measured voltages in protection also have different roles: the former constrain the frozen steady-state problem, while the latter determine the instantaneous command capability. Optimization convergence, command-level current bounds, and physical transient performance are consequently assessed separately.
2.2. Coupled Network and Converter Model
2.2.1. Variables, Units, and Operating Point
Consider a connected balanced network with n buses, m branches, and r controllable converters. Let map converter injections to their buses, and let be the nodal admittance matrix. Superscript 0 denotes the reference operating point. The secondary decision variables are converter increments and virtual network increments . Thus
All network powers are per unit on a common three-phase base. In the experiments, MVA and kV line-to-line RMS, so a numerical power of one per unit corresponds to 1 MW or 1 MVAr. The current base is . Angles are radians. A positive net-demand increment or means additional consumption or reduced uncontrollable injection.
The distinction between , actual measured voltage , and the inner GFM reference is essential. The virtual state is an optimization variable. It is neither an instantaneous voltage measurement nor a direct replacement for the primary voltage controller.
2.2.2. Full AC Jacobian
Using the standard nodal-admittance formulation [22], with , nodal injections are
Taylor expansion at yields
In a neighborhood with bounded second derivatives, . For , evaluating all terms at the reference point gives
The corresponding diagonal entries follow by separating the self-admittance terms:
Equations (4) and (5) show explicitly why suppressing N and M changes the allocation problem. They also preserve the sparsity inherited from the admittance matrix. The implementation computes the same sensitivities by central differences with perturbation ; numerical approximation error is assessed separately from closed-loop restoration.
2.2.3. Branch Sensitivities at Both Ends
Let and let a row of describe the current leaving the from end of branch ℓ. Its complex power is . A perturbation satisfies
The to-end expression replaces with . Taking real and imaginary parts constructs an affine two-vector for each of the ends:
Both ends are constrained because losses and charging generally make their apparent powers different. No lossless equality between the two ends is imposed.
2.2.4. Shared Current Capability
For balanced fundamental-frequency quantities, , hence in the chosen bases. The optimization capability is
Here reserves headroom relative to the physical study rating . The constraint is second-order-cone representable because its left argument and right radius are affine in the decision variables and voltage is constrained positive. It represents an operating capability, not the dynamics of a current regulator.
For a fixed current allowance, differentiating a binding capability boundary gives
Thus, even before network effects are considered, additional active support reduces available reactive support when voltage is fixed; a voltage decrease contracts the entire feasible disk [23]. This relation motivates joint projection in rather than independent clipping of and .
2.3. Extension to Conventional and Renewable Generation
The mixed-generation variant replaces the converters at buses 30–33 with four classical synchronous machines. Each machine uses the SPS simplified synchronous-machine block with the robust trapezoidal discrete realization [24] and has a 3 MVA, 22 kV, 50 Hz base, inertia constant s, damping , and internal impedance p.u. Two controlled GFL units at buses 34–35, four GFM units at buses 36–39, and the fixed photovoltaic injection at bus 4 remain. These inverter resources represent renewable-equivalent generation; wind/solar resource variability and detailed DC-side conversion dynamics are not modeled. A 1 M per-phase numerical shunt is included at each machine terminal (484 W total at rated voltage) and accounted for in power balance. Renewable share is evaluated from measured pre-disturbance active generation; a prescribed percentage is not imposed.
2.3.1. Synchronous-Machine and Primary-Control Dynamics
For machine g, let be rotor speed normalized by synchronous speed, and let be electrical rotor angle in a synchronous reference frame. Let denote electromagnetic air-gap power; terminal output differs by stator losses. On the machine base, the classical rotor equations are
Here, rad/s and the reported rotor frequency is Hz. The electromagnetic circuit consists of an internal three-phase voltage behind a stator resistance and inductance. The mechanical damping and electromagnetic circuit are simulated in the plant, not reconstructed from inverter frequency curves. With droop , governor and turbine states satisfy
where s and s. Initial mechanical power includes the specified stator copper loss. A reduced excitation controller obeys
with s and . This is a classical synchronous-generator model with a reduced voltage regulator; it does not represent detailed field/damper windings, a full exciter, or a particular thermal plant. Conventional units provide inertia and primary response. Secondary active/reactive coordination is assigned to the remaining controlled renewable units.
2.3.2. Allocation with Uncontrolled Conventional Injections
Let map controlled renewables and conventional generators to buses. The incremental network balance becomes
where
Thus conventional primary response and voltage-dependent reactive injection enter the measured net demand seen by renewable secondary control. In implementation, the retained ten-slot decision vector has the first four active/reactive increments fixed to zero, and its current cones apply only to the six converter slots. This is equivalent to eliminating those fixed variables. The demand observer uses measured renewable injection increments minus measured branch-injection increments. Synchronous-machine stator currents are recorded separately and are excluded from all semiconductor current-limit statistics. The allocation-convergence result applies to each feasible frozen net-demand problem under the conditions of Theorem 1. The connected simulation retains governor, turbine, and excitation dynamics when evaluating the mixed-generation response.
2.4. Conic Allocation and Optimality Conditions
2.4.1. Incremental Restoration Problem
Let select the pilot buses, and let select the angle reference. For a frozen net-demand estimate , consider
The local constraints include (9), absolute bounds, voltage bounds, and the implemented angle-increment box . are positive diagonal matrices and . Denote their joint local feasible set by . For the mixed model, and , with only renewable slots in and in the current-cone index set. The padded implementation fixes the conventional slots at zero. Since , the condition restores the selected pilot voltages to their calibrated references. Other bus voltages may shift within the declared bounds as the network accommodates the new injections.
For ordinary operation, . For the explicitly conservative variant,
This tightens the optimization problem while preserving the physical rating used to evaluate actual flows.
Assumption 1.
The operating point and sensitivities are fixed, local voltage bounds are strictly positive, is nonempty and compact, and the nominal problem has a primal–dual saddle point. Relative Slater feasibility is one sufficient constraint qualification, after eliminating fixed conventional-generator slots in the mixed case.
Under this assumption, all constraints are convex and the objective is continuous, so an optimum exists; conic duality supplies KKT sufficiency [25]. Strict convexity in gives uniqueness of these components. Uniqueness of additionally requires injectivity of the balance map on the reference-angle subspace. Neither multiplier uniqueness nor nonlinear AC optimality follows merely from convexity.
2.4.2. Current Scarcity in the KKT System
Write , stack the equalities as , and let , , and be their multipliers. Define
With nonnegative multipliers , the Lagrangian is
The expression is read as a scalar sum; box normal-cone terms are included in stationarity. If the boxes are inactive and , converter stationarity becomes
The same enters both marginal conditions. If the current cone is slack, complementary slackness makes . If it binds, increasing one service has a joint marginal cost rather than a fixed, preassigned priority. At , the norm subgradient replaces the ratios; one must not divide by zero.
Let for a nonzero line-end flow and partition . The remaining stationary conditions are
Together with primal feasibility and
these equations characterize the optimum. Box normals must also be added to (25) whenever power bounds bind. The term in voltage stationarity quantifies how extra voltage relaxes current scarcity. This is a property of the optimization model; measured current safety is examined separately.
2.4.3. Why a Line Reserve Can Help
Suppose an independently justified bound satisfies . Then
Thus is sufficient for measured feasibility at that operating point. The 50 Hz experiments retain a 6% optimization reserve but do not establish a uniform mismatch bound. Equation (28) explains the mechanism and the additional evidence that a robust guarantee would require.
The feasible sets are nested as increases. Consequently, their optimal objectives cannot decrease, provided each problem remains feasible. This gives a testable static tradeoff between conservative allocation and regulation cost; it does not predict transient peaks or restoration times.
2.5. Measurement Feedback and Numerical Realization
2.5.1. Demand Estimation Without a Disturbance Sensor
Let be the sum of measured powers leaving bus k through its incident branch ends. Incremental Kirchhoff balance gives
Here, and similarly for Q. The base quantities are captured after primary settling and frozen at secondary-control activation: 55 s in the reported mixed case. Shunt/charging conventions are included consistently in incident end flows; remaining local net absorption belongs to the inferred demand. The sampled estimator is
The demand-observer time constant is s. This avoids numerical differentiation of frequency and accounts for the voltage-dependent consumption of the RLC loads. During a transient, the optimizer receives successive demand estimates; the resulting tracking response is evaluated through the connected simulations.
For comparison with a physics-assisted realization, a reduced GFM relation and nodal balance imply
The substitution removes . This identity explains the relation to frequency-assisted optimization [10], but the reported implementation uses (29) and (30), not this substituted continuous-time controller.
2.5.2. Scaling and Sparse Operator Form
The implemented numerical variable is
Rows of the nodal equality matrix are divided by . Pilot and angle-reference rows are then appended. Let denote the resulting system. Each two-dimensional line-end affine map is divided by its own positive row scale , giving and disk radius . Scaling does not change the feasible physical solution.
In these coordinates, , where
Use the smooth augmented objective
The augmentation vanishes on the feasible set and preserves its minimizers. Define . The identical SOCP is
Here, now denotes the scaled local set. Nodal products require incident-neighbor information. The branch-end products depend on the endpoint variables and their associated duals. This is a sparse distributed decomposition, although all operations are executed centrally in the reported simulator.
2.5.3. Disk-Dual Update for Active Line Constraints
Let y be the equality dual and the line-end dual. Starting from , one inner iteration is
The last expression is zero at . To derive it, the support function of is , and the translated-disk conjugate is . Minimizing its proximal quadratic first shifts the argument by , and it then applies radial vector shrinkage. Thus, no Hessian of the apparent-power norm enters the line update. The physical scalar multiplier is on a binding smooth disk boundary.
Theorem 1 (Frozen-data numerical convergence).
Suppose Assumption 1 holds; projections are exact; remain fixed; and no relaxation guard is active. Set and . If
then the unrelaxed iteration (36) converges to a primal–dual solution of (35). Its primal limit solves (20).
The algorithm specializes forward–backward primal–dual splitting [20,21], within the broader class of saddle-point proximal methods [26]; Appendix B derives its metric and sufficient decrease. The strict version of the condition avoids boundary cases. For the recalibrated 50 Hz operators, and . The implemented gives . These step sizes parameterize the numerical allocation iteration; the plant sampling interval and physical time constants are specified separately.
Theorem 1 applies to a feasible allocation instance with fixed effective demand, network sensitivities, and device/network limits, exact local projections, and step sizes satisfying the stated condition. It establishes convergence of the allocation variables and their duals to a primal–dual solution, whose primal component minimizes the joint allocation objective and satisfies its constraints. The sufficient-decrease argument in Appendix B connects the step-size condition to bounded iterates and vanishing increments; fixed-point optimality then supplies the allocation KKT conditions. In the feedback implementation, demand updates, finite iterations, and command dynamics determine how the plant follows these allocation targets; the nonlinear simulations evaluate frequency and pilot-voltage recovery, current, and branch loading under the specified operating conditions.
2.5.4. Local Projection and Finite Iteration Budget
The converter projection couples and its own . With and , its shifted cone is , . Appendix A derives the exact cone projection. A Dykstra projection loop [27] intersects this cone with the local box, using at most 12 alternating cycles and a iterate/correction-change stopping threshold. The implementation uses this capped approximate projection, and Section 3.7 quantifies the resulting allocation error against an independent conic solution.
The supervisor retains its optimizer state and performs 1000 inner iterations per 20 ms update, with . The frozen-data sufficient-condition value is 0.9114, below one. This budget specifies the offline simulation schedule. Section 3.8.6 reports measured update times, while Section 3.7 evaluates numerical accuracy with the implemented projections. Theorem 1 supplies the convergence result for exact projections and fixed allocation data.
2.5.5. Secondary Bandwidth in the Mixed Plant
Numerical allocation speed is separated from the physical command bandwidth. In the mixed case, the measured-demand observer uses s, and each renewable request passes through
with s and s. The exact held-input update coefficient is , with states initialized to operating commands. Both compared methods use this same physical interface. The current protection below acts on in these runs. The independent controller does not use the demand observer to generate its commands.
For a constant request, the filter equilibrium equals that request, so this interface does not alter the frozen allocation objective. Different P/Q time constants need not preserve a transient capability cone; the downstream joint projection therefore remains essential. The observer and command filters act at different points in the loop. The observer filters the measured residual entering the allocation, while the command dynamics filter the optimizer’s output before it reaches the renewable interfaces. For intuition, their continuous first-order approximations are and . The implemented observer uses the sampled update in (30); the command update uses the held-input coefficient above. Increasing these time constants reduces high-frequency magnitude but also changes phase. The recorded rotor and power trajectories assess the resulting physical response at the selected bandwidth, with the logged waveforms retained directly. Section 3.8.5 evaluates the effect of changing observer and command-filter time constants.
2.5.6. Measured-Voltage Command Protection
At each device, the requested apparent-power vector is mapped to
The zero request maps to zero. This is the Euclidean disk projection and satisfies algebraically. A separate dq-reference limiter uses ; the economic cone uses . These margins are shared by the compared controllers.
Appendix C derives the projection and its conditional tracking-error bound. Measured current additionally depends on inductor dynamics, tracking error, sampling, and voltage transients. To assess these effects, we record converter-side currents every s and evaluate
Command utilization and measured current in (41) are different quantities. Secondary control activates at 55 s and the disturbance occurs at 60 s. The reported disturbance-response assessment uses the post-activation interval.
2.5.7. Heterogeneous Physical Interfaces
GFL units retain PLL synchronization and their active/reactive outer loops; become their power references [28]. GFM units retain voltage formation. The implemented reactive interface, in per-unit power and voltage, is
where and the integral is limited to . The nominal-voltage term is 1 p.u.; is not substituted into it. The active channel retains the source-model primary structure. The same pilot-feedback interface is present in both comparison methods. Consequently, measured voltage recovery evaluates the joint action of the allocation, demand updates, and this common pilot-feedback interface.
In an ideal synchronized equilibrium with inactive limiters, exact model balance and imply through the reduced droop equation. Likewise implies pilot restoration only when actual increments equal virtual increments. The connected simulations evaluate measured restoration with model mismatch and command protection present. The software also includes a bounded pilot-slack guard; when active, it replaces exact pilot restoration by the specified relaxed service. Theorem 1 concerns the nominal allocation with that guard inactive.
3. Case Studies and Results
3.1. Simulation Platform, Comparators, and Evaluation Protocol
The MATLAB/Simulink R2022b model uses averaged three-phase converters, a s ode3 step, a discrete Tustin electrical-network step of s, and a 20 ms supervisory update. The reconstructed network contains 39 buses and 46 branches with unity transformer taps. It is derived from the published inverter model [11], rather than being the canonical tapped IEEE 39-bus load-flow case. The declared branch ratings were set to 1.5 times the larger initial-end apparent power of the source operating point, with a 0.5 MVA floor, and are retained for the 50 Hz study. They are study assumptions, not utility emergency ratings.
The nominal frequency is 50 Hz. The mixed-generation study contains four synchronous machines, two GFL and four GFM converters, and fixed PV. Upper-layer secondary allocation starts at 55 s, the event occurs at 60 s, and the records end at 120 s. The shared GFM reactive-tracking and pilot-feedback interface is enabled at 10 s during initialization. In the main comparison, both controllers experience the same 1.5 MW/1.0 MVAr commanded load step at bus 4. Voltage-dependent loads can consume different realized powers under the two controllers.
The 50 Hz model is simulated afresh. Machine ratings, PLL initial frequencies, source and load nominal frequencies, reference signals, and frequency measurement gains are set consistently to 50 Hz. Line inductances and capacitances obtained from the source data are multiplied by , preserving nominal per-unit reactance and susceptance; converter filter components retain their physical values. Machine inertia constants and per-unit impedances are retained on the new frequency base. This defines an equivalent 50 Hz benchmark, rather than the response of unchanged physical equipment to a frequency shift.
The AC sensitivities, base voltages, and branch-flow offsets are recalibrated using the 54–55 s interval of an initial 50 Hz simulation, before secondary control activates. No post-event samples enter this calibration. Both comparison runs start independently from the same model and calibrated configuration. Physical branch and converter ratings, primary renewable commands, and command time constants are held fixed. The voltage phase evolution is checked against the 50 Hz reference in addition to the logged terminal and rotor frequencies.
The independent comparator uses local frequency and common pilot-voltage error integrators:
Its requests are . It shares the plant, physical ratings, current protection, GFM pilot feedback, and the 0.5/1 s P/Q command dynamics. It has no branch optimizer. The study therefore compares two specified complete controllers; it neither reproduces the original active-only controller nor establishes superiority over every branch-aware independent design.
Define , , and event time . The integrated absolute errors are
The comparison uses s. Settling is measured from the event to the first sample after the last band violation, with at least 2 s remaining for confirmation. The strict bus-frequency and pilot-voltage bands are 1 mHz and 0.005 p.u.; additional frequency tolerances are reported without replacing the strict criterion.
For branch ℓ, measured utilization is
Peak, final-window maximum, total sampled exceedance, and last return below rating are different metrics. Current peaks use the original s measurements; voltage and terminal-frequency logs use 10 ms samples, and line statistics use 20 ms samples. Reported extrema are therefore sampled extrema and cannot exclude intersample excursions. Figures retain measured pre-event values and use no waveform smoothing. Bands indicate device ranges, not statistical uncertainty. All experiments are deterministic; recorded time samples are not independent experimental replications.
Voltage Definition and Scope of the Restoration Criterion
For the balanced three-phase model, the measured per-unit voltage is
This expression equals line-to-line RMS magnitude divided by its base for balanced sinusoidal voltages. It is an instantaneous three-phase magnitude, not a cycle-window RMS or a fault-ride-through measurement. The pilot target is the calibrated p.u. The p.u. recovery band is centered on this value, not on 1 p.u.
The numerical allocation uses bus-specific lower voltage bounds ranging from 0.838857 to 0.900000 p.u. and a common upper bound of 1.100000 p.u. These permissive bounds were inherited from the initial numerical configuration and are held fixed in the comparison. The original lower-bound rule was ; these bounds were retained during the 50 Hz recalibration. These bounds specify the allocation study. A separate p.u. diagnostic screen identifies low initial and final voltages, while Section 3.8.2 assesses absolute-voltage admissibility using the declared – p.u. study interval.
The combined study criterion requires ten terminal PLL frequencies within 1 mHz of 50 Hz, pilot error at most 0.005 p.u., all six controlled-converter currents and all branch ends within their declared ratings, and all 39 measured voltages within their respective numerical boxes. It excludes SG rotor-frequency tolerances and does not certify absolute voltage quality or transient thermal permission. Conservative 20 ms bins require every constituent logged sample to pass.
The strict 1 mHz tolerance is smaller than the measured pre-event frequency variations. Its settling time therefore includes the residual initialization dynamics as well as the load-step response. The 5 and 10 mHz results provide complementary comparisons; no measurement-noise immunity is inferred from the noiseless simulator.
Numerical results were obtained by executing the specified Simulink model; plotted trajectories and summary metrics are traceable to the saved MAT records. Table 1 summarizes the main mixed-generation settings.
Table 1.
Mixed-generation settings. Resource roles are defined by the physical plant and control interfaces in Section 2.
The original pilot reference is measured from the modified benchmark. Its restoration band, the inherited numerical voltage boxes, and the diagnostic p.u. threshold have different meanings. The additional – p.u. operating-point study uses declared study limits to assess benchmark operating-point admissibility.
3.2. Mixed-Generation Network and Operating Point
Figure 2 specifies the physical network used to evaluate the architecture in Figure 1. Buses 30–33 host conventional synchronous generators, buses 34–35 host GFL inverters, and buses 36–39 host GFM inverters. A separate fixed PV injection connects at bus 4, where the load disturbance is applied. All 39 buses and 46 branches are retained. The drawing represents physical connectivity; it is not the communication graph of the numerical decomposition.
Figure 2.
Single-line diagram of the mixed-generation 39-bus system. Circular AC symbols denote synchronous machines; orange and teal converter symbols denote GFL and GFM resources. The purple converter represents fixed PV. Thick bars and numeric labels (1–39) denote buses, and arrows indicate aggregate loads. Only six renewable converters participate in secondary dispatch.
The measured pre-event renewable share is 65.09% of active generation. This is an operating-output fraction, not an installed-capacity or annual-energy fraction. Fixed-PV output is inferred from the measured bus-4 branch balance and voltage-dependent load. Table 2 reports the corresponding output composition. The pre-event maximum terminal-frequency errors are 4.58 and 4.47 mHz for coordinated and independent control; these residual variations remain visible in the plots.
Table 2.
Measured generation before the 50 Hz load step.
3.3. Voltage Restoration and Frequency Regulation
Table 3 compares the same 60 s post-event horizon. Coordination reduces pilot-voltage IAE by 57.42% and the 0.005 p.u. recovery time by 36.91%. Figure 3 distinguishes this relative restoration from the absolute voltage levels across the network. Both methods retain the same GFM pilot-feedback interface; the difference therefore characterizes the complete upper-layer allocation and its demand observer with that interface held fixed.
Table 3.
Measured 50 Hz performance over a common 60 s post-event window.
Figure 3.
Voltage restoration and its scope. (a) Measured pilot voltage; the dotted horizontal line is p.u. and the gray band is its p.u. recovery interval. (b) Pointwise minimum–maximum voltage across all 39 buses, with matching boundary curves. Colored ranges indicate different bus voltages, not uncertainty. The dotted 0.95 p.u. line is a diagnostic screen, not a claimed regulatory limit. Both panels retain every 10 ms sample from 55 s; the vertical line marks the load step.
The pilot voltage initially falls to 0.907565 p.u. under coordination and 0.907551 p.u. under independent control. The coordinated trajectory subsequently reaches a local minimum of 0.923107 p.u. at 73.82 s, corresponding to an error of p.u. This second dip remains within the declared recovery interval, 0.922314–0.932314 p.u., and therefore preserves the reported 2.41 s settling time. It coincides with a change in bus-39 reactive output while the emergency pilot-slack guard remains inactive. The logs establish the bounded nonmonotonic response but do not identify a unique internal cause.
The lowest sampled network voltage under coordination is 0.898871 p.u. at bus 12, 10 ms after the event. Both controllers remain within the declared numerical voltage boxes. Relative to the separate 0.95 p.u. diagnostic screen, 24 bus means are initially below this level; 14 and 18 remain below it in the final 2 s under coordinated and independent control, respectively. The corresponding final mean pilot voltages are 0.926634 and 0.925760 p.u. These absolute levels identify the scope of the comparison: the upper layer restores voltage increments around the existing compensated operating point.
The frequency trajectories in Figure 4 settle to the 50 Hz reference. The nadirs are 49.9380 and 49.9386 Hz, respectively. The coordinated frequency IAE changes by +5.25% relative to independent control. This metric measures the full transient, whereas the strict settling time depends on the final small band crossing. At 1 mHz, the settling times are 40.76 and 52.83 s; the 5 mHz values in Table 3 provide a less stringent engineering comparison. The objective in (20a) concerns constrained steady-state allocation, so it does not imply minimum transient frequency IAE.
Figure 4.
Terminal-frequency means and device ranges around the nominal 50 Hz reference. Bands indicate variation across devices, not uncertainty. Settling metrics use all devices, rather than the plotted mean alone.
3.4. Conventional Response and Renewable Service Allocation
The four conventional generators contribute inertia, governor response, and excitation support. Their physical rotor frequencies in Figure 5 are measured separately from terminal PLL outputs. The 10 mHz rotor recovery times are 14.27 and 11.35 s. Figure 6 separates SG electrical power, mechanical input, and controlled-renewable support. The temporary difference between electrical and mechanical power accompanies rotor-energy exchange; renewable secondary injections provide the sustained allocation change.
Figure 5.
Physical rotor-frequency means and ranges across the four synchronous machines. These states are distinct from terminal PLL measurements.
Figure 6.
SG electrical output, mechanical input, and controlled-renewable power in the coordinated case. Increments are relative to the measured pre-event 2 s mean. Mechanical powers use the individual 3 MVA machine bases.
Converter current utilization remains below rating in both records (Figure 7), with peaks of 0.96329 and 0.96326 p.u. The measured response supports current compliance for this load step; the command projection alone is not a proof of measured transient protection. Shared local protection contributes to both outcomes.
Figure 7.
Maximum current utilization over six controlled renewable inverters. Ten-millisecond display bins preserve peaks from the underlying s measurements. The horizontal line is the unchanged device rating.
Figure 8 shows how the same resources divide the coupled service. Each segment joins one unit’s final P/Q increments under the two controllers. Unequal allocations reflect different AC sensitivities, cost coefficients, and branch headroom. The shared capability multiplier in (25) couples active and reactive marginal costs at a binding converter boundary; the measured plot illustrates the resulting allocation without implying that every converter binds its limit.
Figure 8.
Joint P/Q increments: final 2 s mean minus pre-event 2 s mean. Color identifies the bus; circles and triangles identify coordinated and independent control. Connecting segments compare methods, not time trajectories or capability boundaries.
3.5. Transient Loading and Final Network Feasibility
Figure 9 evaluates both ends of all 46 branches. The coordinated transient maximum is 1.14723 p.u., and every branch returns below rating by 19.64 s. Its final 2 s maximum is 0.97226 p.u., compared with 1.23929 p.u. for independent control. The coordinated final 10 s maximum is also below rating, at 0.97311 p.u.; final feasibility therefore does not depend on one favorable terminal sample.
Figure 9.
Maximum measured loading across both ends of all 46 branches. The horizontal reference is the physical study rating. Temporary exceedance is reported as observed loading, not certified thermal permission.
Figure 10 distinguishes the early excursion on line 1–39 from the recovery on line 26–27. Table 4 gives their coordinated metrics. Sampled exposure sums every logged interval above rating, whereas last return is the final down-crossing followed by sustained compliance. These are different measures. Line 16–21 is omitted from the selected-waveform display but remains included in every all-network statistic.
Figure 10.
Selected line loading: color denotes branch and line style denotes controller. Statistics and the all-line envelope include the complete network.
Table 4.
Selected coordinated branch statistics.
The peak–final scatter in Figure 11 places each branch in the same feasibility plane. Coordination redistributes renewable support so that the final points lie below rating even where transient peaks exceed it. Figure 12 separately records the duration of these exceedances. The 6% optimization reserve tightens predicted branch limits without changing physical ratings. Neither this reserve nor the final-feasibility observation certifies a thermal overload allowance; such a claim would require conductor-temperature and protection models.
Figure 11.
Transient peak versus final 2 s maximum loading for every branch and controller. Each marker uses the larger end loading. Reference lines indicate physical rating; overlapping branch points are retained.
Figure 12.
Sampled overload exposure for every branch exceeding rating under either controller. Exposure sums 20 ms logged intervals and is not necessarily one uninterrupted overload.
3.6. Combined Study Criteria and Residual Dynamics
Figure 13 compares the voltage, frequency, current, loading, and effort metrics separately. The final regulation-cost indices are 2.07551 and 0.87665. The additional weighted P/Q effort accompanies improved voltage support and final branch feasibility. These costs are outcomes of different closed-loop trajectories with voltage-dependent demand; the branch-infeasible independent point cannot establish the relative cost of two feasible dispatch solutions.
Figure 13.
Relative metric changes from independent to coordinated control. Negative values indicate reductions. Frequency error, current peak, and regulation effort are retained alongside favorable voltage and network changes.
The combined criterion uses the explicitly defined terminal-frequency, pilot-restoration, current, branch, and all-bus numerical-voltage checks. Figure 14 uses conservative 20 ms bins: every logged measurement in a bin must pass. Under the 1 mHz frequency criterion, coordination reaches sustained satisfaction of these study criteria at 40.76 s; independent control does not do so within the recorded horizon because branch loading remains above rating. All-bus numerical-voltage checks pass throughout and therefore do not change this time. At 10 mHz, the coordinated combined time is 19.64 s. These values describe the declared study criteria, not grid-code compliance.
Figure 14.
Satisfaction of the study criteria after the load step. Colored bins pass each check; gray bins fail it. The combined row additionally requires all six renewable currents within rating and all 39 voltages within their declared numerical boxes. Frequency and pilot-restoration thresholds are 1 mHz and 0.005 p.u.; the latter is relative to 0.927314 p.u.
Finally, the coordinated online nodal-balance residual reaches a final-window maximum of 0.00173 in physical per-unit power on the 1 MVA base. This logged residual has already been multiplied by its row scale; it is not a residual in scaled coordinates. This residual evaluates the finite-iteration implementation with evolving plant, demand, and command states. The recorded trajectories establish restoration in the tested conditions, while Theorem 1 establishes convergence for a feasible fixed allocation under its stated projection and step-size assumptions.
3.7. Numerical Verification and Additional Disturbance
3.7.1. Accuracy of the Frozen Allocation
A cold-start test fixes the calibrated operators and a bus-4 demand increment of 1.5 MW/1.0 MVAr. The implemented solver, including its capped local projections, is compared with an independent conic reference from CVXPY 1.9.2 and CLARABEL 0.11.1, using gap and feasibility tolerances. The reference objective is 0.55166565, its nodal-balance residual is p.u., and its maximum angle increment is 0.02610 rad, inside the implemented rad box. The maximum P/Q error decreases from 0.35246 p.u. after iterations to p.u. after iterations. At the latter budget, the balance residual and relative objective error are p.u. and .
This test verifies accuracy for the selected frozen instance and shows that 1000 cold-start iterations are insufficient for an accurate optimum. Online execution carries the optimizer state across successive 20 ms updates while demand changes. Its finite-budget tracking performance must therefore be assessed separately from the frozen reference accuracy.
3.7.2. Electrical Time Step and Load-Step Amplitude
The coordinated main case is repeated with both the ode3 step and the Tustin electrical-network step reduced from 100 to s. The 21 phase-command Unit Delay blocks remain at s, and the other digital periods, including the 20 ms supervisory update, are unchanged. Fixing these periods isolates electrical-step sensitivity from changes to the digital controller.
An additional paired experiment applies a 0.75 MW/0.50 MVAr load step at bus 4. It retains the 50 Hz base case, 60 s event, 120 s record, physical ratings, controller parameters, and s electrical step, thereby testing a smaller disturbance at the same operating point.
Figure 15a compares the measured pilot trajectories. Halving the electrical step changes the sampled pilot minimum by 0.000426 p.u.; the largest pointwise difference over 55–120 s is 0.002410 p.u. Pilot-voltage and frequency IAE change by +2.20% and +7.26%, respectively. Final maximum branch loading is 0.97376 p.u., compared with 0.97226 p.u. at the original step. The second pilot dip remains within the recovery band, reaching 0.923100 p.u. at 73.94 s. The strict 1 mHz settling time changes from 40.76 to 49.87 s. These two resolutions quantify the sensitivity of the reported metrics without establishing an asymptotic convergence order.
Figure 15.
Additional checks of the main result. (a) Coordinated pilot voltage at 100 and s electrical steps, with the phase-command digital delays fixed at s. (b) Final 2 s maximum loading across both ends of all 46 branches for two load-step amplitudes at the original electrical step. Connecting segments aid comparison of the two scenarios; they are not a fitted response law. The horizontal line is the declared branch rating.
For the half-amplitude disturbance, coordination reduces pilot-voltage IAE by 66.64%, while frequency IAE changes by +1.75%. Both pilot recovery times are 0.07 s. Peak branch loadings are 0.95719 and 0.92991 p.u., and final maxima are 0.94263 and 0.92991 p.u. (Figure 15b). Both controllers remain below all declared branch ratings. Table 5 summarizes these electrical-step and disturbance-amplitude checks. Coordination therefore improves integrated pilot restoration in both disturbances, whereas its final branch-feasibility advantage appears in the more demanding case.
Table 5.
Electrical-step and disturbance-amplitude checks. The reactive load command is of the listed active command in MVAr. and use the common 60 s post-event horizon; is the maximum over all branch ends during the final 2 s.
3.8. Additional Validation and Sensitivity Studies
Validation is organized by model layer: numerical allocation, nonlinear AC approximation, component implementation consistency, and complete dynamic response. Each reported result is associated with its assumptions, reference calculation, and tested operating range. The following tests retain the calibrated 50 Hz configuration and distinguish the frozen allocation, nonlinear AC verification, component implementation, and dynamic closed loop. Static results are computed with CVXPY/CLARABEL and SciPy; new dynamic trajectories are obtained by executing the existing MATLAB/Simulink model with the stated parameter changes.
3.8.1. Nonlinear AC Accuracy and Optimization Comparators
Forty combinations cover disturbance buses 4, 12, 16, 21, and 26 and active increments 0, 0.375, 0.75, 1.5, 2.25, 3, 4.5, and 6 MW, with reactive increments two-thirds as large in MVAr. Sixteen have optimal solver status, one has optimal-inaccurate status, and 23 are reported infeasible. The optimal-inaccurate outcome is counted separately from the optimal outcomes. Table 6 presents selected bus-4 error comparisons; Figure 16 presents the finer bus-4 sweep. Exact nonlinear powers are first evaluated at the predicted phasor. A constant-net-injection AC power flow is then solved with additional active losses equally balanced over the six controlled renewable buses. The loss adjustment is reported explicitly, while reactive injections remain fixed. The voltage metrics are RMSE and maximum absolute error. Branch metrics include active/reactive RMSE and maximum both-end vector error divided by physical rating. At 0.375, 0.75, and 1.5 MW bus-4 increments, the active-loss adjustments are 0.000221, 0.000949, and 0.004605 MW. The power-flow residuals are below p.u.
Table 6.
Nonlinear AC validation of frozen bus-4 allocations.
Figure 16.
Effect and local validity of the AC sensitivity model. (a,b) Matched branch-vector and maximum voltage errors for the full and decoupled nodal models; device and branch limits are identical. Both models are infeasible at the additional 3 MW case, so no error value is available there. (c) All 20 fine-sweep cases: 19 feasible results and the explicitly identified infeasible 2 MW case. The dashed line is the declared 0.005 p.u. voltage-accuracy screen; connecting segments guide the eye and do not certify intermediate amplitudes. In all panels, at bus 4 and nonlinear AC checks use the stated active-loss balancing. Cases are deterministic; bars and points do not represent statistical averages.
A finer bus-4 sweep uses 0.1 MW spacing. The samples through 0.7 MW satisfy a 0.005 p.u. maximum voltage-error screen; 0.8 MW does not. This is a sampled local range, not a certified interval. At the measured final net demand of the main dynamic run, the frozen constant-injection check gives maximum voltage error 0.040680 p.u. and maximum branch-vector error 3.1712% of rating. The measured physical-versus-virtual final-mean voltage discrepancy is instead 0.004230 p.u. The dynamic plant includes voltage-dependent loads and local feedback, so these two checks are not interchangeable. At the 1.5 MW frozen step, the nonlinear AC pilot error is 0.023338 p.u. despite the virtual equality. The main connected simulation has a measured final-window pilot error of 0.000683 p.u.; it includes measured net-demand updates and local measured-pilot feedback. These measurements establish recovery for that implemented feedback system, while the frozen comparison quantifies the local setpoint-model error. Reserve adequacy is assessed against the maximum both-end branch-vector error normalized by the corresponding physical rating. Voltage error, flow error, and transient tracking error are evaluated separately. The reported static branch errors support the selected reserve at the tested operating points; voltage accuracy and transient loading are assessed using their corresponding simulation indices. The decoupled comparator suppresses only the nodal cross blocks while retaining all other costs and device/network bounds. The nonlinear comparator uses exact AC equations with the same costs and limits and is initialized from the SOCP. The reported nonlinear solutions are feasible local optima, not certified global optima. Table 7 summarizes the resulting objectives and errors. At the main step, the decoupled model has a smaller voltage error but substantially larger branch-vector error than the full-sensitivity model; neither model is described as uniformly better in every error measure.
Table 7.
Frozen optimization comparisons under matched device and network limits.
Figure 16 separates the branch-prediction benefit from voltage-model error and shows the sampled local validity range.
3.8.2. Absolute-Voltage Operating-Point Design
The original pilot equality at 0.927314 p.u. is incompatible with an all-bus 0.95 p.u. lower bound. A separate design therefore replaces the pilot target while imposing the study interval 0.95–1.05 p.u. and retaining device capability and both-end branch constraints. The nonlinear solutions in Table 8 demonstrate feasible points under the original ratings. A target of 0.97 p.u. yields a lower objective and interior voltage profile than the 0.95 p.u. target. The linear problem with a 1 p.u. pilot target is infeasible under the retained constraints; this status is not treated as a general nonlinear impossibility theorem.
Table 8.
Nonlinear AC operating-point designs with the original study ratings.
These are static operating-point designs. A dynamic restoration study around the new reference would require consistent initialization and sensitivity recalibration.
3.8.3. Capability and Nominal Feasibility
Sixty-six combinations use eleven current-capability factors from 0.5 to 1 in increments of 0.05 and six active increments 0, 0.75, 1.5, 3, 4.5, and 6 MW. The reactive-to-active ratio remains 2/3. The factor scales the optimization current capability, with one reproducing the published setting. A refined boundary is reported separately in Table 9; non-optimal numerical outcomes are not automatically identified with physical infeasibility.
Table 9.
Dependence of the bus-4 frozen feasibility boundary on available current capability.
At a factor of 0.80 and a 1.5 MW disturbance, the hard problem is infeasible in the sampled case, while a bounded pilot relaxation gives a 0.051691 p.u. pilot increment. This is a different service specification, not exact recovery. At the 1.5 MW increment, changing from 1 to 0.85 shifts the GFL reactive increment from to MVAr and the GFM reactive increment from to MVAr. The corresponding active increments change from MW (GFL/GFM) to MW. This redistribution is consistent with the shared current cone: reducing GFL active support leaves more capability for reactive support, while the increased GFM active contribution competes with its reactive headroom. Terminal voltage, initial operating points, costs, and network location jointly determine the allocation; the result does not imply a universal GFL/GFM participation rule. A pilot relaxation cannot supply missing active capacity or remove every network bottleneck. Figure 17 retains all 66 tested cases and distinguishes nominal restoration feasibility from feasibility after pilot relaxation.
Figure 17.
Capability-dependent feasibility at bus 4, with . (a) All 66 current-capability/disturbance combinations. F denotes an optimal nominal allocation, R denotes feasibility only after the bounded pilot relaxation, and a dash denotes solver-reported infeasibility of both problems. R is a partial-service outcome. (b) Six refined numerical brackets: each spans an optimal endpoint and the first non-optimal endpoint, with width approximately MW (smaller than the marker). These brackets are not confidence intervals or proofs of physical infeasibility beyond the endpoint. The dashed line marks the original 1.5 MW case.
A focused ablation changes only the converter capability voltage from to (Table 10). Nine pairs cover three disturbance amplitudes and three capability factors. The purpose is to isolate the operational effect of the voltage-dependent current cone while keeping the full AC network model, objective, and other constraints unchanged.
Table 10.
Matched current-capability ablation at bus 4.
At full capability and 1.5 MW, the fixed-capability objective is 0.557917, compared with 0.551666 for the voltage-dependent formulation. At reduced capability, some fixed-voltage allocations exceed the selected optimization current allowance at their own predicted voltage; the largest excess in the sweep is 0.9842%. At and 1.5 MW, the voltage-dependent problem is feasible while the fixed-capability problem is solver-reported infeasible. Voltage-dependent capability therefore avoids either overconservative or optimistic headroom estimates in these frozen allocations. This observation concerns the modeled allocation and its chosen reserve; nonlinear AC consistency and actual converter current remain separate checks.
3.8.4. Component Implementation Consistency
The governor–turbine response is independently reconstructed using the declared two-state dynamics and the recorded rotor-speed input. With states , the matrices are
followed by the declared mechanical-power saturation. Initial conditions are retained. The comparison checks the mechanical-power response of the reduced primary-control equations to the prescribed rotor-speed input (Table 11).
Table 11.
Independent governor–turbine replay errors over 55–120 s.
Separately implemented replays quantitatively check the governor–turbine and command-protection equations used in the coordination study. With the recorded rotor speed as input, the maximum mechanical-power discrepancy is p.u.; for the recorded command requests, the maximum normalized-utilization discrepancy is . These checks, sampled converter currents, and complete-system trajectories support the implementation assessment. Each replay uses a separately implemented equation driven by recorded inputs, so its error measures component implementation consistency. Converter dynamic performance is assessed through the simulated plant trajectories under the stated model assumptions. For the protection interface, the logged pre-/post-projection utilization is independently evaluated against over 60–120 s. Across nine completed records, the 324,054 sample–device pairs give a maximum discrepancy of . Clipping occurs in 12,810 GFM sample–device pairs, while the GFL requests remain inside the command limit in these records. This verifies the recorded algebraic action for active GFM clipping and unsaturated GFL requests. Table 12 and Table 13 separately evaluate terminal current in the averaged converter model.
Table 12.
Additional dynamic results over the common 60 s post-event horizon.
Table 13.
Recovery and peak response over the common 60 s post-event horizon.
3.8.5. Additional Dynamic Sensitivities
Seven additional 120 s records comprise a coordinated/independent pair at 3 MW/2 MVAr, halved SG inertia (1.75 s for all four machines), observer time constants of 0.5 and 2 s, doubled command time constants (1/2 s), and a decoupled-nodal-model closed-loop ablation. The event remains at 60 s. Each parameter test changes only its stated setting and retains the original sensitivities. The ablation instead removes only the nodal blocks; its branch sensitivities and all other settings remain unchanged.
A matched closed-loop ablation additionally sets only the nodal cross blocks to zero. The nonlinear plant, branch sensitivities, objective weights, device and network limits, demand observer, command filters, protection, and numerical settings are unchanged. For the MW/ MVAr step, the decoupled and full-sensitivity controllers give voltage IAEs of and p.u. s, frequency IAEs of and Hz s, and final maximum branch utilizations of and p.u., respectively. This comparison isolates the closed-loop effect of nodal cross coupling in the implemented allocator while retaining the constraints in both controllers. Retaining the cross coupling reduces the voltage and frequency IAEs by and relative to this constrained comparator and increases final branch headroom. Pilot recovery times are close: s with full coupling and s with the decoupled model. With s, pilot-voltage recovery is s, 5 mHz frequency recovery is s, and final maximum branch utilization is p.u. Doubling the command time constants from s to s gives s, s, and p.u., respectively. The slower observer retains final branch feasibility but lengthens recovery relative to the original 2.41 s voltage and 14.10 s frequency indices. This quantifies a performance cost of reducing observer bandwidth.
The inertia and observer cases retain final branch feasibility. In the doubled-disturbance coordinated case, final branch loading remains 1.24161 p.u., final-window frequency error is 36.117 mHz, and voltage IAE is 0.54865 p.u. s. The corresponding independent values are 2.03914 p.u., 1.851 mHz, and 0.45982 p.u. s. Neither controller meets the combined original requirement, and coordination is not better in every metric in this stressed case. The pilot-slack guard remains inactive: its trigger requires sustained current saturation in at least two devices together with pilot error, and does not detect network infeasibility alone. This limitation is distinct from the successful nominal restoration. With the original sensitivities retained, the parameter tests cover SG inertia of 1.75 and 3.5 s, observer time constants of 0.5, 1, and 2 s, and command time constants of and s. Table 12 and Table 13 report recovery, peak deviations, final errors, and branch/current loading for each setting. The doubled disturbance identifies a case where the combined restoration objective is not achieved. These results characterize recovery and constraint performance at the specified parameter settings.
3.8.6. Measured Computation Time
Timing uses an Intel Core i9-13900HX processor (Intel Corporation, Santa Clara, CA, USA), MATLAB R2022b, and CVXPY 1.9.2/CLARABEL for the respective implementations. Sixty changing-demand warm starts are measured after setup/JIT warm-up, with no concurrent Simulink run during the timing session (Table 14). The MATLAB test includes projection and diagnostics. Plant simulation, communications, and I/O are excluded. Both methods see active demand MW and the fixed 2/3 reactive ratio; results are implementation-specific and use different numerical stopping rules.
Table 14.
Measured elapsed time per update on an Intel Core i9-13900HX.
The timing measurements quantify the implementation cost separately from numerical accuracy and simulated restoration. The 1000-iteration MATLAB update exceeds the 20 ms scheduling interval in these tests, so the reported implementation is an offline simulation realization. Meeting a deployment deadline requires an implementation and update rate validated with the complete control workload.
4. Discussion
The main case demonstrates the value of treating frequency support, pilot-voltage restoration, and branch loading as a coupled allocation problem. With the primary controls and local compensation shared by both methods, coordination reduces pilot-voltage IAE by 57.42% and returns all branches below their declared ratings. The smaller disturbance also shows lower voltage IAE, although both controllers then satisfy the branch limits. These results extend the application of optimization-based frequency regulation [8,9] to joint P/Q service in a plant that retains conventional generation.
The improvement requires additional weighted regulation effort and, in the main case, 5.25% higher frequency IAE. This is consistent with an objective that balances steady-state allocation costs subject to several service constraints. The comparison evaluates two complete controllers, including the coordinated demand observer and branch optimizer. The added decoupled-sensitivity comparisons isolate the effect of the nodal AC cross blocks in both frozen allocation and matched closed-loop simulation. Only those blocks change in the dynamic ablation; the plant, constraints, observer, command filters, and protection are shared. Relative to the constrained decoupled optimizer, retaining the cross blocks reduces voltage and frequency IAEs by and , respectively (Table 12). This comparison quantifies the modeling contribution with constraints present in both controllers. The separate current-capability ablation addresses the effect of voltage-dependent headroom in the frozen allocation.
Voltage restoration is defined around the calibrated pilot reference of 0.9273 p.u. The second dip remains inside the p.u. band, so it is compatible with the reported recovery criterion. Its persistence at the finer electrical step supports treating it as a reproducible feature of this simulated response. Command filters and converter dynamics can influence transient shape [19]; identifying its specific internal cause would require additional state logging. The initial low bus voltages and permissive numerical bounds remain separate operating-point limitations. Utility application would require a validated base case and site-specific normal and emergency voltage limits.
The electrical-step check preserves the voltage-recovery pattern and final branch feasibility, while frequency IAE changes by 7.26% and the strict 1 mHz settling time shifts from 40.76 to 49.87 s. The voltage and final-loading findings are therefore more consistent across the tested steps than the small-band frequency metrics. The latter should be interpreted alongside the 5 and 10 mHz results, particularly because the initial frequency variation exceeds 1 mHz.
The principal paired comparison covers two load-step amplitudes at one operating point. Section 3.8 adds nonlinear AC checks, capability sweeps, component replay, and dynamic sensitivity tests. The model uses declared study ratings, reduced synchronous-machine excitation, and renewable-equivalent sources. The results characterize secondary restoration following the specified load disturbances; fault ride-through [18] and conductor thermal response involve additional physical mechanisms. The sparse algorithm is evaluated within one supervisor, and its measured update time identifies the implementation cost relevant to deployment. Communication-dependent control [29] additionally requires explicit network timing. For a feasible fixed allocation with exact projections, Theorem 1 establishes convergence to a constrained optimum. The independent solver check and measured plant trajectories then assess numerical accuracy and restoration behavior in the implemented finite-iteration loop.
The nonlinear AC comparisons reveal quantity-dependent local accuracy. For the MW/ MVAr frozen bus-4 case, the maximum voltage error is p.u. and the largest branch-vector error is of rating, with an explicitly balanced additional active loss of MW. The selected branch reserve covers the evaluated static flow errors. Voltage accuracy and transient loading are assessed using their respective reported indices.
Two dynamic comparators separate the overall control benefit from the nodal-model contribution. Relative to independent integral control, pilot-voltage IAE decreases by and frequency IAE increases by . Relative to the constrained decoupled optimizer, retaining the nodal AC cross blocks reduces these IAEs by and , respectively. The latter comparison shares the plant, objective, device/network limits, observer, filters, and protection. The retained terms and account for voltage-induced active-injection changes and angle-induced reactive-injection changes in the nodal balances. Together with the shared current cone, they change how active and reactive support can be allocated under the same device and branch-limit specifications. These matched comparisons quantify the contribution of nodal AC coupling to the implemented constrained controller.
The capacity sweep identifies loss of nominal feasibility as current headroom decreases. At MW/ MVAr, the hard problem is feasible at an optimization-capability factor of but infeasible at in the sampled cases. A bounded pilot relaxation at gives a p.u. pilot increment. This is a partial-service solution of a different problem and is reported separately from successful restoration.
5. Conclusions
A convex allocation of active and reactive increments was developed for mixed GFM/GFL resources operating with synchronous generators. Full AC sensitivities, voltage-dependent converter capability, pilot-restoration constraints, and both-end branch limits couple the services. Demand estimation and a protected command interface connect the sparse primal–dual allocation to the three-phase plant.
For a feasible fixed allocation, exact projections and the stated step-size condition ensure convergence of the allocation variables and multipliers to a primal–dual optimum. Numerical-reference comparisons assess the finite-iteration realization, and the connected simulations quantify the restoration achieved with demand updates, command dynamics, and protection present.
In the main 50 Hz, 39-bus case, renewable resources supply 65.09% of pre-event active generation. Coordination reduces pilot-voltage IAE by 57.42% and recovery time by 36.91%. Final maximum branch loading falls from 1.2393 to 0.9723 p.u., with all branches below rating after 19.64 s. These benefits accompany greater regulation effort and a 5.25% increase in frequency IAE. The tests support incremental secondary restoration around the specified operating point, with final branch-feasibility gains in the larger disturbance.
Incremental restoration around p.u. and absolute-voltage admissibility are separate objectives. An additional nonlinear AC operating-point design with pilot target p.u. and study bounds – p.u. yields voltages – p.u. and maximum branch utilization , while retaining the original device and branch limits. This establishes a feasible static reference design; disturbance recovery around it requires consistent dynamic initialization and recalibration.
Additional validation combines nonlinear AC comparisons, matched model ablations, capability sweeps, component-consistency checks, and seven additional dynamic records. These results quantify the allocation tradeoffs and the conditions for satisfactory restoration in the studied mixed-generation system. Measured computation time is reported separately from the simulation schedule; the present evidence concerns an offline simulation implementation.
Author Contributions
Conceptualization and methodology, Y.W.; formal analysis and mathematical derivation, L.Y.; engineering investigation and resources, N.S., G.Z. and Y.F.; numerical simulations and writing—original draft preparation, Y.W., N.S., G.Z. and Y.F.; supervision and writing—review and editing, Y.Y. All authors have read and agreed to the published version of the manuscript.
Funding
This work was supported by State Grid Jilin Electric Power Company Limited under the project “Research on the key technology of evaluation and improvement of new energy carrying capacity of power grid with dynamic stability constraints” (2025ZX-07).
Data Availability Statement
The numerical results reported in this study are presented in the article. The underlying simulation records and analysis scripts are retained by the authors and have not been deposited in a public repository. Further inquiries regarding these materials may be directed to the corresponding author.
Conflicts of Interest
The authors declare no conflicts of interest. Yao Wang, Ning Sun, Guanqun Zhuang, and Yu Feng are affiliated with State Grid Jilin Electric Power Company Limited, which funded this study; their research contributions are specified in the Author Contributions statement. The funder had no role in the study design, collection, analysis, interpretation of data, the writing of this article or the decision to submit it for publication.
Abbreviations
| GFM | Grid-forming inverter |
| GFL | Grid-following inverter |
| SG | Synchronous generator |
| IBR | Inverter-based resource |
| OFVC | Optimal frequency–voltage control |
| SOCP | Second-order-cone program |
| KKT | Karush–Kuhn–Tucker |
| IAE | Integrated absolute error |
| PLL | Phase-locked loop |
Appendix A. Joint Capability Projection
Consider with . Let the unprojected point be and . Rotation symmetry implies that a nonzero projected a is parallel to . If , the point is already feasible. If , the projection is the apex , since its inner product with every feasible point is nonpositive.
Otherwise the optimum lies on the cone boundary. Let and impose . The projection reduces to
Differentiating gives , hence
The non-apex case has , so the ratio is defined. Translating by and setting gives the converter cone projection in the numerical coordinates.
For the box intersection, let be the current local point and the Dykstra corrections. The exact alternating-correction iteration is
The limit of this inner iteration supplies the exact local projection used in Theorem 1. The finite capped implementation is evaluated through the independent allocation-accuracy check in Section 3.7.
Appendix B. Fixed-Point Optimality and Convergence
Define and
The split allocation problem is . Its saddle conditions, with , are
At a fixed point of the primal–dual iteration in Section 2, projection optimality gives the first inclusion. The equality-dual fixed point enforces , and proximal optimality gives the disk part of the second inclusion. Conversely, (A5) satisfies every fixed-point equation. The augmentation in the smooth objective is zero at equality feasibility; therefore, these fixed points are KKT points of the original SOCP.
For completeness, the metric proof makes the step-size restriction explicit. Write and introduce
The off-diagonal coupling in is skew, so is maximally monotone. Set . Under , and the Schur complement makes positive definite. Rearranging the primal–dual iteration in Section 2 yields
For example, its first row gives the primal projection using , while its second gives the dual proximal step at , which explains the extrapolation.
Let . Since f is convex quadratic with Hessian norm ,
The top-left block of is , so
Consequently is -cocoercive in the metric, with . The resolvent of is firmly nonexpansive in the same metric. Their forward–backward composition is averaged with parameter . For every solution it follows that
The sequence is bounded, its increments vanish, and every cluster point is a fixed point of the continuous averaged map. In finite dimensions, Fejer monotonicity with respect to that cluster point gives convergence of the entire sequence. Fixed-point/KKT equivalence then proves the frozen-problem convergence theorem in Section 2. This specialized derivation follows the splitting framework in [20,21]; it requires fixed data and exact proximal evaluations, as stated.
Appendix C. What the Command Projection Guarantees
At measured voltage , minimizing over gives either the unchanged request or its radial boundary point, which is the radial command projection. Thus the protected apparent-power command is feasible at that measured voltage. To infer actual current feasibility one would additionally need a bound on tracking and measurement errors. For example, if an actual power vector obeyed and the same voltage were applicable, then
This bound is conditional on the specified tracking-error bound . For the simulated plant, the reported current assessment uses currents recorded every s, thereby evaluating the realized dynamic response directly.
References
- Unruh, P.; Nuschke, M.; Strauß, P.; Welck, F. Overview on Grid-Forming Inverter Control Methods. Energies 2020, 13, 2589. [Google Scholar] [CrossRef] [Scilit]
- Rosso, R.; Wang, X.; Liserre, M.; Lu, X.; Engelken, S. Grid-Forming Converters: Control Approaches, Grid-Synchronization, and Future Trends—A Review. IEEE Open J. Ind. Appl. 2021, 2, 93–109. [Google Scholar] [CrossRef] [Scilit]
- Simpson-Porco, J.W.; Dörfler, F.; Bullo, F. Synchronization and power sharing for droop-controlled inverters in islanded microgrids. Automatica 2013, 49, 2603–2611. [Google Scholar] [CrossRef] [Scilit]
- Zhong, Q.C.; Weiss, G. Synchronverters: Inverters That Mimic Synchronous Generators. IEEE Trans. Ind. Electron. 2011, 58, 1259–1267. [Google Scholar] [CrossRef] [Scilit]
- Guerrero, J.M.; Vasquez, J.C.; Matas, J.; de Vicuna, L.G.; Castilla, M. Hierarchical Control of Droop-Controlled AC and DC Microgrids—A General Approach Toward Standardization. IEEE Trans. Ind. Electron. 2011, 58, 158–172. [Google Scholar] [CrossRef] [Scilit]
- Simpson-Porco, J.W.; Shafiee, Q.; Dörfler, F.; Vasquez, J.C.; Guerrero, J.M.; Bullo, F. Secondary Frequency and Voltage Control of Islanded Microgrids via Distributed Averaging. IEEE Trans. Ind. Electron. 2015, 62, 7025–7038. [Google Scholar] [CrossRef] [Scilit]
- Rodriguez-Martinez, O.F.; Andrade, F.; Vega-Penagos, C.A.; Luna, A.C. A Review of Distributed Secondary Control Architectures in Islanded-Inverter-Based Microgrids. Energies 2023, 16, 878. [Google Scholar] [CrossRef] [Scilit]
- Li, N.; Zhao, C.; Chen, L. Connecting Automatic Generation Control and Economic Dispatch From an Optimization View. IEEE Trans. Control Netw. Syst. 2016, 3, 254–264. [Google Scholar] [CrossRef] [Scilit]
- Dörfler, F.; Simpson-Porco, J.W.; Bullo, F. Breaking the Hierarchy: Distributed Control and Economic Optimality in Microgrids. IEEE Trans. Control Netw. Syst. 2016, 3, 241–253. [Google Scholar] [CrossRef] [Scilit]
- Wang, X.; Chen, X. Distributed Coordination of Grid-Forming and Grid-Following Inverters for Optimal Frequency Control in Power Systems. IEEE Trans. Power Syst. 2026, 41, 3831–3846. [Google Scholar] [CrossRef] [Scilit]
- Wang, X.; Chen, X. IEEE 39-Bus Power System with 100% Inverter-Based Resources. Source Model Repository. 2025. Available online: https://github.com/Xiaoyang-Wang-TAMU/IEEE39BusSystemwithIBR (accessed on 3 October 2026).
- Simpson-Porco, J.W.; Dörfler, F.; Bullo, F. Voltage Stabilization in Microgrids via Quadratic Droop Control. IEEE Trans. Autom. Control 2017, 62, 1239–1253. [Google Scholar] [CrossRef] [Scilit]
- Dall’Anese, E.; Dhople, S.V.; Giannakis, G.B. Optimal Dispatch of Photovoltaic Inverters in Residential Distribution Systems. IEEE Trans. Sustain. Energy 2014, 5, 487–497. [Google Scholar] [CrossRef] [Scilit]
- Dall’Anese, E.; Dhople, S.V.; Giannakis, G.B. Photovoltaic Inverter Controllers Seeking AC Optimal Power Flow Solutions. IEEE Trans. Power Syst. 2016, 31, 2809–2823. [Google Scholar] [CrossRef] [Scilit]
- Zubiaga, M.; Sanchez-Ruiz, A.; Olea, E.; Unamuno, E.; Bilbao, A.; Arza, J. Power Capability Boundaries for an Inverter Providing Multiple Grid Support Services. Energies 2020, 13, 4314. [Google Scholar] [CrossRef] [Scilit]
- Liu, B.; Song, Z.; Yu, B.; Yang, G.; Liu, J. A Feedforward Control-Based Power Decoupling Strategy for Grid-Forming Grid-Connected Inverters. Energies 2024, 17, 424. [Google Scholar] [CrossRef] [Scilit]
- Bolognani, S.; Zampieri, S. On the Existence and Linear Approximation of the Power Flow Solution in Power Distribution Networks. IEEE Trans. Power Syst. 2016, 31, 163–172. [Google Scholar] [CrossRef] [Scilit]
- Fan, B.; Liu, T.; Zhao, F.; Wu, H.; Wang, X. A Review of Current-Limiting Control of Grid-Forming Inverters Under Symmetrical Disturbances. IEEE Open J. Power Electron. 2022, 3, 955–969. [Google Scholar] [CrossRef] [Scilit]
- Schiffer, J.; Ortega, R.; Astolfi, A.; Raisch, J.; Sezi, T. Conditions for stability of droop-controlled inverter-based microgrids. Automatica 2014, 50, 2457–2469. [Google Scholar] [CrossRef] [Scilit]
- Condat, L. A Primal–Dual Splitting Method for Convex Optimization Involving Lipschitzian, Proximable and Linear Composite Terms. J. Optim. Theory Appl. 2013, 158, 460–479. [Google Scholar] [CrossRef] [Scilit]
- Vu, B.C. A splitting algorithm for dual monotone inclusions involving cocoercive operators. Adv. Comput. Math. 2013, 38, 667–681. [Google Scholar] [CrossRef] [Scilit]
- Zimmerman, R.D.; Murillo-Sanchez, 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]
- Rahman, S.; Li, S.; Das, H.S.; Fu, X.; Won, H.; Hong, Y.K. Exploring Dynamic P-Q Capability and Abnormal Operations Associated with PMSG Wind Turbines. Energies 2023, 16, 4116. [Google Scholar] [CrossRef] [Scilit]
- The MathWorks, Inc. Simscape Electrical: Specialized Power Systems, Release R2022b; The MathWorks, Inc.: Natick, MA, USA, 2022. [Google Scholar]
- Boyd, S.; Vandenberghe, L. Convex Optimization; Cambridge University Press: Cambridge, UK, 2004. [Google Scholar]
- Chambolle, A.; Pock, T. A First-Order Primal-Dual Algorithm for Convex Problems with Applications to Imaging. J. Math. Imaging Vis. 2011, 40, 120–145. [Google Scholar] [CrossRef] [Scilit]
- Dykstra, R.L. An Algorithm for Restricted Least Squares Regression. J. Am. Stat. Assoc. 1983, 78, 837–842. [Google Scholar] [CrossRef]
- Hussain, A.; Shireen, W. Grid-Following Mode Operation of Small-Scale Distributed Battery Energy Storages for Fast Frequency Regulation in a Mixed-Source Microgrid. Energies 2021, 14, 7710. [Google Scholar] [CrossRef] [Scilit]
- Dong, J.; Gong, C.; Bao, J.; Zhu, L.; Hou, Y.; Wang, Z. Secondary-Frequency and Voltage-Regulation Control of Multi-Parallel Inverter Microgrid System. Energies 2022, 15, 8533. [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.
















