[Paper Review] Open-source software for electrical engineering applications requiring consideration of electrodynamics: elecode
This paper presents elecode, an open-source, FDTD-based software for electrical engineering applications requiring electrodynamics simulations, with specialized support for thin-wire modeling, soil property measurements, and lightning overvoltage analysis. It enables accurate simulations of grounding systems and frequency-dependent soil behavior through a flexible GUI, command-line interface, and C++ library, offering capabilities absent in existing open-source FDTD tools.
The work presents elecode, open-source software for various electrical engineering applications that require considering electromagnetic processes. The primary focus of the software is power engineering applications. However, the software does not impose any specific limitations preventing other uses. In contrast to other open-source software based on the Finite Difference Time Domain (FDTD) method, elecode implements various thin wire modeling techniques which allow simulating complex objects consisting of wires. In addition, implemented graphical user interface (GUI) helps modify models conveniently. The software provides auxiliary numerical methods for simulations and measurements of the electrical soil properties, allows conducting lightning-related simulations (including those involving isolation breakdown models), and calculations of grounding characteristics. The part of the code responsible for FDTD simulations is well tested in previous works. Recently, the code was rewritten in order to add a convenient interface for using it as a library, command-line program, or GUI program. Finally, the code was released under an open-source license. The main capabilities of the software are described in the work. Several simulation examples covering main software features are presented. elecode is available at https://gitlab.com/dmika/elecode.
Motivation & Objective
- Address the lack of open-source FDTD software tailored for power engineering applications requiring electromagnetic process simulation.
- Provide a user-friendly interface and extensible codebase to support complex simulations of grounding systems and lightning-induced overvoltages.
- Implement advanced numerical techniques—such as multiple thin-wire modeling and Debye parameterization—for accurate frequency-dependent soil property representation.
- Enable researchers to extend and modify the software by releasing it under an open-source license with modular, reusable components.
- Facilitate accurate simulation of grounding characteristics, apparent soil resistivity, and insulation breakdown under lightning conditions.
Proposed method
- Uses the Finite Difference Time Domain (FDTD) method to solve Maxwell’s equations in Cartesian coordinates with Yee-staggered grid discretization.
- Implements multiple thin-wire modeling techniques, including staircase and improved wire models, to simulate complex conductive structures with arbitrary geometry and diameter.
- Integrates Debye relaxation models to represent frequency-dependent permittivity and conductivity of layered soil media using four-term expansions.
- Supports various electromagnetic sources, including Heidler current functions for lightning impulse modeling, with configurable excitation parameters.
- Provides a graphical user interface (GUI), command-line interface (CLI), and C++ library interface for flexible usage across different application levels.
- Uses perfectly matched layer (PML) absorbing boundary conditions (CPML) to minimize numerical reflections in simulation domains.
Experimental results
Research questions
- RQ1Can open-source FDTD software be effectively extended to support complex power engineering applications such as grounding system analysis and lightning overvoltage simulation?
- RQ2How accurately can elecode model thin conductors with arbitrary orientation and diameter using its implemented wire modeling techniques?
- RQ3To what extent do electromagnetic coupling effects influence apparent soil resistivity measurements in multi-electrode arrays, and can they be quantitatively predicted?
- RQ4Can the software accurately reproduce known soil property behaviors using Debye parameterization and FDTD simulations?
- RQ5How does the integration of multiple numerical methods—such as soil property measurement simulation and insulation breakdown modeling—enhance the software’s utility for electrical engineering research?
Key findings
- elecode successfully simulates grounding systems with complex wire configurations, demonstrating consistent results across different thin-wire modeling approaches, including staircase and improved models.
- The software accurately models frequency-dependent soil properties using four-term Debye functions, with permittivity and conductivity values derived from measured resistivity and conductivity data.
- Simulations of a three-layer soil model with resistivities of 200, 400, and 800 Ω·m showed that apparent resistivity results calculated via two independent methods (direct FDTD and [30]) were in excellent agreement.
- The software predicted electromagnetic coupling effects in array measurements that were later confirmed experimentally, validating its predictive capability for soil property measurement errors.
- The implementation of lightning impulse modeling using a Heidler current function (with parameters: 3.7e-7 s, 1.4e-5 s, 10 Hz, 1.85e-7 s) enabled accurate simulation of transient overvoltages in grounding systems.
- The modular design of elecode allows seamless integration of new numerical methods, enabling future extensions for advanced electromagnetic simulations in power systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.