Run transient simulation
run_transientRun circuit simulation for a specified duration while sampling node voltages, element currents, or power, and return time-series probe data.
Instructions
Run the simulation for a given amount of SIMULATED time while sampling probes, then stop. Returns time-series data {t, }. Probes: {"node":"name"} reads a labeled node voltage; {"element":i,"quantity":"current"|"voltageDiff"|"power"} reads element i (indices from circuit_state/circuit_load). Simulation speed is bounded by the circuit's sim-speed setting and CPU, so wall-clock time may differ from simulated time; the call aborts with partial data if wallTimeoutMs elapses first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| probes | Yes | ||
| seconds | Yes | Simulated seconds to run, e.g. 0.01. | |
| fromReset | No | Reset the circuit to t=0 first (default true). | |
| maxSamples | No | Max samples to return (default 500). | |
| wallTimeoutMs | No | Wall-clock abort, default 30000, max 120000. |