Electricity & magnetism

AC Impedance Network Lab

An AC circuit of resistors, capacitors, lossy coils and one or two sine voltage sources at one frequency, drawn on a node lattice (at most 8 nodes and 12 branches), solved by complex nodal analysis as an 18 x 18 real-equivalent system: every node phasor, each element's impedance, current, active and reactive power and role, the probe's amplitude, gain and phase relative to the source, the input impedance, apparent power and lagging or leading power factor of the first source, a two-period scope film and a 25-point frequency response from 10 Hz to 100 kHz with an unwrapped phase. A floating node or a loop of sources is not valid; no driving amplitude, or a response phase step above 150 degrees, reads CHECK. Five challenges are scored by the lab. For learning how impedance, phase and power behave in AC circuits.

Last updated

Calculator overview

Inputs and outputs

This summary comes from the calculator's published input and output contract.

Inputs

Your prediction: the probe's phase
When omitted Blank
About this input

Challenge 1 only: your prediction of the probe's phase relative to the source, from -180 to 180 degrees; blank until you predict.

Unit degrees Default Not set Range -180 to 180
Probe node (required)
About this input

The node whose voltage the probe reads: a node in use other than the ground node.

Default 3 Range 1 to 8
Source frequency (required)
About this input

The frequency of every AC source, from 10 Hz to 100 kHz.

Unit Hz Default 1000 Range 10 to 100000
Nodes (row k is node k; leave a row blank when the node is not used) (required)
About this input

The circuit's nodes: row k is node k, with its grid x and y (whole numbers from 0 to 10). A blank row is a node not in use; at least two nodes are needed, each on its own grid point.

