Quick answer: Microgrid battery sizing starts with the operating duty. Size the power conversion system (PCS) around the maximum simultaneous net power the battery must deliver or absorb, measured in kW. Size battery energy around the net energy that must be delivered over the required period, measured in kWh. Then account for the usable state-of-charge (SOC) window, discharge-path losses, reserve, temperature, aging, auxiliary consumption, charging recovery and equipment limits.
A microgrid battery should not be selected by starting with a cabinet size or a headline capacity such as 500 kWh. Start with a more important question: what exactly must the battery do, and under what operating conditions?
A battery used for short-duration peak shaving may need relatively high power but modest energy. A battery expected to support critical loads for several hours needs sufficient usable energy as well as sufficient PCS power. A system that shifts daytime solar into evening demand has a different operating duty again.
This guide explains a practical method for translating a project requirement into power (kW) and energy (kWh), checking autonomy and charging recovery, and preparing a more reliable preliminary BESS specification.

Why Microgrid Battery Sizing Is Different from Choosing a Battery Cabinet
A microgrid battery may be expected to do more than provide backup. Depending on the project, it may:
- Absorb excess solar generation.
- Reduce grid-import peaks.
- Shift daytime solar energy into evening demand.
- Support selected critical loads during an outage.
- Coordinate with a diesel generator.
- Respond to short-duration load changes.
Each duty creates a different sizing requirement. A system designed for three hours of backup may not be ideal for daily solar energy shifting. A battery selected for peak shaving may have enough energy but insufficient power for a large motor-starting event.
If several functions are required, rank them. The same stored energy cannot always be reserved for emergency backup and fully dispatched for daily savings at the same time.
For the wider system design sequence, see HMZ’s How to Design a Commercial Microgrid System. This article focuses on the battery and PCS sizing logic within that architecture.
Why kW and kWh Must Be Sized Separately
Power (kW) is the rate at which the BESS can deliver or absorb electricity. Energy (kWh) is the amount of electricity delivered or absorbed over time.
HMZ has a separate explainer on kW vs. kWh in commercial energy storage. Here, the focus is how those two ratings translate into a microgrid operating requirement.
A BESS can have a large energy rating but a PCS that limits its AC output. Conversely, a high-power PCS paired with a small battery may meet a short peak but only for a limited duration. The selected system must meet both requirements at the same time.
NREL’s Technology Tips for Solar + Storage discusses battery power, energy and hours of autonomy as distinct sizing considerations.
The Six-Step Microgrid Battery Sizing Process
Step 1: Define the Battery’s Operating Duty
Before calculating capacity, state the primary job of the battery and rank any secondary functions.
| Operating duty | Main sizing question |
|---|---|
| Critical-load backup | What load must remain powered, and for how long? |
| Peak shaving | How much must battery discharge reduce the site peak, and how long does that peak last? |
| Solar energy shifting | How much excess PV energy is available, and when must it be used? |
| Generator support | What generator operating pattern should the battery support? |
| Short-duration power support | How large and how frequent are the load changes? |
If backup is essential, specify the required circuits and minimum runtime. If peak shaving is the priority, identify the demand target and the duration of the recurring peak. If the system must operate as an islanded microgrid, include that requirement at the start rather than treating it as a later add-on.
Step 2: Identify the Loads the Battery Must Support
Collect representative interval data and prepare a separate critical-load schedule. Record:
- Steady-state power of each circuit.
- Which loads operate simultaneously.
- Motor, pump and compressor starting requirements.
- Seasonal and production-shift changes.
- The minimum acceptable service level during an outage.
A facility may have a 600 kW total peak but only need to maintain 180 kW of essential services during an outage. The 180 kW value must be based on verified simultaneous demand, not simply the sum of equipment nameplate ratings.
See HMZ’s guide to Critical Loads vs. Non-Critical Loads for a practical way to separate essential circuits.
Step 3: Calculate Required Battery Power in kW
For a simple backup case, the preliminary AC discharge power is based on the maximum simultaneous critical load. For peak shaving, it is based on the gap between site demand and the permitted grid-import target.
Simplified peak-shaving estimate:
Required battery discharge power (kW) ≈ Site demand (kW) − Target grid import (kW)
Use the positive difference for the interval being assessed. For example, if measured site demand reaches 620 kW and the target grid import is 500 kW, the preliminary discharge requirement is 120 kW AC at that moment.
This is a first-pass estimate. A real assessment should use interval data and consider simultaneous PV output, generator dispatch, other controllable loads and the applicable grid-import limit.
The PCS must be able to supply the required AC power under the expected SOC, temperature and operating conditions. Also check:
- Continuous charge and discharge ratings.
- Short-duration overload capability.
- Power factor and reactive-power requirements.
- Motor-starting and other transient loads.
- Whether several large loads can start at the same time.
A BESS with 700 kWh of stored energy and a 100 kW PCS cannot normally provide 200 kW AC just because the battery contains enough kWh. HMZ explains the equipment role in What Does a PCS Do in a Battery Energy Storage System?.
In a Hybrid Microgrid, Calculate the Net Battery Duty
In a hybrid microgrid, the battery may not need to supply the full site load. Solar PV, a diesel generator or the utility grid may supply part of the demand at the same time.
For a simplified power balance:
P_BESS(t) ≈ P_Load(t) − P_PV(t) − P_Gen(t) − P_Grid(t)
This sign convention treats grid import as a positive supply contribution. A positive result means the battery must discharge. A negative result indicates potential surplus generation for charging, subject to charge limits and the control strategy.
Illustrative operating point:
- Site load: 250 kW
- Available solar PV: 70 kW
- Dispatched generator output: 100 kW
- Grid import: 0 kW
- Remaining battery contribution: 80 kW
The preliminary BESS discharge requirement at that moment is 80 kW—not 250 kW.

