Leading New Energy Illuminating the Future
Email:info@asgoft.com
New energy articles

How Does Battery Energy Storage Keep a Microgrid Running?

How Does Battery Energy Storage Keep a Microgrid Running?

Grid-Connected, Islanded & Transition Modes Explained

A microgrid is more than a collection of solar panels, batteries, and electrical loads. It is a coordinated local power system designed to manage electricity generation, distribution, and consumption within a defined electrical boundary.

One of its most important capabilities is the ability to operate in different conditions. A microgrid may exchange electricity with the main utility grid during normal operation, disconnect when a grid disturbance occurs, and continue supplying selected loads using available local energy resources.

Battery energy storage can play a central role in this process.

Unlike a conventional generator, a battery does not produce primary energy. Instead, it stores electricity and makes that energy available when required. When combined with suitable power conversion equipment and coordinated controls, a battery energy storage system (BESS) can help balance generation and demand, respond to rapid changes in power, and support operation when the main grid is unavailable.

However, a battery alone does not make a microgrid capable of operating independently. Successful operation depends on the complete electrical architecture, including generation resources, inverters or power conversion systems, protection equipment, control logic, and the loads being supplied.

This guide explains how battery energy storage supports microgrid operation, what happens when the utility connection is lost, how islanded operation is maintained, and what must happen before a microgrid can reconnect to the main grid.

1. What Is a Battery-Based Microgrid?

A microgrid is a group of interconnected electrical loads and distributed energy resources operating within a defined electrical boundary. It can function as a coordinated system in relation to the main utility grid and, when appropriately designed, operate independently.

This ability to operate both with and without the utility grid distinguishes an island-capable microgrid from a conventional grid-connected electrical installation.

A battery-based microgrid may include several types of equipment.

Distributed Energy Resources

These are the resources that supply or store energy locally.

Examples include:

  • Solar photovoltaic (PV) systems
  • Battery energy storage systems
  • Wind generation
  • Diesel or gas generators
  • Other locally available generation resources

Not every microgrid uses all these technologies. The energy mix depends on the application, local resources, reliability requirements, and project economics.

Electrical Loads

Loads are the buildings, machines, and other electrical equipment that consume power.

Examples include industrial production equipment, commercial buildings, water treatment facilities, telecommunications infrastructure, and community services.

Some loads must remain energized during an outage, while others can be reduced or disconnected temporarily.

Power Conversion Equipment

Power conversion equipment connects energy resources to the electrical system.

Battery storage normally requires a suitable power conversion system (PCS) or inverter to exchange energy with AC loads and the wider electrical network.

Solar PV systems also require compatible conversion equipment, while generator-based resources have their own electrical and control requirements.

Protection and Switching Equipment

Circuit breakers, protective relays, isolation devices, and associated controls help detect faults and establish safe operating configurations.

The point where a microgrid connects to the utility system is commonly called the point of common coupling (PCC).

The PCC is particularly important during islanding and reconnection because the microgrid must be separated from, and later synchronized with, the external grid under appropriate conditions.

Microgrid Controller and Energy Management

The microgrid controller coordinates the operation of the available resources and loads.

Depending on the architecture, an energy management system (EMS) may also optimize energy dispatch, charging schedules, fuel consumption, or operating costs.

These functions can overlap, but they are not necessarily identical. Real-time electrical control, protection, and transition management must work together with higher-level energy scheduling.

The U.S. Department of Energy describes microgrids as coordinated systems of local resources and loads that can operate in grid-connected or islanded modes. Its overview also highlights the role of advanced controllers in balancing resources and demand. Source: U.S. Department of Energy — Microgrid Systems.

2. How Does a Microgrid Operate While Connected to the Main Grid?

During normal conditions, a grid-connected microgrid remains electrically connected to the utility network.

The main grid may supply electricity when local generation is insufficient. Conversely, local resources may reduce grid imports or export surplus electricity when the system configuration and interconnection agreement permit it.

Battery storage can support this operating mode in several ways.

Balancing Local Generation and Demand

Consider a simplified microgrid containing solar PV, a battery, and a group of electrical loads.

During the day, solar generation may exceed local demand.

The available solar energy can supply the loads first, with surplus electricity potentially charging the battery or being exported to the grid.

Later, when solar production decreases and demand increases, the battery may discharge to help meet the load.

If the available local resources cannot supply the full demand, the microgrid can import electricity from the utility while the connection remains available.

