Skip to content

GRIT Version 1.0.0

Latest

Choose a tag to compare

@francisyhou francisyhou released this 16 Nov 01:51
· 2 commits to main since this release

GRIT 1.0.0: Is your DC dispatch realizable in the AC grid?

Markets and operators dispatch with the DC model. The DC model has no voltages, no reactive power and no losses. GRIT takes a DC dispatch and tells you in a fraction of a second whether the AC grid can carry it, where it fails, and which nearby dispatch works.

Why GRIT

  • Fast. A full AC check of a 10,000-bus system takes under one second. For systems of 1,354 buses and more, a check costs 7 to 17 percent of one AC-OPF.
  • Complete. One run checks bus voltages, branch loadings in MVA at both ends, generator reactive limits and generator active limits. Every violation is listed with its value, limit and excess.
  • Physically faithful. Generators share the losses instead of loading them on one slack bus. Generators that reach a reactive limit release their voltage set point, including the reference unit.
  • It repairs, not only reports. Successive linear programs move the smallest amount of active power and voltage set points to remove the violations. Every step is verified by a new AC solution.
  • It tells you how far you are. When a repair cannot remove everything, GRIT reports the smallest relaxation of limits that is still needed.
  • Verified solutions. A Newton-Kantorovich test confirms that an exact AC solution lies within a stated distance of the computed point.
  • Built for many scenarios. All 186 single branch outages of the IEEE 118-bus system are checked in half a second. Load levels of a whole day run in one call.
  • Easy to use. A graphical interface in the style of GRIM, a one-line command interface, Markdown reports, and a 45-page manual with every algorithm stated in full.

Tested

  • 109 automated tests: regression, robustness and interface.
  • Branch flows agree with MATPOWER's AC power flow within 0.0001 MW on seven standard cases.
  • Sensitivities agree with finite differences.
  • 80 random scenarios and 28 kinds of wrong input, none with an unexpected error.
  • Cases from 9 to 13,659 buses.

Quick start

R = GRIT_Run('case118');                         % check
R = GRIT_Run('case30', 'repair.enable', true);   % check and repair
B = GRIT_Batch('case118', 'n-1', []);            % all single branch outages
GRIT_Launch                                      % graphical interface

Requirements

MATLAB R2020b or later (tested with R2026a) and MATPOWER 7.1 or later (tested with 8.1). The Optimization Toolbox is recommended for the repair.

Part of the GriRes Suite

GRIT is the second public tool of the GriRes (Grid Resilience) Suite, after GRIM. The manual is attached to this release.

Free and open-source under GPL-3.0-or-later. A commercial license is available.