Preprint
Article

This version is not peer-reviewed.

Forecast-Guided KAN-Adaptive FS-MPC for Resilient Power Conversion in Grid-Forming BESS Inverters

A peer-reviewed version of this preprint was published in:
Electronics 2026, 15(7), 1513. https://doi.org/10.3390/electronics15071513

Submitted:

25 March 2026

Posted:

26 March 2026

You are already at the latest version

Abstract
Grid-forming (GFM) battery energy storage system (BESS) inverters are becoming a cornerstone of resilient microgrids, where severe voltage sags and abrupt operating shifts can challenge both voltage regulation and controller stability. Finite-set model predictive control (FS-MPC) offers fast transient response and multi-objective coordination, yet conventional designs rely on static cost-function weights that are typically tuned offline and may become suboptimal under disturbance-driven regime changes. This paper proposes a forecast-guided KAN-adaptive FS-MPC framework that (i) formulates the inner-loop predictive control in the stationary αβ frame, thereby avoiding PLL dependency and mitigating loss-of-lock risk under extreme sags, and (ii) introduces an Operating Stress Index (OSI) that fuses load forecasts with reserve-margin or percent-operating-reserve signals to quantify grid vulnerability and trigger resilience-oriented control adaptation. A lightweight Kolmogorov-Arnold Network (KAN), parameterized by learnable B-spline edge functions, is embedded as an online weight governor to update key FS-MPC weighting factors in real time, dynamically balancing voltage tracking and switching effort. Experimental validation under high-frequency microgrid scenarios shows that, under a 50% symmetrical voltage sag, the proposed controller reduces the worst-case voltage deviation from 0.45 p.u. to 0.16 p.u. (64.4%) and shortens the recovery time from 35 ms to 8 ms (77.1%) compared with static-weight FS-MPC. In the islanding-like transition case, the proposed method restores the PCC voltage within 18 ms, whereas the static baseline fails to recover within 100 ms. Moreover, the deployed KAN governor requires only 6.2 μs per inference on a 200 MHz DSP, supporting real-time embedded implementation. These results demonstrate that forecast-guided adaptive weighting improves transient resilience and power quality while maintaining DSP-feasible computational complexity.
Keywords: 
;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  

1. Introduction

Modern power systems are increasingly dominated by inverter-interfaced renewable generation and are exposed to more frequent extreme operating conditions. In microgrids, grid-forming (GFM) battery energy storage system (BESS) inverters are not merely power interfaces; they are active voltage-establishing assets that determine whether voltage and frequency can be sustained and restored during severe disturbances such as deep voltage sags, abrupt load steps, and islanding-like transitions [1,2,3]. Under these stressed conditions, the control layer must simultaneously achieve fast voltage support, bounded current response, and practical switching effort, which makes resilient inner-loop control a central problem for converter-dominated power systems.
Finite-set model predictive control (FS-MPC) is attractive for power converters because it directly evaluates admissible switching states and can coordinate multiple objectives with fast transient response [4,5]. However, the practical effectiveness of FS-MPC depends critically on the weighting factors in the stage cost. In conventional implementations, these weights are tuned offline and then fixed, often by trial-and-error or scenario-specific heuristics [6,7]. Such static tuning is inherently brittle under disturbance-driven regime changes, because the optimal trade-off between voltage regulation and switching stress varies significantly across nominal operation, deep faults, and post-disturbance recovery. Prior learning-assisted approaches, including neural-network-based weight selection and reinforcement-learning-based adaptation, have shown promise [8,9], but their black-box nature raises deployment concerns for safety-critical grid infrastructure.
To address robustness under extreme disturbances, this work adopts a PLL-free predictive-control formulation in the stationary αβ frame. This choice is not merely a coordinate transformation convenience. During asymmetrical faults and distorted voltage conditions, synchronous dq-frame control depends on a phase-locked loop (PLL) whose angle estimate can be corrupted by negative-sequence components, producing double-frequency oscillations and potentially loss-of-lock. By contrast, the stationary αβ frame remains directly tied to the physical inverter voltage vectors, allowing FS-MPC to evaluate candidate switching states without relying on phase tracking. This makes the control law structurally better suited to severe-sag operation and weak-grid transients.
In parallel, this paper introduces a dual-timescale resilience architecture that couples slow supervisory awareness with fast converter control. Specifically, a forecasting-based layer computes an Operating Stress Index (OSI) from forecasted load and reserve-margin or percent-operating-reserve signals, thereby translating system-level vulnerability into supervisory context for converter control [2,3,10]. Unlike direct forecast-driven actuation, the OSI layer does not issue switching commands; instead, it conditions the allowable range and prior of FS-MPC weighting factors. Because the forecast update interval is orders of magnitude slower than the converter sampling period, the OSI signal can be treated as a quasi-static supervisory parameter within the fast predictive loop, which provides a principled basis for the proposed multi-timescale interface.
To realize online adaptation with improved interpretability and embedded feasibility, we employ a lightweight Kolmogorov-Arnold Network (KAN) as a weight governor. KAN replaces conventional node-wise fixed activations with learnable edge-wise spline functions, yielding a parameter-efficient nonlinear mapping that is structurally more auditable than a standard multilayer perceptron (MLP) [11]. Recent power-system research has further shown that physics-informed KAN architectures can model system dynamics more accurately than MLP-based PINNs while using fewer parameters, supporting the broader suitability of KANs for power-domain nonlinear learning [12]. Recent work has begun to explore KAN for adaptive control of power converters [13], while resilience-oriented ARIMA–KAN forecasting has been used to improve vulnerability-aware demand prediction [10]. Building on these emerging directions, the present work integrates forecast-guided resilience supervision, KAN-based adaptive weighting, and PLL-free αβ-frame FS-MPC into a unified framework for resilient GFM BESS voltage control.
Contributions:
  • Forecast-guided resilience supervision: an Operating Stress Index (OSI) is defined from load forecasts and reserve-margin or percent-operating-reserve signals to quantify vulnerability and trigger resilience-oriented supervisory modes.
  • KAN-adaptive FS-MPC: a lightweight spline-based KAN governor updates FS-MPC weighting factors online using fast electrical features and optional OSI conditioning, enabling disturbance-aware adaptation with bounded outputs.
  • PLL-free αβ implementation for severe faults: the predictive controller is formulated in the stationary α β frame to preserve a well-defined control representation under deep sags and distorted conditions without PLL dependency.
  • Resilience-aware converter evaluation: event-window metrics such as worst-case deviation, recovery time, and degradation area are adapted to converter voltage regulation and validated through high-frequency disturbance scenarios and HIL-oriented timing analysis.

3. System Model and Control Problem Formulation

3.1. Converter Topology and PLL-Free Stationary Alpha-Beta Modeling

