Inferensys

Glossary

Sensitivity Matrix

A linearized mathematical construct, derived from the power flow Jacobian, that quantifies the incremental change in node voltages resulting from a unit change in reactive power injection or tap position.
Legal team reviewing EU AI Act compliance documents on laptop in modern office, coffee cups and papers on table, casual meeting.

What is Sensitivity Matrix?

A linearized mathematical construct quantifying the incremental change in node voltages resulting from a unit change in reactive power injection or tap position.

A sensitivity matrix is a linearized mathematical construct, typically derived from the inverse of the power flow Jacobian matrix, that explicitly quantifies the incremental change in distribution node voltages ($\Delta V$) resulting from a unit change in a control variable, such as reactive power injection ($\Delta Q$) or a tap position adjustment. It serves as the analytical engine for modern Volt-VAR Optimization (VVO) by providing a computationally efficient surrogate for solving full nonlinear AC power flow equations in real time.

By pre-calculating the partial derivatives $\partial V / \partial Q$ and $\partial V / \partial tap$, the sensitivity matrix enables Model Predictive Control (MPC) and gradient-based optimization solvers to rapidly determine the optimal combination of capacitor bank states and voltage regulator setpoints without iterative convergence. This linear approximation is valid for small perturbations around a steady-state operating point, allowing distribution management systems to execute fast, closed-loop voltage regulation while strictly maintaining service voltages within ANSI C84.1 limits.

LINEARIZED GRID DYNAMICS

Key Properties of Sensitivity Matrices

The sensitivity matrix is a foundational linear operator in Volt-VAR Optimization, derived from the power flow Jacobian, that maps incremental control actions to their predicted voltage outcomes across the distribution network.

01

Jacobian Derivation

The sensitivity matrix is typically extracted as a sub-block of the converged power flow Jacobian. It represents the partial derivatives ∂V/∂Q and ∂V/∂Tap, linearizing the relationship between control variables and node voltage magnitudes around a specific operating point. This linearization assumes small perturbations and is recalculated when the grid state changes significantly.

∂V/∂Q
Core Partial Derivative
Sparse
Matrix Structure
02

Sparsity Pattern

Due to the radial or weakly meshed topology of distribution feeders, the sensitivity matrix is highly sparse. A reactive power injection at a specific node predominantly affects voltages in its immediate electrical neighborhood. This sparsity is exploited by solvers to reduce computational complexity from O(n³) to near O(n) using techniques like LU factorization.

>95%
Typical Sparsity
O(n)
Solve Complexity
03

Voltage Attenuation

The magnitude of sensitivity coefficients decays with electrical distance from the injection point. A capacitor bank switching event at the end of a long feeder will have a negligible impact on the substation bus voltage. This property is crucial for zonal voltage regulation, allowing the VVO engine to partition the feeder into decoupled control zones.

1/Z
Attenuation Factor
04

State Dependency

The sensitivity matrix is not static; it is a function of the current operating state. High loading conditions increase line current, which increases voltage drop and alters the ∂V/∂Q sensitivity. A matrix calculated at light load will be inaccurate during peak demand. Model Predictive Control (MPC) frameworks periodically recompute the Jacobian to maintain accuracy.

Non-linear
True System Behavior
Linearized
Sensitivity Approximation
05

Control Variable Mapping

The matrix explicitly maps discrete and continuous controls to voltage outcomes:

  • Capacitor Banks: Modeled as step changes in reactive power injection (ΔQ).
  • Load Tap Changers: Modeled as a change in the transformer turns ratio (ΔTap), affecting the secondary-side voltage reference.
  • Smart Inverters: Modeled as continuous or discrete reactive power sources within their capability curve.
ΔQ
Capacitor Input
ΔTap
Regulator Input
06

Singularity and Observability

If the measurement set is insufficient, the sensitivity matrix becomes rank-deficient or ill-conditioned, making the inverse problem unsolvable. A well-designed Distribution State Estimator (DSE) ensures observability by placing pseudo-measurements at unmonitored nodes, regularizing the matrix and enabling a stable solution for the VVO control law.

Pseudo-measurements
Regularization Method
SENSITIVITY MATRIX

Frequently Asked Questions

Explore the core mathematical concepts behind the sensitivity matrix, a critical tool for linearizing the relationship between control variables and voltage states in modern distribution grid optimization.

A sensitivity matrix is a linearized mathematical construct, typically derived from the inverse of the power flow Jacobian, that quantifies the incremental change in node voltage magnitudes and angles resulting from a unit change in control variables such as reactive power injection or transformer tap positions. In the context of Volt-VAR Optimization (VVO), it serves as a computationally efficient surrogate model that maps how a specific control action—like switching a capacitor bank or adjusting a Load Tap Changer (LTC)—will propagate through the distribution network. The matrix captures the partial derivatives ∂V/∂Q and ∂V/∂T, allowing optimization solvers to predict voltage profiles without executing a full iterative three-phase unbalanced load flow at every candidate solution. This linear approximation is valid only within a narrow operating range around the current linearization point, making it essential for real-time Model Predictive Control (MPC) loops where speed is prioritized over the global accuracy of a full AC power flow.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.