The actual energy flow depends on the control strategy, battery state of charge (SOC), power limits, and grid-interconnection requirements.

Supporting Changes in Electrical Demand

Electrical loads do not remain constant.

Industrial motors may start, equipment may switch operating states, and renewable generation can change with weather conditions.

A battery system can respond to suitable changes in demand by increasing or decreasing its power output within its permitted operating limits.

This flexibility can help reduce rapid power imbalances and support coordinated operation.

However, the battery’s response depends on its inverter or PCS capabilities, available energy, control settings, and the operating condition of the microgrid.

Managing Battery State of Charge

A battery cannot supply energy indefinitely.

The controller must consider the available SOC and the amount of energy likely to be required later.

For example, a microgrid designed to withstand utility outages may maintain a reserve instead of using all available battery energy for routine economic operation.

A system designed primarily for energy shifting may follow a different strategy.

The appropriate reserve depends on the required outage duration, expected generation, critical loads, and the operational objectives of the project.

Providing Grid Support

Some battery-based microgrids can provide services to the wider electricity system while connected to the utility.

Depending on the installation, these may include active-power control, reactive-power support, or other services permitted by the applicable grid requirements.

Such capabilities should not be assumed for every battery system. They depend on the PCS, controls, interconnection requirements, and the services for which the system has been designed and authorized.

3. What Happens When the Main Grid Fails?

A utility outage changes the electrical conditions under which a microgrid operates.

The system must determine whether it can safely separate from the external grid and continue supplying its local loads.

The transition is not simply a matter of telling the battery to start discharging.

Step 1: Detect the Grid Disturbance

Monitoring equipment and protection systems detect relevant electrical conditions.

Depending on the design, these may include abnormal voltage or frequency, a loss of supply, or other conditions requiring protective action.

The protection system determines whether the event requires disconnection or another response under the applicable settings.

Step 2: Separate the Microgrid From the Utility

If islanding is required, the appropriate switching equipment opens the grid connection.

This prevents the islanded microgrid from unintentionally energizing the utility network.

Safe isolation is essential for protecting utility personnel, equipment, and the microgrid itself.

Step 3: Establish or Maintain an Electrical Reference

An islanded electrical network needs an appropriate voltage and frequency reference.

Depending on the design, this may be provided by a grid-forming battery inverter, a suitable generator, or another source capable of establishing the local electrical reference.

Some systems are designed to maintain continuity during the transition. Others may experience a temporary interruption before local power is restored.

The actual result depends on the equipment, control strategy, protection coordination, and transition design.

Step 4: Match Supply to the Available Load

Once islanded operation is established, the microgrid controller coordinates the available resources.

The battery may respond quickly to power imbalances while solar generation or other generators supply energy.

If local resources cannot support all connected loads, the system may reduce output from noncritical circuits or disconnect selected loads.

This helps prevent an overload or an unstable operating condition.

Why Battery Storage Matters During This Transition

Battery storage can respond to changes in electrical power more rapidly than many conventional generation resources can change their output.

When the system is designed appropriately, this response can help bridge short-term mismatches between supply and demand.

Nevertheless, the battery must have sufficient power capability, the required inverter functions, and enough stored energy for the intended operating condition.

The U.S. Department of Energy’s microgrid islanding example illustrates why coordinated generation, switching, protection, and load management are necessary when a utility supply fails. Source: U.S. Department of Energy — Islanding a Microgrid.

4. What Is Islanded Operation?

Islanded operation occurs when a microgrid is electrically separated from the main utility grid and operates using its available local resources.

The system must now manage its own electricity balance within the capabilities of its equipment.

This is more demanding than simply continuing to use a battery during an ordinary grid outage.

Maintaining Voltage and Frequency

In a conventional AC network, voltage and frequency must remain within acceptable limits.

When connected to a strong utility grid, the external network provides an important electrical reference.

Once the microgrid is isolated, that external reference is no longer available.

The islanded system must establish and regulate its local voltage and frequency through suitable generation equipment and controls.

Grid-Following and Grid-Forming Inverters

These terms describe different inverter operating functions.

Grid-following inverters normally synchronize their operation with an existing voltage and frequency reference. They are widely used to connect renewable generation and other resources to an established AC network.

Grid-forming inverters are designed to establish or regulate an AC voltage and frequency reference for a local network, subject to their control design and operating limits.

