Generator Peak Shaving: Control Logic, Switchgear and Demand Management


Peak shaving looks like a scheduling exercise: run the generator when the site’s import approaches a demand threshold, then stop when the peak has passed. In practice it is a control and switchgear problem. The generator has to parallel with the mains without exporting, hold a measured import target, survive a mains failure while it is already loaded, and hand the site back without dropping the loads that the UPS is protecting. The commercial case is project-specific; the engineering sequence is not.

Peak shaving is a demand control problem, not an energy scheme

A demand charge is driven by the highest import reached in a billing window, not by the total energy used across the month. Peak shaving caps that import for the duration of the peak by supplying part of the site load from the generator while the mains supplies the remainder. The site still consumes the same work; what changes is where the power comes from at the top of the load curve. Fuel, run hours, maintenance and emissions are added on the generator side, so the exercise should be described as demand management rather than as an energy saving measure.

The generator also stops being a standby machine. A set that was selected for occasional outage duty is now expected to start, synchronise, follow a load target, stop and repeat, sometimes several days a week. The duty rating, cooling, fuel arrangement and maintenance schedule all have to be checked against that pattern. Whether a particular set is suitable for daily cycling is determined by the equipment manufacturer’s data and the project specification, not by the nameplate rating alone.

The first question is therefore not “what size generator do I need?” It is “which load block can be moved, for how long, and what happens to the rest of the site when the mains fails while the generator is already loaded?” If those answers are not written down, the control logic has nothing stable to control.

Peak shaving changes the import profile, not the site’s energy demand. The distinction matters when the business case and the control logic are prepared.
Item What changes What does not change Design consequence
Import at the meter Import is held at or below a target during the shaving window The site still needs the same power at the same time The meter, current transformers and controller must measure import accurately at the point of common coupling
Generator run hours Run hours rise and the starting pattern becomes repetitive The engine still needs fuel, cooling, lubrication and maintenance The duty rating and service plan become design inputs, not afterthoughts
Energy balance Diesel supplies part of the load Total site work is broadly unchanged Fuel and maintenance are added; any saving depends on the tariff and the actual load profile
Maintenance More starts, more running hours and more fuel movement The annual load test at 50% to 100% of rating is still required Service intervals and fuel testing follow the manufacturer’s data and the site routine
Resilience The generator may already be running when mains fails A running generator is not automatically able to carry the whole site Load shedding and an island transition must be designed and tested
Noise and emissions Running hours increase, often in the afternoon and evening The engine exhaust and noise still have to meet the project requirements Check the installation and the local requirements before the operating pattern is fixed

Start with the load profile and the tariff window

Use interval data, not a monthly maximum. A single half-hour spike can set a demand charge for months where a ratchet applies, and a monthly maximum says nothing about how long the peak lasts or how quickly it rises. The useful record is the site’s import over a representative week, with the peak day, the duration above the proposed threshold, the load ramp and the simultaneous generator output that would be needed. The tariff structure and the utility’s metering arrangement define the window; the load data defines the block.

The generator’s capability at site conditions is the next input. The 40 °C reference ambient used elsewhere on this site is a planning basis, and performance above it is derated by the manufacturer’s data. A set that is adequate on a cool day may not hold the same block on a hot afternoon, which is exactly when peak shaving is most likely to run. The largest motor start, harmonic load and power factor also belong in the review, because the generator sees the whole backed-up load and not just the steady-state demand.

Fuel autonomy closes the loop. The base tank arrangement covers eight to twelve hours at full load, but daily shaving adds a refill routine and a fuel-quality routine. A 1000 kVA set at roughly 200 litres an hour would consume about 4800 litres over 24 hours.

Inputs required before the control logic is written. Each item has an owner, and an unresolved item is a reason to hold the design rather than to guess a setpoint.
Input Why it matters Typical source
Interval demand data Shows the height, duration and ramp of the peak that is to be capped Utility meter, site power meter or building management system
Tariff and demand window Defines when shaving has value and whether a ratchet applies Utility agreement and the owner’s energy record
Generator rating at site ambient Sets the block the set can carry at 40 °C and above Manufacturer’s data and the project specification
Load priority list Determines what can be shed when mains fails during parallel operation Owner’s process and electrical single-line diagram
Switchgear topology Shows where the generator can be paralleled and which breakers are interlocked Approved single-line diagram and protection schedule
Utility interconnection terms Governs export, protection, synchronising and approval Utility agreement and the project specification
Fuel autonomy and refill plan Matches the shaving duration to the tank and the delivery routine Tank drawing, fuel record and operating plan

Control logic: setpoints, deadband and minimum run time

