Formula Reference

Equations implemented by the simulator (pulse + sine, RL + series RLC + (R+L)||C).

Topologies + Governing Equations
Series RL (state eq.) L · di/dt + Rtotal · i(t) = vsrc(t)
Series RLC (KVL) vsrc(t) = vR(t) + vL(t) + vC(t)
(R+L)||C (parallel) isrc(t) = iRL(t) + iC(t),   v(t) = vsrc(t) = vC(t) = vRL(t)
Element laws vR=iRtotal,   vL=L·di/dt,   iC=C·dv/dt
Time constant (RL branch) τ = L / Rtotal
Core definitions
Total resistanceRtotal = Rcoil + Rload
Resistor drop (series)vR(t) = i(t) · Rtotal
Magnetic energyWL(t) = ½ · L · i²(t)
Capacitor energyWC(t) = ½ · C · vC²(t)
Flux linkage changeΔλ = L · Δi
Capacitor chargeq(t) = C · vC(t)
Capacitor charge changeΔQcap = C · ΔvC
Pulse mode
Period / dutyT = 1/f,   Ton = T·d,   Toff = T − Ton
Ideal pulse sourcevsrc(t) = V for 0→Ton, else 0
RL DC limitI∞ = V / Rtotal
RL ON currention(t) = I∞ + (I₀ − I∞) · e^(−t/τ)
RL OFF currentioff(t) = Iend · e^(−t/τ)
Steady I₀ (periodic) I₀ = I∞(1−a)b / (1−ab),   a=e^(−Ton/τ),   b=e^(−Toff/τ)
Pulse RLC / parallel steady state Solved as a periodic state transition over one period T (exact linear system closure)
State vector x = [ i, vC ]T
Series RLC state equation ẋ = A x + b·vsrc(t),   A = [[−R/L, −1/L], [1/C, 0]],   b = [1/L, 0]T
Segment propagation x(t) = Φ(t)x(0) + Γ(t)V,   Φ(t)=eAt
Periodic closure (I − ΦoffΦon)x₀ = ΦoffΓonV
Parallel voltage identity For (R+L)||C: vC(t) = vsrc(t) (same node voltage)
Sine mode (steady-state)
Angular frequencyω = 2πf
ReactancesXL = ωL,   XC = 1/(ωC)
Series net reactanceX = XL − XC
Series impedance magnitude|Z| = √(R² + X²)
Series phaseφ = atan2(X, R)
RMS valuesVrms = Vpk/√2,   Irms = Ipk/√2
Parallel admittance Y = 1/(R + jXL) + jωC
Parallel conductance G = R / (R² + (ωL)²)
Parallel susceptance B = −ωL / (R² + (ωL)²) + ωC
Parallel admittance split Y = G + jB
Parallel impedance Z = 1/Y,   |Z| = 1/|Y|,   φ = arg(Z) = −arg(Y)
Resonance + bandwidth
Series resonancef0 = 1 / (2π√(LC))
Series quality factorQ0 = ω0L / R = 1/(ω0 C R)
Series bandwidth (approx.)BW ≈ f0 / Q0
Detuningδ = (ω − ω0) / ω0
Parallel resonance (R+L)||C ω0² = 1/(LC) − (R/L)²   (requires ω0² > 0)
Parallel resonance behavior At ω≈ω0: net susceptance ≈ 0 → φ≈0 and |Z| peaks
Power + energy metrics
Mean power split (resistive) Pload = Rload·⟨i²(t)⟩,   Pcoil = Rcoil·⟨i²(t)⟩,   Psrc = Pload + Pcoil
Apparent powerS = Vrms·Irms
Power factorPF = P/S
Reactive power (sine)Q = Vrms·Irms·sin(φ)
Reactive split (series RLC) QL = Irms²XL,   QC = −Irms²XC,   Qnet = Irms²(XL − XC)
Instantaneous source powerp(t) = vsrc(t) · i(t)
Resistive losspR(t) = i²(t) · R
Inductor powerpL(t) = vL(t) · i(t) = dWL/dt
Capacitor powerpC(t) = vC(t) · i(t) = dWC/dt
Energy balance (per period) Egen = ∫₀ᵀ vsrci dt,   ER = ∫₀ᵀ i²R dt,   Egen ≈ ER + ΔWL + ΔWC
Windowed metrics (0 → τ)
Impulse metric∫₀^τ |vL(t)| dt
Peak back-EMFmax₀→τ |vL(t)|
Window charge-transfer metricQwin = ∫₀^τ i(t) dt
Δi windowΔiwin = i(τ) − i(0)
Δλ checkΔλwin = L·Δiwin
Peak magnetic energy in windowWL,pk(0→τ) = ½·L·max₀→τ(i²(t))
Magnetic energy changeΔWL(0→τ) = ½·L·(i²(τ) − i²(0))
Inductor consistencyΔWL(0→τ) ?= ∫₀^τ vL(t)·i(t) dt
Capacitor RMS voltage in windowVC,rms,win = √[(1/τ)·∫₀^τ vC²(t) dt]
Peak capacitor voltage in windowVC,pk(0→τ) = max₀→τ |vC(t)|
Peak capacitor energy in windowWC,pk(0→τ) = ½·C·max₀→τ(vC²(t))
Capacitor charge changeΔQcap(0→τ) = C·(vC(τ) − vC(0))
Capacitor energy changeΔWC(0→τ) = ½·C·(vC²(τ) − vC²(0))
Capacitor energy integral∫₀^τ vC(t)·i(t) dt
Capacitor consistency (C>0)ΔWC(0→τ) ?= ∫₀^τ vC(t)·i(t) dt
Reactive exchange / tank metrics (0 → τ)
Average inductor powerPL,avg(0→τ) = (1/τ)·∫₀^τ vL(t)·i(t) dt
Average capacitor powerPC,avg(0→τ) = (1/τ)·∫₀^τ vC(t)·i(t) dt
Net tank average powerPtank,avg(0→τ) = PL,avg + PC,avg
Peak exchange magnitudePexchange,pk(0→τ) = max₀→τ |pL(t)|
Pulse PQ (fundamental extraction)
Fundamental phasorX₁ = (2/T) · ∫₀ᵀ x(t)·e^(−jωt) dt,   ω = 2π/T
RMS of fundamentalXrms,1 = |X₁| / √2
Fundamental powersP₁ = ½·Re{V₁ I₁*},   Q₁ = ½·Im{V₁ I₁*},   S₁ = Vrms,1Irms,1
PF (fundamental)PF₁ = P₁ / S₁
IEEE-style decompositionSeq² = P₁² + Q₁² + D²
Symbols follow the code: R = Rtotal, τ = L/R. Series RLC uses KVL closure vC = vsrc − vR − vL. In (R+L)||C the capacitor voltage equals the source node voltage (vC=vsrc). Pulse PQ values are derived from the repetition fundamental.

Boundary Conditions

Valid only for linear inductance (L = const), ideal capacitance (C = const), lumped-element approximation, no saturation, no hysteresis, and no mutual coupling (k = 0).

Any deviation in laboratory measurements implies additional physical phenomena beyond these single-branch reference models.