This distinction matters in islanded microgrids.

A solar inverter that depends on the utility grid as its reference may stop operating when that reference disappears. It may be able to operate again after a compatible local reference has been established, but only if the system is designed to support that behavior.

A battery connected through a grid-forming-capable PCS may help establish the islanded network. However, not every battery inverter supports grid-forming operation, and the presence of a battery does not guarantee islanding capability.

Balancing Generation and Demand

Suppose local loads suddenly increase while solar production remains unchanged.

The controller must respond by increasing available generation, increasing battery discharge where possible, or reducing demand.

If the loads decrease, generation may need to be reduced or excess energy directed toward battery charging.

These actions help maintain the balance required for stable operation.

Managing Limited Energy

Unlike the utility grid, a standalone microgrid has finite local energy resources.

A battery may have enough power to supply a large load temporarily but not enough stored energy to sustain it for an extended period.

The controller must therefore consider both instantaneous power and the energy available over time.

For longer outages, it may prioritize critical loads, reduce nonessential consumption, or start another available generator.

Islanded operation is sustainable only while the system can maintain electrical stability and meet the energy requirements of the loads it continues to serve.

5. How Do the Battery, PCS, and Microgrid Controller Work Together?

A battery-based microgrid relies on several interacting functions rather than a single device.

The battery stores energy, the PCS controls electrical power exchange, and the microgrid controller coordinates system-level behavior.

The Battery and Battery Management System

The battery provides stored energy within its operating limits.

Its battery management system monitors relevant conditions and applies protections according to the battery design.

Depending on the system, the BMS may communicate information such as SOC, voltage, temperature, and permitted charge or discharge current.

These limits affect how much power the microgrid can obtain from the battery at a given time.

The Power Conversion System

The PCS provides the electrical interface between the battery and the AC network, where applicable.

Its capabilities may include controlling active and reactive power, following an external grid reference, or forming a local voltage and frequency reference.

Which functions are available depends on the specific equipment and configuration.

The PCS must also remain within its current, voltage, thermal, and other operating limits.

The Microgrid Controller

The controller coordinates the overall system response.

Its responsibilities may include:

  • Selecting the appropriate operating mode
  • Managing transitions between grid-connected and islanded operation
  • Coordinating battery and generator dispatch
  • Maintaining the supply-demand balance
  • Applying load-priority rules
  • Coordinating protection and switching sequences
  • Managing the conditions required for grid reconnection

The division of responsibilities varies between architectures.

Some functions are implemented within the PCS or inverter, while others are handled by a dedicated microgrid controller or supervisory control system.

The Energy Management System

An EMS may optimize the longer-term use of available energy.

For example, it may consider solar forecasts, expected demand, fuel costs, electricity tariffs, and battery reserve requirements.

These decisions influence how much energy is available when operating conditions change.

However, an economic scheduling function should not replace the protection and real-time control functions required for safe electrical operation.

A successful microgrid design coordinates these layers while respecting the operating limits of every connected resource.

6. How Does a Microgrid Balance Solar Generation and Variable Loads?

Solar generation can fluctuate with passing clouds, changes in sunlight, and other environmental conditions.

At the same time, the electrical demand of buildings and industrial equipment can change rapidly.

Battery storage can help manage these variations, but its response must be coordinated with the rest of the microgrid.

When Solar Generation Exceeds Demand

If solar generation is greater than the immediate load, the system may use the surplus to charge the battery.

Depending on the installation, excess electricity may also be exported, used by other controllable loads, or curtailed.

Charging must remain within the battery’s permitted limits and the PCS’s available power.

If the battery is already near its upper SOC limit, it may not be able to absorb the full solar surplus.

When Solar Generation Falls

If solar output decreases while demand remains high, the controller may increase battery discharge or dispatch other available generation resources.

The battery can help respond quickly, while slower generation resources may adjust their output according to their own operating characteristics.

If the available resources are insufficient, the controller may need to reduce or disconnect lower-priority loads.

When the Battery Reaches an Operating Limit

A battery cannot continue increasing its discharge indefinitely.

Its available output may be constrained by SOC, temperature, current limits, PCS ratings, or protection settings.

If stored energy becomes limited, the controller must preserve the supply to the loads that matter most.

This may require reducing discretionary demand, adjusting generation, or starting another source of electricity.

Why Forecasting Is Not Enough

Forecasts can help plan battery charging and generator dispatch, but actual conditions may differ from predictions.

