2D Transformer Simulator — Mutual Induction & Efficiency
Interactive 2D transformer simulator: real mutual-inductance coupling between primary and secondary coils via a shared changing flux, adjustable turns ratio and load, and a real-transformer mode showing genuine core and copper losses reducing efficiency.
This 2D simulator solves a real transformer equivalent circuit rather than just re-scaling a waveform: a shared, time-varying magnetic flux couples the primary and secondary coils through Faraday's law, so the induced secondary EMF genuinely tracks the primary EMF in the fixed ratio set by the turns N₂/N₁. Adjust the turns ratio and load resistance to see correct voltage and current transformation in real time, watch the flux visibly lag the driving voltage by 90° as the physics predicts, and switch on "real transformer" mode to see genuine copper (I²R) and core (hysteresis/eddy-current) losses pull efficiency below the ideal 100% — exactly the trade-offs engineers manage in mains transformers and distribution grids.
A 2D transformer simulator that solves a real mutual-inductance equivalent circuit: a shared changing magnetic flux couples primary and secondary coils via Faraday's law, giving genuine turns-ratio-determined voltage and current transformation (Vs/Vp = Ns/Np, Is/Ip = Np/Ns) with power conserved at the ideal limit. A real-transformer toggle adds copper (I²R) and core (hysteresis/eddy-current) losses that pull efficiency below 100%.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install