Skip to content

Graph Interface

Hou Shengren edited this page Mar 26, 2026 · 1 revision

Graph Interface

Phase A adds graph/topology exports to support future GNN-based work without changing the default flat RL state.

get_topology_metadata()

Returns:

  • feeder_id
  • scenario_id
  • node_count
  • edge_count
  • active_edges

get_graph_data()

Returns plain Python/NumPy structures:

  • adjacency
  • edge_index
  • node_ids
  • active_line_data

Design Rule

These graph exports are additive. The default RL state vector remains unchanged in Phase A.

Clone this wiki locally