We consider a two-level three-phase GFM BESS inverter interfaced to a microgrid through an LC filter. Unlike synchronous dq-frame control that requires a phase-locked loop (PLL) for angle tracking, we formulate the predictive control in the stationary alpha-beta frame. This PLL-free formulation is physically aligned with finite voltage vector actuation and remains well-defined even when the grid voltage experiences deep sags or severe distortion, thereby mitigating loss-of-lock risk under extreme conditions. As illustrated in Figure 2, the controller directly uses the measured stationary-frame electrical variables v c , α β , i L , α β , and i o , α β for prediction and switching-state evaluation without relying on PLL-based angle estimation.
The principal converter and control parameters used throughout the predictive model and real-time evaluation are summarized in Table 1. Let v i n v ,αβ denote the inverter output voltage vector determined by the switching state, v c ,αβ the filter-capacitor (PCC) voltage vector, i L ,αβ the inductor current vector, and i O ,αβ the output/load current vector. The continuous-time LC-filter dynamics can be expressed in a standard state-space form. For digital implementation, we discretize the model with a forward Euler approximation of sampling time T S .
Continuous-time state-space model (alpha-beta):
x ˙ t = A   x t + B   u t + E   d t
x ( t ) = [ i L , α β ( t ) ; v c , α β ( t ) ]
u ( t ) = v i n v , α β ( t )
Discrete-time one-step prediction (forward Euler):
x [ k + 1 ] = x [ k ] + T s ( A   x [ k ] + B   u [ k ] + E   d [ k ] )

3.2. Finite Control Set and Candidate Voltage Vectors

FS-MPC enumerates all admissible switching states at each sampling instant. For a two-level inverter, the finite set contains eight distinct voltage vectors, including two zero vectors. The finite switching states and their corresponding stationary αβ voltage vectors are summarized in Table 2. For each candidate, the controller predicts the next-step states and selects the switching action that minimizes the cost function.

3.3. Conventional FS-MPC Stage Cost and the Static-Weight Limitation

In grid-forming operation, the controller prioritizes PCC voltage regulation while controlling switching effort to reduce losses and thermal stress. A typical static-weight stage cost is:
J ( u ) = λ v | | v α β * [ k + 1 ] v c , α β ( u ) [ k + 1 ] | | 2 2 + λ s w Δ s ( u ) [ k ]
In conventional practice, λ v and λ s w are tuned by trial-and-error and then fixed. Under deep sags and abrupt regime shifts, the optimal trade-off between voltage support and switching stress changes rapidly, making static weights brittle and motivating online adaptive weight governance. [6,7].

4. Forecast-Guided Resilience Supervisory Layer (Operating Stress Index)

4.1. Motivation: Tail-Risk Awareness for Resilience Operation

Short-term load forecasting is a core input to operating-reserve scheduling and dispatch planning. For resilience, average forecast accuracy is insufficient because rare extreme events can dominate operational risk. Therefore, we use forecasting outputs to derive a supervisory vulnerability signal that conditions converter control posture during stressed regimes.

4.2. Dual-Stream Seasonal ARIMA–KAN Forecasting as the Supervisory Input

We reuse the dual-stream seasonal ARIMA–KAN framework that decomposes demand into an interpretable seasonal memory component (ARIMA) and a nonlinear residual correction component (KAN) [10]. The supervisory layer consumes the forecasted load and reserve-related signals rather than directly controlling the converter at the fast timescale.

4.3. Operating Stress Index (OSI): Combining Load Forecast and Reserve Margin

We define an Operating Stress Index (OSI) to quantify grid vulnerability and trigger resilience-oriented control adaptation. OSI fuses (i) the forecasted load level and (ii) the forecasted reserve margin (or percent operating reserve, PR), thereby capturing both demand pressure and dispatchable headroom. Higher OSI indicates a more vulnerable operating condition.
Normalized stress components:
S L ( t + h ) = σ ( ( Y ^ t + h μ Y ) / σ Y )
S R ( t + h ) = σ ( ( P R t + h μ P R ) / σ P R )
OSI definition:
O S I t + h = clip w L   S L t + h + w R 1 S R t + h , 0,1
where w L + w R = 1 .
Mode ( t ) = Normal   if   O S I τ 1 ; Resilience   if   τ 1 < O S I τ 2 ; Emergency   if   O S I > τ 2
Figure 3 visualizes how forecast-derived stress indicators are fused into the OSI and subsequently mapped into supervisory operating modes for converter-level adaptive control. The parameter settings and mode-triggering policy associated with the OSI are listed in Table 3.

4.4. Multi-Timescale Interface to Converter Control

OSI and the corresponding mode hint are updated on a slow timescale (minutes to hours), while FS-MPC executes on a fast timescale (milliseconds or microseconds). Such time-scale separation is consistent with established multi-loop converter control practice [21,22,23]. The interface does not override switching decisions; instead, it conditions the allowable range and prior of the FS-MPC weighting factors, and can optionally adjust protection margins (e.g., current limits) under emergency mode.

5. Proposed Method: Forecast-Guided KAN-Adaptive FS-MPC

5.1. Overview

The proposed controller retains the deterministic structure of FS-MPC and introduces only a lightweight nonlinear mapping from measured and forecast features to cost-function weights. At each control step, the KAN generates dynamic weights that balance voltage tracking and switching effort. The OSI provides supervisory context to modulate this mapping under forecasted vulnerable regimes. The real-time decision flow of the proposed controller is illustrated in Figure 4.

5.2. Feature Design for Online Weight Governance

We form a compact feature vector that captures fast electrical dynamics and disturbance severity, and optionally includes OSI as slow-timescale context. Recommended features include voltage error magnitude and slope, load current variation, and voltage sag depth indicator.
φ [ k ] = [ O S I ( t ) , | | e v [ k ] | | , | | Δ e v [ k ] | | , | | Δ i o [ k ] | | , D s a g [ k ] ]
The feature definitions used in the online governor are summarized in Table 4 and follow the notation in (7)–(8).

5.3. KAN Weight Governor and Bounded Adaptive Weights

A Kolmogorov–Arnold Network (KAN) is used as a lightweight nonlinear governor that maps the feature vector to the FS-MPC weighting factors. Let the compact input feature vector at control step k be:
x [ k ] = [ O S I ( t ) ,    e v [ k ] ,    Δ e v [ k ] ,    Δ i o [ k ] ,    D s a g [ k ] ]
where O S I ( t ) is the slow-timescale Operating Stress Index, e v [ k ] is the PCC voltage-tracking error magnitude, Δ e v [ k ] is the error slope, Δ i o [ k ] is the output-current variation, and D s a g [ k ] is the sag-depth indicator. In the proposed multi-timescale architecture, O S I ( t ) is updated much more slowly than the converter control loop and is therefore treated as a quasi-static supervisory parameter within each fast FS-MPC interval.
Unlike a standard multilayer perceptron that relies on fixed node activations, KAN parameterizes nonlinear transformations through learnable univariate functions on edges. A generic KAN layer can be written as:
z q ( l + 1 ) = p = 1 n l ϕ q , p ( l ) ( z p ( l ) ) ,     q = 1 , , n l + 1
where z p ( l ) is the p -th input of layer l , and ϕ q , p ( l ) ( ) is a learnable scalar nonlinear function associated with edge ( p q ) . Following the standard KAN construction, each edge function is represented by a spline expansion:
ϕ q , p ( l ) ( x ) = a q , p ( l ) x + b q , p ( l ) + m = 1 M c q , p , m ( l ) B m ( x )
where B m ( x ) denotes the mmm-th B-spline basis function, and a q , p ( l ) , a q , p ( l ) , and a q , p ( l ) are learned parameters. This edge-wise spline parameterization is attractive for converter control because localized threshold-like nonlinearities can be represented directly by a small number of basis functions, while the learned mapping remains visually inspectable through the spline curves.
The KAN outputs a raw weight vector:
λ ~ [ k ] = [ λ ~ v [ k ] λ ~ s w [ k ] ] = f K A N ( x [ k ] )
which is then processed through explicit safety constraints before being passed to the predictive controller. First, each component is clipped to a certified interval:
λ ¯ i [ k ] = c l i p ( λ ~ i [ k ] , λ i , m i n ,   λ i , m a x ) ,     i { v , s w }
Second, a rate limiter is applied to avoid abrupt inter-sample changes:
λ i [ k ] = λ i [ k 1 ] + s a t [ δ λ i , δ λ i ] ( λ ¯ i [ k ] λ i [ k 1 ] )
which guarantees
λ i [ k ] λ i [ k 1 ] δ λ i
Equations (12)–(14) define the bounded adaptive-weight mechanism used throughout this paper. These constraints serve two purposes. First, they enforce engineering safety by preventing the adaptive governor from generating numerically extreme or rapidly oscillating weights. Second, they expose explicit and auditable control boundaries: before deployment, the learned spline maps and the resulting admissible weight set can be scanned offline to verify that all reachable λ [ k ] remain within a designer-certified region. In this sense, the proposed KAN governor follows a safety-by-design philosophy rather than unconstrained black-box adaptation.
From an implementation perspective, the deployed KAN remains lightweight, with approximately 240 parameters in the embedded realization reported in Section 8.4. This compact size is consistent with the objective of preserving microsecond-level feasibility on DSP-class hardware while still providing a richer nonlinear mapping than rule-based scheduling or static tuning.

