Inferensys

Glossary

Behind-the-Meter (BTM) Optimization

The algorithmic control of energy generation and storage assets located on the customer's side of the utility meter to minimize demand charges and maximize self-consumption.
Developer working on RAG retrieval system, document chunks visible on screen, technical workspace with code editor.
DEFINITION

What is Behind-the-Meter (BTM) Optimization?

Behind-the-Meter (BTM) Optimization is the algorithmic control of energy generation and storage assets located on the customer's side of the utility meter to minimize demand charges and maximize self-consumption.

Behind-the-Meter (BTM) Optimization refers to the automated, algorithmic dispatch of customer-sited distributed energy resources (DERs)—such as rooftop solar photovoltaic (PV) arrays, battery energy storage systems (BESS), and smart building loads—to achieve specific economic and operational objectives. The core goal is to dynamically balance local generation against consumption in real-time, thereby reducing the site's net load profile as seen by the utility grid and avoiding costly volumetric and demand-based tariff charges.

The optimization engine typically ingests data from interval meter reads, weather forecasts, and time-of-use (TOU) rate structures to solve a constrained dispatch problem, often using model predictive control (MPC) or mixed-integer linear programming (MILP). By executing strategies like peak shaving and solar self-consumption, the system ensures that stored energy is discharged precisely when the marginal value of that kilowatt-hour is highest, effectively transforming a passive building into an economically responsive grid asset without exporting power beyond the point of common coupling.

CORE MECHANISMS

Key Features of BTM Optimization

Behind-the-Meter optimization relies on a stack of algorithmic and hardware controls to minimize operational expenditure and maximize asset utilization. The following concepts define the technical landscape.

01

Demand Charge Management

The primary economic driver for BTM storage. Algorithms forecast site load and dispatch batteries to cap the maximum power draw from the grid during a billing interval.

  • Peak Shaving: Discharging stored energy precisely when facility load spikes to shave the top off the demand curve.
  • Predictive Windows: Using rolling 15-minute interval forecasts to avoid setting a new peak later in the billing cycle.
  • Tariff Awareness: The logic ingests complex utility rate structures, including non-coincident demand charges and time-of-use energy rates.
30-70%
Typical Demand Charge Reduction
02

Self-Consumption Maximization

The algorithmic strategy to minimize export to the grid and maximize on-site usage of locally generated solar energy.

  • Dynamic Feed-In Management: Throttling inverter output or diverting excess solar to battery storage when export prices are low or grid constraints exist.
  • Load Following: Scheduling deferrable loads (e.g., EV charging, HVAC pre-cooling) to align with the solar generation profile.
  • Zero Export Profiles: Enforcing strict limits at the point of common coupling to comply with utility interconnection agreements.
03

Time-of-Use (TOU) Arbitrage

The automated cycling of battery energy storage to exploit differential energy pricing across the day.

  • Charge Scheduling: Importing and storing energy during low-cost off-peak periods (typically overnight).
  • Discharge Dispatch: Injecting stored energy to serve site load during high-cost on-peak windows.
  • Degradation-Aware Cycling: The optimization engine factors in the marginal cost of battery degradation to ensure the arbitrage spread remains profitable.
04

Grid Services Participation

Enabling BTM assets to bid into wholesale markets or utility programs for revenue stacking.

  • Frequency Regulation: Autonomous response to grid frequency deviations using fast-ramping battery inverters.
  • Demand Response (OpenADR 2.0b): Receiving automated dispatch signals to curtail load or export power during grid stress events.
  • Spinning Reserve: Maintaining a reserved capacity in the battery that can be discharged instantly to support the grid.
05

Dynamic Operating Envelope Adherence

The real-time constraint management ensuring BTM operations do not violate the utility's dynamic connection limits.

  • Import/Export Limits: The controller respects time-varying kW limits broadcast by the distribution utility to prevent voltage violations.
  • Volt-Watt and Volt-VAR Curves: Smart inverters autonomously adjust active and reactive power based on local terminal voltage measurements.
  • Anti-Islanding Compliance: Continuous monitoring to ensure the system ceases to energize within 2 seconds of a grid outage per IEEE 1547.
06

Model Predictive Control (MPC) Engine

The advanced mathematical core that optimizes BTM dispatch over a receding time horizon.

  • State Forecasting: Predicts future solar generation, load, and energy prices using machine learning models.
  • Constraint Solving: Uses Mixed-Integer Linear Programming (MILP) to solve the unit commitment problem while respecting battery state-of-charge limits.
  • Real-Time Feedback: Re-optimizes the dispatch plan every few minutes to correct for forecast errors and unexpected load changes.
BTM OPTIMIZATION

Frequently Asked Questions

Clear, technically precise answers to the most common questions about algorithmic control of energy assets located on the customer's side of the utility meter.

Behind-the-Meter (BTM) optimization is the algorithmic coordination of energy generation, storage, and consumption assets located on the customer's side of the utility meter to minimize electricity costs and maximize self-consumption. The system ingests real-time data from smart meters, battery management systems, and solar inverters, then solves a constrained optimization problem—typically using Mixed-Integer Linear Programming (MILP) or Model Predictive Control (MPC)—to determine the optimal dispatch schedule. The primary objective is to reduce demand charges, which are fees based on a customer's peak power draw during a billing interval, by discharging a Battery Energy Storage System (BESS) precisely when site load spikes. Secondary objectives include Time-of-Use (TOU) rate arbitrage, where the battery charges during low-price periods and discharges during high-price periods, and maximizing the self-consumption of on-site solar generation to avoid export penalties under Net Energy Metering (NEM) regimes.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.