Home Wiring Simulator: Switches, Breakers, GFCI / RCD and Solar Panels

Free interactive home wiring simulator: see current flow through a light and switch, wire stairway (3-way / two-way) switches, overload a kitchen circuit until the breaker trips, cause a short circuit and a ground fault, see how a GFCI or RCD saves you from a shock, and watch solar panels, a battery and the grid share a day. North American and European wiring.

For learning only. This simulator shows how home wiring works so you understand what you see and stay safe. Real wiring work is dangerous and in most places needs a licensed electrician and a permit. Always turn the breaker off before touching anything.

Wiring in:

Home wiring simulator

Swipe the picture sideways to see all of it.

Click the breaker, switches and appliances in the picture, or use the buttons. Moving dashes show where current flows; a red glow shows wires that are live (at full voltage).

Wire colours

WireNorth AmericaEurope, UK (since 2006), AustraliaWhat it does
Hot / Live black (also red for a second hot) brown (Australia: brown or red)Carries the voltage from the panel to the device.
Neutral white or grey blue (Australia: blue or black)The return path; normally near 0 V.
Ground / Earth green or bare copper green and yellowCarries no current, except during a fault, when it trips the breaker.
Travellers often red, or black / white marked black, grey or brownThe pair between stairway switches.

Old houses may use older colours (UK before 2006: red live, black neutral). Never trust a colour alone: test with a proper voltage tester.

How home wiring works

Every circuit in a house is a loop: current leaves the panel on the hot (live) wire, passes through whatever is switched on, and returns on the neutral. A breaker on each circuit protects its wires from overheating, a third wire, the ground (earth), makes sure a fault trips that breaker, and a GFCI or RCD protects people from shocks.

Questions

Why does the switch go on the hot wire?
So that turning it off removes the voltage from the light. A switch on the neutral still turns the light on and off, but the socket stays live while it's off: change a bulb and you can get a shock.
How do two switches control one light?
Each switch is a changeover switch (a 3-way switch in North America, a two-way switch in Europe) that connects its common terminal to one of two traveller wires. The light is on when both switches pick the same traveller, so flipping either one always changes it. A 4-way (intermediate) switch in between adds more places.
Why does my breaker trip?
Too much current. A small overload (say 25 A on a 15 A or 20 A circuit) heats a bimetal strip and trips it after seconds to minutes. A short circuit trips its magnet in a few thousandths of a second. Kettles, space heaters and hair dryers are the usual causes; spread them over different circuits.
What does the ground (earth) wire do?
Nothing, until something goes wrong. If a hot wire touches a metal case, the ground wire gives the current a low-resistance way back, so a big current flows and the breaker trips at once. Without it, the metal stays live until someone touches it.
What is the difference between a breaker and a GFCI / RCD?
A breaker protects the wires and trips on amps. A GFCI (North America, trips at about 5 mA) or RCD (Europe, usually 30 mA) protects people: it compares the current going out on the hot wire with the current coming back on the neutral, and cuts the power within about 25 milliseconds when some goes missing, for example through a person.
How much current is dangerous?
Roughly: 1 mA is a tingle, 10 mA makes it hard to let go, 30 mA makes breathing hard, and around 75 to 100 mA for a second can stop the heart. Wet skin and a wet floor let far more current flow, which is why bathrooms and kitchens need GFCIs / RCDs. These are typical figures from IEC 60479; real people differ.
Why do solar panels stop working in a power cut?
Grid-tied inverters must switch off when the grid goes down (anti-islanding), so they don't send power into street wires that line workers think are dead. To keep power during a cut you need a battery system with a backup switch (gateway) that first disconnects the house from the grid.
How accurate is this simulator?
It uses typical textbook values: copper resistance, standard breaker sizes, a simplified breaker curve (2ร— the rating trips in about 20 s), wire heating with a 90-second time constant, typical body resistances and a clear-sky solar day. Real breakers, wires, people and roofs vary. It is for learning, not for designing an installation.

Related: Ground Rod & Earthing Simulator ยท Electromagnetic Fields Simulator ยท Jump-Start a Car.

Comments
Advertisement