Blog
Night Flow Analysis: A Daily Leak Test
Between 2am and 4am, an empty building should use almost no water, so whatever the meter still records is mostly leakage. Night flow analysis turns continuous metering into an automatic leak test that runs every single night.

Part 10 of 12 in Cobler's Water Fundamentals course. New here? See the course page.
It's 3am in the office tower. Nobody is flushing or washing their hands, the pantry taps are shut, and the cleaners went home hours ago.
So the building's water use should be about as close to zero as it ever gets. Yet in many buildings, water is still flowing at that hour.
That's the idea behind night flow analysis. Water used when almost nobody is using water is mostly water being lost.
And unlike the monthly balance from Part 9, it can tell us each morning whether something changed overnight. So we can learn that a leak started on Tuesday, not at the end of the month.
All it needs is a meter with a pulse output or a digital link such as Modbus (Part 6). Then a logger records it every few minutes, every night.
Night flow analysis
So what exactly do we measure? We take the flow rate through a meter and find the lowest steady value during the deep night.
We don't use the lowest single reading, though, because single readings are noisy. Instead we use the lowest average over a block of time. The smallest 15-minute or 30-minute average between about 2am and 4am works well for most commercial buildings.
That one number, one per night, is what we call the building's minimum night flow.
A quick note on units, because night flows are small:
- Flow is usually shown in cubic metres per hour (m³/h). One m³/h is 1,000 litres an hour.
- Small flows are sometimes given in litres per second (L/s). One L/s is 3.6 m³/h.
Now plot the minimum night flow as a daily chart, and we have a health check for the building's whole pipe system. A building with no honest night uses and no leaks should sit close to zero.
But say a building sits at 1.5 m³/h at 3am. Then it's losing about 1.5 × 24 hours × 30 days = 1,080 m³ a month, through pipework that nobody is using. And it'll keep doing that until somebody notices.
Why does this work so well? Because it takes people out of the picture.
Daytime use swings with occupancy, weather, tenant mix, events and school holidays, so comparing one month's bill with another is a weak test. At night, most of that variation disappears. What's left mainly reflects the physical condition of the pipes, valves and tanks.
The 2am to 4am window
So which hours should we use? We want the hours when people use the least water, but the pipes are still full and under pressure. In Malaysian commercial buildings, that's usually the middle of the night.
It comes after the last cleaning shift, and before deliveries, security rounds and early gym users. Midnight is often too early, because late tenants and cleaners are still working. In a hotel or hospital, 5am is too late, because the first shift has started.
This course uses 2am to 4am. Pick a window for your own building, keep it fixed, and let the trend do the work. Being consistent matters more than finding the perfect hour, because we're comparing tonight with the last ninety nights.
The tank refill trap
Now here's the trap, and it catches a lot of people. In a building like the office tower, the bulk meter doesn't measure water being used. It measures water going into the suction tank (Parts 1 and 3).
During the day the building draws the tanks down. Then at night, the inlet float valve keeps refilling the suction tank. So the bulk meter can show a steady flow at 3am even when every tap is shut.
It can mislead us the other way, too. Some suction tanks have a delayed-action float valve, which stays shut until the level has fallen by a set amount, and then opens fully.
With that valve, the bulk meter can read zero at 3am while a leak drains the tank, followed by a burst of refilling later.
And there's a third problem. A large bulk meter measures low flows poorly. The office tower's 100 mm bulk meter has an illustrative label with a minimum flow (Q1) of 1 m³/h. Below that flow, the meter's accuracy isn't guaranteed, and night flows are often well below it (Part 6).

