In short. An energy management system (EMS) decides how energy should be sourced over minutes to days: which source, when to charge a battery, how to limit maximum demand. It sends targets to the power management system (PMS), which keeps the plant stable in real time. The plant must stay stable without the EMS. If it fails, the PMS falls back to safe default targets.
Who this page is for: For owners, energy managers and control engineers on sites with grid, generators, solar and batteries who want to reduce cost, fuel or demand.
Key facts
- The PMS works in milliseconds to minutes for stability; the EMS in minutes to days for cost.
- EMS failure must leave the plant on safe default targets, never unstable.
- Typical EMS jobs: source selection, peak shaving, battery scheduling, generator loading, forecasting, reporting.
- It needs reliable meters, tariffs, forecasts and equipment limits.
- Keep generator sets in their efficient loading band.
- Measure savings against a recorded baseline.
PMS versus EMS
| Item | PMS | EMS |
|---|---|---|
| Time scale | Milliseconds to minutes | Minutes to days |
| Goal | Stability and continuity | Cost, fuel, emissions, demand |
| If it fails | Blackout risk | Plant runs on safe default targets |
See PMS architecture.
Worked example: peak shaving with a battery (illustrative)
A factory’s demand peaks at about 1150 kVA for two hours each afternoon. Its contracted demand is 1000 kVA, and exceeding it adds penalty charges. It has a 300 kW / 600 kWh battery.
| EMS rule | Working | Result |
|---|---|---|
| Discharge when demand exceeds 950 kVA | Peak excess about 200 kVA; the battery supplies active power only, so the reactive part stays on the grid | Battery supplies up to about 215 kW |
| Energy needed | Up to about 215 kW over 2 hours, less at the edges | About 300 to 400 kWh, within the battery’s 600 kWh |
| Recharge | At night, from the grid, below 700 kVA demand | Ready by morning |
| Fallback if EMS fails | PMS holds battery at a fixed reserve | No instability; only the saving is lost |
The recorded peak fell below 1000 kVA. Savings were measured against the previous year’s bills, not estimated. See battery control.
Do not let the EMS command breakers or protection directly. It should send targets; the PMS and local controls decide what is safe. An EMS fault must never become a plant trip.
What an EMS manages
- Source selection: utility, generators, solar, battery.
- Peak shaving to limit maximum demand charges.
- Battery scheduling.
- Generator loading in the efficient range. See DG and BESS dispatch.
- Forecasting load and solar.
- Reporting kWh, fuel, emissions and cost per unit.
Inputs it needs
- Reliable metering at each source and major load.
- Tariffs and contract limits.
- Forecasts and schedules.
- Equipment limits from the PMS. See interconnection studies.
- A secure network. See OT network.
EMS objectives sheet
| Objective | Baseline | Target | Measured result |
|---|---|---|---|
| Maximum demand | |||
| Generator fuel per kWh | |||
| Grid energy cost |
Worked example: one set at 60% or two at 30% (illustrative)
Diesel engines burn noticeably more fuel per kilowatt-hour at light load. Published figures vary between makes, but a typical pattern is about 0.25 to 0.28 litres per kWh between 60 and 100% load, rising to about 0.30 to 0.35 litres per kWh near 30%. A plant with two 500 kVA (400 kW) sets carries 240 kW overnight.
| Option | Loading | Fuel rate used | Fuel per hour |
|---|---|---|---|
| One set running | 240 ÷ 400 = 60% | about 0.27 L/kWh | 240 × 0.27 ≈ 65 L |
| Both sets running | 120 ÷ 400 = 30% each | about 0.32 L/kWh | 240 × 0.32 ≈ 77 L |
Running one set saves about 12 litres an hour, about 100 litres over an eight-hour night, and avoids the carbon build-up that long light-load running causes. The EMS proposes the one-set target; the PMS accepts it only if the reserve rule still holds, for example that the largest expected load step can be picked up by one set or that load shedding covers its loss. Use the maker’s own fuel curves for the actual sets.
Worked example: holding maximum demand inside its window (illustrative)
Maximum demand is usually measured as the average over a fixed window, commonly 15 or 30 minutes. The EMS does not need to cut every peak; it needs the average over each window to stay under the limit. With a 1000 kVA limit and a 30-minute window, if the first 20 minutes have averaged 980 kVA, the last 10 minutes may average up to (1000 × 30 − 980 × 20) ÷ 10 = 1040 kVA without exceeding the limit. Predicting the window average and acting only when it will be exceeded uses the battery or generator far less than reacting to every instantaneous peak.
How much of the battery the EMS may use
A battery used for both cost saving and backup must keep its backup reserve. Take the 600 kWh battery in the example above, operated between 10 and 90% state of charge to protect its life, with 30% reserved for ride-through.
| Item | Working | Result |
|---|---|---|
| Upper operating limit | 90% of 600 kWh | 540 kWh |
| Backup reserve floor | 30% of 600 kWh | 180 kWh |
| Energy available for peak shaving | 540 − 180 | 360 kWh |
| Afternoon need from the example | Up to about 215 kW over two hours, less at the edges | about 300 to 400 kWh |
The margin is thin: on the hottest afternoons the need can exceed what may be drawn without eating into the backup reserve. The EMS must then choose, by a rule written in advance, between accepting a demand overshoot and running a generator for the last part of the peak. It must never quietly spend the reserve that the site relies on for an outage.
Who limits what
| Layer | Typical action | Can it override the layer above? |
|---|---|---|
| EMS | Sets targets: battery power, generator loading, import limit | Not applicable |
| PMS | Clamps targets to reserve, ramp and stability limits | Yes, always |
| Local controllers | Enforce equipment limits: current, state of charge, temperature | Yes, always |
| Protection | Trips on faults and abnormal conditions | Yes, independently of all control |
Each layer can only make the plant safer than the layer above asked for, never less safe. That one rule is what allows an EMS to be changed, updated or switched off without risk to supply.
Measurement good enough to pay for itself
Savings are computed from metering, so the metering decides whether the savings are real. Use revenue-grade metering at the grid incomer, matching the utility’s own meter class, accurate metering on each generator and the battery, and synchronised time on all of them so that a peak is attributed to the right window. Compare against a baseline adjusted for production and weather, not simply last year’s bill, and review the comparison every quarter.
Worked example: solar and a generator together (illustrative)
When a site runs on its generator with solar still producing, the solar output must leave the set above its minimum load, or the engine runs too lightly and, if solar exceeds the load, power would flow back into the set.
A 500 kVA (400 kW) set with a 30% minimum load must carry at least 0.3 × 400 = 120 kW. With a site load of 300 kW and 250 kW of solar available, the solar inverters must be limited to 300 − 120 = 180 kW. The EMS calculates the limit; the PMS or a dedicated controller enforces it every second, because a passing cloud or a load trip changes the balance faster than an EMS cycle.
Charging cheap, discharging dear: the energy that is actually returned
Moving energy from off-peak to peak hours costs round-trip losses. With a round-trip efficiency of about 90%, delivering 360 kWh at the peak needs about 360 ÷ 0.9 = 400 kWh drawn off-peak. Shifting is worthwhile only when the peak price exceeds the off-peak price by more than that loss plus an allowance for battery wear, which the EMS should include as a cost per kWh cycled.
Commissioning the EMS: prove every fallback
- Stop the EMS service and confirm the PMS moves to its default targets within the set time.
- Cut the network link to each controller and confirm it holds a safe state.
- Send a target outside each equipment limit and confirm it is clamped, not executed.
- Feed a stale or missing meter value and confirm the EMS stops acting on it.
- Restore everything and confirm the EMS resumes without a step in battery or generator output.
An EMS that has only been tested when everything works has not been tested; its value to the plant is how gracefully it fails.
What the monthly report should show
A useful EMS report fits on one page: maximum demand in each window against the limit, energy drawn from each source, generator running hours and average loading, fuel per kWh generated, battery cycles and lowest state of charge reached, every occasion the EMS fell back to default targets and why, and the saving against the adjusted baseline. Trends in these figures, month on month, show whether the strategy still suits the site as loads and tariffs change, and they are the evidence any decision to extend the system should rest on.
Common mistakes
- EMS commanding breakers directly.
- No default targets for EMS failure.
- Savings claimed without a baseline.
- Poor metering behind good software.
What to send us
Send a year of demand and energy data, tariffs and the source ratings. WhatsApp 98852 01608 or use the application engineering enquiry.
Evidence note. Demand and battery figures are illustrative; tariffs and equipment limits govern.
Questions engineers ask
How does an EMS keep maximum demand under the limit?
By predicting the average over the demand window and acting only when it will exceed the limit. With a 1000 kVA limit and a 30-minute window, if the first 20 minutes averaged 980 kVA, the last 10 minutes may average up to 1040 kVA. The EMS then discharges the battery or loads a generator only for the part of the window that needs it.
How much battery capacity can be used for peak shaving?
Only the energy between the upper operating limit and the backup reserve. A 600 kWh battery run up to 90% with 30% kept for ride-through offers 540 minus 180, or 360 kWh, for peak shaving. If the peak needs more, a written rule must decide between a demand overshoot and running a generator, never spending the reserve.
Is EMS worth it for one generator?
Usually not. A single generator with grid supply has few choices to optimise, and its controller can handle simple rules such as start on outage or on a demand threshold. An EMS pays back where there are several sources, a battery or solar, variable tariffs or demand charges, so the choice of source each hour has a real cost difference.
Can EMS be cloud-based?
For forecasting, analytics and reporting, yes. Control actions should be executed by local controllers that keep working, with safe default targets, if the cloud connection or service fails. Every target sent from the cloud should be checked against local limits by the PMS, and the connection secured through a properly designed OT network.
What data quality is needed?
Calibrated metering at the grid incomer, every generator, the battery and major loads, with synchronised time stamps so energy is attributed to the right demand window. Revenue-grade accuracy at the incomer lets EMS figures be checked against the utility bill. Gaps and bad readings should be flagged, not silently filled.
Who owns EMS settings?
The operations owner, who is accountable for cost and continuity, with engineering review of every limit that affects equipment or safety, such as battery reserve, generator minimum load and import limits. Changes should be recorded with the reason and date, so savings and any incidents can be traced to the settings in force at the time.
This guide gives general principles. EMS design must be project-specific.
Technical content reviewed by D. Srinivas Reddy, Managing Partner and Service Engineer, Reddy Generators. Last updated 8 November 2026.