The controller watches import at the point of common coupling and compares it with the target. It starts the set before the forecast peak, because starting, warm-up and synchronising take time, and it closes the generator breaker only when voltage, frequency and phase angle are inside the synchronising window. Once paralleled, it ramps the generator output at a controlled rate instead of stepping to the full block. As site load moves, the controller adjusts generator output to hold import at the target.

Hysteresis, a minimum run time and a minimum stop time stop the set from hunting around the threshold. Without them, a load that sits close to the setpoint can start and stop the generator repeatedly, which is worse for the engine than a longer, steadier run. Ramp rate, reserve margin, maximum starts per day and block size are all setpoints. Their values are determined by the equipment manufacturer’s data, the utility agreement and the project specification; they should not be copied from another site.

There are two operating states, and they need different logic. In parallel operation the generator follows the mains; in island operation it sets voltage and frequency for the site. If mains fails while the generator is paralleled, the loss-of-mains protection opens the mains breaker, the controller transfers to island mode and the load-shedding scheme removes whatever the generator cannot carry. A set already running at 75% of its rating cannot absorb the rest of the site load without shedding, and the controller must know breaker status and current direction, not just bus voltage.

Control states for a peak-shaving generator. The setpoints and timers are project values; the table shows the sequence that has to be defined and tested.
State Controller action Exit condition Failure response
Monitor Measure import and forecast whether the threshold will be crossed Start request is confirmed Alarm on missing or invalid metering
Start and warm-up Start the engine and check voltage, frequency and alarms Set is ready to synchronise Abort start and lock out after a failed attempt
Synchronise Match voltage, frequency and phase; supervise the breaker close Generator breaker is closed and power flow is stable Block the close on a sync-check failure
Parallel load control Ramp generator output to hold import at the target without export Import stays below the lower threshold for the set time Reduce output or trip on reverse power
Island Open the mains breaker, hold voltage and frequency, shed non-priority load Mains returns and is stable for the recovery period Trip the generator if load cannot be shed fast enough
Unload and stop Ramp down, open the generator breaker and cool down Cooldown is complete Hold the set at no load and alarm

Switchgear: where the generator connects and how the transfer is made

An open-transition automatic transfer switch breaks the mains path before it closes the generator path. It cannot parallel the two sources, so it cannot hold an import target; the load is interrupted for the transfer and the UPS covers the seconds until the generator carries the load. That is a sound standby arrangement, but it is not peak shaving. Peak shaving needs a controlled parallel condition, whether it lasts for a few seconds during a transfer or for several hours during the demand window.

Closed-transition transfer briefly parallels the two sources, synchronises and then opens one breaker. It is used where the load cannot tolerate an open transition, but the parallel time is short and the sequence still needs sync check, protection and the utility’s agreement. Sustained peak shaving uses paralleling switchgear: the mains breaker and the generator breaker sit on the same bus, and the controller adjusts generator output to hold import at the target. Soft-loading gear ramps the generator up and the mains down, which is useful when the transfer itself has to be gradual.

The switchgear review is not only a logic review. Breaker short-circuit ratings, protection coordination, current and voltage transformers, neutral and earth arrangements, and the interlocking between sources all have to be checked for the parallel condition. A software command is not an interlock; key interlocks and breaker status contacts should make the unsafe combination impossible. Neutral treatment and earth-fault coordination need particular attention in parallel operation.

Connection options for peak shaving. Only the arrangements that allow a controlled parallel condition can hold an import target for a sustained period.
Arrangement How the generator parallels Best fit Key constraint
Open-transition ATS Break before make; no parallel operation Standby supply with a short interruption The UPS must cover the transfer; import cannot be held at a target
Closed-transition ATS Momentary parallel during transfer Loads that cannot tolerate an open transition Sync check, protection and utility agreement are still required
Soft-loading transfer Generator ramps up while mains ramps down Sites that need a gradual transfer More control logic and a longer parallel sequence to test
Peak-shaving paralleling gear Sustained parallel operation with import control Demand management with a generator that runs for hours Reverse power, loss of mains and load shedding must work together
Generator bus with multiple sets Generators share an island bus Capacity growth or redundancy behind one connection Load sharing and protection settings are set by the manufacturer and the project design

Protection and interlocks that make peak shaving safe

Reverse power protection is the first function that separates peak shaving from standby operation. If the generator output exceeds the site load, power flows toward the mains; the relay must detect that direction and trip or reduce output before the condition persists. Loss-of-mains protection detects that the mains source has disappeared while the generator is paralleled, and sync check prevents a breaker from closing onto an unmatched source. Directional overcurrent, earth fault, breaker-failure and generator thermal protection complete the set. The settings are determined by the equipment manufacturer’s data, the utility agreement and the project specification.