Step 4: Calculate Required Delivered Energy in kWh
For a simplified constant-load backup case:
Delivered AC energy (kWh) = Required load (kW) × Backup duration (hours)
Assume the critical load is 200 kW and the required backup duration is 3 hours:
200 kW × 3 hours = 600 kWh AC delivered
This is the energy that must reach the loads. It is not yet the nominal battery capacity.
If the load changes over time, use interval data and sum the energy required in each interval:
Required energy (kWh) ≈ Σ [Net battery discharge power in each interval (kW) × Interval duration (h)]
For example, 15-minute intervals have a duration of 0.25 hours. The calculation should use the net battery duty after available PV and generator contribution, where those sources are expected to operate during the period.
A simplified autonomy estimate is:
Autonomy (hours) ≈ Usable AC energy delivered (kWh) ÷ Average supported load (kW)
This relationship is useful only for a defined load and operating condition. For changing loads, calculate interval by interval and respect PCS and battery limits.
HMZ’s guide to reading a commercial load profile before designing battery storage explains why interval data is more useful than a monthly bill or a single peak value. For runtime trade-offs, see How Long Should a Commercial Battery Backup System Run?.
Step 5: Convert Delivered Energy into Preliminary Nominal Battery Capacity
For a first-pass estimate, when the energy requirement is stated at the AC load side and the efficiency value represents the relevant discharge path:
Nominal battery energy ≈ Required AC delivered energy ÷ (Usable SOC fraction × Discharge-path efficiency)
Assume:
- Required AC energy delivered: 600 kWh
- Usable SOC window: 90%
- Discharge-path efficiency: 95%
Both percentages are illustrative assumptions, not HMZ product specifications.
600 ÷ (0.90 × 0.95) ≈ 702 kWh nominal battery energy

