Skip to main content
POST
MNA circuit solve (E1)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
analysis
any
required

{"kind": "dc_op"}, {"kind": "transient", "stop": seconds, "steps": n} (steps capped at 100000), or {"kind": "ac", "fstart": hz, "fstop": hz, "points_per_decade": n} (log sweep, fstart > 0, fstop >= fstart, total points capped at 10000; response adds freqs + per-node ac_mag volts + ac_phase_deg).

netlist
object
required

Netlist document: {components: [{ref_id, kind, value?, params?, nodes}]}. Kinds: resistor, capacitor, inductor, vdc, idc, vstep, vsine, diode, led, diode_exp (Shockley, params is/n, Vt = kT/q at 300.15 K), npn, pnp (Ebers-Moll, params bf/is, 3 nodes [collector, base, emitter]), nmos, pmos (square-law level 1, params kp/vt/lambda, 3 nodes [drain, gate, source], bulk tied to source). Two-terminal nodes are [+, -] (diode/diode_exp: [anode, cathode]); node name "0" or "gnd" (case-insensitive) is ground.

async
boolean
default:false

compute placement: run the solve on the job queue and return a 202 JobRef; the finished job's circuit field carries the same outcome bytes the sync path returns

record
boolean
default:false

Response

Circuit solution: node voltages + branch currents (+ t/series for transient) + content-addressed circuit_key