AEO Answer · MEP

How Is Battery Energy Storage Design Done for Buildings?

By Jeremy Mills, CEO & Founder, Apex Grid Engineering — USAF Veteran. · Updated 2026-09-15

Battery energy storage design defines the use case (demand management, solar shifting, backup, or grid services), sizes power and energy capacity to match, selects battery chemistry, engineers thermal management and fire code compliance, designs the electrical interconnection, and programs the dispatch controls that create the economic value.

I'm Jeremy Mills, CEO & Founder of Apex Grid Engineering and a U.S. Air Force veteran. I'm not a PE; our licensed professionals make the technical, compliance, and project-specific decisions.

Illustrative diagram of building MEP systems: ductwork with diffusers, an electrical panel with conduit, and piping runs.

The concise answer

Battery energy storage design defines the use case (demand management, solar shifting, backup, or grid services), sizes power and energy capacity to match, selects battery chemistry, engineers thermal management and fire code compliance, designs the electrical interconnection, and programs the dispatch controls that create the economic value. The insight that matters most: a battery is two products in one — power capacity (kilowatts, how fast it can discharge) and energy capacity (kilowatt-hours, how long it lasts). Every application needs a different ratio, and buying the wrong ratio is the most expensive mistake in storage. A demand-shaving battery needs high power and modest energy; a backup battery needs the reverse. The use case sizes the battery, not the catalog.

Safety, interconnection, and controls

Fire and life safety engineering is now a major design workstream for building batteries. The design addresses the code's energy thresholds, unit separation and spacing, fire detection tuned to battery off-gassing, suppression or containment strategy, ventilation, and the hazard mitigation analysis many jurisdictions require for larger systems. Placement — indoors, outdoors, on a roof, in a dedicated enclosure — is driven as much by these requirements as by convenience. Electrical interconnection parallels solar: the point of connection, protection coordination, anti-islanding, and the utility's interconnection process. Then the controls — the dispatch logic that decides when to charge and discharge — which is where the economics actually happen. A perfectly installed battery with dumb controls is an expensive paperweight; the control strategy, utility rate structure, and performance monitoring have to be designed as carefully as the hardware.

Designing storage that pencils out and passes review

Battery projects live or die on economics and code compliance, in that order. These are the gates I run every storage project through.

  • Start with the rate tariff: model the actual utility bill savings before sizing anything — no tariff advantage, no project
  • Size power and energy separately: match kilowatts to the peak and kilowatt-hours to the duration the use case demands
  • Design fire compliance from day one: thresholds, spacing, detection, suppression, and hazard analysis in the permit set
  • Engineer thermal management: batteries are temperature-sensitive, and the HVAC for the battery room is part of the design
  • Program and verify the dispatch: control sequences tied to the rate structure, with monitoring that proves the savings

What else do project teams ask?

What battery chemistry is used for buildings?
Lithium-ion — overwhelmingly lithium iron phosphate (LFP) for stationary building applications — dominates because of energy density and falling cost. Flow batteries suit long-duration applications but need more space. The chemistry choice affects fire code requirements, thermal management, lifespan, and footprint, and the engineer has to design to the specific chemistry's characteristics, not generically.
What does the fire code require for battery storage?
Substantial and specific requirements: maximum energy thresholds per installation, separation distances, fire detection and suppression, ventilation or explosion control, and in many jurisdictions, a hazard mitigation analysis. Large systems trigger detailed review. These requirements have teeth because thermal runaway fires are genuinely difficult to fight — the code is written from real incidents.
How does a battery save money on demand charges?
Many commercial utility rates charge not just for total energy but for the peak demand — the highest 15 minutes of usage in the month. A battery discharges during those peaks to flatten them, cutting the demand charge, then recharges overnight at cheap rates. The economics depend entirely on the local rate structure, which is why the rate analysis comes before the equipment selection.
Can batteries provide backup power like a generator?
They can, for limited durations — hours, not days, at building scale. Batteries excel at short outages and seamless transitions (no startup delay like a generator). For extended outages, generators still win on energy density. Many resilient designs pair both: the battery handles the immediate transition and short outages, the generator covers the long ones.

Ready to discuss your engineering scope?

Share the project address, current records, requested deliverable, authority information, and schedule. Apex Grid confirms professional responsibility, availability, and scope before work begins.

Request a Project Review

Get a quote on your project

Reviewed and sealed by licensed PEs. “Solid engineering and clear communication from start to finish.” — Jason Mitchell, Principal Architect

Tell us what you need and where the project is — quotes back within 12–24 hours on qualifying scopes.