A reliable microgrid needs control strategies that respond to real operating measurements as well as expected conditions.

The controller must be able to manage deviations between planned and actual generation or demand.

7. How Does a Microgrid Reconnect to the Main Grid?

When utility service returns, the microgrid cannot always reconnect immediately.

The system must verify that reconnection is permitted and that the relevant electrical conditions are suitable.

Confirming the Utility Supply

The system checks the restored grid against applicable operating requirements.

A supply that appears to have returned may still be unsuitable for reconnection if voltage, frequency, or other required conditions have not stabilized.

Synchronizing the Microgrid

Before two energized AC systems are connected in parallel, their relevant electrical conditions must be compatible.

Depending on the system, synchronization involves checking voltage magnitude, frequency, and phase angle.

The controller and synchronization equipment must establish acceptable conditions before closing the grid connection.

Closing the Point of Common Coupling

Once the required conditions and permissions are satisfied, the switching equipment can reconnect the microgrid to the utility network.

The controller then coordinates the transition back to grid-connected operation.

The battery may change its operating role as the external grid becomes available again.

For example, the system may return to a configured charging schedule, reduce its discharge, or provide another supported service.

The precise sequence depends on the microgrid design and the applicable interconnection requirements.

Why Reconnection Must Be Controlled

Closing a connection between unsynchronized electrical systems can create unwanted electrical transients and potentially damage equipment.

Reconnection therefore requires appropriate synchronization, switching, and protection arrangements.

A microgrid’s ability to reconnect safely should be established through system design, configuration, and commissioning rather than assumed from the presence of a battery.

8. What Are Black Start and Load Shedding?

Two additional functions may be important when a microgrid experiences an extended outage or loses its local electrical reference.

Their availability depends on the system design.

Black Start

Black start is the ability to start or energize a power system without relying on an already energized external electrical supply.

In a suitable battery-based microgrid, the battery and PCS may provide the initial power needed to establish the local network.

The controller can then bring other resources online and reconnect loads in a defined sequence.

However, black-start capability is not automatic.

The battery must have sufficient available energy, the PCS must support the required function, and the control and switching arrangements must be designed for the intended sequence.

Other resources may also require auxiliary power or separate starting arrangements.

Load Shedding

Load shedding means disconnecting selected electrical loads to maintain the balance between available supply and demand.

Loads may be ranked by priority.

For example, a critical facility may prioritize safety systems, essential communications, and necessary process equipment over discretionary loads.

When generation becomes insufficient, lower-priority loads can be disconnected first.

When sufficient capacity returns, loads may be restored in stages.

Staged restoration can help prevent a sudden increase in demand from overloading the available generation resources.

Why These Functions Work Together

Black start helps establish the electrical system when a suitable source of power is available.

Load shedding helps keep demand within the system’s capabilities.

Together with battery dispatch, generation control, and protection, these functions can improve the ability of a properly designed microgrid to recover from disturbances.

Neither function should be assumed to exist in every battery storage installation.

9. Common Microgrid Integration Challenges

Even when individual components perform as specified, the complete system can encounter integration challenges.

Protection Coordination

Protection settings must account for the different operating conditions of the microgrid.

Fault current behavior can change when the system moves from utility-connected to islanded operation, especially when inverter-based resources supply the network.

Protective devices must still detect relevant faults and isolate affected sections appropriately.

Power Quality and Stability

The system must maintain acceptable voltage and frequency while responding to load changes and generation variability.

The selected PCS, control architecture, and available generation resources influence how well the microgrid manages these conditions.

Communication and Control Coordination

The battery, PCS, generators, protection equipment, and supervisory controller may exchange information through different communication interfaces.

Incompatible settings, missing signals, or incorrect control priorities can prevent the system from following the intended operating sequence.

Critical protection functions should not depend solely on a communication link that is not designed to support them.

Insufficient Battery Power or Energy

A battery system may have enough stored energy for a long period of low demand but still lack the power capability to support a large instantaneous load.

Conversely, a high-power battery system may not contain enough energy for an extended outage.

System planning must evaluate both requirements.

Transition and Reconnection Behavior

The transition between operating modes must be tested under the conditions relevant to the project.

This includes protection response, island establishment, load restoration, synchronization, and reconnection.

The exact requirements depend on the microgrid’s electrical architecture and applicable standards.

Cybersecurity and Operational Monitoring

