Electrical Wiring Simulator & Trainer
Real Components • True Multicore Cables • SWG & Amp Sizing • Live Faults — Simulate • Explore • Practice • Quiz
Σ Live equations — from the current circuit
1 Overview
The Electrical Wiring Simulator is a hands-on domestic installation trainer. You place realistic components — a consumer unit with breakers, one-way and two-way wall switches, 13 A sockets, ceiling roses, lamp holders and household appliances — onto a workbench, then wire them together with true multicore cables. Each cable end fans out into its individual coloured conductor nodes (brown Line, blue Neutral, green-yellow Earth), exactly like stripping a real cable. Turn the power on and the circuit comes alive: lamps light, fans spin, breakers trip and overloaded cables overheat.
It is built for electrical trainees, vocational students and instructors who want to practise wiring safely before touching real conductors.
2 Getting Started
- Add a component: tap a palette item to drop it on the board, or drag it straight from the palette to the exact spot you want. Either way you can drag it again on the board to reposition.
- Protect a section: drop an MCB Breaker in-line on a circuit's Line conductor (In → Out) and set its rating — it trips if that section is overloaded; tap it to reset.
- Join many wires: use a Connector Block as a distributor — all its terminals are one common node, so you can branch one connection (Line, Neutral or Earth) out to several conductors. Select it and press ↻ Rotate 90° (inspector or toolbar, or R) to turn it to any of four orientations so it lines up neatly with your wiring.
- Add a cable: in the Cable Builder pick a core type (e.g. Twin & Earth) and a size, then press Add Cable. The cable appears with coloured conductor nodes at each end.
- Wire it up: drag a conductor node (the small coloured dot at a cable tip) onto a component terminal to make a connection.
- Join two wires: drag one conductor tip onto another conductor's tip — an insulator connector appears over the splice. Click that connector (or tap either connected conductor) to open the joint again.
- Bend & route a cable: select a cable and grab the round anchor just past either end. Drag it along the cable to extend that side, or drag it sideways (90°) and the cable folds a right-angle corner and continues in that direction — keep dragging and turning to add more corners. Drag the cable body to move the whole run, drag a corner to reshape it (right-click a corner to remove it), and use the ↻ button (or R) to rotate 90°.
- Plug in an appliance: in the Cable Builder pick Power cord — 3-pin plug, add it, and wire its bare end into an appliance's L, N, E. Then drag its moulded 3-pin plug onto a 13A socket — it seats in the face and connects Line, Neutral and Earth automatically. Tap the socket to flip its switch — the red neon glows when it is switched on and live, and the appliance only runs when the socket is on.
- Energise: press Power ON. Toggle switches by tapping them.
- Edit tools (bottom of the canvas): Undo, Redo, Duplicate, Rotate cable, Delete and Clear.
- Left panel: the Selected Item inspector sits at the top and opens automatically when you select something on the board (and folds away when nothing is selected); below it, Components and Household Loads are collapsible sections — click a heading to fold it away.
- Keyboard: Ctrl+Z undo, Ctrl+Shift+Z (or Ctrl+Y) redo, Ctrl+D duplicate, R rotate a selected cable, Delete delete (Shift+Delete clears the board), P power, G generate.
- Save / Open: use Save to download your circuit as a
.jsonfile and Open to load one back later — handy for sharing or resuming work. - Fullscreen: the Fullscreen button (or F) expands the workbench to fill the screen.
- Examples: pick a circuit from the Load an example menu and it loads instantly, fully wired, for you to study or modify.
3 Simulate Mode
Simulate is the wiring workbench. The toolbar gives you Power, an example-circuit menu, a 230 V / 120 V supply toggle, and Save / Open / Fullscreen; the in-canvas tools handle undo, redo, duplicate, rotate, delete and clear. The readout badges show supply voltage, total load current, how many loads are live, and overall status. The fault strip lists any wiring problems it detects:
- Overloaded cable — current exceeds the cable's rating; it heats up and, if the protective device is too big, catches fire. Both the Line and the Neutral conductors carry the load current, so an undersized neutral overheats too.
- Breaker tripped — overload (thermal, after a short delay) or a Line-Neutral short (instant magnetic trip). On a short the nearest protective device operates: a plug fuse or spur fuse blows before the main breaker trips (discrimination).
- Earth fault — Line touching Earth trips the 30 mA RCD; with no RCD fitted, the heavy fault current trips the breaker instead, and the tool explains why an RCD would be safer.
- Neutral–Earth fault — a Neutral connected to Earth trips the RCD as soon as a load draws current; without an RCD it goes unnoticed, which is exactly why it is dangerous.
- Reversed polarity — a load wired with Line and Neutral swapped still runs (AC does not care), but the tool flags it as a danger: the appliance's own switch and fuse end up in the Neutral.
- Missing earth — a metal-bodied (Class I) appliance with no protective earth is a shock hazard.
- Switched neutral — the switch breaks the neutral instead of the line.
- Wrong / blown plug fuse — every 3-pin power cord carries its own BS 1363 plug fuse (3, 5 or 13 A, set in the cable inspector). A fuse bigger than the flex is flagged; a sustained overload blows the fuse, and you replace it from the inspector.
- Socket overloaded — sockets are rated 13, 16 or 32 A (set in the inspector). Draw more than the rating through a socket and its contacts overheat — fit a 32 A socket, or feed fixed heavy loads like a water heater through a Fused Spur (fuse options now up to 32 A).
In a ring final circuit the readouts show the current genuinely dividing between the two legs of the ring — the shorter leg carries proportionally more — so you can see why a ring lets a 2.5 mm² cable serve a 32 A breaker.
4 Cable Builder & SWG Sizing
Real installations use multicore sheathed cable, not loose wires. The Cable Builder lets you choose:
- Core type: single-core (individual Line, Neutral or Earth conductors — as used in conduit/trunking or for earth bonding), 2-core (Line + Neutral), Twin & Earth (+ bare earth), 3-core + earth (for two-way switching), and 2-core / 3-core flex for appliances.
- Size: metric mm² (1.0, 1.5, 2.5, 4, 6, 10) or the equivalent SWG number, each showing its current rating. Pick a size whose rating exceeds the load current from I = P / V.
The golden rule the simulator grades against is Iload ≤ Idevice ≤ Icable: the fuse or breaker must be bigger than the running current but smaller than the cable rating.
5 Explore Mode
Explore organises the theory into four categories: Wire & Cable (SWG, mm², ratings, core colours), Components (switches, sockets, consumer unit, FCU), Protection & Safety (MCB, RCD, earthing, fuses) and Circuits (one-way, two-way, ring/radial, loop-in). Each card has a clear explanation and, where relevant, a worked example.
6 Practice & Quiz
Practice mode mixes calculation problems (find the load current, pick the cable, size the fuse) with wiring-choice questions. Type or choose your answer, press Check, and read the worked solution. Your score is tracked.
Quiz mode presents 5 questions on cable sizing, colours, switching and protection, then gives a score with a star rating and a per-question breakdown.
7 Key Formula & Safety Note
Every current in the tool comes from I = P / V. Example: a 2000 W heater at 230 V draws 2000 / 230 ≈ 8.7 A, so a 1.5 mm² flex (16 A) with a 13 A plug fuse is safe. The same heater on a US 120 V supply would draw 16.7 A — nearly double — which is why the 120 V toggle recomputes every current.
Safety: all current ratings here are teaching nominals. Real installations must be sized and derated per BS 7671 / local code. This simulator is an educational aid, not a substitute for a qualified electrician.
A Realistic House Wiring Simulator for Electrical Training
This electrical wiring simulator lets you build real domestic circuits the way an electrician does: with recognisable switches, sockets, lamps, appliances and a consumer unit, joined by genuine multicore cables rather than abstract lines. You choose each cable's core configuration and size, wire every coloured conductor to its terminal, plug an appliance into a switched socket, switch on the supply, and watch the installation behave — lamps light, appliances draw current, breakers trip and undersized cables overheat. It is a safe, free way to practise house wiring, plug wiring, switch wiring and circuit protection without touching a live conductor.
Sizing Cable by SWG Number and Amp Load
The heart of safe wiring is matching the cable to the load. Every current follows I = P / V, so a 3 kW kettle on a 230 V supply draws about 13 A. You then pick a cable whose current rating exceeds that value. The Cable Builder shows both the metric mm² size and the equivalent SWG (Standard Wire Gauge) number with its amp rating, so you can size a conductor by gauge and loading exactly as required in the field.
| Cable | Typical use | Rating (approx.) |
|---|---|---|
| 1.0 / 1.5 mm² T&E | Lighting circuits (6–10 A MCB) | ~16–20 A |
| 2.5 mm² T&E | Socket circuits (radial / ring) | ~20–27 A |
| 6 / 10 mm² T&E | Cooker, shower, water heater | ~40–64 A |
| 0.75 mm² flex | TV, lamp, small appliance | ~6 A (≈1400 W) |
| 1.25 mm² flex | Kettle, iron, microwave | ~13 A (≈3000 W) |
True Multicore Cables, Not Line-by-Line Wires
Unlike a schematic drawing tool, this trainer models cables the way they exist in a wall: a single insulated sheath containing several conductors. Pick a 2-core cable for a double-insulated (Class II) fitting, twin-and-earth for fixed lighting and sockets, 3-core + earth for two-way switching, or a moulded 3-core flex power cord for an appliance. Each cable end shows its conductors as separate coloured nodes and the simulation engine energises each conductor independently, so a swapped or missing core behaves exactly as it would in reality.
UK & IEC Wiring Colours Explained
Correct electrical wiring colours are the foundation of safe work. Modern UK and IEC installations use brown for Line, blue for Neutral and green-and-yellow for Earth; older wiring used red for Line and black for Neutral. In this simulator every conductor is colour-coded to that standard, and landing a blue Neutral on a live terminal or an earth on a live pole raises an instant colour-mismatch warning — the same discipline assessors look for in a real installation.
How to Wire a 3-Pin Plug (BS 1363)
Fitting a 13 A plug is one of the most searched wiring jobs, so the trainer includes a full 3-pin plug on a flexible power cord. Add the Power cord cable, connect brown Line, blue Neutral and green-yellow Earth to the appliance, then drag the moulded plug onto a socket — it seats into the face and connects all three pins at once, exactly like plugging in at home. You also choose the plug fuse rating: a 3 A fuse for light loads up to about 700 W and a 13 A fuse for kettles, irons and heaters. Fit a fuse that is too large for the flex and the tool warns that it can no longer protect the cable.
One-Way, Two-Way and Multi-Gang Switch Wiring
Practise the switching layouts every electrician must master. Wire a simple one-way light switch that breaks only the Line; build a two-way staircase circuit with COM/L1/L2 terminals and a 3-core strapper so one lamp is controlled from two places; or drop in a 2, 3 or 4-gang switch that feeds several lights from one common Line. Because the engine tracks every node, a switch wired into the Neutral by mistake is caught as a dangerous switched-neutral fault.
Ring and Radial Socket Circuits
Lay out both socket-circuit topologies and see how they differ. A radial circuit feeds sockets from a single cable that ends at the last outlet, while a ring final circuit returns to the same breaker so a 2.5 mm² cable can safely serve a 32 A load. Add a fused connection unit (spur) for a fixed appliance, and watch the current the simulator calculates in each leg so you understand why the ring shares the load.
The Consumer Unit: MCB, RCD and RCBO
The consumer unit (fuse box) models a main switch, a busbar and individual MCBs from 6 to 40 A with 30 mA RCD protection, so you can see which breaker guards which circuit. An MCB trips on overload or short circuit to protect the cable, an RCD trips on earth leakage to protect people, and an RCBO does both — a distinction that comes up constantly in 18th Edition (BS 7671) study and wiring assessments.
Distribution Blocks and Junctions
Real installations rarely connect one wire to one terminal. The configurable connector block lets you distribute a supply the professional way: a 1 → 5 or 1 → 10 single common bar to branch one feed to many, or a dual Line + Neutral bar that keeps L and N separated on one block. You can also splice two conductors directly to see how a junction behaves.
Learning From Faults
Getting it wrong is where the learning happens. Overload a cable and it glows with heat; leave the protective device oversized and it catches fire instead of tripping. Forget the earth on a metal-bodied water heater and the tool flags a shock hazard. Swap Line and Neutral at a lamp and it still lights — but the simulator flags the reversed polarity and explains why it is dangerous. Connect Neutral to Earth and the RCD trips the moment a load draws current. Short-circuit an appliance and the plug fuse blows before the main breaker trips, just as discrimination works in a real installation. The rule you internalise is Iload ≤ Idevice ≤ Icable.
Who Is This Wiring Simulator For?
The trainer suits a wide range of learners. Electrical and vocational students use it to learn domestic installation; apprentices and City & Guilds / 18th Edition candidates revise switching, cable selection and protection before assessments; electrical and electronic engineering students connect theory to real circuits; and DIY homeowners understand how a plug, socket or light switch is wired before they open one. Instructors and trainers demonstrate faults live without any risk. It follows UK/IEC-style 230 V practice (as used across the UAE and much of the world) with a US 120 V comparison built in, so it works for classrooms almost anywhere.
Frequently Asked Questions
How do I wire a 3-pin plug?
In a UK (BS 1363) plug the brown Line goes to the fused terminal on the right, the blue Neutral to the left, and the green-and-yellow Earth to the longer top pin. Fit a fuse that matches the appliance: a 3 A fuse for light loads up to about 700 W and a 13 A fuse for high-power items such as kettles and heaters. In the simulator you add a Power cord, wire its cores to the appliance, then drag the moulded plug onto a socket to connect Line, Neutral and Earth automatically.
What size cable do I need for a lighting or socket circuit?
Lighting circuits normally use 1.0–1.5 mm² twin-and-earth on a 6–10 A breaker, while socket circuits use 2.5 mm² on a 20 A radial or a 32 A ring. Always confirm the cable's current rating exceeds the load and that the breaker rating sits between the two (Iload ≤ Idevice ≤ Icable). The Cable Builder shows both the mm² size and the SWG number with its amp rating.
What is the difference between a ring and a radial circuit?
A radial circuit runs one cable from the consumer unit to the sockets and stops at the last one. A ring final circuit runs the cable out to the sockets and back to the same breaker, forming a loop, so the current is shared by both legs and a smaller 2.5 mm² cable can serve a 32 A circuit. You can build either layout in the simulator and watch the current carried by each cable.
What is the difference between an MCB, an RCD and an RCBO?
An MCB (miniature circuit breaker) trips on overload or short circuit to protect the cable. An RCD (residual current device) trips when it detects current leaking to earth, typically 30 mA, to protect people from electric shock. An RCBO combines both in a single device. The consumer unit here models MCB ratings from 6–40 A and 30 mA RCD protection so you can see what each device guards against.
What are the UK electrical wiring colours?
Modern UK and IEC fixed wiring uses brown for Line, blue for Neutral and green-and-yellow for Earth. Older installations used red for Line and black for Neutral. Flexible cords have used brown, blue and green-yellow for many years. Every conductor in the simulator is colour-coded, and connecting the wrong colour to a terminal raises a colour-mismatch warning.
Should a switch break the Line or the Neutral?
A switch must always break the Line (live) conductor, never the Neutral. If the Neutral is switched instead, the fitting stays live even when it appears to be off, which is a shock hazard. The simulator flags a switched-neutral fault if you wire a switch into the Neutral by mistake.
Explore Related Simulators
If this Electrical Wiring Simulator helped, keep practising with our Ohm's Law Simulator, Resistor Colour Code tool, Kirchhoff's Laws Solver, Transformer Simulator, Logic Gates Simulator, and PLC Ladder Logic Simulator for more hands-on electrical practice.