5.4. Discrete-Time Stability Interpretation of the Adaptive-Weight FS-MPC

Because the proposed controller employs time-varying cost-function weights, a stability-oriented interpretation is required to show that online adaptation does not destroy the closed-loop convergence behavior of the underlying FS-MPC. Here we provide a practical discrete-time boundedness argument under explicit design assumptions. The result should be interpreted as a local / residual-set guarantee under bounded adaptation, rather than as a universal global asymptotic stability proof for all operating conditions.
Let the PCC voltage-tracking error in the stationary frame be:
e v [ k ] = v α β * [ k ] v c , α β [ k ]
and define the Lyapunov candidate
V [ k ] = e v [ k ] e v [ k ] = e v [ k ] 2 2
At each control step, the adaptive FS-MPC selects the switching action u * [ k ] U that minimizes the stage cost
J ( u ; k ) = λ v [ k ] e v + ( u ; k ) 2 2 + λ s w [ k ] J s w ( u ; k )
where e v + ( u ; k ) is the one-step-ahead predicted voltage error under candidate switch u , and J s w ( u ; k ) 0 denotes the switching-effort penalty.
We make the following standard design assumptions.
Assumption 1. The discretized plant model used by FS-MPC is locally accurate over one sampling interval, and the plant states remain inside the admissible operating region enforced by current and voltage protection.
Assumption 2. For the nominal static-weight controller, there exists at least one admissible switching action such that, in a neighborhood of the regulation manifold,
V [ k + 1 ] V [ k ] α e v [ k ] 2 2 + η
for some α > 0 and bounded modeling residual η 0 .
Assumption 3. The adaptive weights satisfy
λ i , m i n λ i k λ i , m a x ,     λ i k λ i k 1 δ λ i , i { v , s w }
as enforced by (12)–(14).
Under Assumption 3, the adaptive stage cost remains uniformly equivalent to the nominal voltage-error objective, because λ v [ k ] is strictly positive and bounded away from zero. Therefore, the action selected by minimizing (17) cannot arbitrarily neglect voltage regulation. In particular, there exist constants c 1 , c 2 > 0 such that:
c 1 e v + ( u ; k ) 2 2 J ( u ; k ) c 2 ( e v + ( u ; k ) 2 2 + J s w ( u ; k ) )
for all admissible u U and all k .
The key effect of adaptation is that the optimizer is evaluated using λ [ k ] instead of λ [ k 1 ] . Because the weight update is rate-limited, the perturbation in the optimization landscape between two consecutive samples is bounded. Denoting this perturbation by Δ λ [ k ] , one can write
J ( u ; k ) J ( u ; k 1 ) L λ λ [ k ] λ [ k 1 ] L λ δ λ
where L λ is a local Lipschitz constant of the stage cost with respect to the weights, and δ λ = m a x i δ λ i .
Combining (18) and (21), the closed-loop Lyapunov difference under the adaptive controller satisfies
Δ V [ k ] = V [ k + 1 ] V [ k ] α e v [ k ] 2 2 + η + γ δ λ
for some constant γ > 0 that captures the sensitivity of the selected action to bounded cost perturbations. Hence, whenever
e v [ k ] 2 2 > η + γ δ λ α
we obtain Δ V [ k ] < 0 . This implies that the voltage-tracking error converges to the compact residual set
Ω = { e v : e v 2 2 η + γ δ λ α }
Equation (24) provides the desired engineering interpretation: the proposed KAN-driven adaptive weighting does not destabilize the underlying predictive controller as long as the weights remain bounded and sufficiently slow-varying. The residual-set radius expands with modeling mismatch η and adaptation aggressiveness δ λ , which directly justifies the use of safety clamps and rate limiting in the real-time implementation. In other words, adaptation improves disturbance responsiveness, but only within an explicitly certified envelope.
This result also admits an impedance-oriented interpretation. Increasing λ v [ k ] during severe sags biases the optimizer toward stronger voltage-restoring action, while increasing λ s w [ k ] suppresses excessive switching activity and smooths the converter response. Because both weights are bounded, the adaptive governor reshapes the effective closed-loop output behavior without allowing uncontrolled excursions in the implied impedance profile. Although a full passivity proof is outside the scope of this paper, the bounded adaptation law is consistent with maintaining a well-behaved dissipative control posture under stressed operating regimes.

5.5. Dynamic Stage Cost and Switching Selection

With adaptive weights, the per-candidate stage cost becomes:
J u ; k = λ v k v α β * k + 1 v ^ c , α β k + 1 u 2 2 + λ s w k J s w [ u ; k ]
where v ^ c , α β k + 1 u denotes the one-step-ahead predicted PCC voltage under candidate switching vector u. The selected switching action is then:
u * k = a r g min U J u ; k , U = 8   f o r   a   t w o l e v e l   V S L
The role of adaptation is therefore supervisory rather than structural: KAN does not replace the deterministic FS-MPC optimizer, but only reshapes the trade-off between voltage support and switching effort within certified bounds. This preserves the transparent finite-vector decision process of conventional FS-MPC while enabling regime-aware disturbance response.
Algorithm 1 OSI supervisory update (slow-timescale).
1: Input: load forecast Y ^ t + h and percent operating reserve forecast P R t + h
2: Normalize Y ^ t + h and P R t + h to obtain S L and S R
3: Compute O S I ( t + h ) = c l i p ( w L S L + w R ( 1 S R ) , 0 , 1 )
4: Determine the operating mode using thresholds τ 1 and τ 2
5: Set O S I ( t ) O S I ( t + h ) , output O S I ( t ) and M o d e ( t ) to the controller, and update every T f = 60 min
Algorithm 2. Forecast-guided KAN-adaptive FS-MPC (per control step k)
1: Input: measured v c , α β [ k ] , i L , α β [ k ] , i o , α β [ k ] , and supervisory signal O S I ( t )
2: Compute e v [ k ] , Δ e v [ k ] , Δ i o [ k ] , and D s a g [ k ]
3: Form ϕ [ k ] , perform KAN inference, and obtain λ v [ k ] and λ s w [ k ] with clamping/rate limiting
4: For each candidate switching state u U (8 candidates)
4.1: Predict x ( u ) [ k + 1 ]
4.2: Evaluate J ( u )
5: Apply u * = a r g m i n u J ( u ) and update the PWM/gating command

