nlrspice
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: nature.com, ieee.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.5%) to scientific vocabulary
Repository
Basic Info
Statistics
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
readme.md
Overview
What is nLRSpice Lib?
This library provides procedures for building SPICE code for nonlinear LR elements.

What are the main features ?
This library allows you to create SPICE code for a pair of nonlinear LR elements.
Example
The repository also includes an example of code usage and a transient simulation using the NGSpice engine and the PySpice library.
The simulation utilizes two L(i) amd R(i) models to achieve an impedance function similar to the impedance of a magnetic ring.
The result of Spice simulation:

References
Do you like the library? Please cite:
[1] Kutorasinski, K., Pawłowski, J., Molas, M., & Szewczyk, M. (2025). Nonlinear Magnetic Ring Model: From Impedance Measurements to Time Domain Simulations. XXX, XXX
[2] Leszczynski, P., Kutorasinski, K., Szewczyk, M., & Pawłowski, J. (2024). Machine-Learned Models for Power Magnetic Material Characteristics. IEEE Transactions on Power Electronics. https://ieeexplore.ieee.org/document/10684126
[3] Kutorasiński, K., Pawłowski, J., Leszczyński, P., & Szewczyk, M. (2023). Nonlinear modeling of magnetic materials for circuit simulations. Scientific Reports, 13(1), 17178. https://www.nature.com/articles/s41598-023-44187-3
Requirement
To run simulation PySpice with ngspice is needed. Raw spice netlist as txt file can be generated without simulation and PySpice.
History
V0.91 - 1.2025 (development release) * Added an example to show how to use with the NgSpice with Pyspice.
V0.9 - 2024 (development release) * Started project
Owner
- Name: Kamil Kutorasiński
- Login: Kamil-KK
- Kind: user
- Repositories: 1
- Profile: https://github.com/Kamil-KK
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Kutorasiński" given-names: "Kamil" title: "nLRSpice" version: 0.91.0 date-released: 2025-01-30 url: "https://github.com/Kamil-KK/nLRSpice"
GitHub Events
Total
- Push event: 4
Last Year
- Push event: 4