Open the simulator

Wired it wrong? Find out why.

Build a circuit, switch it, break it. WireWhy calculates the current in every wire, so you see why the RCD trips, the breaker holds, or the lamp stays dark.

No account needed · Computers, tablets, and phones · 230/400 V, 50 Hz; 127/220 V, 60 Hz in Brazil

Bathroom light · demo board
Supply TN-C-S LNPE RCD 30 mA type A CLOSED F1 B10 Switch N bar Lamp 1 A Supply TN-C-S LNPE RCD 30 mA type A CLOSED F1 B10 Switch N bar Lamp 1 A
Through the RCD

L 0.00 A · N 0.00 A · ΔI 0.00 A

The RCD trips at a 30 mA difference.

What happened

Switch open. Nothing flows.

The lamp's neutral is on the N bar, after the RCD.

Readings and the finding are the simulator's results for this board. Open this board in the simulator →

The circuit is solved, not just drawn.

A wiring diagram shows what is connected. WireWhy works out what that wiring does: every time you add a wire, flip a switch, or put in a fault, the whole circuit is calculated again.

  1. Your circuit

    Devices, terminals, wires, and the state of every switch and breaker.

    Supply TN-C-S 230 V RCD 30 mA → F1 B10 Switch closed
  2. Solving

    Steady state by modified nodal analysis with complex phasors, at the supply frequency and at every frequency the electronics add.

    V at every terminal I in every wire
  3. Protection

    The fastest protective device that should trip, trips. Then the circuit is solved again, until nothing changes.

    ΔI 1.00 A ≥ 30 mA RCD trips after 20 ms
  4. What you see

    Currents in the wires, the trip, and a finding in plain words, with the current's path marked wire by wire.

    Finding: critical wires 1 → 5
Water heater on the demo board
load
39 A
cable
1.5 mm²
breaker
F2 B32
instant trip
no: that needs 5 × 32 A = 160 A
cable
overheats until its insulation fails
found by
the installation tester, insulation resistance
Metal light fitting, PE left off
fault
line to the fitting's metal
PE terminal
230 V against earth
protection
nothing trips
with PE wired
the breaker or the RCD clears it

Five things to try in the first five minutes

Follow the current that trips the RCD

Open the demo board and switch the bathroom light on. The RCD trips, and the wires that carry the stray current are numbered from the supply.

RCD 30 mA tripped after 20 ms at 1.00 A cause: the lamp's neutral bypasses the RCD

A traced RCD trip: numbered wires show the current that bypasses the RCD's neutral.

Put a fault on a device

An earth fault, a short circuit, or an overload, on any device. Leave the earth off a metal fitting and it shows the voltage you would touch.

Metal fitting: PE terminal at 230 V nothing trips

An earth fault on a metal light fitting with its earth left off: the fitting shows 230 V in red, and the finding explains why touching it is dangerous.

Measure it before you are told the answer

Clip the multimeter to any two terminals, or take the installation tester for continuity and insulation. Each reading goes into a results table against its IEC 60364-6 limit.

Lamp L–N: 229.2 V PE continuity, supply to lamp: 0.01 Ω

The multimeter clipped to a lamp's screws, reading 229.2 V, with the reading recorded in the results table.

Find the hidden fault

One fault is hidden in a working circuit: a failed lamp, a loose screw, a leak to earth. Switch, measure, name the device or wire at fault, and get a score for the answer, the reading that proves it, and safe isolation.

Hall light dark: lamp L–N 230 V E1, failed device: 85 / 100

A fault board answered: 230 V across the hall light that stays dark is recorded, the lamp is named as failed, and the answer scores 85 out of 100.

See why the type of RCD matters

Plug a washing machine with a frequency converter into a socket behind a type AC RCD and put an earth fault inside it. The RCD stays closed: it cannot see current at a mixed frequency. Set it to type F and it trips.

RCD 30 mA type AC: stays closed mixed frequency: type F needed

A washing machine with an earth fault inside its frequency converter, behind a type AC RCD that stays closed, and the finding that says a type F is needed.

What WireWhy models

Low-voltage installations as an apprentice meets them: house boards, lighting, sockets, motor control, and the tests that prove them.