Default 3 rows
ColumnRange or allowed values
Grid x 0 to 10
Grid y 0 to 10
Branches (row b is branch b; current is positive from the From node to the To node; an AC source's + terminal is its To node) (required)
About this input

The circuit's branches: row b is branch b, with its From and To nodes, its type (Resistor, Capacitor, Inductor or AC source) and its value (ohm, F, H or V peak); an AC source also takes its phase in degrees and a coil its winding resistance in ohm. Current is positive from the From node to the To node; an AC source's + terminal is its To node. A blank row is a branch not in use.

Default 3 rows
ColumnRange or allowed values
From node 1 to 8
To node 1 to 8
Type Resistor, Capacitor, Inductor, AC source
Value (Ω, F, H or V peak) 0 to 1000000
Source phase (degrees) -180 to 180
Coil resistance (Ω) 1 to 1000
Challenge number (required)
About this input

0 for no challenge; 1 to 5 score your circuit against a challenge.

Default 0 Range 0 to 5
Ground node (required)
About this input

The node at 0 V, a node in use; every phasor is measured from it.

Default 1 Range 1 to 8

Outputs

Phase jumps in the response plot
About this output

How many steps of the response plot's phase exceed 150 degrees between neighbouring frequencies; more than 0 raises a CHECK.

No unit declared
Probe phase relative to the source
About this output

The probe voltage's phase relative to the first AC source, degrees (negative = the probe lags).

Unit degrees
Branch of the response source
About this output

The branch of the first AC source, which drives the response plot.

No unit declared
Scope voltage axis upper bound
About this output

The upper bound of the scope's voltage axis, V.

Unit V
Scope current axis upper bound
About this output

The upper bound of the scope's current axis, A.

Unit A
Probe amplitude
About this output

The peak amplitude of the probe node's voltage, V.

Unit V
Power factor type
About this output

Lagging (the current lags the voltage), Leading, or Unity, for the first source.

No unit declared
Probe amplitude over the source
About this output

The probe amplitude divided by the first source's amplitude.

No unit declared
Probe node used
About this output

The node the probe reads in the results.

No unit declared
Probe gain
About this output

The probe amplitude relative to the first source, in decibels (20 log10 of the ratio).

Unit dB
Source frequency used
About this output

The source frequency the results use, Hz.

Unit Hz
Source 1 current, real part
About this output

The real part of the first source's current phasor, A (drawn on the phasor diagram).

Unit A
Reactive power delivered by source 1
About this output

The reactive power the first source delivers, var (positive for a lagging, coil-like load).

Unit var
Waveforms over two periods at the working frequency: 49 frames
About this output

The source voltage, the probe voltage and the source current over two periods at the working frequency: 49 frames.

No unit declared
Unknowns in the solved system
About this output

The number of unknowns solved: the node voltages other than ground plus the AC source currents.

No unit declared
Apparent power of source 1
About this output

The apparent power of the first source, VA.

Unit VA
Active power delivered by source 1
About this output

The active power the first source delivers, W (peak-phasor convention: half of V times the conjugate of I).

Unit W
Source 1 current, imaginary part
About this output

The imaginary part of the first source's current phasor, A (drawn on the phasor diagram).

Unit A
Source 1 current phase
About this output

The phase of the first source's current, degrees, from the real axis.

Unit degrees
Source 1 current amplitude
About this output

The peak amplitude of the first source's current, A.

Unit A
Challenge: the value scored
About this output

The value the challenge scores: the prediction error (challenge 1), the probe phase (2, 3, 5) or the input impedance angle (4), degrees.

No unit declared
Challenge goal
About this output

What the selected challenge asks for.

No unit declared
Challenge score
About this output

100 when the selected challenge is met, else 0.

No unit declared
Current phasor radius
About this output

The scale of the current phasor on the phasor diagram, A.

Unit A
Challenge result
About this output

No challenge selected, MET or NOT MET.

No unit declared
Angular frequency
About this output

The angular frequency, 2 pi times the source frequency, rad/s.

Unit rad/s
Branch results at the working frequency (current positive from the From node to the To node; power absorbed)
About this output

Every branch at the working frequency: its type, impedance and impedance angle, voltage and current amplitudes, current phase, the active and reactive power it absorbs and its role (absorbs, delivers, stores and returns, or none).

No unit declared
Frequency response from source 1 to the probe: 25 points, 10 Hz to 100 kHz
About this output

The frequency response from the first source to the probe at 25 frequencies from 10 Hz to 100 kHz: gain (dB), unwrapped phase (degrees), amplitude ratio and a phase-jump flag; a frequency with no signal shows only its frequency.

No unit declared
Challenge feedback
About this output

What the result means, or a hint toward the goal.

No unit declared
Branches in use
About this output

The number of branches in use.

No unit declared
Nodes in use
About this output

The number of nodes in use.

No unit declared
Node phasors at the working frequency (amplitude in V peak; phase from the real axis)
About this output

Every node's phasor at the working frequency: amplitude (V), phase (degrees) and its real and imaginary parts; ground reads 0.

No unit declared
Phasor diagram radius
About this output

The voltage scale of the phasor diagram, V.

Unit V
Power factor of source 1
About this output

The first source's active power divided by its apparent power.

No unit declared
The solved system at the working frequency: the real-equivalent of the complex nodal equations
About this output

The solved system at the working frequency: each real unknown (the real and imaginary parts of the node voltages and source currents), its row of the real-equivalent matrix, its right-hand side and its solution.

No unit declared
Input impedance seen by source 1
About this output

The size of the impedance the first source sees: its amplitude divided by its current's amplitude, ohm.

Unit Ω
Input impedance angle
About this output

The angle of the impedance the first source sees, degrees: positive when its current lags its voltage.

Unit degrees
Model Status
About this output

OK, a CHECK with its reason (no source drives the circuit, or the response plot may miss a sharp resonance), or NOT VALID with the node, branch or input that must change.

No unit declared
Formula module versions
About this output

The formula modules this lab uses, with their versions.

No unit declared
Model version
About this output

The model version of this lab.

No unit declared
This page is provided by LogicCommons for informational purposes only. Results are analysis outputs computed from the inputs you supply and are not professional advice. Verify all inputs and results independently.

LogicCommons is in beta. If a result, label, or reference looks wrong, tell us here; we read every message.

Methodology

Purpose and model boundary

This lab solves an AC circuit you draw on a grid of nodes. Resistors, capacitors, coils with a winding resistance and one or two sine voltage sources join at most 8 nodes through at most 12 branches, and every source runs at one shared frequency. You choose the ground node, the 0 V reference, and a probe node whose voltage the lab reports.

The model writes each element as a complex admittance and each source as a phasor, and solves the circuit by complex nodal analysis. It returns every node's voltage phasor; each element's impedance, voltage, current, active and reactive power and role; the probe's amplitude, gain and phase relative to the first source; the input impedance, powers and power factor seen by the first source; two periods of the source and probe waves; and a 25-point frequency response of the probe from 10 Hz to 100 kHz. Five challenges are scored by the model.

It is a lab for learning how impedance, phase and power behave in AC circuits: why the voltage across the capacitor of an RC circuit lags the source, why an RC filter passes 71% of its input at a 45° lag at its corner frequency, why a coil and a capacitor cancel at resonance, how a capacitor across a lagging load corrects its power factor, and why one filter stage loads another. It is not a tool for power-factor correction or mains equipment. Real components have tolerances, parasitic effects and ratings that the lab does not model.

The model is the calculation authority. The page sends the circuit you draw to the model and draws only what it returns: the node phasors and the source current phasor, the scope waves, the gain and phase of the frequency response, and the moving flow dots on the source. The page computes no voltage, current, impedance, power or phase itself.

Inputs and units

Resistance is in ohms (Ω), capacitance in farads (F), inductance in henries (H), source amplitudes in volts peak (V), phases in degrees, frequency in hertz (Hz), currents in amperes peak (A) and powers in watts (W), volt-amperes reactive (var) and volt-amperes (VA). A sine wave is described by its peak amplitude and its phase.

Input Meaning and unit
Nodes Up to 8 rows; row k is node k, at a lattice point (grid x, grid y), each a whole number from 0 to 10. A blank row is a node not in use. Default: three nodes, at (2, 2), (2, 8) and (8, 5).
Branches Up to 12 rows; row b is branch b: its From node and To node (1 to 8), its type (Resistor, Capacitor, Inductor or AC source), its value, a source phase and a coil resistance. A blank row is a branch not in use. Default: a 1 V source from node 1 to node 2, a 1,000 Ω resistor from node 2 to node 3, and a 160 nF capacitor from node 3 to node 1.
Branch value Resistor 1 to 1,000,000 Ω; Capacitor 1×10⁻⁹ to 0.001 F (1 nF to 1,000 µF); Inductor 0.00001 to 1 H (10 µH to 1 H); AC source 0 to 24 V peak.
Source phase -180 to 180 degrees: the source's phase. Read only on an AC source row.
Coil resistance 1 to 1,000 Ω: the coil's winding resistance. Read only on an Inductor row.
Ground node 1 to 8 (default 1): the node held at 0 V.
Probe node 1 to 8 (default 3): the node whose voltage the lab reports, measured from ground.
Source frequency 10 to 100,000 Hz (default 1,000): the frequency of every source.
Challenge number 0 for free exploration, or 1 to 5 to load a challenge.
Your prediction: the probe's phase Blank, or -180 to 180 degrees in whole degrees: your answer for challenge 1. Blank means not yet predicted.

A node is in use when either of its coordinates is filled; a branch is in use when its From, To, type or value is filled. Every branch in use carries all six values: the page writes a phase of 0 and a coil resistance of 1 Ω on every row it creates, and the model ignores the phase on a row that is not a source and the coil resistance on a row that is not a coil. A branch's current is positive from its From node to its To node through the element, and an AC source's + terminal is its To node.

Where each input is set:

  • On the canvas only: the circuit itself. With Move chosen, a drag moves a node and a tap on an empty lattice point adds one; Delete removes one. With an element chosen (Resistor, Capacitor, AC source, and from the Experiment level Inductor), a drag from one node to another draws that element. A value badge beside each element steps its value through the standard E24 values by a vertical drag, and the drawn element grows with its value; a source's amplitude steps by 0.1 V. Tapping an element opens a popover for an exact value, a source's phase or a coil's winding resistance. With Ground or Probe chosen, a tap on a node makes it the ground or the probe. The source frequency is a marker dragged along a logarithmic frequency axis. The phase prediction is a dashed arrow rotated on the phasor diagram in whole degrees, shown only in challenge 1.
  • In the input panel: the challenge picker only.

A second source can be drawn from the Experiment level. A level changes only what the page shows, never a calculation.

Governing relationships

Phasors. A sine voltage A·cos(ω·t + φ), with ω = 2π·f, is written as the complex number A·(cos φ + j·sin φ). Every source runs at the same ω, so the whole circuit is solved once at that frequency, and each wave is read back from its phasor.

Element admittances. Each element is a complex admittance y = g + j·b (in siemens):

  • resistor R: y = 1/R;
  • capacitor C: y = j·ω·C;
  • coil L with winding resistance r: y = 1/(r + j·ω·L) = (r - j·ω·L)/(r² + (ω·L)²).

Its impedance size and angle are R at 0°; 1/(ω·C) at -90°; and √(r² + (ω·L)²) at the angle whose tangent is ω·L/r. Because every coil has a winding resistance of at least 1 Ω, every valid circuit can be solved at every frequency.

Complex nodal analysis. The unknowns are the voltages of the nodes in use other than ground, in node order, then the currents of the AC sources, in branch order: at most 7 + 2 = 9 complex unknowns. Kirchhoff's current law at each node gives

Y·V + (source currents) = 0,

where Y sums each passive element's admittance into the rows and columns of the two nodes it joins. Each source adds one equation, v_To - v_From = E, with E = A·(cos φ + j·sin φ). The complex system (G + j·B)·x = s is written in its real form, with the real and imaginary parts of each unknown as separate rows:

G·x_r - B·x_i = s_r and B·x_r + G·x_i = s_i,

where G and B are the real and imaginary parts of the complex matrix. The 18 × 18 real system is padded with ones on the diagonal where unknowns are unused and solved by matrix inversion.

Before solving: grounding and source loops. Over 7 rounds the model spreads "grounded" from the ground node along every branch in use; a node not reached after 7 rounds is floating, and its voltage would be undefined. Over 7 more rounds it joins the nodes linked by AC sources; if the sources close a loop (two sources between the same two nodes count), their voltages would conflict. Either refuses the circuit before any solve.

Small values read as zero. With the scale V_s the largest source amplitude (or 1 V when there is none) and y_max the largest admittance size of a passive element, a node voltage smaller than 1×10⁻⁹·V_s is shown as 0 with no phase, a current smaller than 1×10⁻⁹·V_s·y_max is 0, and a power smaller than 1×10⁻⁹·V_s²·y_max is 0. A capacitor's active power and a resistor's reactive power are exactly 0.

Branch results. The voltage across branch b is v_From - v_To. A passive element's current is y times that voltage; a source's current comes from the solve. With peak phasors, the power an element absorbs is

P = ½·Re(V·I*) and Q = ½·Im(V·I*),

where I* is the complex conjugate of the current. Its role is absorbs (P > 0), delivers (P < 0), stores and returns (P = 0 but Q is not 0), or none.

The first source. For the lowest-numbered source, with E₁ its phasor and I₁ its current, the delivered power is P₁ = ½·Re(E₁·I₁*) and Q₁ = ½·Im(E₁·I₁*), the apparent power is √(P₁² + Q₁²), and the power factor is P₁ over the apparent power. It is Lagging when Q₁ is positive, Leading when Q₁ is negative, and Unity when Q₁ is 0. The input impedance is A₁/|I₁| at the angle of E₁·I₁*.

The probe. The probe ratio is the probe's amplitude over the first source's amplitude, its gain is 20·log₁₀(ratio) dB, and its phase is the angle of V_probe·E₁*, from -180 to 180 degrees. With one source this is the circuit's transfer function at the working frequency; with two sources it is the actual phase difference between the probe and the first source.

The frequency response. The model solves the circuit again at 25 fixed frequencies, 10^(1 + k/6) Hz rounded to four significant digits for k = 0 to 24 (10, 14.68, 21.54, ... 100,000 Hz, six a decade). It drives the first source with 1 V at 0° and the other source with 0 V (shorted), so the response is the transfer function from the first source to the probe, whatever the amplitudes:

  • gain = 20·log₁₀|H| dB, amplitude ratio = |H|; a point with |H| below 1×10⁻⁹ has no signal and is left blank;
  • the step between two neighbouring points is the angle of H_k·H_(k-1)*, from -180 to 180 degrees;
  • the phase is unwrapped: the first point with a signal takes its own angle, and each later one the previous phase plus its step;
  • a step larger than 150° in size is flagged as a phase jump: a sharp resonance falls between the points.

The waves. Over two periods, at 24 samples a period (49 rows), each wave is Re(phasor·e^(j·ω·t)): the source voltage, the probe voltage and the source current.

Calculation sequence

  1. Check the nodes, branches, ground, probe, frequency, challenge number and prediction in the order of the list under Errors and warnings.
  2. Check that every node in use reaches the ground node and that the sources form no loop.
  3. Number the unknowns and compute each element's admittance at the working frequency.
  4. Build the 18 × 18 real system and solve it for the node voltages and the source currents.
  5. Read the node phasors, the branch voltages, currents, powers and roles, the first source's powers, power factor and input impedance, and the probe's amplitude, ratio, gain and phase.
  6. Repeat the solve at the 25 response frequencies with the unit drive, and unwrap the phase.
  7. Write the two-period waves and the plot sizes.
  8. Set the status and, in a challenge, score it and hold back what the challenge withholds.

Outputs and interpretation

  • Probe amplitude (V peak), probe amplitude over the source, probe gain (dB) and probe phase relative to the source (degrees; negative means the probe lags).
  • Input impedance seen by source 1 (Ω) and its angle (degrees; positive for an inductive, lagging load).
  • Power factor of source 1 and its type (Lagging, Leading or Unity), and the active (W), reactive (var) and apparent (VA) power delivered by source 1.
  • Source 1 current amplitude (A) and phase (degrees, on the same reference as the source phases).
  • Angular frequency ω = 2π·f (rad/s), the number of unknowns in the solved system, the nodes in use, the branches in use, and the number of phase jumps in the response plot.
  • Settings used: the source frequency and the probe node in effect.
  • Node phasors: each node's amplitude, phase, real part and imaginary part. Ground reads 0 with no phase.
  • Branch results: for each branch, its type, impedance and impedance angle, voltage amplitude, current amplitude and phase, active and reactive power, and role.
  • The solved system: the 18 real rows at the working frequency, each with its unknown, coefficients, right-hand side and solution.
  • The frequency response: 25 rows of frequency, gain, unwrapped phase, amplitude ratio and phase-jump flag.
  • The waves: 49 rows of time (in periods), source voltage, probe voltage and source current.

Reading the canvas: the phasor diagram draws every node's voltage phasor from the origin on one voltage scale, and the scope draws the source and probe voltages over two periods with a play head over the 49 frames; flow dots move on the source's branch with the sign of its current. Explore shows the frequency marker on an axis strip under the scope. The Experiment level adds the Inductor element and a second source, the source current phasor on its own scale, the source current on the scope's right axis, the response plot (gain and unwrapped phase against a logarithmic frequency axis, with no-signal points as breaks and phase-jump points marked, and the frequency marker on its axis), the source summary and the node and branch tables. The Advanced level adds the solved system and the counts.

What to take from the lab: the capacitor's voltage in an RC circuit lags the source by the angle whose tangent is 2π·f·R·C; at an RC filter's corner frequency the resistance equals the capacitor's reactance, so the output lags by 45° at 71% of the input; at resonance the coil's and the capacitor's reactances cancel and only resistance is left; a capacitor's leading current can cancel a coil's lagging current, so the source sees almost pure resistance; and a second stage of much higher impedance hardly loads the first.

Challenges

Each challenge loads its own circuit, probe, ground and frequency, and the page leaves only some parts to you. The model scores the circuit as you leave it, nothing replaced: a challenge is met only when the circuit is valid, the ground is node 1, the probe, the frequency and the number of branches are the challenge's own, every fixed branch is unchanged (a passive element may be drawn the other way round), and the target holds. The model scores each challenge MET (100) or NOT MET (0) and gives a one-line hint while it is not met.

  1. Predict the lag. A 1 V source drives 1 kΩ and 47 nF at 5 kHz, and the probe measures across the capacitor. Rotate the dashed arrow to predict how far the probe's wave lags the source. Met when your prediction is within 5° of the probe phase. The value scored is your prediction minus the probe phase, wrapped into -180 to 180 degrees.
  2. Build a 45 degree filter. Choose the resistor and the capacitor so that, at 2 kHz, the probe lags the source by 45° within 2° and reads 3 dB below it within 0.3 dB. Met when both hold. The value scored is the probe phase.
  3. Tune the band-pass. A source, a 10 mH coil, a capacitor and a 100 Ω resistor form a loop; the probe reads the resistor. Tune the capacitor so that, at 5 kHz, the probe is in step with the source within 3° and no more than 0.5 dB below it. Met when both hold. The value scored is the probe phase.
  4. Correct the power factor. A 10 Ω resistor and a 50 mH coil draw a lagging current at 60 Hz. Draw one capacitor across the source and set its value so the current is within 5° of the voltage. Met when the input impedance angle is within 5° of 0. The value scored is that angle.
  5. A quarter turn without losing the signal. Two RC stages at 1 kHz. Set the four parts so the output lags the source by 90° within 2° while keeping at least 45% of its amplitude. Met when both hold. The value scored is the probe phase.

Challenge 1 holds back the answer until you predict: while the prediction is blank, every result that shows a phasor, a wave, an impedance, a power or the response is blank, and so are every table and the drawings; the status, the angular frequency, the counts and the settings used stay, and the challenge reads NOT MET with the prompt to predict first. Any prediction reveals everything, met or not. Challenges 3 and 5 hold back the frequency response and its phase-jump count until they are met, because the response would show where the answer lies; the probe cards at the working frequency stay as the tuning tool. Challenges 2 and 4 hold nothing back. The value scored is shown whenever the circuit is valid and the challenge is not awaiting a prediction, met or not.

Validation and status logic

The status reads the first match in the list under Errors and warnings. The checks run on the values you entered: the node items first, then the branch items row by row, then the ground, probe, frequency, challenge number and prediction; each item names the lowest node or branch that fails it. The grounding and source-loop checks run only when every earlier item passes. A source's phase is checked only on an AC source row and a coil's resistance only on an Inductor row; the prediction is checked only in challenge 1. The CHECK items apply only to a valid circuit, inside challenges too. With an invalid challenge number the challenge reads No challenge selected; with any other NOT VALID item inside a challenge it reads NOT MET with that challenge's goal and hint.

Assumptions and limitations

  • At most 8 nodes, 12 branches and 2 AC voltage sources, all at one frequency; sinusoidal steady state only. There are no current sources.
  • Every coil has a winding resistance of at least 1 Ω, so every valid circuit can be solved at every frequency. Resistors, capacitors and sources are otherwise ideal.
  • Amplitudes are peak values, and powers use the peak-phasor form ½·V·I*.
  • The frequency response has 25 points, six a decade from 10 Hz to 100 kHz, and can miss a resonance narrower than its spacing; a phase step above 150° between two points raises a CHECK.
  • The frequency response is the transfer function from the first source with the other source shorted; the probe values at the working frequency use the actual sources.
  • A voltage below one billionth of the source size reads 0, and currents and powers have matching floors.
  • Very wide value spreads, such as 1 Ω beside 1 MΩ at the ends of the ranges, lower the solve's accuracy.

Restrictions and non-computing states

Under NOT VALID every result, table, wave and response point is blank, except the number of nodes and branches in use and the challenge outputs described under Validation and status logic.

With no AC source, or no source with an amplitude above 0, every voltage and current is 0 and the status reads CHECK. With no source at all, the source results, the waves and the frequency response are blank; with a source of 0 V the frequency response is still computed, because it uses a unit drive.

A response point with no signal at the probe shows its frequency only, and a node with a voltage that reads 0 has no phase.

In a challenge, the results described under Challenges are held back until the challenge allows them.

Errors and warnings

The status messages, first match wins (k, j and b are the lowest node or branch numbers that fail):

  • NOT VALID: node k needs both grid coordinates as whole numbers from 0 to 10, or neither
  • NOT VALID: nodes j and k are on the same grid point
  • NOT VALID: at least two nodes are needed
  • NOT VALID: the ground node must be a node in use
  • NOT VALID: branch b needs a type: Resistor, Capacitor, Inductor or AC source
  • NOT VALID: branch b must join two different nodes in use
  • NOT VALID: branch b has a value outside its range (resistor 1 Ω to 1 MΩ, capacitor 1 nF to 1,000 µF, coil 10 µH to 1 H, AC source 0 to 24 V)
  • NOT VALID: branch b is an AC source and needs a phase from -180° to 180°
  • NOT VALID: branch b is a coil and needs a winding resistance from 1 Ω to 1,000 Ω
  • NOT VALID: at least one branch is needed
  • NOT VALID: at most two AC sources are allowed
  • NOT VALID: the probe must be on a node in use other than the ground node
  • NOT VALID: the source frequency must be from 10 Hz to 100 kHz
  • NOT VALID: the challenge number must be a whole number from 0 to 5
  • NOT VALID: the phase prediction must be blank or a number from -180° to 180°: challenge 1 only.
  • NOT VALID: node k is floating: no path of branches joins it to the ground node, so its voltage is undefined
  • NOT VALID: the AC sources form a loop (two in parallel count), so their voltages conflict
  • CHECK: no AC source has a non-zero amplitude, so every voltage and current is 0
  • CHECK: the phase of the response jumps by more than 150° between two neighbouring frequencies of the response plot; a sharp resonance falls between its points, so the plot can miss its peak: a source exists and at least one response step is larger than 150° in size.
  • OK

References

This laboratory is an educational model of AC circuits of resistors, capacitors and coils with winding resistance, driven by one or two sine voltage sources at one frequency. Each element is written as a complex admittance, and each source as a phasor of its amplitude and phase. The circuit is solved by complex nodal analysis: Kirchhoff's current law at every node other than ground, plus one equation for each source, whose current becomes an extra unknown. From the node phasors it finds each element's current and its active and reactive power, the amplitude, gain and phase at a probe node, and the input impedance, apparent power and power factor seen by the first source. A frequency response from 10 Hz to 100 kHz repeats the solution at 25 frequencies. Before solving, it refuses a floating node or a loop of sources.

Sources and further reading

  • Sinusoids and phasors, nodal analysis with phasors, AC power and the power factor, and frequency response: C. K. Alexander and M. N. O. Sadiku, Fundamentals of Electric Circuits, 7th edition, 2026 release, McGraw Hill, chapter 9, Sinusoids and Phasors, chapter 10, Sinusoidal Steady-State Analysis, chapter 11, AC Power Analysis, chapter 14, Frequency Response, and appendix A, Simultaneous Equations and Matrix Inversion. McGraw Hill
  • Reactance, impedance and phase angle, power and the power factor, and resonance, at an introductory level: S. J. Ling, J. Sanny and W. Moebs, University Physics Volume 2, OpenStax, 2016, sections 15.2, Simple AC Circuits, 15.3, RLC Series Circuits with AC, 15.4, Power in an AC Circuit, and 15.5, Resonance in an AC Circuit. OpenStax, section 15.2 OpenStax, section 15.3 OpenStax, section 15.4 OpenStax, section 15.5
  • Standard definitions of electric power quantities, for further reading: IEEE Std 1459-2025, IEEE Standard Definitions for the Measurement of Electric Power Quantities Under Sinusoidal, Nonsinusoidal, Balanced, or Unbalanced Conditions, IEEE, 2025. IEEE Standards Association

No table or text from any of these publications is reproduced, and none of their authors or publishers has reviewed or endorses this laboratory.

This laboratory is for learning. Its results hold only within its stated ranges; real components have tolerances, parasitic effects and ratings that it does not model, and it is not a tool for power-factor correction or mains equipment.

Results are informational and not professional advice. See our Terms of Use. Powered by SpreadsheetWeb · About · Privacy · Terms