Automated SPICE circuit simulation pipeline — 10 circuits × 3 variants, Ngspice netlists, Bode plots, schemdraw schematics, KiCAD export, Flask dashboard.
| # | Circuit | Category | Analysis | Description |
|---|---|---|---|---|
| 1 | Voltage Divider | analog | dc | Resistive voltage divider for reference voltage generation |
| 2 | Rc Lowpass | analog | ac | First-order RC low-pass filter with -3dB cutoff frequency |
| 3 | Rlc Resonator | analog | ac | Series RLC resonator showing Q factor and resonant frequency |
| 4 | Opamp Inverting | analog | ac | Inverting op-amp amplifier with configurable closed-loop gain |
| 5 | Half Wave Rectifier | power | transient | Half-wave rectifier with capacitive smoothing filter |
| 6 | Full Wave Rectifier | power | transient | Full-wave bridge rectifier with capacitive smoothing |
| 7 | Bjt Common Emitter | analog | ac | Common-emitter BJT amplifier with voltage divider bias |
| 8 | Timer 555 Astable | timing | transient | 555 timer in astable mode generating a square wave output |
| 9 | Lc Bandpass | rf | ac | Parallel LC band-pass filter centered at resonant frequency |
| 10 | Colpitts Oscillator | rf | transient | Colpitts LC oscillator using BJT with capacitive voltage divider |
![]() Voltage Divider |
![]() Rc Lowpass |
![]() Rlc Resonator |
![]() Opamp Inverting |
![]() Half Wave Rectifier |
![]() Full Wave Rectifier |
![]() Bjt Common Emitter |
![]() Timer 555 Astable |
![]() Lc Bandpass |
![]() Colpitts Oscillator |
# Install dependencies
pip install -r requirements.txt
sudo apt install ngspice -y # or choco install ngspice on Windows
# Run all simulations (30 total)
python src/simulate.py
# Run a specific circuit
python src/simulate.py --circuit rc_lowpass
# Run only one variant
python src/simulate.py --variant high
# Filter by analysis type
python src/simulate.py --analysis ac
# Filter by category
python src/simulate.py --category power
# Generate schematics
python src/kicad_builder.py
# Generate reports
python src/report_builder.pypython src/dashboard.py
# → http://localhost:5001Features:
- Circuit browser with category & analysis filters
- Detail pages with variant tabs, parameter tables, SPICE netlists
- Side-by-side comparison of any two circuits
- ZIP export of all generated files
exports/
├── netlists/ ← 30 .cir files
├── plots/ ← 30 PNG + 30 SVG
├── schematics/ ← 10 PNG + 10 SVG + 10 .kicad_sch
├── reports/ ← 10 Markdown files
└── logs/ ← error logs
| Tool | Version |
|---|---|
| Python | 3.13.7 |
| Ngspice | not installed |
| matplotlib | 3.10.8 |
| numpy | 2.2.2 |
| scipy | 1.17.1 |
| schemdraw | 0.22 |
| Flask | 3.1.3 |
| Jinja2 | 3.1.6 |
| PyYAML | 6.0.2 |
ngspice spice kicad circuit-simulation electronics eda analog-circuits python flask matplotlib
Built with ⚡ by EDA Automation Suite












