ORNL / ORNL/GridKit

Add a simple co-simulation example with GridKit apps operating as ZMQ client/server.

Open
#469 0 comments 0 reactions 1 assignee View on GitHub

@PhilipFackler is already working on this.

Since Jun 26, 2026.

examples
Dominant language
C++
Stars
27
Forks
11
Avg merge
3d 8h
Merged PRs (30d)
23

Description

Summary

Create a simple example where a 3-bus system operates as a ZMQ client and constant signal source operates as ZMQ server.

CC @alexander-novo @lukelowry

Rationale

This example is a prototype for implementing capability for GridKit apps to operate in a co-simulation environment.

Description

Use 3-bus example in GridKit and modify it to replace one of the generators with a signal adapter. Implement that app as a ZMQ client expecting signal input from a generator implemented as a ZMQ server.

In this initial implementation, use constant signal source as a generator model. The signal source should be implemented as a separate app, a ZMQ server, and should return (constant) values for injection currents on client's request.

Additional information

Another example, working through DataBroker instead of direct connection between the two GridKit apps, should be added, as well.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.