https://github.com/keyvank/cirkus
Electronic circuit simulator
https://github.com/keyvank/cirkus
electronics python simulator spice
Last synced: about 1 year ago
JSON representation
Electronic circuit simulator
- Host: GitHub
- URL: https://github.com/keyvank/cirkus
- Owner: keyvank
- Created: 2023-11-21T14:26:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-22T23:57:47.000Z (over 2 years ago)
- Last Synced: 2025-04-07T07:51:47.173Z (about 1 year ago)
- Topics: electronics, python, simulator, spice
- Language: Python
- Homepage:
- Size: 49.8 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cirkus ⚡
Cirkus is a very minimal electronics circuit simulator which I built for sake of learning electronics. It currently is able to simulate:
- Current sources
- Voltage sources
- Resistors
- Capacitors
- Inductors
- Diodes
- BJT Transistors
The software basically solves a system of differential equations, and components are simply constraints that are added to those equations.
The equations are solved using Newton-Raphson method, and in case there are derivatives in the equations, Backward Euler method is used to convert the differentials to linear equations.
Cirkus has been able to successfully simulate an Astable Multivibrator circuit!

Or a RLC circuit!
