RC RANDOM CHAOS

BetterSPICE: Open-Source, Real-Time Circuit Simulator

· via Hacker News

Original source

BetterSPICE is a free, open-source SPICE circuit simulator

Hacker News →

BetterSPICE is a free, open-source circuit simulator that runs live as you edit, displaying voltage with color-coded wires and rendering current flow with animated dashes. Engineers can validate circuit behavior in real time before entering formal analysis. The tool combines this interactive simulation with rigorous analysis modes—transient, AC, DC, and noise—using the same underlying numerical engine for consistency.

Available on browsers and all major desktop platforms with source code on GitHub, BetterSPICE imports schematics from KiCad, LTspice, Altium, Multisim, and EasyEDA. It applies ngspice’s device models through modified nodal analysis with Newton iteration. Each release undergoes accuracy validation against ngspice across 455 test circuits, achieving operating point agreement within one part in 100 billion and transient median error of 20 parts per trillion.

The simulator includes 1,000 example circuits and models from over 60 semiconductor vendors. Users can share work via web links, export interactive HTML, or generate documentation reports combining schematics, component analysis, and simulation diagnostics.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.