Supplies230/400 V 50 Hz · 220/380 V 50 and 60 Hz · 127/220 V 60 Hz · 120/240 V 60 Hz split-phase with 120/208 V three-phase · one, two, or three phases
Countries and rulesPoland (PN-HD 60364) · Germany (DIN VDE 0100) · Austria (OVE E 8101) · Switzerland (NIN 2025) · Portugal (RTIEBT, TT by default) · Brazil (NBR 5410) · United States (NEC 2023) · United Kingdom (BS 7671) · elsewhere (IEC 60364)
EarthingTN-C-S, TN-S, TT · the service connection's PEN, split on a PEN bar in the board · the earth electrode with its RA · realistic TT: L and N from the network, PE from the installation's own electrode, an unearthed TT flagged · Ze of the network · a broken PEN · touch voltage on exposed metal
ProtectionMCB curves B, C, D, one to three poles · RCD 10–500 mA, two and four poles, selective · RCD types AC, A, F, B: a type too weak stays closed on a DC or mixed-frequency fault · RCBO · AFDD · fuses · the service fuse · selectivity · GFCI breakers and receptacles on 120/240 V
Boardmain switch · energy meter · surge protectors, one to four poles · N, PE, and PEN bars · DIN rails
Cablescross-section, length, copper or aluminium · rated by how they are installed · their resistance in the fault loop · overheating when the breaker does not cover the cable · junction boxes
Switchingone-way, two-way, intermediate, in one, two, or three gangs · push-buttons
Controlcontactors that hold themselves in · interlocked reversing starters · star-delta starters · overload relays · motor protection breakers · phase monitoring relays · time relays · impulse relays · staircase timers · time on the canvas: watch it run, or skip to the next event
Loadslamps · heaters · sockets, single- and three-phase: type E, Schuko, Swiss, NEMA · appliances with electronics: power supplies, a washing machine or heat pump on a frequency converter, an EV charger on a DC bus · their harmonics loading the neutral · their standing leakage adding up behind one RCD · motors, single- and three-phase, with a terminal box for star or delta · indicator lamps · phase indicators
Faultsearth fault · short circuit · overload · open or poor contact · failed device · a neutral bypassing an RCD · a neutral touching earth · a lost PEN · unearthed metal · a surge from the supply · a TT installation not earthed · an RCD type too weak for the load
Instrumentsmultimeter V, Ω · voltage tester and safe isolation with a lock-off · socket tester · installation tester: continuity, insulation resistance, loop impedance, RCD trip time and current, phase sequence · a results table and a test report
Drawingswiring diagram · single-line diagram · board layout · terminal plan · breaker labels

What it is not

  • Not SPICE: no transistors and no transients. An installation is solved in its steady state, at the supply frequency, its harmonics, and the DC or other frequencies that electronics leak.
  • Not a certified design package: the drawings are for training and planning.
  • Not a substitute for testing a real installation, or for a qualified electrician.
  • No arcs and no surges are solved: an AFDD trips as an RCBO would, and a surge from the supply reaches the surge protector by a rule.

Which rules it follows

  • Generic training assumptions based on IEC 60364. The currents themselves are solved from the circuit, not looked up.
  • Verdicts and the test report follow the country chosen in Preferences: the ⅔ correction of the loop test in Poland (PN-HD 60364-6) and Germany (DIN VDE 0100-600), Brazil's NBR 5410, Austria's OVE E 8101 and Switzerland's NIN (30 mA protection on lighting in homes), Portugal's RTIEBT (2.5 mm² socket circuits in homes, 30 mA on outdoor and bathroom sockets), and on 120/240 V the NEC's GFCI protection, small-conductor sizing, and multiwire branch circuits. WireWhy Pro's installation planner follows the full national rules: PN-HD 60364 and N SEP-E-002 in Poland, DIN VDE 0100 and DIN 18015 in Germany, NBR 5410 in Brazil, and the NEC 2023 in the United States.
Everything WireWhy does →

Who uses it

Learning

A course from the first lamp to motor control, a lab for every device, fault boards and endless fault practice, and exam practice with a timed mock exam. Exercises check your wiring, however you wire it.

Start the course →

Teaching

Show a borrowed neutral or a lost PEN as often as the class needs. Build exercises that mark themselves, and let a class follow your canvas with a short code.

Working electricians

Check what a customer's odd wiring really does before it goes into a wall: what trips, and what stays live.

Why I built it

Circuit simulators either teach electronics at component level, or let you draw wiring without saying what the installation does. I wanted one where you could wire a bathroom light wrong, switch it on, and see why the RCD trips.

Mateusz Hinca, WireWhy

Questions

Is it free?

The simulator is free: the canvas, the simulation and its explanations, the home installation devices (three-phase included), exercises, and sharing. Paid plans add motors and control devices, fault practice, exam practice, saving online, your progress on your phone and computer, and tools for teachers.

Do I need an account?

No. Open the simulator and start; your circuit stays in this browser until you share it. A pass needs no account either: pay now, and sign in later to use it on your other devices. You need an account for a subscription, and to keep circuits and course progress online.

Does it work on a phone or tablet?

Yes. Devices, wires, and the simulation work by touch; a larger screen is more comfortable for big circuits.

Can I use it with my class?

Yes. Share an exercise as a link, or start a follow-along session: the class joins with a short code and sees your canvas live.

Build a circuit. Break it. See what happens.

Open the simulator