MicrogridMedia

Microgrid Power Quality: How Voltage, Frequency and Harmonics Are Managed

Microgrid power quality depends on maintaining acceptable voltage, frequency and waveform conditions as loads, batteries, solar inverters and generators continuously change. Learn what causes power-quality problems and how microgrids manage them.

Jonas Muthoni

Published · 10 min read

Microgrid power quality monitoring with battery inverters, switchgear, solar panels, voltage, frequency and harmonic measurements

Microgrid power quality describes how consistently a microgrid maintains usable voltage, frequency and electrical waveforms as generation and electricity demand change.

For most equipment, receiving electricity is not enough. The electricity also needs to remain within acceptable operating conditions.

Excessive voltage variation can damage or trip equipment. Large frequency deviations indicate an imbalance between electricity supply and demand. Harmonic distortion can create additional heating, interference and equipment problems.

These issues exist throughout the electrical grid, but they become particularly important inside microgrids because a comparatively small collection of batteries, generators and inverters may need to perform functions normally supported by a much larger power system.

Recent Sandia National Laboratories research on low-inertia microgrids specifically addresses frequency excursions and the use of energy storage for fast frequency support, illustrating how power quality is becoming increasingly connected to inverter and battery controls.

What is power quality in a microgrid?

Power quality describes whether the electrical power delivered to equipment remains within conditions that allow that equipment to operate correctly.

Important characteristics include:

  • Voltage magnitude
  • Grid frequency
  • Voltage and current waveform quality
  • Voltage imbalance
  • Short-duration voltage sags and swells
  • Electrical transients
  • Harmonic distortion

Power-quality requirements vary by equipment.

A resistive heater may tolerate conditions that cause a sensitive data-center power supply, medical device or industrial process controller to trip.

Why microgrids create a different power-quality challenge

Microgrid power quality diagram showing how grid connection, battery inverter, solar inverter and generator support voltage, frequency and waveform stability

When connected to a strong utility grid, a relatively small microgrid receives considerable electrical support from the larger power system.

The utility helps establish voltage and frequency and provides a large source of electrical inertia and fault current.

When the microgrid islands, that external support disappears.

Local batteries, generators, inverters and controls now have to maintain acceptable electrical conditions themselves.

The transition can turn a facility that was a small participant in a huge grid into an entire electrical system within milliseconds or seconds.

Frequency: keeping generation and load balanced

In an AC system, frequency is a fundamental indicator of the balance between electricity supply and demand.

If generation is insufficient for the connected load, frequency tends to decline.

If generation exceeds demand, frequency tends to rise.

The large interconnected grid contains many generators and resources that collectively resist and correct these changes.

An islanded microgrid has far fewer resources.

A sudden 500 kW load increase may be insignificant to a regional grid but substantial inside a 2 MW microgrid.

Why low inertia matters

Traditional synchronous generators contain rotating mass.

The stored kinetic energy in that rotating equipment provides inertia, slowing the initial rate at which frequency changes after a disturbance.

Solar and conventional battery inverters do not inherently provide the same mechanical inertia.

As inverter-based resources make up a larger share of a small electrical island, frequency can potentially move faster after a supply-demand imbalance.

Sandia researchers note that microgrids can experience larger frequency excursions because of low inertia and have investigated energy-storage-based fast frequency support to reduce those excursions.

How batteries help control microgrid frequency

Batteries are valuable because their inverters can change power output extremely quickly.

If a generator trips or load suddenly increases, a battery can increase discharge to help close the supply-demand gap.

If load suddenly decreases, the battery may reduce discharge or begin charging.

This fast response gives the microgrid controller and local inverter controls another mechanism for stabilizing the electrical island while slower resources respond.

Battery state of charge still matters. A battery with no remaining stored energy cannot sustain additional discharge simply because its inverter can respond quickly.

Voltage: keeping electrical pressure within limits

Voltage can be thought of loosely as the electrical pressure available to equipment.

Too little voltage can cause motors and electronics to malfunction or shut down. Excessive voltage can stress insulation and equipment.

Voltage varies across a distribution system because current flows through electrical impedance.

Large changes in load, reactive power or local generation can therefore change voltage at different locations within a microgrid.