6. Experimental Setup

6.1. High-Frequency Microgrid Profile Synthesis

Converter-level validation requires microsecond-to-millisecond dynamics. Daily utility load data are too coarse to excite converter transients; therefore, high-frequency industrial microgrid profiles are synthesized to reflect (i) industrial load dominance and (ii) high PV penetration, while also incorporating explicit extreme events such as severe voltage sags and islanding-like transitions. The procedure used to generate this high-rate validation profile is summarized in Figure 5.

6.2. Disturbance Scenarios and Event Windows

We define event windows that include disturbance onset, degraded operation, and recovery. The main evaluation scenarios include severe symmetrical and asymmetrical sags, together with an islanding-like transition coupled with load/PV variation. Each scenario is parameterized to enable systematic stress testing under fault-dominant resilience events. The detailed scenario settings used in the main resilience evaluation are listed in Table 5, which summarizes the disturbance magnitudes, durations, and operating-condition combinations considered in this study.

6.3. Baselines and Implementation Details

We compare three controller variants: static-weight FS-MPC, MLP-adaptive FS-MPC, and the proposed forecast-guided KAN-adaptive FS-MPC. All methods share the same prediction model, constraints, and sampling time to ensure a fair comparison. The compared controller variants and their key design differences are summarized in Table 6, including the distinctions between fixed weighting, MLP-based adaptation, and the proposed OSI-guided KAN-based adaptive weighting.

6.4. Hardware-in-the-Loop (HIL) Setup and Timing Budget

We validate real-time feasibility using a HIL platform where the plant (inverter, filter, microgrid) runs on a real-time simulator and the controller runs on an embedded target. We report worst-case execution time per control step, including KAN inference and FS-MPC candidate evaluation, and verify that the total latency remains below the sampling period T s . The overall HIL platform configuration and the measured control-step timing breakdown are illustrated in Figure 6.

7. Evaluation Metrics

7.1. Power Conversion and Constraint Metrics

We evaluate resilient power-conversion performance along three complementary dimensions: (i) regulation and power quality at the PCC, (ii) protection and constraint compliance, and (iii) switching stress and real-time feasibility of the control step.
Voltage regulation is evaluated using the PCC voltage vector in the stationary frame, v c , α β * ( t ) , and its reference v α β * ( t ) . We report both peak and RMS errors. The instantaneous voltage-magnitude tracking error is defined as E v , p u ( t ) = | | v c , α β ( t ) v α β * ( t ) | | / V n o m (p.u.), where V n o m is the nominal PCC voltage magnitude.
Because GFM operation must sustain a coherent voltage waveform, we also report frequency deviation estimated directly from the measured stationary-frame voltage: θ ( t ) = u n w r a p ( a t a n 2 ( v β ( t ) , v α ( t ) ) ) and f i n s t ( t ) = ( 1 2 π ) d θ ( t ) d t . Frequency metrics are computed over the same event windows used for voltage resilience metrics, with a short smoothing filter to reduce ripple-induced differentiation noise.
Protection and constraint compliance are summarized by the inductor current peak I p k = m a x t | | i L , α β ( t ) | | and by the count (or duration) of current-limit violations where | | i L , α β ( t ) | | > I m a x , consistent with fault ride-through requirements under severe sags [3].
Switching stress is reported by the switching-transition count N s w within an event window and by the average switching-transition rate (transitions/s) over steady segments. N s w is computed from the Hamming distance between consecutive switching states, i.e., the number of phase-leg changes per control update.
Power quality is summarized by voltage THD computed over a post-recovery steady-state window. After excluding the transient portion, we apply an FFT to the PCC voltage magnitude (or phase voltage) over an integer number of fundamental cycles and compute T H D = h = 2 H V h 2 V 1 , where V 1 is the fundamental amplitude and V h are harmonic amplitudes up to order H (reported in Table 7).

7.2. Event-Window Resilience Metrics (Tail-Oriented)

To align converter evaluation with resilience-oriented practice, we define event windows that cover disturbance onset, degraded operation, and recovery, and we adopt tail-oriented metrics that explicitly capture severity and restoration speed [2,3,10,24]. For each scenario, the event window W = [ t 0 T p r e , t c l r + T p o s t ] includes a short pre-event baseline ( T p r e ) and a post-clearance recovery horizon ( T p o s t ), where t 0 is the disturbance onset time and t c l r is the clearance time (e.g., sag removal or regime restoration).
Let E v , p u ( t ) = | | v c , α β ( t ) v * α β ( t ) | | V n o m (p.u.) denote the voltage tracking error magnitude. We define a tolerance band ε (p.u.) and a hold time Δ to avoid declaring recovery on a single-cycle crossing. In this work, ε is chosen in the 2–5% range depending on OSI regime (Table 7), and Δ is set to 1–2 fundamental cycles unless otherwise stated.
Worst-case deviation:
E m a x = m a x t W E v , p u ( t )
Recovery time to tolerance band ε:
T r e c = m i n { t t c l r : E v , p u ( τ ) ϵ   for   all   τ } t c l r
Degradation area (exceedance integral):
A d e g = t W m a x ( 0 , E v , p u ( t ) ϵ ) d t
In implementation, the above metrics are computed from sampled data at the controller sampling period T s . Accordingly, E_max is the maximum of e v [ k ] over the window indices, T r e c is the earliest post-clearance time at which e v [ k ] stays within ε for N h o l d = Δ / T s consecutive samples, and A d e g is approximated by A d e g T s · k m a x ( 0 , e v [ k ] ε ) .

7.3. OSI-Conditioned Reporting

Because OSI quantifies forecasted vulnerability from load and reserve signals, we stratify performance by OSI regime (Normal/Resilience/Emergency) to demonstrate that forecast guidance provides the largest benefit under stressed operating states. Each disturbance event is assigned an OSI regime using O S I ( t 0 ) (or the average OSI over the pre-event baseline).
For each metric, we report (i) per-scenario values, (ii) OSI-regime aggregates, and (iii) overall aggregates across scenarios. When reporting improvements, we use relative change with respect to a baseline (e.g., static-weight FS-MPC): Δ % = ( M b a s e l i n e M p r o p o s e d ) / M b a s e l i n e × 100 % for metrics where smaller is better ( E m a x , T r e c , A d e g , THD, I p k ), while switching-effort changes ( N s w ) are reported alongside regulation improvements to highlight the trade-off.

8. Results and Discussion

8.1. Main Results Under Severe Voltage Sags