Important AC/DC measurement note: Confirm where the supplier’s usable-energy rating is measured. If the quoted usable energy is already specified as deliverable AC energy at the agreed connection point, do not apply the PCS discharge efficiency a second time. Use the supplier’s stated test conditions and energy definition to avoid double-counting losses.
The 200 kW × 3-hour case is hypothetical, not a real HMZ project. Final selection must separately verify PCS power, battery operating limits, reserve, aging, temperature, auxiliary loads and the project’s acceptance criteria.
Step 6: Check Charging, Recovery and the Required Microgrid Mode
A battery sized for one discharge event must also be able to recharge before the next required event.
Review:
- Available PV surplus and its daily timing.
- Grid-charging availability and permitted charging power.
- Generator charging capability, if applicable.
- Maximum battery charge power.
- Daily cycling pattern.
- Minimum SOC reserve protected for backup.
- Expected time available for recovery.
If the battery must support an islanded microgrid, verify more than kW and kWh. The design may require a grid-forming PCS, black-start capability, suitable switching and isolation, protection coordination, voltage and frequency regulation, generator synchronization and a defined reconnection sequence. Not every grid-connected BESS has these functions.
The U.S. Department of Energy’s Microgrid System Project Development Checklist and Battery Energy Storage System Procurement Checklist are useful independent references for project planning and procurement.
A Practical Microgrid Battery Sizing Checklist
| Input | What to confirm | Why it matters |
|---|---|---|
| Operating objective | Backup, peak shaving, solar shifting, generator support | Defines the battery duty and dispatch priority |
| Load profile | Representative interval data, peak duration, seasonal operation | Reveals actual power and energy patterns |
| Critical loads | Verified simultaneous kW, circuit list and startup demand | Defines the backup power requirement |
| Backup duration | Required hours and acceptable interruption | Defines delivered energy |
| PCS | Continuous kW, overload, power factor, grid-forming functions where required | Confirms AC power capability |
| Battery | Nominal and usable kWh, SOC limits, current limits | Confirms energy capability |
| Efficiency and reserve | Discharge-path efficiency, auxiliary load, aging and reserve assumptions | Avoids overstating deliverable energy |
| Charging plan | PV surplus, grid and generator charging windows | Confirms recovery before the next duty |
| Site conditions | Temperature, altitude, dust, humidity and installation conditions | May affect derating and equipment requirements |
| Microgrid operation | Islanded mode, black start, protection and reconnection | Confirms the required system architecture |
For EPCs preparing a supplier enquiry, HMZ’s Commercial BESS Sizing Checklist for EPCs provides a broader list of site data to collect before an RFQ.
Common Battery Sizing Mistakes
- Using total daily consumption as the battery capacity. Daily kWh does not show the required discharge power, timing or peak duration.
- Ignoring the PCS rating. The PCS may limit AC power even when the battery energy is sufficient.
- Treating nominal kWh as usable AC energy. Nominal capacity is not the same as guaranteed energy delivered to the load.
- Ignoring motor starting and transient loads. Pumps, compressors and production motors may create short-duration power requirements.
- Sizing only for the first outage. Repeated outages require a realistic recharge and recovery plan.
- Combining backup and economic dispatch without priorities. The EMS may use reserved backup energy for daily savings unless the operating strategy protects it.
- Applying efficiency losses twice. Confirm whether the supplier’s usable-energy figure is measured on the DC side or at the AC delivery point.
Battery capacity should also be evaluated against actual utilization and project value. HMZ explains the economic trade-offs in Why Oversizing a Battery Energy Storage System Can Reduce Project Returns.
Frequently Asked Questions
How many kWh of battery storage does a microgrid need?
There is no universal capacity. It depends on the battery duty, critical load, required duration, charging opportunities, usable SOC window, efficiency, reserve and equipment limits. The project should calculate required power and energy separately.
What is more important: battery kW or kWh?
Both matter. kW determines how much power the system can supply at one moment; kWh determines how much energy it can deliver over time. A microgrid BESS must meet both requirements for its intended operating duty.
Can I calculate microgrid battery capacity from monthly electricity bills?
Monthly bills are useful for an initial energy review, but they do not show the shape and duration of demand peaks. Interval load data and a critical-load schedule provide a stronger engineering basis.
Should the battery back up the entire facility?
Not necessarily. Many projects can maintain essential operations by backing up a defined critical-load group rather than the entire facility. The owner and engineering team should define the required service level and identify which loads can be shed.
Does a larger battery always provide longer backup?
Not automatically. Runtime also depends on PCS power, usable energy, actual load, SOC limits, efficiency, temperature and system controls. A larger nominal kWh rating alone does not guarantee the required operating result.
Can a solar-diesel microgrid use a smaller battery?
Potentially, because PV and a generator may supply part of the load while the battery supports the remaining net demand. The actual battery size depends on source availability, operating strategy, required reserve, generator constraints and the time profile of the load.
Request a Preliminary Microgrid BESS Review
If you are planning a commercial or industrial microgrid, HMZ Technology can review your preliminary project information and discuss possible battery-storage configurations.
To begin a technical discussion, share:
- Project location and application.
- Representative interval load profile.
- Critical-load list and simultaneous demand.
- Required backup duration.
- Existing PV and generator details.
- Intended grid-connected or islanded operating mode.
- Charging and recovery expectations.
Explore HMZ commercial and industrial energy storage solutions or send your project enquiry through the HMZ contact page.