Electricity Fundamentals
A free 24-part course on electricity in buildings, from one electron to motors, the grid, meters, sensors and the BMS. Each part builds on the last, and you don't need a science background.
Start the courseAct 1: A logical buildup
- 1
What Is Electricity
Inside a wire, electrons drift about 0.1 mm per second, yet the light comes on instantly. Part 1 builds electricity from the atom up: charge, copper's sea of free electrons, insulators, and the busbar inside a main switchboard.
- 2
Volts and Amps
A volt is a joule of energy per coulomb of charge; an amp is a coulomb per second. Multiply them and you get watts. Part 2 builds volts and amps from the physics up, then follows them to a 230 V office pantry socket circuit.
- 3
Resistance and Ohm's Law
Why does the same 230 V push 13 A through a kettle and a trickle through a phone charger? Part 3 builds resistance from electrons colliding with atoms, works Ohm's law and P = I²R, and finds 320 W of heat in one loose switchboard bolt.
- 4
Electric Circuits and Switches
An electric circuit is a closed loop from source to load and back. Built up from Ohm's law: the switch as 0 and 1, series vs parallel, Kirchhoff's two rules, why a short circuit can draw 460 A, and how one floor's distribution board adds up its branch currents.
- 5
Power vs Energy: kW and kWh
Power (kW) is how fast energy flows; energy (kWh) is how much flowed over time. Built from volts times amps: why a standby light can beat a kettle, how a load curve's height and area become kW and kWh, and why one half-hour sets a TNB demand charge.
- 6
Electromagnets and Relays
A current makes a magnetic field, a coil and an iron core turn it into a pull, and the pull flips a switch. How relays work: NO and NC contacts, AND and OR relay logic, the seal-in circuit that remembers, and the chain that lets 1 W from a BMS start an 11 kW fan.
- 7
Generators and Induction
Part 6's electromagnet, run in reverse: a changing magnetic field through a coil pushes a current. Faraday's law with worked numbers, why spinning makes a sine wave, why the push-back burns fuel, why 3,000 rpm makes 50 Hz, and what a building's standby generator does when the mains fails.
- 8
AC vs DC
A spinning generator makes AC on its own. Here is what AC vs DC really means: electrons rocking back and forth 100 times a second, why a 230 V socket peaks at 325 V, and why line losses that grow with the current squared made the grid choose AC.
- 9
Transformers
The machine that made the national grid possible has no moving parts. How transformers work: Part 6's electromagnet and Part 7's induction on one iron core, the turns ratio, why DC fails, and the 11 kV/400 V unit in a building's substation.
- 10
Three-Phase Power
One phase delivers power in pulses that hit zero 100 times a second. Three-phase power sends three waves a third of a cycle apart, so the total never drops, 230 V phases give 400 V between them, and the field they make spins motors by itself.
- 11
Electric Motors
The spinning part of most building motors has no wire connected to it. How electric motors work: a rotating three-phase field induces current in a cage of bars, the current feels a push, the rotor chases the field. Slip, the starting surge and an 11 kW nameplate, worked.
Act 2: Beyond the basics
- 12
The Power Triangle: kW, kVA and kVAR
A motor draws some current that does no work, just to magnetise itself. Here is why that current lags the voltage, how kW, kVA and kVAR combine in the power triangle, why transformers are rated in kVA, and what a capacitor bank changes on the cable.
- 13
The Malaysia Electricity Grid
Follow the Malaysia electricity grid from a power station's step-up transformer, down the 500, 275, 132, 33 and 11 kV ladder to 400/230 V. See why each step exists, how 50 Hz keeps supply and demand balanced every second, and where an office tower's 11 kV intake joins it.
- 14
Earthing and RCDs
A bird sits on an 11,000 V line unharmed because there is almost no voltage across its body. That rule explains earthing and RCDs: how fault current finds its way home, why a breaker has a thermal and a magnetic trip, and how an RCD's iron ring catches a 30 mA leak.
- 15
Power Electronics: Rectifiers and Inverters
A relay cannot switch thousands of times a second; a semiconductor can. Here is how diodes make rectifiers (AC to DC), how IGBTs and pulse-width modulation make inverters (DC to any-frequency AC), and why a variable speed drive lets a fan run at 80% speed on about half the power.
- 16
Electrical Harmonics and Power Quality
Drives, LED drivers and computers draw current in bursts, not smooth waves. Part 16 shows how those bursts become electrical harmonics, why they heat a balanced building's neutral, and how a voltage sag lasting a fifth of a second can stop a fan.
- 17
Batteries and Energy Storage
A battery does not store electricity. It stores chemistry and makes current on demand, always as DC. Part 17 builds a 400 kWh pack from 3.2 V cells, explains kW versus kWh, and sizes a battery to shave an office tower's 1,600 kW peak.
Act 3: Harnessing it in buildings
- 18
Building Electrical Distribution
Part 18 opens Act 3 by following a building's power from the 11 kV intake through the transformer, main switchboard, risers and distribution boards to one pantry kettle, working out the current, the fault level and the maximum demand on the way.
- 19
Current Transformers and Power Meters
A current transformer is a transformer wound inside out: the busbar is a one-turn primary and 400 thin turns carry a 5 A copy to the meter. Part 19 explains why the secondary must never be opened, and how a meter turns those amps into kW and kWh.
- 20
Sensors and 4-20 mA Signals
How a building turns CO2 and temperature into numbers: the sensor changes resistance or light, a 4-20 mA loop carries it without losing accuracy on long cables, and an analog-to-digital converter writes it as bits. Worked: 12 mA means 1,000 ppm.
- 21
Logic Gates and the CPU
The on-off switch from earlier in the course, wired into logic gates that decide, adders that count and flip-flops that remember, running a fetch, decode and execute loop. We build one, then run a building controller's damper program on it.
- 22
Modbus RTU and RS-485
How power meters and controllers share one pair of wires: bits as voltage pulses, RS-485's twisted pair cancelling noise, and a Modbus RTU frame decoded byte by byte, from meter 7's address to the CRC and the 412.5 kW inside two registers.
- 23
Fault Detection and Diagnostics
How a building turns thousands of readings a minute into a short list of faults: baselines, if-then rules built on physics, anomaly models that learn normal, and what AI can and can't do. Worked: low delta-T, a pump at 2 a.m. and a maximum demand alert.
Optional side readings
Background and history. Not needed to finish the course.
- How Electrical Energy Flows: In the Wire or Around It?
- Reactive Power Is Not Wasted Energy
- Why 50 Hz? The Story Behind the Grid Frequency
- The War of the Currents: Edison, Tesla and Why AC Won
- Joules vs kWh: Why Energy Has Two Names
- Why Is Power Measured in Watts?
- Voltage Sags and Swells
- Star vs Delta: Two Ways to Wire Three-Phase
- How Solar Panels Make Electricity
- Why Blackouts Happen (and Restarting a Grid Is Hard)