Figure 7 provides representative PCC voltage trajectories, while Table 8 reports quantitative performance across the defined severe-sag and regime-shift scenarios (S1–S3). Across all cases, the proposed forecast-guided KAN-adaptive FS-MPC achieves the lowest worst-case deviation and degradation area, and the fastest recovery, without increasing switching effort beyond practical limits.
Under the 50% symmetrical sag (S1), the proposed controller reduces the worst-case deviation Emax from 0.45 p.u. (B1) to 0.16 p.u. (B3), a 64.4% reduction, and shortens the recovery time T r e c from 35 ms to 8 ms (77.1% faster). The cumulative degradation area A_deg drops from 8.5 to 1.1 p.u.-ms (87.1% reduction). Compared with the MLP-adaptive governor (B2), B3 further lowers Emax (0.28→0.16 p.u.) and Trec (18→8 ms), while also improving THD (4.1%→2.9%) and reducing peak current (38.5→32.1 A).
For the extreme asymmetrical fault (S2), B3 decreases Emax from 0.62 p.u. to 0.25 p.u. (59.7% reduction) and reduces T r e c from 52 ms to 12 ms (76.9% faster) relative to static-weight FS-MPC. A d e g is reduced from 14.8 to 2.4 p.u.-ms (83.8% reduction), accompanied by a meaningful reduction in peak current (51.0→35.6 A) and lower THD (6.8%→3.4%).
In the islanding transition (S3), the static-weight controller fails to recover within 100 ms ( T r e c > 100 ms), whereas the proposed method restores the PCC voltage within 18 ms, representing at least an 82% reduction in recovery time. B3 also reduces E m a x from 0.85 p.u. to 0.30 p.u. (64.7% reduction) and A_deg from 25.0 to 4.2 p.u.-ms (83.2% reduction), while cutting peak current from 55.3 A to 38.5 A. Notably, these resilience gains are achieved with slightly reduced switching effort (12.5→11.0 kHz), indicating that adaptation improves control effectiveness rather than simply increasing aggressiveness.

8.2. Ablation: OSI Guidance and KAN vs MLP

Table 9 reports an ablation study under Scenario S3 (Islanding Transition), which is the most severe regime-shift case in Table 8, to isolate the effects of OSI guidance and governor type. Adding OSI guidance to KAN-based adaptation (B3a→B3b) reduces E m a x from 0.42 to 0.30 p.u. (28.6% reduction) and shortens T r e c from 28 ms to 18 ms (35.7% faster), while halving A d e g from 8.5 to 4.2 p.u.-ms. Under the same Scenario S3 setting, replacing an MLP governor (B2) with the lightweight KAN governor (B3b) yields substantially better tail performance ( E m a x 0.55→0.30 p.u., T r e c 45→18 ms, A d e g 12.4→4.2 p.u.-ms) with comparable switching effort.

8.3. Interpretability: Learned KAN Splines

Figure 8 visualizes representative learned spline functions mapping key features to adaptive weights. Specifically, panels (a) and (b) show how the sag-depth feature D s a g and the Operating Stress Index (OSI) modulate the voltage-tracking weight λ v , whereas panel (c) shows how the voltage-error-slope feature Δ e v modulates the switching-effort weight λ s w . These curves provide an auditable view of how the controller shifts emphasis between voltage support and switching-effort moderation across regimes. To remain consistent with (14), the plotted output bounds should be interpreted as the certified intervals [ λ i , m i n , λ i , m a x ] , where i { v , s w } . The markers δ s a g and δ e denote representative feature-threshold locations at which the corresponding learned spline enters its steep transition region; they are introduced for interpretability in Figure 8 rather than as additional optimization variables.

8.4. Real-Time Feasibility

Table 10 reports embedded execution time on a TI TMS320F28379D (200 MHz). The deployed KAN governor uses approximately 240 parameters and requires 6.2 μs per inference, while the full FS-MPC evaluation loop, including prediction, cost evaluation, switching-state selection, and PWM update, requires 14.5 μs. The total worst-case control-step time is 20.7 μs, comfortably below the sampling period T s = 50.0 μs, leaving a 58.6% timing margin and supporting real-time DSP-oriented deployment.

8.5. Discussion Summary

Overall, the evidence supports a resilience-by-design interpretation. The stationary alpha-beta formulation preserves a well-defined control representation under deep faults, OSI introduces vulnerability-aware preparedness by coupling load forecasts with reserve adequacy, and the spline-based KAN governor provides a parameter-efficient and auditable adaptation surface. Across S1–S3, this combination consistently improves tail-oriented resilience metrics (worst-case deviation, recovery time, and degradation area) while also reducing peak current and maintaining practical switching effort.

9. Conclusions

This paper proposed a forecast-guided KAN-adaptive FS-MPC framework for resilient power conversion in PLL-free grid-forming BESS inverters. By formulating FS-MPC in the stationary alpha-beta frame and introducing an Operating Stress Index (OSI) derived from load forecasts and reserve adequacy, the approach couples slow-timescale vulnerability awareness with fast-timescale adaptive predictive control. Quantitatively, the proposed method reduces worst-case deviation by about 60–65% across severe sag and islanding scenarios, and shortens recovery time from 35 ms to 8 ms (S1) and from >100 ms to 18 ms (S3), while maintaining real-time feasibility with a 58.6% timing margin on a DSP platform.

Author Contributions

Conceptualization, S.-E. Tsai; Methodology, S.-E. Tsai; Software, S.-E. Tsai; Validation, S.-E. Tsai and W.-C. Sun; Formal analysis, S.-E. Tsai; Investigation, S.-E. Tsai; Data curation, S.-E. Tsai and W.-C. Sun; Writing—original draft, S.-E. Tsai; Writing—review & editing, S.-E. Tsai. All authors have read and agreed to the published version of the manuscript.

Funding

This research was financially supported by En-Shou Investment Co., Ltd., Taiwan, and Ching Lung Agricultural Technology Co., Ltd., Taiwan.

Data Availability Statement

The original contributions presented in this study are included in the article. Additional supporting data are available from the corresponding author upon reasonable request.

Acknowledgments

This work was supported by En-Shou Investment Co., Ltd. and Ching Lung Agricultural Technology Co., Ltd. The authors would also like to thank the AI Center, Chang Jung Christian University, for providing essential computational resources and technical support. The authors have reviewed and edited the output and take full responsibility for the content of this publication.

Conflicts of Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Abbreviations

The following abbreviations are used in this manuscript:
BESS Battery Energy Storage System
DSP Digital Signal Processor
FS-MPC Finite-Set Model Predictive Control
GFM Grid-Forming
HIL Hardware-in-the-Loop
KAN Kolmogorov–Arnold Network
MLP Multilayer Perceptron
OSI Operating Stress Index
PCC Point of Common Coupling
PLL Phase-Locked Loop
PWM Pulse-Width Modulation
THD Total Harmonic Distortion
VSI Voltage Source Inverter