Microgrid controls may rely on digital communication, remote monitoring, and supervisory software.

Access controls, secure communications, event logging, and appropriate maintenance practices can help reduce operational risk.

A resilient electrical design should consider both physical and digital failure scenarios.

10. A Practical Microgrid BESS Design Checklist

Before commissioning a battery-based microgrid, the project team should confirm that the main operating functions have been addressed.

Design QuestionWhat Must Be Verified
Electrical boundariesDefined microgrid area and PCC
Connected resourcesAvailable generation, battery storage, and controllable loads
Grid-connected operationPermitted import, export, and supported grid services
Islanding capabilityDesigned method of separating from the utility
Grid-forming referenceSuitable equipment for establishing islanded voltage and frequency
Battery powerAdequate continuous and transient power capability
Battery energySufficient usable energy for the intended operating period
SOC managementReserve requirements and permitted operating range
Protection coordinationSuitable settings for grid-connected and islanded operation
Load prioritiesCritical, deferrable, and noncritical loads identified
Renewable integrationResponse to changes in solar or other variable generation
Black-start requirementsVerified starting sequence, where required
ReconnectionSynchronization, switching, and permission requirements
CommunicationVerified signals and control responsibilities
CommissioningTested transition, islanded operation, and recovery procedures
MaintenanceInspection, monitoring, and periodic functional testing

The checklist is a planning aid rather than a substitute for detailed engineering design.

The final architecture must be validated against the project’s load requirements, operating objectives, equipment specifications, utility requirements, and applicable electrical standards.

Frequently Asked Questions

Can a battery energy storage system operate a microgrid by itself?

Not necessarily. A battery stores energy, but independent microgrid operation also requires suitable power conversion, control, protection, switching, and load-management functions. The complete system must be designed to establish and maintain the local electrical network.

Does every microgrid contain a battery?

No. Microgrids can use different combinations of generation resources and energy storage. A battery can provide flexibility and fast power response, but the appropriate resource mix depends on the application.

What happens to solar panels when a microgrid disconnects from the utility?

It depends on the solar inverter and microgrid architecture. Some grid-following solar inverters stop operating when the external grid reference disappears. A compatible islanded system may establish a local reference that allows supported solar resources to operate.

What is the difference between grid-connected and islanded operation?

In grid-connected operation, the microgrid remains electrically connected to the utility network and may exchange power with it. In islanded operation, it is disconnected and must balance its local supply and demand using available resources.

Can a battery inverter establish the voltage and frequency of a microgrid?

A grid-forming-capable inverter may perform this function when appropriately designed and configured. Not every battery inverter supports grid-forming operation, so the capability must be verified for the specific equipment.

What is the role of a microgrid controller?

The controller coordinates resources, operating modes, switching sequences, and load management according to the system architecture. It may also coordinate battery dispatch, generator operation, and the conditions needed for reconnection.

What happens when a microgrid does not have enough stored energy?

The system may use other available generation, reduce demand, disconnect lower-priority loads, or shut down selected sections if required. The response depends on the control strategy and available resources.

Can a microgrid reconnect to the utility automatically?

Some systems are designed for automatic reconnection, while others require additional authorization or operator action. Reconnection must follow the applicable synchronization, protection, and interconnection requirements.

Does black-start capability come with every battery energy storage system?

No. Black start requires suitable equipment, available energy, control logic, and an appropriate starting sequence. It should be treated as a system-level capability rather than an assumed feature of every battery.

Why is load shedding important in an islanded microgrid?

Load shedding helps keep demand within available generation and battery power limits. Prioritizing critical loads can extend the period during which essential services remain available.

Conclusion

Battery energy storage can help a microgrid manage changing demand, integrate renewable generation, and maintain the balance between electricity supply and consumption.

Its role becomes particularly important when the system transitions from grid-connected operation to islanded operation. In those conditions, the microgrid must establish an appropriate electrical reference, coordinate its available resources, protect the network, and keep demand within its operating limits.

When utility service returns, the system must also verify the conditions required for safe synchronization and reconnection.

These functions depend on the complete system rather than the battery alone.

The battery, PCS, microgrid controller, protection equipment, generation resources, and connected loads must operate as a coordinated whole.

A reliable battery-based microgrid is not defined simply by how much energy it can store. It is defined by how effectively the complete system can control, balance, and deliver that energy under changing operating conditions.

Related articles

    Menu