Repository navigation
Releases
Releases · GriRes/GRIM
GRIM Version 4.0.0
GRIM 4.0.0: Restoration planning for grids with AI data centers
After a blackout, a large AI data center keeps running on its backup generation. Its fuel is limited. It must be back on the grid before the fuel runs out, and the grid must be able to take each step of its load. GRIM 4.0.0 puts the data center into the restoration plan, next to generator start-up and the pickup of the other critical loads.
Why GRIM
- AI data centers as restoration targets. GRIM models a data center as a load with embedded generation. One plan covers generators, critical loads and data centers.
- Fuel tracking. The remaining backup fuel of every data center is updated at each restoration step. The center closest to running out goes first.
- Stepwise reconnection. The load moves from backup generation to the grid in ramp steps. Every step is checked with an AC optimal power flow.
- Cold start. A data center whose fuel has run out is reconnected in smaller steps, limited by the rate of change of frequency that the online generation allows.
- Frequency security. An optional constraint checks every load pickup against a limit set by the inertia of the online generators.
- Ready for EMT studies. GRIM logs the Thevenin equivalent at the bus of each data center at every step, for use in PSCAD or other EMT tools.
- Audit a dispatcher's plan. Validation Mode checks a restoration sequence that the user proposes, step by step.
- Start from where you are. Partial-Blackout Mode starts from an island that is already energized.
- Milestone-based planning. Backtracking and greedy solvers compute the sequence and timing of cranking, load pickup and network energization.
- Interactive interface. Run a study, then walk through the result step by step in the Step Viewer.
Tested
- 16 regression scenarios compared with a stored reference.
- 150 robustness cases.
- An interface smoke test.
- Every run starts with a check of its data and settings, and reports all problems in one message.
Included
- Test systems: IEEE 14, 30, 39 and 57 bus, RTS-24, and four systems with AI data centers (Grid7DC, Grid7RF, IEEE30DC, IEEE30RF).
- A 96-page user manual with the model, the formulation and worked examples.
Quick start
GRIM_LaunchRequirements
MATLAB R2020b or later and MATPOWER 7.0 or later.
Heritage
GRIM builds on the Generic Restoration Milestone methodology (IEEE Transactions on Power Systems, 2011) and on the HITS toolbox. It is the first public tool of the GriRes (Grid Resilience) Suite.
Free and open-source under GPL-3.0-or-later. A commercial license is available.
GRIM v3.0.0 — Generic Restoration Intelligent Milestone (GriRes Suite)
What it is
- GRIM is an open-source MATLAB toolbox for power system restoration decision support. It computes restoration milestones — critical decision points during the process of restoring a power grid after a blackout — using graph-theoretic algorithms, optimal power flow, and intelligent search strategies.
- GRIM is part of the GriRes™ (Grid Resilience Suite).
Features
- Milestone-based restoration planning with greedy and backtracking solvers
- Interactive GUI for restoration scenario visualization and editing
- Full AC-OPF integration with reactive power modeling
- Multiple test systems — IEEE stanadard systems; and custom grids
- Comprehensive reporting — Markdown reports, MAT exports, CSV time-series
- Data editor for creating and modifying grid restoration scenarios
- Configurable restoration parameters including cranking paths, generator priorities, and load dispatch
Added
- Full GUI-based restoration workflow (GRIM_GUI)
- Interactive data editor (GRIM_DataEditor)
- Generation viewer with real-time monitoring (GRIM_GenViewer)
- Step-by-step restoration viewer (GRIM_StepViewer)
- Backtracking solver (GRIM_Solver_Backtrack)
- Greedy solver (GRIM_Solver_Greedy)
- Comprehensive report export to Markdown (GRIM_ReportExport)
- Power flow plotting and analysis (GRIM_PlotPower)
- Settings management interface (GRIM_Settings)
- AC-OPF integration with reactive power limits
- Comprehensive test suite (GRIM_TestSuite with Config, Logic, OPF, QModel, and Stress tests)