Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keyvank/cirkus
Electronic circuit simulator
https://github.com/keyvank/cirkus
electronics python simulator spice
Last synced: about 1 month ago
JSON representation
Electronic circuit simulator
- Host: GitHub
- URL: https://github.com/keyvank/cirkus
- Owner: keyvank
- Created: 2023-11-21T14:26:27.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-22T23:57:47.000Z (about 1 year ago)
- Last Synced: 2024-10-29T19:29:46.767Z (about 2 months ago)
- Topics: electronics, python, simulator, spice
- Language: Python
- Homepage:
- Size: 49.8 KB
- Stars: 7
- 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 TransistorsThe 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!
![Astable Multivibrator](https://github.com/keyvank/cirkus/assets/4275654/9504e781-4687-489c-94cf-bc53c7e1994c)
Or a RLC circuit!
![RLC](https://github.com/keyvank/cirkus/assets/4275654/ddbd5bf4-3f5b-45d3-867a-a56213a77df5)