Load shedding is part of the protection philosophy, not an operational afterthought. The priority list should be agreed before the controller is configured, and the shedding action should be fast enough to keep the generator inside its rating when the mains breaker opens. Underfrequency load shedding may be needed where the generator is the only source and the load step is large. The scheme should be tested with the real load or an approved load bank, because a relay that picks up correctly on a test set can still be defeated by a breaker that is slow to open.

Switching and maintenance add a human layer. Arc-flash boundaries, lockout and tagout, remote-control permissives and a clear procedure for taking the generator out of service should be part of the handover. The UPS covers the seconds between mains loss and generator pickup, but it cannot cover a parallel sequence that was never tested or a breaker that was left in the wrong state.

Protection functions for a generator operating in parallel with the mains. The table names the function; the settings and trip times come from the approved protection study.
Function What it detects Typical action Setting owner
Sync check Voltage, frequency or phase mismatch at breaker close Block the close Project specification and utility agreement
Reverse power Export to the mains or generator motoring Reduce output or trip the generator breaker Manufacturer’s data and utility agreement
Loss of mains Mains source has failed while the generator is paralleled Open the mains breaker and transfer to island, or trip Utility agreement and project specification
Directional overcurrent Fault current flowing in the wrong direction Trip the appropriate breaker Protection study
Generator thermal and overcurrent Stator or winding overload Alarm, load shed or trip Manufacturer’s data
Earth fault Stator, neutral or bus earth fault Trip the affected source Protection study and project specification
Breaker failure A breaker has not cleared a fault Trip the upstream breaker Protection study

Fuel, heat and maintenance: the operating cost of peak shaving

Fuel is the most visible new cost. The planning figures used across this site are 0.24 to 0.29 litres per delivered kWh, with a 500 kVA set consuming 101 litres an hour at full load, 80 litres an hour at 75% and 60 litres an hour at 50%. A four-hour shaving block at 75% therefore uses about 320 litres, while the same block at 50% uses about 240 litres. A 1000 kVA set at roughly 200 litres an hour would use about 4800 litres over 24 hours. These are planning arithmetic, not a prediction for a particular site; the actual figure comes from the manufacturer’s fuel curve, the real load and the site ambient.

Low-load running is the trap. The 10% to 20% band is a light-load range with a maintenance implication, including a shortened oil interval, and it is not a good target for daily shaving. A small block that leaves the generator at 15% of rating may reduce import while worsening fuel consumption per kWh and increasing the risk of wet stacking. The control logic should choose a block that keeps the set in a stable operating band, or the design should use a load bank or a different source for very small peaks. The acceptable band is determined by the equipment manufacturer’s data and the project specification.

Heat is the second operating cost. The 40 °C reference ambient is the basis for the generator rating, and performance above it is derated by the manufacturer’s data. Peak shaving tends to coincide with the hottest part of the day, so the set may be asked for its highest output at the worst ambient, with a radiator that is recirculating hot air or a room that lacks combustion air. The PUE 1.4 example used elsewhere on this site is a reminder that the generator sees the backed-up electrical load, not just the IT load. The annual load test at 50% to 100% of rating still has to be demonstrated, and the peak-shaving run hours belong in the maintenance plan.

Fuel and maintenance planning for peak shaving. The volumes are arithmetic from the published fuel figures; the operating limits and service intervals remain manufacturer and project values.
Operating pattern Fuel reference Maintenance implication Control response
500 kVA at 50% for four hours 60 L/h, about 240 L for the block Moderate load; service by the manufacturer’s schedule Confirm the block stays above the light-load band
500 kVA at 75% for four hours 80 L/h, about 320 L for the block Higher load factor; watch heat and fuel Use a target that keeps the set in a stable band
1000 kVA for 24 hours About 200 L/h, about 4800 L Continuous duty and a refill plan are required The base tank covers eight to twelve hours at full load, so plan the refill
10% to 20% light load 0.24 to 0.29 L/kWh basis Shortened oil interval and a risk of wet stacking Avoid long runs; add load or use a load bank
Annual load test at 50% to 100% Plan fuel for the test block Proof at rating and a baseline for later readings Schedule the test and record the load points

Commissioning and acceptance: prove the sequence, not just the engine

The commissioning test should follow the daily sequence, not only the engine checks. Prove the sync check, controlled ramp, import target, loss-of-mains transition, load shedding, reverse-power response and restart. A load bank is useful where the real load cannot be moved safely; the real load is better where it can be, because it exercises the actual breaker, cabling and load profile. Test points and tolerances are determined by the manufacturer’s data, the utility agreement and the project specification.

Record what the controller saw, not only what the engine did. The record should include the setpoints, breaker status, the time from mains loss to island operation, the load before and after shedding, the generator kW and the fuel used. Those readings become the baseline for the annual load test and for the first service visit. Any defect in the sequence, such as a breaker that closes too slowly or a load group that does not shed, should be closed before handover rather than carried as an operating instruction.