How inverters help manage voltage

Modern power-electronic inverters can control both active and reactive power within their operating limits.

Reactive-power control can help support local voltage.

This makes solar and battery inverters more than simple energy-conversion devices.

They can become active participants in maintaining electrical conditions.

Microgrid Media’s recent coverage of Tata Power’s Rajasthan solar-plus-storage project illustrates the broader importance of this issue: the project includes both a harmonic filter bank and static VAR equipment for grid support alongside its solar and battery assets.

What are harmonics?

The ideal AC voltage waveform is a smooth sine wave.

Some electronic equipment draws or injects current in ways that distort that ideal waveform.

Those additional waveform components are called harmonics.

Common harmonic-producing equipment can include:

  • Power-electronic converters
  • Variable-frequency drives
  • Uninterruptible power supplies
  • Computer power supplies
  • Battery inverters
  • Solar inverters

That does not mean inverter-based resources automatically create unacceptable power quality. Modern equipment is designed around harmonic limits and filtering.

But a microgrid containing many power-electronic devices needs to consider their combined interaction.

Why harmonics matter

Excessive harmonic distortion can contribute to:

  • Additional transformer heating
  • Motor heating
  • Neutral conductor loading
  • Capacitor stress
  • Protection or control problems
  • Interference with sensitive equipment

Power-quality studies can identify whether filtering or other mitigation is required.

What is a voltage sag?

A voltage sag is a temporary reduction in voltage.

It can occur when a large motor starts, a fault occurs or a large load suddenly connects.

The event may last only a fraction of a second but still be enough to disrupt sensitive equipment.

Industrial facilities are particularly concerned about voltage sags because a brief electrical disturbance can stop an automated production line even when there is no sustained outage.

What is a voltage swell?

A voltage swell is a temporary increase in voltage.

Sudden load disconnection, switching events and certain faults can contribute to voltage increases.

Microgrid controls and equipment therefore need to manage both low- and high-voltage conditions.

Power quality during islanding

Islanding is one of the most demanding transitions for microgrid power quality.

Before separation, the utility contributes to voltage and frequency stability.

Immediately afterward, local resources assume that responsibility.

The transition must balance generation and load quickly enough to avoid unacceptable frequency or voltage excursions.

The controller may:

  • Dispatch a battery
  • Start or increase generator output
  • Shed noncritical loads
  • Adjust inverter reactive power
  • Limit renewable generation

The same operating sequence that supports microgrid resilience during grid outages therefore also has a power-quality function.

Grid-following vs. grid-forming inverters

The distinction between grid-following and grid-forming controls becomes especially important in an island.

A grid-following inverter generally synchronizes with an electrical reference that already exists.

A grid-forming inverter can help establish or regulate the local voltage and frequency reference.

That capability can be valuable when an inverter-heavy microgrid no longer has the utility grid available to establish those conditions.

It is also relevant to microgrid black start, when the local electrical system may need to establish voltage and frequency without any energized utility reference.

Power quality and microgrid protection

Power quality and protection are related but distinct.

Power-quality controls attempt to maintain acceptable operating conditions.

The microgrid protection system detects faults and abnormal conditions that require equipment or sections of the system to be isolated.

A severe voltage or frequency deviation can eventually trigger protective equipment if conditions exceed permitted limits.

The objective of good controls is to correct manageable disturbances before they become conditions requiring wider disconnection.

Power quality in data-center microgrids

Data centers create an especially interesting microgrid power-quality problem.

Large computing clusters contain enormous numbers of electronic power supplies and can change electricity consumption rapidly as computing workloads change.

Microgrid Media recently reported that Energy Vault’s 1.25 GW Texas AI data-center power agreement combines battery storage, grid-forming power conversion, dispatchable generation and control software.

The architecture is intended in part to manage rapid AI load changes while maintaining voltage and frequency.

At that scale, power quality is no longer a secondary facility concern. It becomes part of the fundamental power-system architecture.

Power quality in remote microgrids

Remote microgrids have no large utility system to absorb disturbances.

Solar output can change quickly with clouds. Generators may cycle on and off. Large motors can represent a significant percentage of total system load.

