Publication: AI-Driven Simulation of Stochastic Electrochemiluminescence

K. Mathwig, ACS Electrochemistry 1 (2025) 280. [link, pdf].

Electrochemiluminescence (ECL) is a vital analytical technique widely used in immunosensing and emerging applications in biological imaging. Traditional ECL simulations rely on finite element methods, which provide valuable insights into reaction dynamics and spatial distribution of species. However, such methods are limited in mesoscopic environments where stochastic effects become significant. Here, I present a novel approach using ChatGPT o1 to generate a Python-based stochastic simulation for ECL reactions in a nanofluidic channel, incorporating diffusion, electrochemical and chemical reactions, and photon emission. The simulation successfully replicates results from finite element models while offering additional insights into time-dependent behaviors and enabling noise analysis for simulated luminescence traces. The iterative development of this simulation using ChatGPT was rapid, requiring minimal coding expertise while leveraging the model’s “reasoning” capabilities to implement physical principles, verify calculations, and optimize performance. This work demonstrates that large language models (LLMs) can serve as effective co-intelligence tools, facilitating the development of complex simulations in electrochemistry. AI-driven tools/LLMs have a promising role in advancing electrochemistry research, though careful validation remains essential to ensure scientific accuracy.