Documentation / Design

Simulation

Ask the assistant to simulate your schematic, read the results in the Simulation tab, and fix what stops a run.

Ask the assistant to simulate your schematic and it does the rest: it sets up the test, runs it on your computer and tells you in plain words whether the circuit does what you wanted, from DC voltages to signals over time to frequency response.

Simulation is in the Trace app from Trace 3.1. Trace 3.2 makes results easier to trust, with clearer errors and new measurements. The Trace Plugin simulates Altium Designer, KiCad and Fusion schematics in its own window; see Simulate a Plugin Project.

Before You Start

  • Open the schematic you want to simulate and save it.
  • Know the conditions: supply voltages, the input signal, the load, and what you want to find out. The assistant asks for anything it can't work out, but a clear request gets a clear answer.

Run a Simulation

  1. Ask in the chat, in Agent mode. For example:

    Simulate the AC response of this filter from 10 Hz to 100 kHz,
    with a 1 V input and a 1 MΩ load. Where is the -3 dB point?
    
  2. The assistant checks the circuit and sets up the test: the sources and loads it needs, kept separate from your design. It warns you about problems first, such as a supply rail nothing powers, a floating connection or a transistor left on default settings.

  3. It runs the simulation and answers with the numbers you asked for.

  4. Press the result card in the chat to open the run in the Simulation tab.

You can also ask from the board editor: the assistant switches to the schematic and runs it there.

More examples:

  • "What is the output voltage of this divider with a 12 V input?"
  • "Does the I2C SDA line rise fast enough for 400 kHz?"
  • "Choose R3 and C2 so the filter cuts off at 2 kHz, update the schematic, and simulate again."
  • "Run a Monte Carlo check with 5% resistors and show how far the cutoff moves."

What You Can Ask For

Ask forYou get
DC voltagesThe voltage at every point in the circuit (operating point)
Signals over timePlots of signals over time (transient)
Frequency responseMagnitude in dB, with phase if you want it
MeasurementsMaximum, minimum, average, settling, overshoot, rise and fall times, the delay between two signals, and when a signal crosses a level on a rising or falling edge
TuningThe assistant adjusts resistor, capacitor and inductor values, updates your schematic and simulates again until the numbers line up
TolerancesCorner and Monte Carlo runs that show how part tolerances move the result
ComparisonsTwo runs side by side, such as before and after a value change, with their measurements
LogicGates, flip-flops, latches and dividers, with digital signals shown as clean highs and lows

New in Trace 3.2: rise and fall times, delays and edge crossings, so a question such as "does this line rise fast enough?" gets a measured answer instead of a formula. Crossing, settling and overshoot measurements at a level, band or target you set work in every run.

Choose the Right Model

Each part needs a model that says how it behaves. Trace finds one in this order, and the Simulation tab shows which model each part used.

  • Everyday parts: resistors, capacitors and inductors simulate from their values. Built-in models cover common diodes and transistors, op-amps and voltage regulators, plus advanced transistor models for RF and power designs.
  • Manufacturer models: the assistant finds the manufacturer's own model for a part and connects it to the right pins.
  • Your schematic's own models: schematics that already carry their own simulation commands, and parts with custom simulation settings, simulate as they are.
  • Logic chips: the assistant builds a working model and checks it against the chip's truth table.
  • Your own files: see below.

Part values can carry their rating. Values such as 10uF/6.3V, 100nF 16V X7R or 10k 1% simulate from the value and ignore the rating, and engineering notation such as 4k7 works. If a value can't be read, such as 10uF maybe, the run stops and names the part and what to change. New in Trace 3.2.

A generic or built-in model shows typical behaviour, not every detail of a specific part. Use the manufacturer's model when the exact part matters.

Install a User-Supplied SPICE Model

  1. Drop the model file into the chat, or point the assistant to it in your project or Artifacts. Files written for other popular simulators work too. See Attachments.
  2. Tell the assistant which part it is for, for example "Use this model for U2".
  3. The assistant checks the file, matches the model's pins to the symbol's pins and installs it for that part. If the file holds several models, it asks which one.
  4. Simulate again.

The assistant converts common constructs from other simulators and tells you what it changed. Some files can't be used, such as encrypted models or files with pieces missing; the assistant names the reason, so you can get the manufacturer's full file.

Open Results in the Simulation Tab

Open the Simulation tab from the Simulation button at the top of the window, from Tools > Simulation, or from a result card in the chat. Opening the tab does not start a simulation.

  • Recent runs lists every run for the open schematic. Press Refresh runs to update it.
  • Select a run to see its plot, measurements and operating-point values.
  • Drag a box on the plot to zoom in. Use the zoom and pan buttons, Reset zoom to go back to the full plot, and Expand plot for more room.
  • For frequency response, press Show phase to add phase.
  • Times, voltages, currents and frequencies show with readable units, such as 398.2 ns instead of 3.982e-07 s.

Each run is marked Current design when it matches your saved schematic, or Design changed after you edit it. Simulate again after a change before you rely on the numbers.

In the Trace app, each open project has its own Simulation tab, which comes back on the same run. From Trace 3.3 you can open it while the assistant is working, and the assistant can open a result there for you. In Flow, the Simulation preview lists every run, and Ask Trace about this run puts a question about it in the message box.

Read the Results

Operating Point (OP)

The DC voltage at every point in the circuit, as numbers rather than a plot.

Transient (TRAN)

Signals over time. Check the time span covers what you care about, such as start-up or several cycles.

AC Response

Magnitude against frequency, shown in dB re 1 V (dBV). A 1 V output reads 0 dBV and 0.1 V reads -20 dBV. With a 1 V input, dBV reads the same as gain; for any other input, ask the assistant for the gain directly.

Digital and Mixed-Signal

Logic signals show as highs and lows. U means the level is unknown or not set yet, for example before the first clock edge. A model of a microcontroller or FPGA pin only does what you tell it; it does not run firmware.

Results You Can Trust

Trace 3.2 adds checks so a run that looks fine but isn't is marked as such.

  • No DC path: if part of your circuit has no DC path, such as a net that only a capacitor reaches, a run that finishes anyway is marked not valid instead of returning convincing but wrong numbers. The assistant names the net and suggests a fix, such as a resistor to ground.
  • Drawing mismatch: if your schematic says a pin is on a net but the sheet leaves it unconnected, the simulation stops and names that pin. The electrical rules check results come with every simulation check.
  • Exact errors: when a run fails, the assistant sees the exact error and the part, value and model behind it, so it fixes the real cause. The job card and the Simulation tab show the same reason.
  • Stopped, not failed: when a circuit can't find a steady starting point within its time limit, the run stops on time and says it was stopped, so you know a longer run may still get there.
  • Fewer false warnings: the no-DC-path warning no longer fires on transformers and other coupled inductors, or on nets a transient run holds with an initial condition.

Automatic Simulation Review

Turn on Preferences > AI Workflows > Automatic simulation review to have the assistant check each schematic it finishes with a quick simulation. Asking for a simulation works whether it is on or off. See AI Workflows.

If It Cannot Run or Finish

  • A part value can't be read: change the value to a number with its unit, such as 10uF, and keep the rating after it.
  • A part has no model: ask the assistant to find the manufacturer's model, or install your own file.
  • Not valid, no DC path: give the named net a path to ground, for example a high-value resistor, then simulate again.
  • A pin is unconnected on the sheet: connect it, or fix the schematic so the drawing and the net agree.
  • Stopped at the time limit: ask for a longer run, or check the circuit for a part that keeps it from settling.
  • A net can't be found: use the net name you see in the schematic. A leading slash or different capitals don't matter.
  • Windows and model files in deep folders: fixed in Trace 3.2; update if models in long folder paths fail to load.

Noise and FFT analyses are not available.

A simulation shows how a model of your circuit behaves under the conditions you gave. Check the result against the datasheets, and test the real board before you rely on it.