Skip to content

Commit

Permalink
Update to [email protected]
Browse files Browse the repository at this point in the history
Fixed a breaking change from Grid2Op (prod_p -> gen_p) and unit tests.

Resolves #90, #69
  • Loading branch information
vinault committed Apr 19, 2021
1 parent c695c66 commit c512d38
Show file tree
Hide file tree
Showing 4 changed files with 223 additions and 223 deletions.
2 changes: 1 addition & 1 deletion grid2viz/src/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def make_network_scenario_overview(episode):
obs_colored.line_status = line_status_colored

obs_colored.load_p = np.array(max_loads.value)
obs_colored.prod_p = np.array(max_gens.value)
obs_colored.gen_p = np.array(max_gens.value)

network_graph = graph.plot_obs(obs_colored, line_info=None)
# network_graph=graph.plot_info(
Expand Down
Loading

0 comments on commit c512d38

Please sign in to comment.