A Stochastic Differential Equation (SDE) is a differential equation in which one or more terms are a stochastic process, resulting in a solution that is itself a random function of time. Unlike deterministic ordinary differential equations, an SDE explicitly incorporates a noise term—typically a Wiener process—to model the continuous-time random fluctuations observed in physical systems such as fluctuating wind power or unpredictable electricity demand.
Glossary
Stochastic Differential Equation (SDE)

What is a Stochastic Differential Equation (SDE)?
A mathematical framework for modeling systems that evolve with inherent randomness over continuous time, essential for capturing the erratic nature of renewable generation and load in modern power grids.
In probabilistic power flow analysis, SDEs provide a rigorous mathematical structure for modeling the continuous-time evolution of uncertain grid variables. By defining the drift and diffusion components of processes like solar irradiance or load behavior, engineers can simulate realistic trajectories, enabling more accurate uncertainty quantification and robust risk assessment for grid planning and real-time stability monitoring.
Key Characteristics of SDEs
Stochastic Differential Equations (SDEs) provide a continuous-time mathematical framework for modeling the random evolution of power system variables, such as load and renewable generation, by combining deterministic drift with random diffusion components.
Drift and Diffusion Decomposition
Every SDE decomposes system dynamics into two fundamental components. The drift term captures the deterministic trend—such as the expected diurnal increase in solar irradiance or the scheduled ramp-up of industrial load. The diffusion term, driven by a Wiener process, injects continuous random fluctuations representing forecast errors and small-scale turbulence. This decomposition allows grid planners to model the mean trajectory of a state variable while simultaneously quantifying the continuous uncertainty band around that trajectory.
Itô Calculus Foundation
SDEs require a specialized calculus because standard Riemann integration fails when integrating with respect to a Wiener process, which has unbounded variation. Itô calculus provides the rigorous mathematical framework, with the Itô integral defined as the limit of non-anticipating step functions. A critical consequence is Itô's Lemma, which acts as the stochastic chain rule, revealing that the derivative of a function of an SDE state includes an extra second-order term absent in ordinary calculus. This is essential for correctly transforming wind speed models into power output distributions.
Mean-Reverting Processes
Many physical quantities in power systems exhibit mean-reversion, naturally modeled by the Ornstein-Uhlenbeck (OU) process. Unlike a pure random walk that can drift to infinity, an OU process exerts a restoring force proportional to the deviation from a long-term mean. This makes it ideal for modeling:
- Wind speed fluctuations around a forecasted mean
- Load deviations that revert to a typical consumption profile
- Electricity spot prices that oscillate around a seasonal average The speed of reversion parameter directly controls how quickly shocks dissipate.
Geometric Brownian Motion for Growth
For variables that must remain strictly positive and exhibit multiplicative noise, Geometric Brownian Motion (GBM) is the canonical SDE model. The drift and diffusion scale proportionally with the current state value, ensuring non-negativity. In grid applications, GBM is used to model:
- Long-term load growth trajectories for capacity planning
- Distributed solar adoption rates over multi-year horizons
- Fuel price uncertainty for generation cost modeling The log-normal distribution of GBM states provides a realistic right-skewed profile for these inherently positive quantities.
Numerical Discretization Schemes
Analytical solutions exist for only a limited class of SDEs, necessitating numerical simulation. The Euler-Maruyama method extends the deterministic Euler scheme by adding a scaled Gaussian increment at each time step, achieving strong convergence of order 0.5. For systems requiring higher accuracy, the Milstein scheme adds a correction term involving the derivative of the diffusion coefficient, achieving strong order 1.0 convergence. Grid operators use these discretizations to generate thousands of synthetic trajectories for Monte Carlo-based probabilistic power flow analysis.
Stochastic Load Modeling
SDEs capture the continuous random jitter in electrical load that deterministic forecasts miss. A typical model combines a periodic drift representing daily and seasonal cycles with a state-dependent diffusion that increases with load magnitude. This structure generates realistic intra-hour fluctuations that are critical for:
- Regulation reserve sizing to handle minute-to-minute variability
- Frequency stability studies requiring high-resolution load inputs
- Probabilistic voltage profile assessment along distribution feeders The continuous nature of SDEs avoids the artificial discontinuities introduced by discrete-time noise models.
Frequently Asked Questions
Clear, technically precise answers to the most common questions about modeling continuous-time random processes in power systems using stochastic differential equations.
A Stochastic Differential Equation (SDE) is a differential equation in which one or more terms are inherently random, modeled as a stochastic process. Unlike ordinary differential equations that produce a single deterministic trajectory, an SDE describes the evolution of a system under the influence of both a deterministic drift and a random diffusion component. In power systems, SDEs are used to model the continuous-time random evolution of physical quantities—such as wind speed, solar irradiance, or load fluctuations—where the instantaneous rate of change is subject to unpredictable perturbations. The standard formulation is dX_t = μ(X_t, t)dt + σ(X_t, t)dW_t, where μ is the drift coefficient governing the expected direction, σ is the diffusion coefficient scaling the noise intensity, and dW_t represents the increment of a Wiener Process (Brownian motion). The solution to an SDE is not a single function but a probability distribution of possible paths, enabling grid planners to quantify the full spectrum of potential future states rather than relying on a single point forecast.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Core mathematical components and processes that form the foundation of Stochastic Differential Equations used in power system modeling.
Wiener Process (Brownian Motion)
The fundamental continuous-time stochastic process driving SDEs. A Wiener process W(t) has three defining properties: it starts at zero, has independent increments, and each increment W(t) - W(s) follows a normal distribution with mean 0 and variance t-s. In power systems, this models the continuous random fluctuations in renewable generation output and load behavior. The non-differentiable nature of its sample paths necessitates Itô calculus rather than standard calculus for solving SDEs.
Itô Integral
A stochastic integral defining the integral of a process with respect to a Wiener process. Unlike the Riemann-Stieltjes integral, the Itô integral evaluates the integrand at the left endpoint of each partition interval, making it a martingale. This non-anticipating property is crucial for financial and power system modeling where future randomness cannot be known. The resulting Itô isometry provides the variance of the integral, essential for quantifying uncertainty propagation in grid simulations.
Itô's Lemma
The stochastic calculus analog of the chain rule. For a function f(X(t), t) where X(t) follows an SDE, Itô's lemma states that df includes an extra second-order term (1/2)(∂²f/∂x²)σ² dt absent in standard calculus. This correction arises because (dW)² = dt in mean square. In power systems, this lemma is essential for transforming SDEs governing raw wind speed into SDEs for power output, correctly accounting for the nonlinear power curve.
Ornstein-Uhlenbeck Process
A mean-reverting SDE of the form dX(t) = θ(μ - X(t))dt + σ dW(t), where θ controls the speed of reversion to the long-term mean μ. This process is widely used to model electricity spot prices and wind speed variations because it captures the tendency of these quantities to revert to average levels rather than drift arbitrarily. Unlike a pure Wiener process, the Ornstein-Uhlenbeck process has a stationary distribution—a Gaussian with variance σ²/(2θ).
Euler-Maruyama Method
The simplest numerical scheme for approximating SDE solutions, extending the Euler method for ODEs. Given an SDE dX = a(X)dt + b(X)dW, the discretization is X(t+Δt) = X(t) + a(X)Δt + b(X)ΔW, where ΔW ~ N(0, Δt). This method achieves strong convergence order 0.5 and weak order 1.0. In probabilistic power flow, this enables Monte Carlo path generation for load and generation trajectories when analytical solutions are unavailable.
Fokker-Planck Equation
A deterministic partial differential equation governing the time evolution of the probability density function p(x,t) of the solution to an SDE. For an SDE with drift a(x) and diffusion b(x), the Fokker-Planck equation is ∂p/∂t = -∂(ap)/∂x + (1/2)∂²(b²p)/∂x². Solving this PDE provides the complete statistical description of grid state variables over time without Monte Carlo sampling, though it becomes computationally intensive in high dimensions.

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us