At night, the bulk meter mainly records the suction tank refilling. The meters after the tanks show what the floors really use.
So how do we get round the trap? There are two ways:
- Use meters after the tanks. Meters on the zone downfeeds, the pipes leaving the roof tanks, measure what the floors draw. Refilling can't affect them. They're also smaller, so they measure low flows better. This is the better option.
- Correct the bulk meter for tank levels. Use the same rule as the monthly balance in Part 9. Night use = bulk meter volume − change in stored volume, over the whole 2am to 4am window.
Let's do the correction for one normal Tuesday night in the office tower, from 2am to 4am:
- The bulk meter recorded 6.0 m³, which looks like 3.0 m³/h.
- The suction tank rose from 94 to 96 percent. At 3 m³ per percent, that's +6.0 m³.
- The transfer pumps didn't run, and the roof tanks fell from 45.0 to 44.6 m³, which is −0.4 m³. The fire tank didn't change.
- Change in storage = 6.0 − 0.4 = +5.6 m³.
- Night use = 6.0 − 5.6 = 0.4 m³ in 2 hours, which is 0.2 m³/h.
Over the same window, the zone meters recorded 0.08 m³/h (upper zone) and 0.12 m³/h (lower zone). That's 0.2 m³/h in total, so the two methods agree. But the bulk meter on its own would have suggested 3.0 m³/h.
The correction is only as good as the level readings, though. In a 300 m³ tank, an error of half a percent in the level is 1.5 m³. That's almost four times this night's real use, and it's why meters after the tanks are the better tool.
But there's a catch the other way round. A meter after the tanks can't see a loss at the tanks themselves. Think of a suction tank overflowing because its float valve no longer closes, or a buried pipe leaking between the bulk meter and the tank.
So we watch both. The zone meters cover use in the building, and the tank-corrected bulk figure covers losses before the zone meters.
Try it
Honest night uses
So we've got a clean night figure. Before we raise any alarms, though, we need to know what's meant to be using water at night. Almost every building has some honest night-time use, and here are common examples in Malaysia:
- Cooling tower make-up, if chillers run overnight for data rooms, trading floors, hospitals or hotel back-of-house areas.
- Automatic urinal flush timers and landscape irrigation timers, which often run in the small hours by design.
- Water features, ice machines, laundries and kitchen preparation in hotels.
- Water treatment backwash cycles, which show up as short, large, repeating pulses.
- Fire tank top-up after a fire system test.
- Real occupant use in homes, serviced apartments, hospitals and hotels.
That last item is why night flow analysis reads differently by building type. An office tower, school, mosque or shopping mall should get close to zero at 3am, which makes the method very sensitive.
A 400-unit condominium never gets close to zero, because people do get up at night. But its night baseline is still steady from night to night. So there we watch the change, and not the absolute value.
In the office tower, the chillers are off at night, so the tower make-up meter reads zero. The normal minimum night flow is 0.20 m³/h across the two zone meters. It comes from the ground-floor security post, the lobby washrooms and the urinal flush timers.
One item looks honest but isn't. Fire systems have a jockey pump, a small pump that keeps the fire main at pressure. It starts briefly whenever the pressure drops a little.
So if the jockey pump starts again and again through the night, that's not a normal load. It means water is escaping from the fire system, and the pump is replacing it.
In our tower, the incoming supply fills the fire tank. So its top-up shows on the bulk meter, but not on the zone meters.
How much is too much
So how high can the night figure go before we worry? No single figure suits every building. The practical approach is to compare the building with itself.
Record the minimum night flow for two to four weeks, and agree which part of it the honest uses explain. Then treat the unexplained part as the leakage we're trying to reduce.
As an illustrative rule of thumb, take a building with very little real night use. There, a night flow above a few percent of the average hourly flow across the day deserves a walk-through.
And many buildings find, in their first week of logging, that their unexplained night flow is a double-digit percentage of their total use.
Night flow tells us that something is running. A building water balance audit (Part 9) tells us how the month's water splits between the cooling tower, toilets, kitchens and losses. Used together, they turn "we're losing something" into "we're losing it here".
Steps and creep
Now let's read the daily chart. Two kinds of failure look quite different on it, and both are worth catching.
A burst or a sudden equipment failure shows up as a step. Monday night sits at 0.3 m³/h, Tuesday night at 3.1 m³/h, and it stays there.
A common Malaysian example is the suction tank's float valve failing to close. Water runs out through the overflow pipe into a drain, nobody upstairs notices anything, and the building carries on as normal.
A similar step appears if a roof tank's stop probe fails. Then the transfer pump keeps filling the tank until it overflows past the backup float valve (Parts 3 and 4). Without night monitoring, the failure turns up on the bill, weeks later. With it, the step is visible the next morning.
A slow creep is the opposite shape, a gentle rise over months. Flush valve seals wear, pipe joints start to weep, and isolation valves let a little water past. Each one adds a few litres an hour, so no single night looks alarming.
But compare this January with last January and the difference is clear. That's why it's worth keeping the daily trend for years, not only for the current month.

