run_dc_op
Perform DC operating point analysis on a SPICE netlist. Returns node voltages and device currents by injecting an '.op' command into a temporary copy of the netlist.
Instructions
Run a DC operating point analysis on a SPICE netlist.
Injects a .op command into a temporary copy of the netlist (does not
modify the original file). DC op results are small enough to return directly.
Args: netlist_path: Absolute path to the netlist file
Returns: JSON string with keys: type — "dc_op" nodes — dict of node_name → voltage (V) currents — dict of device_name → current (A)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| netlist_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |