AI

A Comparative Evaluation of Large Language Models in the Analysis of Linear Electrical Circuits

Dario Assante, Alessio Cimino, Danilo Tandari

Computational

Key points

From the paper's conclusion
  • This study analyzes the issue of the reliability of large language models in the analytical solution of linear electrical circuits; the main objective is to conduct a comparative evaluation of four high-end, reasoning-oriented LLMs (ChatGPT 5.6 Luna, Claude Sonnet 5, Gemini 3.7 Flash, and Microsoft Copilot GPT-4o) in order to examine their accuracy, logical and mathematical consistency, and robust

Abstract

The rapid adoption of generative Artificial Intelligence systems has massively expanded the use of Large Language Models (LLMs) even in complex engineering domains, where formal accuracy and logical-mathematical consistency are essential requirements. This study analyzes the issue of the reliability of large language models in the analytical solution of linear electrical circuits; the main objective is to conduct a comparative evaluation of four high-end, reasoning-oriented LLMs (ChatGPT 5.6 Luna, Claude Sonnet 5, Gemini 3.7 Flash, and Microsoft Copilot GPT-4o) in order to examine their accuracy, logical and mathematical consistency, and robustness in the analysis of electrical networks under different operating conditions. A structured benchmark of 90 original circuit-analysis problems was developed, equally distributed across DC steady-state, transient, and sinusoidal AC circuits and stratified into Easy, Medium, and Hard difficulty levels. Each problem contained two analytical questions and was independently submitted to each model three times, resulting in 2160 individually evaluated answers. Circuits were provided as SPICE-compatible textual netlists with task annotations, and reference solutions were analytically derived and validated using SPICE. Overall question-level accuracy was 92.2% for Claude, 53.9% for ChatGPT, 51.3% for Gemini, and 33.1% for Copilot. A binomial generalized linear mixed model revealed significant effects of model, circuit domain, and difficulty, together with significant Model × Domain and Model × Difficulty interactions, whereas no systematic effect of run was detected. Run-to-run analysis nevertheless revealed substantial differences in score consistency among models. The findings show that LLM performance in circuit analysis is strongly model-, domain-, and difficulty-dependent and that repeated outputs may remain unstable even when no systematic run effect is present. The proposed benchmark provides a reproducible framework for assessing the capabilities and limitations of LLMs in structured engineering problem solving.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

A Comparative Evaluation of Large Language Models in the Analysis of Linear Electrical Circuits — Science Skim