Repository navigation
v0.1.0 — first checkpoint
First checkpoint release. Educational Rust simulator for piecewise-linear circuits and mixed circuit/block-diagram systems — no Newton-Raphson, no voltage limiting anywhere. See README.md for the full architecture rationale and docs/journal/2026-08.md for the development history.
This tag is a stable point immediately before a breaking netlist-grammar change: enforced physical/signal-domain converter blocks at every circuit-control boundary (tracked in book/dev-guide/src/open-questions.md).
Highlights
- LCP-resolved PWL diode/MOSFET-body-diode segments (Lemke's algorithm), backward-Euler/trapezoidal DAE integration with automatic fallback on mode changes and trapezoidal ringing.
- Full continuous-block library: PID (fixed and dynamic anti-windup bounds), state-space, transfer function, VCO, hysteresis, Clarke/Park coordinate transforms + PLL, PMSM (RK4).
- Block-graph execution order derived automatically from the
Signal::Blockdependency graph, with genuine algebraic-loop detection (exact closing path reported). - Complementary half-bridge PWM switching (
gate=dutyctrl/dutyctrlcomplement). elspice-pwl-cli: single-file netlist-plus-controller convention, fixed and adaptive time stepping.