References

  1. Bahrani, B.; Ravanji, M.H.; Kroposki, B.; Ramasubramanian, D.; Guillaud, X.; Prevost, T. Grid-Forming Inverter-Based Resource Research Landscape: Understanding the Key Assets for Renewable-Rich Power Systems. IEEE Power Energy Mag. 2024, 22(2), 18–29. [Google Scholar] [CrossRef]
  2. Bhusal, N.; Abdelmalak, M.; Kamruzzaman, M.; Benidris, M. Power System Resilience: Current Practices, Challenges, and Future Directions. IEEE Access. 2020, 8, 18064–18086. [Google Scholar] [CrossRef]
  3. Panteli, M.; Mancarella, P. Modeling and Evaluating the Resilience of Critical Electrical Power Infrastructure to Extreme Weather Events. IEEE Syst. J. 2017, 11(3), 1733–1742. [Google Scholar] [CrossRef]
  4. Rodriguez, J.; Pontt, J.; Silva, C.A.; Correa, P.; Lezana, P.; Cortés, P.; Ammann, U. Predictive Current Control of a Voltage Source Inverter. IEEE Trans. Ind Electron. 2007, 54(1), 495–503. [Google Scholar] [CrossRef]
  5. Vazquez, S.; et al. Model Predictive Control: A Review of Its Applications in Power Electronics. IEEE Ind Electron Mag. 2014, 8(1), 16–31. [Google Scholar] [CrossRef]
  6. Cortes, P.; et al. Guidelines for Weighting Factors Adjustment in Finite State Model Predictive Control of Power Converters and Drives. Proc. IEEE Int. Conf. Ind. Technol. (ICIT), Gippsland, Australia, 10–13 February 2009; pp. 1–7. [Google Scholar]
  7. Hu, L.; Lei, W.; Li, R.; Gao, Y. A Graphic Weighting Factor Design Method for Finite Control Set Model Predictive Control of Power Converters. IEEE J. Emerg Sel. Topics Power Electron. 2023, 11(2), 1661–1671. [Google Scholar] [CrossRef]
  8. Novak, M.; Dragicevic, T. Weighting Factor Design in Model Predictive Control of Power Electronic Converters: An Artificial Neural Network Approach. IEEE Trans. Ind. Electron. 2019, 66(11), 8870–8880. [Google Scholar]
  9. Alquennah, A.N.; Saleh, M.A.; Abu-Rub, H.; Ghrayeb, A.; Bayhan, S.; Trabelsi, M. Double Deep Q-Networks Reinforcement Learning Based Dynamic Weighting Factor in FCS-MPC for Multilevel Inverters. Proc. IEEE 18th Int. Conf. Compat., Power Electron. Power Eng. (CPE-POWERENG), 2024; pp. 1–7. [Google Scholar]
  10. Tsai, S.-E.; Sun, W.-C.; Aun, M.-H. Resilience-Oriented Daily Peak Load Forecasting on Utility Open Data Using a Dual-Stream Seasonal ARIMA and Kolmogorov–Arnold Network. IEEE Access. 2026, 14, 37606–37618. [Google Scholar] [CrossRef]
  11. Liu, Z.; Wang, Y.; Vaidya, S.; Ruehle, F.; Halverson, J.; Soljačić, M.; Hou, T.Y.; Tegmark, M. KAN: Kolmogorov-Arnold Networks. Proc. 13th Int. Conf. Learn. Represent. (ICLR), Singapore, 24–28 April 2025; pp. 24–28. [Google Scholar]
  12. Shuai, H.; Li, F. Physics-Informed Kolmogorov-Arnold Networks for Power System Dynamics. IEEE Open Access J. Power Energy. 2025, 12, 46–58. [Google Scholar] [CrossRef]
  13. Novak, M.; Li, Y.; Zhao, S.; Wang, H.; Blaabjerg, F. Adaptive Control Design for Power Electronics Converters Using Kolmogorov-Arnold Networks. Proc. IEEE Energy Convers Congr. Expo. (ECCE)., Philadelphia, PA, USA, 2025; pp. 1–6. [Google Scholar]
  14. Zhong, Q-C. Virtual Synchronous Machines: A Unified Interface for Grid Integration. IEEE Power Electron Mag. 2016, 3(4), 18–27. [Google Scholar] [CrossRef]
  15. Mahamedi, B.; Eskandari, M.; Fletcher, J.E.; Zhu, J. Sequence-Based Control Strategy With Current Limiting for the Fault Ride-Through of Inverter-Interfaced Distributed Generators. IEEE Trans. Sustain. Energy 2020, 11(1), 165–174. [Google Scholar] [CrossRef]
  16. Baeckeland, N.; Chatterjee, D.; Lu, M.; Johnson, B.; Seo, G.-S. Overcurrent limiting in grid-forming inverters: A comprehensive review and discussion. IEEE Trans. Power Electron. 2024, 39, 14493–14511. [Google Scholar] [CrossRef]
  17. Wu, W.; Qiu, L.; Liu, X.; Ma, J.; Rodriguez, J.; Fang, Y. Data-Enabled Finite State Predictive Control for Power Converters via Adaline Neural Network. IEEE Trans. Ind. Electron. 2025, 72(3), 2244–2253. [Google Scholar] [CrossRef]
  18. She, Y.; Huo, X.; Tong, X.; Wang, C.; Fu, K. Multi-Sampling Rate Finite Control Set Model Predictive Control and Adaptive Method of Single-Phase Inverter. Electronics 2023, 12(13), 2848. [Google Scholar] [CrossRef]
  19. Liu, X.; Qiu, L.; Fang, Y.; Wang, K.; Li, Y.; Rodríguez, J. Predictive control of voltage source inverter: An online reinforcement learning solution. IEEE Trans. Ind. Electron. 2024, 71(7), 6591–6600. [Google Scholar] [CrossRef]
  20. Xu, S.; Yao, C.; Ren, G.; Sun, Z.; Wu, S.; Ma, G. Weighting Factors Autotuning of FCS-MPC for Hybrid ANPC Inverter in PMSM Drives Based on Deep Residual Networks. IEEE Trans. Power Electron. 2024, 39(12), 16540–16552. [Google Scholar] [CrossRef]
  21. Rodriguez-Cortes, C.J.; Martinez-Rodriguez, P.R.; Langarica-Cordoba, D.; Rolan-Blanco, A.; Vazquez-Guzman, G.; Villanueva-Loredo, J.A.; Sosa, J.M. Design and Control of a Modular High-Gain DC–DC Converter with Extensible Switched-Inductor Cells. Electronics 2026, 15(4), 897. [Google Scholar] [CrossRef]
  22. Villanueva-Loredo, J.A.; Martinez-Rodriguez, P.R.; Rodriguez-Cortés, C.J.; Langarica-Cordoba, D.; Hernández-Gómez, Á.; Guilbert, D. Analysis and Control Design of a Step-Up/Step-Down Converter for Battery-Discharge Voltage Regulation. Electronics 2025, 14(5), 877. [Google Scholar] [CrossRef]
  23. Beltrán, C.A.; Cisneros, R.; Langarica-Córdoba, D.; Ortega, R.; Diaz-Saldierna, L. Harnessing monotonicity to design an adaptive PI passivity-based controller for a fuel-cell system. J. Process Control. 2025, 154, 103511. [Google Scholar] [CrossRef]
  24. Babu, K.V.S.M.; Dwivedi, D.; Chakraborty, P.; Yemula, P.K.; Pal, M. A comprehensive review on resilience definitions, frameworks, metrics, and enhancement strategies in electrical distribution systems. Appl. Energy 2025, 394, 126141. [Google Scholar] [CrossRef]