A step means something failed and needs action the next morning. A creep means slow wear, which only shows when we compare months or years.
Alerts
But a chart that nobody opens won't find a leak. So we turn the chart into an alert that goes to the M&E (mechanical and electrical) team. Two alert rules cover most situations:
- Absolute threshold. If tonight's minimum night flow is above an agreed ceiling for that meter, notify the M&E team that morning.
- Change against baseline. If tonight's value is above the median of the previous fortnight by an agreed margin, notify them too.
The second rule fires even if the value is still under the ceiling. That's what catches a burst in a building that already has a high honest baseline.
Send both alerts to where the facility team will see them. In Malaysia, that usually means WhatsApp and email, not a portal they open once a quarter.
Include the number, the usual baseline and the meter name. Then the person receiving it can decide whether it's a problem for 7am or for next Monday.
An alert on the bulk meter tells us the building is losing water. Alerts on zone or riser meters also tell us where. That's why sub-metering by zone and by tenant shortens the search from days to hours.
The cost
So what's a night-time loss worth? It's plain arithmetic. Take the unexplained night flow in m³/h, multiply by 24 hours and by 30 days, and multiply by the cost of one extra cubic metre.
For the office tower, Part 7 calculated that as RM4.28, water plus sewerage. At that rate, the 1.5 m³/h example from earlier costs:
1,080 m³ × RM4.28 = RM4,622.40 a month.
And that's only the water. A leak inside a wet riser or a basement slab can cost far more to repair and reinstate than the water it wastes.
The test itself is cheap. Once the meters and logging are in place, the leak test runs every night, with no labour, no shutdown and no valves to turn. Someone reads the number in the morning.
Optional detail: Minimum night flow isn't new. Water utilities have used it for decades to find leaks in buried mains. They divide their networks into metered districts and watch the flow in the small hours. Cheap logging has made the same method practical inside one building.
When the alert fires
So now we have all the tools. There's the monthly balance, the nightly minimum and the alert that fires when it jumps. But an alert is only the start.
One morning, a message will arrive saying a meter's night flow is several times its usual figure. So what do we do with that message? Is it really a leak, and if it is, where is it, and how do we prove it's been fixed?
We'll follow one alert from start to finish in Part 11: From Night-Flow Alarm to Verified Repair.
Check your understanding
1. At 3am, the office tower's bulk meter shows 3.0 m³/h. Is there a leak?
Show the answer
Not necessarily. The bulk meter may be recording the suction tank refilling. Check the zone meters after the tanks, or correct the bulk meter for the change in stored water.
On the normal Tuesday night we worked through, the tank-corrected use was only 0.2 m³/h, which matched the zone meters.
2. Why can the suction tank overflow for weeks without the zone meters noticing?
Show the answer
The zone meters sit after the roof tanks, so they only measure what the floors draw. Water lost through the suction tank's overflow never reaches them.
It does pass through the bulk meter, though. So the tank-corrected bulk figure, or the monthly balance, is what shows it.
Recap
- Minimum night flow is the lowest 15- or 30-minute average flow in a fixed window, here 2am to 4am, recorded once a night.
- In a tank-fed building, the bulk meter at night often records the tanks refilling. So use meters after the tanks, or correct for the change in storage. And remember that after-tank meters can't see losses at the tanks.
- List the honest night uses first, including fire tank top-up, and treat a jockey pump that keeps starting as a leak.
- A step means a failure, and a creep means wear.
- Alert on both an absolute ceiling and a change against the baseline, and price the loss at the current tariff.
This is Part 10 of 12 in Cobler's Water Fundamentals course. Previous: How to Run a Water Balance Audit on Your Building. Next: From Night-Flow Alarm to Verified Repair: A Worked Leak Case.
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
Minimum night flow is the lowest steady flow rate through a building's water meter during the quietest hours. It is usually taken as the smallest 15-minute or 30-minute average between about 2am and 4am. At that time people use very little water, but the pipes are still full and under pressure. So most of what remains is leakage, plus a short, known list of legitimate night uses. Examples are urinal flush timers, irrigation timers, or cooling tower make-up where chillers run overnight. In a building with tanks, measure it on meters after the tanks, or correct the bulk meter for tank refilling.
Yes, but you read it differently. An office tower or school should approach zero at 3am, so the absolute value is meaningful. A condominium or hotel always has genuine overnight use, so you track the change against the building's own rolling baseline instead. That baseline is usually steady from night to night. So a float valve that fails to close or a burst pipe still shows up clearly as a step.
You need a water meter with a pulse output or a digital link such as Modbus. You also need a data logger that records it at least every 15 minutes, and somewhere to store and chart the nightly figures. In a building with storage tanks, the most useful meters are on the pipes leaving the tanks. The bulk meter at night often records the tanks refilling, and a large bulk meter measures low flows poorly. Level readings from the tanks let you correct the bulk meter. Most existing mechanical meters can be fitted with a pulse head rather than replaced.
A sudden failure shows up as a step in the very next night's figure. Examples are a suction tank float valve that stops closing, or a flush valve stuck open. So the facility team can be alerted the following morning, instead of finding out on a bill weeks later. Slow wear from flush valve seals and weeping joints appears as a gradual rise over months. That is why the daily trend is worth keeping for years.
Night flow analysis measures how much water the building uses when almost nobody is using water, automatically, every night. A water balance audit accounts for where all the water went over a whole period. It splits the water between cooling towers, toilets, kitchens, irrigation and an unexplained remainder, after correcting for water still held in the tanks. Night flow is the nightly alarm and the audit is the monthly check. They are strongest used together.
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.


