View, edit, and simulate GridKit power-system cases in VS Code.
Install GridKit Studio from the Marketplace, then open any *.case.json file. Requires VS Code 1.140 or later and WebGPU.
Studio runs GridKit from an install or from a container image.
Install. Set the folder GridKit is installed in. Leave it empty if GridKit is on your PATH.
"gridkitStudio.gridkitPath": "/opt/gridkit"Image. Pull the image with Docker or Podman. It is the default, so the setting only changes for another image.
docker pull ghcr.io/lukelowry/gridkit:0.2.0-perf"gridkitStudio.gridkitImage": "ghcr.io/lukelowry/gridkit:0.2.0-perf"Right-click a *.solver.json and choose Run Dynamic Simulation. GridKit runs in the solver file's folder, the same as it would from a shell, and the Monitor plots what it writes.
- Monitored Signals chooses what the case records. Right-click a signal there to plot it, or to map it onto the network.
- Show Last Results on a solver file shows what its last run wrote, and Run Simulation Again in the Monitor runs it again.
- Open Results… in the Monitor shows any other CSV GridKit wrote.
- Network editor
- Case panel for editing, sorting and filtering fields, and mapping them onto the network. What you select in the table shows on the network, and the other way around.
ACTIVSg25k during a fault, with voltage magnitude shown as color and height
- Diagram editor for control blocks and how they're wired
An IEEE39 generator with its exciter and stabilizer in the diagram
- Dynamic simulation from a solver file's menu
- Monitor for plotting and playing back signals
IEEE39 during a fault, with voltage magnitude on the network and in the Monitor
- Video export to MP4 or WebM
Luke Lowery, PhD student in the Birchfield Research Group at Texas A&M University · Google Scholar · ORCID
MIT. See third-party notices.
Uses GridKit from Oak Ridge National Laboratory and cases from the Texas A&M Electric Grid Test Case Repository.