The operating routine should be equally explicit. Log run hours, fuel deliveries, alarms and any change to the control settings. Review the interval demand data each month to confirm that the shaving block still matches the site, and check the fuel and oil condition on the manufacturer’s schedule. Control settings should change only under a documented change process, because a small adjustment to a setpoint can turn a stable parallel operation into repeated starting or an export trip.

Commissioning tests for a peak-shaving installation. Each test should produce a recorded result and a clear pass or fail decision.
Test What it proves Evidence to keep Stop condition
Protection and sync-check review That the relays and breaker close logic match the approved study Setting sheets, test injections and breaker status records Any unapproved setting or defeated interlock
Parallel at low load That the generator can close onto the bus and share a small load without export kW, current, power factor and breaker timings Reverse power, unstable frequency or a sync-check failure
Ramp to the import target That the controller holds the target without hunting Import curve, generator output and control setpoints Sustained overshoot or repeated start-stop
Loss of mains and island transition That the site transfers to the generator and sheds the right load Time sequence, load before and after shedding, bus voltage Generator overload or loss of a critical load
Reverse-power and export block That export is detected and stopped Relay event record and breaker trip record Export persists beyond the approved limit
Stop, cooldown and restart That the set returns to standby cleanly and can repeat the cycle Start log, cooldown record and alarm history Failed restart or an alarm that blocks the next run
Annual load test baseline That the set can still deliver at 50% to 100% of rating Load points, temperatures, fuel and exhaust readings Inability to hold a load point within the approved limit
Does generator peak shaving need utility approval?

Yes, if the generator will operate in parallel with the mains. The utility agreement governs synchronising, protection, export and metering, and the project specification adds the site requirements. An open-transition standby arrangement does not parallel, but it also cannot hold an import target. The approval route and the technical conditions should be confirmed before the switchgear is ordered.

Can a standby generator run every day for peak shaving?

Only if its duty rating and the manufacturer’s data allow that pattern. A standby rating is not the same as a continuous or prime rating, and daily cycling adds starts, run hours and thermal load. The maintenance schedule, fuel system and cooling system must be reviewed for the new duty. The final duty classification is determined by the equipment manufacturer and the project specification.

What size generator is needed for peak shaving?

Size for the shaving block plus a reserve margin at the site ambient, not necessarily for the whole site peak. The block comes from the interval demand data and the tariff window; the capability comes from the manufacturer’s rating at 40 °C and the derating above it. A set that is too large may run at low load, while a set that is too small cannot hold the target when the site load rises.

How is export to the mains prevented?

By a combination of control and protection: the controller holds import at a target, reverse-power protection detects export, and the generator breaker trips or the output is reduced when the limit is exceeded. Directional overcurrent and loss-of-mains protection support the scheme. The settings and the permitted export, if any, come from the utility agreement and the project specification.

What happens if mains fails while the generator is paralleled?

Loss-of-mains protection should open the mains breaker and transfer the generator to island operation. The load-shedding scheme then removes non-priority load so the generator stays inside its rating. If the load cannot be shed fast enough, the generator may trip; the UPS covers the seconds until the sequence is complete, but it cannot replace a tested transition. The exact sequence is a project design decision.

Does peak shaving reduce diesel consumption?

It reduces import from the mains during the peak, but it adds diesel consumption, run hours and maintenance. Total site energy may change very little. Whether the arrangement is worthwhile depends on the demand charge, the fuel used, the maintenance cost and the operating pattern. Those are project-specific calculations; this page does not promise a saving or a payback period.

Send the interval data and the single-line diagram

Tell us the site peak, the tariff window, the generator rating, the switchgear arrangement and the loads that must stay on. The reply sets out the control sequence, the protection functions and the commissioning tests, in writing.

Request a quote WhatsApp the sales desk

Written and maintained by the KVA Grid sales engineering desk. The planning figures on this page are published elsewhere on this site: the annual load test at 50% to 100% of rating and the shortened oil interval for 10% to 20% light-load running from maintenance scheduling; the fuel figures of 0.24 to 0.29 litres per delivered kWh, with 101, 80 and 60 litres an hour for a 500 kVA set at full, 75% and 50% load, from fuel consumption; the UPS bridging the seconds between mains loss and generator pickup, the PUE 1.4 example and the 1000 kVA case at roughly 200 litres an hour and about 4800 litres for 24 hours from data center backup power; the 40 °C reference ambient from hot and humid climates; the eight-to-twelve-hour base tank from fuel tank and autonomy; repeatable load points from load bank testing; and the handover sequence from standby generator commissioning. Setpoints, protection settings and tolerances are planning values only; the manufacturer’s data, the utility agreement and the project specification govern the system. Nothing on this page is a quotation for a particular project. Reviewed 3 November 2026.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top
WhatsApp