Battery storage can help buffer those changes, but the battery inverter and controls need to be coordinated with the rest of the system.

This is one reason DOE continues to support technical assistance for remote microgrids through its Community Microgrid Assistance Partnership.

How engineers evaluate microgrid power quality

Power-quality analysis can combine measurements and electrical modeling.

Engineers may examine:

  • Voltage at different buses
  • Frequency response
  • Reactive-power flow
  • Total harmonic distortion
  • Voltage imbalance
  • Motor-starting behavior
  • Switching transients
  • Fault response

The analysis should consider multiple operating states because a microgrid can behave differently while connected to the utility and while islanded.

How can microgrid power quality be improved?

There is no single power-quality device appropriate for every microgrid.

Depending on the problem, engineers can use combinations of:

  • Battery energy storage
  • Grid-forming inverter controls
  • Reactive-power control
  • Harmonic filters
  • Static VAR equipment
  • Generator controls
  • Load management
  • Transformer configuration
  • Protection coordination
  • Improved controller logic

The correct solution depends on identifying the actual electrical disturbance rather than treating every power-quality problem as the same phenomenon.

Why monitoring matters

Some power-quality problems are intermittent.

A facility may operate normally for weeks before a particular combination of loads and generation produces a disturbance.

Continuous monitoring can reveal voltage, frequency and waveform behavior that is difficult to capture during a short site inspection.

Monitoring also gives the controller and operators better information about how the microgrid behaves in real operating conditions.

Frequently Asked Questions

What is microgrid power quality?

Microgrid power quality describes whether voltage, frequency and electrical waveforms remain within conditions that allow connected equipment to operate properly.

Why does frequency change in a microgrid?

Frequency changes when electricity generation and consumption become unbalanced. The effect can be more pronounced in a small islanded microgrid because fewer resources are available to absorb or correct the imbalance.

How do batteries improve microgrid power quality?

Battery inverters can rapidly increase or decrease active and reactive power, helping stabilize frequency and voltage after changes in generation or load. Their effectiveness depends on inverter capability, battery state of charge and system controls.

What causes harmonics in a microgrid?

Power-electronic equipment and nonlinear loads can create current and voltage waveform components at multiples of the fundamental AC frequency. Inverters, variable-frequency drives, UPS systems and electronic loads are among the equipment considered in harmonic studies.

Why is power quality harder when a microgrid islands?

The utility grid no longer provides its strong voltage and frequency reference after islanding. Local generators, batteries and inverter controls must maintain those conditions using a much smaller collection of resources.

Can grid-forming inverters improve power quality?

Grid-forming controls can help establish and regulate voltage and frequency in inverter-dominated systems. They are increasingly important in islanded and low-inertia microgrids, although overall power quality still depends on the complete system design.

Is power quality the same as reliability?

No. Reliability generally describes whether electricity is available, while power quality describes characteristics of the electricity being supplied. A facility can technically remain energized while experiencing voltage or frequency conditions that disrupt sensitive equipment.

The bottom line

Microgrid power quality is about keeping electricity usable, not merely keeping it available.

Voltage must remain within acceptable limits. Generation and load must remain balanced closely enough to maintain frequency. Harmonic distortion and transient disturbances need to stay within tolerable levels.

When a microgrid islands, local batteries, generators, inverters and controls inherit responsibilities normally supported by the much larger utility grid.

As microgrids become more inverter-based and serve increasingly sensitive loads, power quality is becoming a core design and operational requirement rather than an afterthought.

Jonas Muthoni

Jonas Muthoni

Jonas Muthoni is Editor-in-Chief of Microgrid Media, where he oversees reporting and analysis on microgrids, energy storage, distributed energy resources, data center power demand, grid modernization, resilience, renewable energy, and electricity policy and markets. His work focuses on the infrastructure, technologies, and regulatory developments reshaping the power system. As Editor-in-Chief, Jonas leads Microgrid Media’s editorial strategy and standards, including story selection, source verification, technical accuracy, and the development of original reporting and analysis. His coverage draws on regulatory filings, government records, utility and company disclosures, technical documentation, and independent industry sources to explain significant developments across the evolving energy system.