Skip to content

About

VS Code Extension for GridKit

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

GridKit Studio

CI GridKit v0.2.0 VS Code ≥ 1.140 Release License: MIT

View, edit, and simulate GridKit power-system cases in VS Code.

ACTIVSg70k with bus voltage level shown as height and color

Install

Install GridKit Studio from the Marketplace, then open any *.case.json file. Requires VS Code 1.140 or later and WebGPU.

GridKit

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"

How to use

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.

Features

  • 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

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

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

IEEE39 during a fault, with voltage magnitude on the network and in the Monitor

  • Video export to MP4 or WebM

Author

Luke Lowery, PhD student in the Birchfield Research Group at Texas A&M University · Google Scholar · ORCID

License

MIT. See third-party notices.

Uses GridKit from Oak Ridge National Laboratory and cases from the Texas A&M Electric Grid Test Case Repository.

About

VS Code Extension for GridKit

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages