Circuit Simulation: From Model to Evidence

Circuit simulation predicts how a circuit behaves by solving equations for a specified model. You can use it to check a design before building it, investigate an unexpected result, or compare possible component values. Circuit simulation appears in Arduino project planning, Tinkercad activities, and Excel spreadsheets containing circuit equations. Across these contexts, a useful result depends on what you model, what you ask the software to calculate, and how you check its answer.

Build a defined model

A circuit model is a mathematical representation of components, their connections, and their behaviour. An ideal resistor obeys Ohm’s law exactly. A more detailed component model may also include temperature effects, internal resistance, or other limitations. Select the detail needed for your question rather than assuming every model includes every physical effect.


Enter the connections, component values, and source settings. Check units carefully: 2.2 kΩ2.2\ \text{k}\Omega means 2200 Ω2200\ \Omega, whereas 2.2 Ω2.2\ \Omega is a thousand times smaller. Similar-looking drawings can represent different connections, so inspect which terminals share a node.


A reference node is the node assigned zero voltage. Node voltages are measured relative to it; this reference does not necessarily represent a connection to Earth. A differential voltage measurement uses the stated terminal order:


VAB=VA−VBV_{AB}=V_A-V_B


For a positive probe at A and a negative probe at B, a negative result means A is at a lower potential than B.


An ideal voltage source supplies two series resistors with an output node between them and a common zero volt reference.


For the unloaded ideal divider shown, the governing predictions are


I=VsR1+R2,Vout=IR2=VsR2R1+R2I=\frac{V_s}{R_1+R_2},\qquad V_{\text{out}}=IR_2=V_s\frac{R_2}{R_1+R_2}


These equations give you an independent check on the simulated current and output voltage. They assume the output measurement draws no current.



Choose the question before the analysis

The analysis determines what the reported values mean. Match it to the behaviour you want to investigate.


Analysis

Question it answers

Typical result

DC operating point

What are the steady voltages and currents for fixed DC inputs?

One set of node voltages and branch currents

DC sweep

How does steady behaviour change as an input or parameter varies?

Output values across a specified range

Transient analysis

How do voltages and currents change with time?

Waveforms over a specified time interval


A DC operating point does not show startup timing. A DC sweep changes a parameter across separate steady calculations; its horizontal axis is not automatically time.


For transient analysis, specify the source waveform, run duration, and relevant initial conditions. Where available, choose a maximum solver time step small enough to investigate the shortest event of interest. Solver steps and saved output points can differ, so check both calculation settings and what the software records.

Check what the result establishes

Before running the model, predict a sign, approximate value, or trend. Then compare quantities using the same units, terminals, and conditions. For a divider, an added load can change the output because it changes the effective resistance connected to the output node.


If a result disagrees with your prediction, inspect connections, units, source settings, probe polarity, and analysis type. Change one setting at a time so that you can identify what caused the difference. Record the model and settings alongside the result so someone else can reproduce it.



Results that change little as you reduce the time step provide evidence of numerical stability for the quantities checked. Physical agreement requires appropriate models and, when available, comparison with measurements under matching conditions.

What to remember

  • Define connections, units, models, and voltage references.
  • Match the analysis to steady behaviour, parameter changes, or timing.
  • Predict a result independently before trusting the display.
  • Check numerical sensitivity and model assumptions separately.

Example: Checking a Loaded Divider in Simulation

You are checking a divider intended to provide an input voltage to another circuit. Model the supply as an ideal 8.00 V8.00\ \text{V} DC source. Connect a 2.00 kΩ2.00\ \text{k}\Omega upper resistor from its positive terminal to node A and a 3.00 kΩ3.00\ \text{k}\Omega lower resistor from A to its negative terminal. Treat all resistors as ideal, and assume voltage probes draw no current.


A switch can connect a 6.00 kΩ6.00\ \text{k}\Omega load between A and the source’s negative terminal. Use the source’s negative terminal as the 0 V0\ \text{V} reference. Define source-delivered current as positive when it leaves the source’s positive terminal.


An eight volt ideal source supplies two divider resistors, and an open switch controls an additional load branch from node A to the reference.


a) With the load disconnected, state the appropriate analysis and output-probe connections. Predict the output voltage and source-delivered current.


Use a DC operating point analysis because the requested quantities are steady values for a fixed DC supply. Set the negative source terminal as the reference. Connect the output probe’s positive terminal to A and its negative terminal to the reference.


With the load disconnected, both resistors carry the same current. Their total resistance is


Rtotal=2000+3000=5000 ΩR_{\text{total}}=2000+3000=5000\ \Omega


The source-delivered current is


Is=8.00 V5000 Ω=0.00160 A=1.60 mAI_s=\frac{8.00\ \text{V}}{5000\ \Omega}=0.00160\ \text{A}=1.60\ \text{mA}


The output is the voltage across the lower resistor:


Vout=(0.00160 A)(3000 Ω)=4.80 VV_{\text{out}}=(0.00160\ \text{A})(3000\ \Omega)=4.80\ \text{V}


The predicted readouts are therefore +4.80 V+4.80\ \text{V} and 1.60 mA1.60\ \text{mA} of source-delivered current. These provide independent checks before you inspect the simulation results.


b) Connect the load and rerun the same analysis. Predict the new output voltage and source-delivered current. Calculate the percentage decrease in output relative to the unloaded value.


Closing the switch places the 6.00 kΩ6.00\ \text{k}\Omega load in ________ with the lower 3.00 kΩ3.00\ \text{k}\Omega resistor. Their equivalent resistance is


Rlower,eq=(3000 Ω)(6000 Ω)3000 Ω+6000 Ω=2000 ΩR_{\text{lower,eq}}=\frac{(3000\ \Omega)(6000\ \Omega)}{3000\ \Omega+6000\ \Omega}=2000\ \Omega


This equivalent resistance is in ________ with the upper resistor:


Rtotal,loaded=2000+2000=4000 ΩR_{\text{total,loaded}}=2000+2000=4000\ \Omega


The source-delivered current becomes


Is,loaded=8.00 V4000 Ω=0.00200 A=2.00 mAI_{s,\text{loaded}}=\frac{8.00\ \text{V}}{4000\ \Omega}=0.00200\ \text{A}=2.00\ \text{mA}


The output is the voltage across the parallel combination:


Vout,loaded=(0.00200 A)(2000 Ω)=4.00 VV_{\text{out,loaded}}=(0.00200\ \text{A})(2000\ \Omega)=4.00\ \text{V}


Use the unloaded output as the percentage comparison basis:


Decrease=4.80−4.004.80×100%=16.666…%≈16.7%\text{Decrease}=\frac{4.80-4.00}{4.80}\times100\%=16.666\ldots\%\approx16.7\%


The loaded prediction is 4.00 V4.00\ \text{V} with 2.00 mA2.00\ \text{mA} of source-delivered current. The output decreases by 16.7%16.7\% because connecting the load reduces the effective resistance below node A. Keeping the unloaded divider formula with an unchanged lower resistance would miss this loading effect.


c) Keep the load connected, but reverse only the output probe’s terminals. What should the voltage display show, and does this change the circuit’s source current?


The circuit connections and component values remain unchanged. A voltage probe that draws no current does not alter the divider when its terminals are reversed. Node A therefore remains at 4.00 V4.00\ \text{V} relative to the reference, and the source-delivered current remains 2.00 mA2.00\ \text{mA}.


The probe displays positive-terminal potential minus negative-terminal potential. Its positive terminal is now at the reference and its negative terminal is at A:


Vdisplay=Vreference−VA=0.00 V−4.00 V=−4.00 VV_{\text{display}}=V_{\text{reference}}-V_A=0.00\ \text{V}-4.00\ \text{V}=-4.00\ \text{V}


The expected voltage display is −4.00 V-4.00\ \text{V}. This sign change describes the measurement direction; it does not indicate that the source or current direction changed.

An interface circuit contains an initially uncharged capacitor. Its supply changes from 0 V0\ \text{V} to 3.30 V3.30\ \text{V} at t=0t=0. You want to see how the output voltage changes during the first 20.0 ms20.0\ \text{ms}. Which simulation analysis directly answers this question?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A parameter sweep repeats a simulation for a specified sequence of component values or source settings. You have already built the ideal circuit shown, but have not configured or run a sweep.


An ideal voltage source VS connects to a two kilohm resistor in a closed circuit.


You want to vary VS from 0 V to 5 V in 1 V increments, export the results, and make a current-versus-source-voltage graph in Excel using that exported file. Keep all other circuit settings unchanged.


Arrange the following actions into the required workflow.

  1. 1.

    Run the configured sweep and save its source-voltage and resistor-current results.

  2. 2.

    Export the saved results as a table with column names and units.

  3. 3.

    Configure the VS sweep from 0 V to 5 V in 1 V increments.

  4. 4.

    Import the exported table into Excel and plot resistor current against source voltage.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A DC simulation contains an ideal 6.00 V6.00\ \text{V} source, a 1.50 kΩ1.50\ \text{k}\Omega resistor from its positive terminal to node A, and a 2.50 kΩ2.50\ \text{k}\Omega resistor from A to the source’s negative terminal. The negative terminal is the 0 V0\ \text{V} reference. The output probe draws no current.


What output voltage should you predict for VA−VreferenceV_A-V_{\text{reference}}? Answer in volts, to three decimal places.


A six volt ideal source supplies a one point five kilohm upper resistor and a two point five kilohm lower resistor with node A between them.


Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Extra Practice