Blog
Maximum Demand: Why One Bad Half-Hour Costs So Much
Your maximum demand charge in Malaysia is set by your building's worst 30 minutes of the month, billed in ringgit per kW. Here's how to spot it and clip it.

Part 4 of 7 in Cobler's Understanding Your Electricity Bill course. New here? See the course page.
Two lines on the tower's September bill, capacity and network, come to RM142,832 together. That's nearly half of the RM310,532, and one half hour set both of them. It was 2:30 to 3:00pm on Thursday 17 September 2026, a hot weekday afternoon.
So the owner's next question to Aina is a fair one. How can one afternoon's half hour cost more than a hundred thousand ringgit, and what can the tower do about it?
This is the maximum demand charge, and it behaves unlike anything else Aina pays for. Most of the bill follows how much electricity the tower used over the whole month. But this charge follows its single worst 30 minutes.
You'll find it on the bill of most medium and large buildings in Malaysia, from office towers to malls, factories and hospitals.
If we get this one right, we can save real money without switching off a single useful machine. And if we miss it, we could spend a lot on energy efficiency and leave the biggest saving on the bill untouched.
Paying for the peak
So why would TNB charge for one half hour at all? Well, let's picture the tower's supply as a tap.
Energy, in kilowatt-hours (kWh), is like the total litres that flowed through the tap this month. Power, or demand, in kilowatts (kW), is like how wide the tap is open right now. They're the two dials from Part 1, and Power vs Energy: kW and kWh Explained covers them in full.
We pay for energy because a power station had to burn fuel to make it. But we also pay for demand, because the grid's cables, transformers and substations had to be built for the tower's fastest draw.
They have to cope with the widest the tap ever opens, even if it only opens that wide for half an hour.
The standby capacity costs TNB money whether we use it or not, so TNB bills us for it. On Aina's bill, that's what the capacity and network lines are.
Thirty-minute blocks
How does the meter pick which half hour to bill? All month long, the tower's meter (see How Electricity Meters Work) records the energy used in every consecutive 30-minute block. That's 48 blocks a day, or about 1,440 in a month.
At the end of the month, it doesn't average them. It finds the single largest block and throws the rest away, and that one block is the maximum demand.
But that block is measured in kWh, energy over half an hour, and demand has to be in kW, which is power. So to convert, we divide the energy by the length of the window in hours:
$$\text{MD (kW)} = \frac{\text{kWh in the worst 30 min}}{0.5 \text{ h}} = \text{kWh} \times 2$$
For Aina's tower, the largest block was the 800 kWh used between 2:30 and 3:00pm. So its maximum demand was \( 800 \text{ kWh} \times 2 = 1{,}600 \text{ kW} \).
The rule is the same at any size, so let's also follow a much smaller building, whose busiest half hour used 100 kWh:
$$\text{MD} = 100 \text{ kWh} \times 2 = 200 \text{ kW}$$
For each building, that one number is now the billed demand for the whole month, set by 30 minutes out of about 43,200.
The maximum demand charge
Now we can put a price on it. The demand charge is the maximum demand multiplied by a fixed rate:
$$\text{MD cost} = \text{monthly MD (kW)} \times \text{capacity/network rate (RM/kW)}$$
Under Malaysia's RP4 tariff, in force since 1 July 2025, medium voltage (MV) customers pay demand charges in two parts. They're a capacity charge and a network charge, and we met them line by line in Part 3:
Component | General | ToU (peak) |
|---|---|---|
Capacity charge | RM29.43/kW | RM30.19/kW |
Network charge | RM59.84/kW | RM66.87/kW |
Combined | RM89.27/kW | RM97.06/kW |
So for the smaller building on the General rate:
$$200 \text{ kW} \times \text{RM}89.27/\text{kW} = \text{RM}17{,}854 \text{ per month}$$
That's RM214,248 a year in demand charges, before a single kWh of actual energy is counted.
The tower, at 1,600 kW on MV General, pays \( 1{,}600 \text{ kW} \times \text{RM}89.27/\text{kW} = \text{RM}142{,}832 \). That's exactly the capacity and network lines on Aina's bill, and it's almost as much as the tower's whole energy charge of RM149,150.
So on an MV bill, the demand charge is often where the real money hides.
Scale
So 200 kW costs RM17,854 a month, and 1,600 kW costs RM142,832. Now picture a very large industrial customer on a Time-of-Use (ToU) tariff. Its meter records a highest peak-period maximum demand of 71,700 kW, so at the ToU peak rate:
$$71{,}700 \text{ kW} \times \text{RM}97.06/\text{kW} = \text{RM}6{,}959{,}202 \text{ per month}$$
That's nearly RM7 million a month from demand charges alone. It's one plant and one worst half hour, and it happens every month.
Now there's a twist in that plant's bill. Say it also had an even bigger spike of 77,380 kW, but at 3am, in the off-peak hours.
On a ToU tariff, the demand charge is set by the highest demand inside the peak period, not the highest of the whole day. So that 3am spike, bigger as it is, isn't charged, and the 71,700 kW peak-period figure is what bills.
So on a ToU tariff, when a peak happens matters as much as how big it is. A large draw in off-peak hours can be free of demand charge, while a modest peak at 3pm sets the bill.
We'll come back to that, because Aina's own peak came at 2:30pm.
Chillers
Now, what actually pushes a building like the tower up to its peak on a hot afternoon? In most Malaysian commercial buildings, the biggest single driver is air-conditioning, and specifically the chillers.
On a hot day the whole building calls for cooling at once. So the compressors ramp up to full load, and they can dominate the demand curve.
Lifts, escalators, kitchen equipment and motors that start at the same moment pile on top. So the trouble usually comes from too many machines switching on in the same half hour, more than from any one machine being too big.
Aina can check this for her own tower, because its monitoring system logs the energy used in every half hour. Its sub-meters on the chiller plant, risers, car park and tenant floors can show which parts drew the most at 2:30pm.
Worth knowing: our Cooling Fundamentals course looks at this in depth, because chiller staging and start sequencing are the main tools for shaving that peak.
Demand-side management
Because one peak sets the whole charge, the way to cut it is different from ordinary energy saving. This family of tactics is called Demand-Side Management (DSM), and it has three classic moves:
- Load shifting moves flexible loads to a different time. Run an ice-storage system, EV chargers or batch equipment overnight instead of at 2:30pm. The total kWh stay the same, but the peak drops.
- Peak clipping holds the top off the peak directly. Once demand nears a target ceiling, non-critical loads such as a few chillers or some AHUs (air handling units) step down for a short time. So the meter never records the spike.
- Valley filling uses more electricity in the off-peak troughs on purpose, for example to charge thermal or battery storage. The building then relies on that storage during peaks, which raises its average without raising its peak.
Notice that all three change the shape of the demand curve, not the area under it. And that's the whole point, because it means we can cut the demand charge without cutting any useful work.
So what's it worth? Say our smaller building staggers its chiller and lift start-ups, so that its worst half hour never goes above 170 kW:
$$170 \text{ kW} \times \text{RM}89.27/\text{kW} = \text{RM}15{,}175.90 \text{ per month}$$
The saving is 30 kW × RM89.27 = RM2,678.10 every month, or RM32,137.20 a year. It comes from timing alone, not from using less electricity overall.
Now let's scale that up to the tower. If Aina's team could hold the tower's worst half hour to 1,500 kW instead of 1,600 kW, the saving would be \( 100 \text{ kW} \times \text{RM}89.27/\text{kW} = \text{RM}8{,}927 \) in that month.
But it only holds in a month where no half hour goes above the target. If one unmanaged half hour goes over, that month's saving is lost.
So can Aina's team get there without switching off anything useful? Let's try it on the tower's hot Thursday.
Try it
Demand factor and load factor
But how do we know whether a building has a peak worth shaving? Engineers use two simple ratios to judge how "peaky" a building is.
Demand factor compares the actual peak with the total a building could draw if everything ran at once. That total is its connected load, the nameplate sum of all its equipment:
$$\text{Demand factor} = \frac{\text{Maximum demand}}{\text{Connected load}}$$
If the smaller building has 500 kW of equipment installed but never peaks above 200 kW:
$$\text{Demand factor} = \frac{200}{500} = 0.40$$
A low demand factor means the building rarely runs everything together. That's good, and it shows there's diversity to work with.
Load factor compares the average draw with the peak draw over the billing period:
$$\text{Load factor} = \frac{\text{Average load}}{\text{Maximum load}}$$
If the smaller building averages 150 kW but peaks at 200 kW:
$$\text{Load factor} = \frac{150}{200} = 0.75$$
A high load factor, close to 1, means a flat, steady profile, so the building gets good value from the capacity it pays for.
A low load factor means short, expensive spikes standing high above a modest average. And that's exactly where peak clipping pays best.
So how does Aina's tower compare? It used 500,000 kWh across the 720 hours of September, so its average load was \( 500{,}000 \text{ kWh} \div 720 \text{ h} \approx 694 \text{ kW} \).
Against its 1,600 kW peak, that gives a load factor of \( 694 \div 1{,}600 \approx 0.43 \), far peakier than the smaller building's 0.75. The tower's peak is more than twice its average, so its demand charge is doing it the most damage, and DSM is its biggest opportunity.
Peak alerting
There's a catch with managing the peak by hand, though. The worst half hour can arrive with no warning, on a hot afternoon or with a chance cluster of start-ups.
Once the meter records it, the tower pays for it all month. So for a person watching a demand graph, reacting in time is close to impossible.
This is where alerting helps. Cobler's CobiNeural platform does threshold-based peak alerting. It watches live demand against a target ceiling and alerts the team the moment a load needs to step down.
So a chiller or other non-critical equipment can pause before the peak is recorded, and restart once it passes. If the team acts quickly, the building stays comfortable and the meter never sees the spike.
To estimate what your own peak is costing, the Maximum Demand Calculator turns your worst half hour into a ringgit figure in seconds.
Timing
So now Aina has a real answer for the owner. The tower's 1,600 kW came from one half hour on a hot weekday afternoon, and at RM89.27 per kW it set RM142,832 of the bill.
Chillers and start-ups that bunch together are the usual cause, and shaving 100 kW off that half hour would save RM8,927 in a month.
But remember that big plant's 3am spike, which cost nothing on ToU? Aina's peak came at 2:30pm on a weekday, right inside the ToU window, so on ToU it would still count.
Then again, every kWh outside the window is cheaper on ToU. So would the tower pay less on a Time-of-Use tariff? And while she has the tariff schedule open, are there other choices, or charges the tower could stop paying? We'll price them in Part 5: Time-of-Use, Green Tariffs and Avoidable Penalties.
Check your understanding
1. The tower's busiest half hour of September used 800 kWh. What was its maximum demand, and what did it add to the bill on MV General?
Show the answer
Its maximum demand was 800 × 2 = 1,600 kW, because we divide half an hour's kWh by 0.5 hours. At RM89.27 per kW for capacity and network together, that's 1,600 × RM89.27 = RM142,832 for the month.
2. A plant on a ToU tariff hits 77,380 kW at 3am and 71,700 kW inside the peak window. Which number sets its demand charge?
Show the answer
The 71,700 kW. On a ToU tariff only demand inside the peak period is charged, so the bigger 3am spike costs nothing. At RM97.06 per kW, the charge is RM6,959,202 a month.
Recap
- The maximum demand charge is set by the single worst 30 minutes of the month.
- The meter turns that half hour's kWh into kW by doubling it, so the tower's 800 kWh became 1,600 kW.
- Under RP4, capacity and network together cost RM89.27 per kW on MV General and RM97.06 per kW on MV ToU.
- On a ToU tariff, when the peak lands matters as much as how big it is.
- Load shifting, peak clipping and valley filling flatten the peak without cutting useful work. Holding the tower to 1,500 kW would save RM8,927 in a month.
- A low load factor means a peaky profile. The tower's is about 0.43, so a shaved peak is worth a lot there.
This is Part 4 of 7 in Cobler's Understanding Your Electricity Bill course. Previous: Your TNB Bill, Line by Line. Next: Time-of-Use, Green Tariffs and Avoidable Penalties.
Cobler builds CobiNeural, a platform that shows a facility team its building's energy, water and indoor air data as live numbers across the whole site. To see how your building performs, talk to us.
FAQ
Frequently asked questions
It is the part of a medium or high voltage TNB bill that is set by the building's highest demand in the month. That demand is the highest average power, in kW, over any 30-minute period. Under the RP4 tariff (from 1 July 2025), the capacity and network charges together are RM89.27 per kW on MV non-domestic General. There, any half hour counts. On MV non-domestic ToU they are RM97.06 per kW, and only the weekday 2pm to 10pm window counts. Low voltage accounts have no per-kW charge. They pay capacity and network per kWh.
The meter records the energy (kWh) used in each 30-minute period through the month. TNB's supply terms define maximum demand as twice the greatest kWh in any consecutive 30-minute period. That is because dividing half an hour's kWh by 0.5 hours gives the average kW. So a half hour that used 800 kWh gives a maximum demand of 1,600 kW. That one figure sets the demand charge for the month.
Yes. Because the charge depends on the single highest half hour, lowering that peak cuts the charge even if monthly kWh stay the same. Demand-side management covers several ways to do this. Examples are staggering when large equipment starts, moving flexible loads to other hours, and briefly holding off non-critical loads when demand nears a target. On MV non-domestic General, the capacity and network charges total RM89.27 per kW. So holding a 1,600 kW peak to 1,500 kW saves 100 × RM89.27 = RM8,927 in that month. The saving is lost in any month where one unmanaged half hour goes above the target.
Ask us about this topic
Something in this article you want to dig into — or a situation in your own building it doesn't quite cover? Send us your question. We don't run public comments; the team replies to you directly by email.


