Master's Thesis

Direct Solution of Systems of Differential Equations using a Parallel Monte Carlo Algorithm

André Valente Caseiro — 2025

Key information

Authors:

André Valente Caseiro (André Valente Caseiro)

Supervisors:

José Carlos Alves Pereira Monteiro (José Carlos Alves Pereira Monteiro); Juan Antonio Acebrón Torres

Published in

November 10, 2025

Abstract

This dissertation focuses on a highly parallelizable Monte Carlo method for solving linear systems of ordinary differential equations, with application to large-scale power grid transient analysis. Unlike traditional temporal discretization approaches, the method directly computes the solution at specific time points and circuit nodes, enabling efficient analysis of voltages. To provide comprehensive evaluation, we implemented a comparative trapezoidal method and validated both approaches against Ngspice, an established circuit simulation tool. Our analysis reveals that performance characteristics depend critically on circuit topology: the Monte Carlo method demonstrated superior performance on synthetic power grids with regular structures, while the trapezoidal method proved more efficient on realistic IBM power grid benchmarks. This dataset-dependent behavior highlights the importance of circuit regularity in determining optimal solution approaches. The Monte Carlo method achieves near-optimal parallel scalability, with close to linear speedup demonstrated on a 64-core machine, significantly outperforming the trapezoidal method's limited parallelization potential. Execution time scales linearly with the number of samples and time steps, and quadratically with output points, while error convergence was measured and compared to theoretical predictions.

Publication details

Authors in the community:

Supervisors of this institution:

Fields of Science and Technology (FOS)

electrical-engineering-electronic-engineering-information-engineering - Electrical engineering, electronic engineering, information engineering

Publication language (ISO code)

eng - English

Rights type:

Embargo lifted

Date available:

September 23, 2026

Institution name

Instituto Superior Técnico