Journal of Advances in Developmental Research

E-ISSN: 0976-4844     Impact Factor: 9.71

A Widely Indexed Open Access Peer Reviewed Multidisciplinary Bi-monthly Scholarly International Journal

Call for Paper Volume 17 Issue 2 July-December 2026 Submit your research before last 3 days of December to publish your research paper in the issue of July-December.

A Spreadsheet-Driven, Open-Source Framework for Simulating Power Electronic Circuits in Python

Author(s) M Rekha, P Srividya Devi
Country India
Abstract Circuit-level simulation plays a key role in the design and verification of power electronic systems, but many of the tools that engineers use for this purpose are either proprietary or require a considerable amount of specialist training to be used effectively. This paper examines Python Power Electronics (PPE), a lightweight, free, and open-source simulation environment written entirely in Python that targets exactly this gap. Rather than relying on a graphical schematic editor, PPE lets a user lay out a circuit inside an ordinary spreadsheet, from which the software automatically derives the node, branch and loop structure needed for analysis. The behaviour of the components, their connections, and the control logic are represented by simple and well-defined data structures. The user-written Python control functions can be linked to the circuit via a spreadsheet that specifies how the functions' inputs and outputs are mapped into the simulation variables. The internal representation of the components is explained as the two-stage (loop and nodal) analysis process used to advance the simulation in time, the method by which control functions are scheduled against arbitrary time events, and the various output formats that the tool provides. To show the type of results the simulator can produce, some typical waveforms, comprising a carrier and a PWM reference, diode and source currents, and the converter output voltage are given. This paper concludes with an assessment of the benefits of the tool's Python usage and the places where it currently impedes performance, along with a mention of the upcoming integration with NumPy and SciPy for signal post-processing.
Keywords open-source simulation, power electronics, nonlinear circuit analysis, Python, spreadsheet-based schematic capture, control function interfacing, PWM simulation
Field Engineering
Published In Volume 15, Issue 2, July-December 2024
Published On 2024-07-24

Share this