Figure 1. Overall architecture of the proposed forecast-guided KAN-adaptive FS-MPC framework. The forecasting layer produces an Operating Stress Index (OSI) from load and reserve-related information, the supervisory layer maps OSI into operating modes, and the fast control layer uses OSI together with electrical features to govern adaptive weights for PLL-free αβ-frame FS-MPC in the GFM BESS inverter.
Figure 1. Overall architecture of the proposed forecast-guided KAN-adaptive FS-MPC framework. The forecasting layer produces an Operating Stress Index (OSI) from load and reserve-related information, the supervisory layer maps OSI into operating modes, and the fast control layer uses OSI together with electrical features to govern adaptive weights for PLL-free αβ-frame FS-MPC in the GFM BESS inverter.
Preprints 205016 g001
Figure 2. Plant model and measured signals of the PLL-free grid-forming BESS inverter in the stationary αβ frame. A two-level voltage source inverter interfaces the microgrid bus through an LC output filter. The FS-MPC enumerates the finite switching set s a b c and uses the measured capacitor/PCC voltage v c , α β , inductor current i L , α β , and output/load current i o , α β for one-step prediction and cost evaluation.
Figure 2. Plant model and measured signals of the PLL-free grid-forming BESS inverter in the stationary αβ frame. A two-level voltage source inverter interfaces the microgrid bus through an LC output filter. The FS-MPC enumerates the finite switching set s a b c and uses the measured capacitor/PCC voltage v c , α β , inductor current i L , α β , and output/load current i o , α β for one-step prediction and cost evaluation.
Preprints 205016 g002
Figure 3. Operating Stress Index (OSI) computation and mode-triggering logic. The load forecast Y ^ and the percent operating reserve (PR), either observed or forecasted, are normalized to [ 0,1 ] and combined as O S I = c l i p ( w L Y ^ n o r m + w R ( 1 P R n o r m ) , 0,1 ) . The resulting OSI is then mapped into three operating modes using two thresholds: Normal ( O S I τ 1 ) , Resilience ( τ 1 < O S I τ 2 ) , and Emergency ( O S I > τ 2 ) .
Figure 3. Operating Stress Index (OSI) computation and mode-triggering logic. The load forecast Y ^ and the percent operating reserve (PR), either observed or forecasted, are normalized to [ 0,1 ] and combined as O S I = c l i p ( w L Y ^ n o r m + w R ( 1 P R n o r m ) , 0,1 ) . The resulting OSI is then mapped into three operating modes using two thresholds: Normal ( O S I τ 1 ) , Resilience ( τ 1 < O S I τ 2 ) , and Emergency ( O S I > τ 2 ) .
Preprints 205016 g003
Figure 4. Real-time decision flow of the proposed KAN-adaptive finite-control-set MPC (FCS-MPC). At each control step ( T s = 50 μ s ), measurements ( ( v c , α β , i L , α β , i o , α β ) ) are converted into compact features (e.g., e v , Δ e v , Δ i o and D s a g ), optionally augmented by the slow-timescale OSI. A lightweight KAN governor outputs dynamic weights λ v [ k ] and λ s w [ k ] , which are used to evaluate the cost J ( u ) = λ v [ k ] J v ( u ) + λ s w [ k ] J s w ( u ) over the eight admissible switching vectors u U . The optimal switching action is selected by u * [ k ] = a r g m i n u U J ( u ) .
Figure 4. Real-time decision flow of the proposed KAN-adaptive finite-control-set MPC (FCS-MPC). At each control step ( T s = 50 μ s ), measurements ( ( v c , α β , i L , α β , i o , α β ) ) are converted into compact features (e.g., e v , Δ e v , Δ i o and D s a g ), optionally augmented by the slow-timescale OSI. A lightweight KAN governor outputs dynamic weights λ v [ k ] and λ s w [ k ] , which are used to evaluate the cost J ( u ) = λ v [ k ] J v ( u ) + λ s w [ k ] J s w ( u ) over the eight admissible switching vectors u U . The optimal switching action is selected by u * [ k ] = a r g m i n u U J ( u ) .
Preprints 205016 g004
Figure 5. High-rate net-load profile synthesis for validating µs–ms converter control. Daily-resolution utility data is insufficient to excite fast converter dynamics; therefore, we synthesize a high-rate net-load profile by composing an industrial load template with PV-generation-induced net-load ramps and stochastic perturbations, followed by an event injector that imposes sag/islanding-like transients (depth/duration and weak-grid transitions). The final profile is sampled at 10–100 kHz (e.g., T s = 50 μ s , 20 kHz) for HIL execution, while OSI is used only as a slow-timescale supervisory tag or event-conditioning signal.
Figure 5. High-rate net-load profile synthesis for validating µs–ms converter control. Daily-resolution utility data is insufficient to excite fast converter dynamics; therefore, we synthesize a high-rate net-load profile by composing an industrial load template with PV-generation-induced net-load ramps and stochastic perturbations, followed by an event injector that imposes sag/islanding-like transients (depth/duration and weak-grid transitions). The final profile is sampled at 10–100 kHz (e.g., T s = 50 μ s , 20 kHz) for HIL execution, while OSI is used only as a slow-timescale supervisory tag or event-conditioning signal.
Preprints 205016 g005
Figure 6. Hardware-in-the-loop (HIL) validation platform and control-step timing summary. The real-time simulator emulates the inverter–filter–microgrid plant and exchanges analog measurements with the DSP controller through the I/O interface, while the controller returns PWM/gate commands to the simulator. The measured execution time on the target DSP consists of 6.2 μs for KAN inference and 14.5 μs for the FS-MPC evaluation loop, yielding a total worst-case control-step time of 20.7 μs. This remains below the sampling period T s = 50 μs and leaves a 58.6% timing margin.
Figure 6. Hardware-in-the-loop (HIL) validation platform and control-step timing summary. The real-time simulator emulates the inverter–filter–microgrid plant and exchanges analog measurements with the DSP controller through the I/O interface, while the controller returns PWM/gate commands to the simulator. The measured execution time on the target DSP consists of 6.2 μs for KAN inference and 14.5 μs for the FS-MPC evaluation loop, yielding a total worst-case control-step time of 20.7 μs. This remains below the sampling period T s = 50 μs and leaves a 58.6% timing margin.
Preprints 205016 g006
Figure 7. Severe voltage-sag transient response and resilience metrics. (a) PCC voltage V P C C (p.u.) under a representative severe sag for static-weight FS-MPC and the proposed forecast-guided KAN-adaptive FS-MPC. The tolerance band V * ± ϵ is highlighted to define the worst-case deviation E m a x and recovery time T r e c (time to re-enter and remain within the band for Δ ms after sag clearance). (b) Output current I o u t (p.u.) under the same event, illustrating current peaking behavior and settling during disturbance and recovery.
Figure 7. Severe voltage-sag transient response and resilience metrics. (a) PCC voltage V P C C (p.u.) under a representative severe sag for static-weight FS-MPC and the proposed forecast-guided KAN-adaptive FS-MPC. The tolerance band V * ± ϵ is highlighted to define the worst-case deviation E m a x and recovery time T r e c (time to re-enter and remain within the band for Δ ms after sag clearance). (b) Output current I o u t (p.u.) under the same event, illustrating current peaking behavior and settling during disturbance and recovery.
Preprints 205016 g007
Figure 8. Interpretable KAN edge-spline mappings for online weight governance. Representative learned spline functions show how (a) sag depth D s a g modulates the voltage-tracking weight λ v , (b) the Operating Stress Index (OSI) modulates λ v , and (c) the voltage-error-slope feature Δ e v modulates the switching-effort weight λ s w . The plotted output bounds follow the certified intervals [ λ i , m i n , λ i , m a x ] , i { v , s w } , consistent with (14). The markers δ s a g and δ e denote representative feature-threshold locations used to illustrate where the learned spline enters its high-gain transition region.
Figure 8. Interpretable KAN edge-spline mappings for online weight governance. Representative learned spline functions show how (a) sag depth D s a g modulates the voltage-tracking weight λ v , (b) the Operating Stress Index (OSI) modulates λ v , and (c) the voltage-error-slope feature Δ e v modulates the switching-effort weight λ s w . The plotted output bounds follow the certified intervals [ λ i , m i n , λ i , m a x ] , i { v , s w } , consistent with (14). The markers δ s a g and δ e denote representative feature-threshold locations used to illustrate where the learned spline enters its high-gain transition region.
Preprints 205016 g008
Table 1. System and control parameters.
Table 1. System and control parameters.
Parameter Symbol Value Unit
DC-link voltage V d c 750 V
Filter inductance L 2.5 mH
Filter capacitance C 20.0 μ F
Equivalent resistance R 0.1 Ω
Nominal PCC voltage (rms) V n o m 380 V
Rated power S r a t e d 10 kVA
Current limit I m a x 30 A
Sampling time T s 50 μ s
Table 2. Finite control set for a two-level inverter and corresponding stationary alpha-beta voltage vectors.
Table 2. Finite control set for a two-level inverter and corresponding stationary alpha-beta voltage vectors.
Index ( S a , S b , S c ) Vector type v i n v , α v i n v , β Notes
0 (0,0,0) zero 0 0 Freewheeling
1 (1,0,0) active 2 3 V d c 0 Active state
2 (1,1,0) active 1 3 V d c 3 3 V d c Active state
3 (0,1,0) active 1 3 V d c 3 3 V d c Active state
4 (0,1,1) active 2 3 V d c 0 Active state
5 (0,0,1) active 1 3 V d c 3 3 V d c Active state
6 (1,0,1) active 1 3 V d c 3 3 V d c Active state
7 (1,1,1) zero 0 0 Freewheeling
Table 3. OSI definition parameters and resilience-mode policy.
Table 3. OSI definition parameters and resilience-mode policy.
Item Symbol Definition Setting Update rate Notes
Load stress weight w L Weight for s L 0.60 per forecast (1h) Emphasizes demand spikes
Reserve stress weight w R Weight for s R 0.40 per forecast (1h) Reflects generation headroom
Normal/Resilience threshold τ 1 OSI threshold 0.60 per forecast (1h) Represents 60th percentile
Resilience/Emergency threshold τ 2 OSI threshold 0.85 per forecast (1h) Represents 85th percentile
Table 4. Online features used by the KAN weight governor and their physical interpretations.
Table 4. Online features used by the KAN weight governor and their physical interpretations.
Feature Symbol Definition (example) Update rate Physical meaning
Operating Stress Index OSI(t) From load forecast + reserve margin minutes–hours Forecasted vulnerability / regime context
Voltage error magnitude e v [ k ] | | v * α β v c , α β | | per T s Voltage regulation urgency
Voltage error slope Δ e v [ k ] | | e v [ k ] e v [ k 1 ] | | per T s Transient aggressiveness indicator
Load current variation Δ i o [ k ] | | i o [ k ] i o [ k 1 ] | | per T s Load shock / ramp severity
Sag depth D s a g [ k ] 1 V P C C , r m s / V n o m .
(or αβ equivalent)
per T s Fault severity cue
Table 5. Disturbance scenarios used in the main resilience evaluation.
Table 5. Disturbance scenarios used in the main resilience evaluation.
Scenario Event type Sag depth Duration Load step / ramp PV condition Notes
S1 Severe symmetrical sag 50% 10 cycles (166 ms) Nominal continuous Full MPPT Standard LVRT test
S2 Extreme asymmetrical fault 70% (Phase A) 5 cycles (83 ms) Nominal continuous Full MPPT High unbalance stress
S3 Islanding transition 100% (grid loss) Continuous Step 0.5 to 1.0 p.u. Drops 50% (cloud) Worst-case compound event
Table 6. Compared controllers and key design differences.
Table 6. Compared controllers and key design differences.
Method Weights Uses OSI Model type Interpretability Notes
B1 Static FS-MPC fixed λ v , λ s w No Deterministic High offline tuned
B2 MLP-adaptive learned Optional MLP black-box Low same features
B3 Proposed KAN KAN learned + OSI Yes KAN spline-on-edges Medium-High bounded, rate-limited
Table 7. Summary of evaluation metrics and measurement protocol.
Table 7. Summary of evaluation metrics and measurement protocol.
Metric Symbol Definition Unit Purpose
Worst-case deviation E m a x max E v , p u ( t ) over event window p.u. Tail severity
Recovery time T r e c time to re-enter tolerance band ms Restoration speed
Degradation area A d e g integral exceedance above tolerance band p.u.-ms Cumulative impact
Switching effort N s w average switching frequency kHz Efficiency/thermal stress
Peak current I p k max output/inductor current A Protection
Table 8. Main results across severe-sag and regime-shift scenarios.
Table 8. Main results across severe-sag and regime-shift scenarios.
Scenario Method Emax Trec Adeg THD Ipk Nsw Notes
S1 (50% Sag) B1: Static FS-MPC 0.45 35 8.5 5.2 45.2 12.5
S1 (50% Sag) B2: MLP-adaptive 0.28 18 3.2 4.1 38.5 11.2
S1 (50% Sag) B3: Proposed KAN 0.16 8 1.1 2.9 32.1 10.5 Best
S2 (70% Asym) B1: Static FS-MPC 0.62 52 14.8 6.8 51.0 12.5
S2 (70% Asym) B2: MLP-adaptive 0.41 25 6.5 5.0 42.4 11.8
S2 (70% Asym) B3: Proposed KAN 0.25 12 2.4 3.4 35.6 10.8 Best
S3 (Islanding) B1: Static FS-MPC 0.85 >100 25.0 8.5 55.3 12.5
S3 (Islanding) B2: MLP-adaptive 0.55 45 12.4 6.2 48.1 12.0
S3 (Islanding) B3: Proposed KAN 0.30 18 4.2 3.8 38.5 11.0 Best
Table 9. Ablation study: OSI guidance and governor type under Scenario S3 (Islanding Transition).
Table 9. Ablation study: OSI guidance and governor type under Scenario S3 (Islanding Transition).
Variant Uses OSI Governor E m a x T r e c A d e g N s w
B3a KAN-adaptive (no OSI) No KAN 0.42 28 8.5 11.5
B2 MLP-adaptive Yes MLP 0.55 45 12.4 12.0
B3b (Proposed) Yes KAN 0.30 18 4.2 11.0
Note: All variants in Table 9 are evaluated under the Scenario S3 islanding-transition event defined in Table 8.
Table 10. Real-time feasibility: execution time and timing margin.
Table 10. Real-time feasibility: execution time and timing margin.
Platform KAN params KAN time FS-MPC eval time Total step time T s Margin
TI TMS320F28379D (200 MHz) ~240 6.2 μs 14.5 μs 20.7 μs 50.0 μs 58.6%
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.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2026 MDPI (Basel, Switzerland) unless otherwise stated