-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for grid elements that are not controllable but part of the power grid #217
Comments
Hello, In order to help you solve your issue, an access to a grid (maybe not the grid you're using) that has the same problem you encounter would be much appreciated. It is really hard (if not impossible) to solve a problem without being able to reproduce it. |
The problem can be easily reproduced. In order to create a grid_modified.json (it is also attached) you can start out from rte_case5_example/grid.json and apply the following code `import pandapower as pp net = pp.from_json("grid.json") pp.create_bus(net, name = "substation_6", vn_kv = 20) pp.to_json(net, "grid_modified.json")` Then use grid_modified.json in rte_case5_example and try to do
For grid2op the two new buses substation_6 and substation_7 will not be connected to any elements although they are connected to a trafo3w, a sgen and a shunt, respectively. |
Issue is fixed, new changes can be obtained by installing the dev version of grid2op:
|
Fixed and merged in version 1.6.0, now available on pypi |
Is your feature request related to a problem? Please describe.
My grid.json (a pandapower grid) includes elements like sgen or trafo3w. These elements are currently not modelled in grid2op. When initializing the grid (using grid2op.make) I do NOT get an error in the Pandapower backend but in GridObjects.py (line 1574)
BackendError: Grid2OpException BackendError "There are 245 bus with 0 element connected to it."
The reason is that these extra elements are not included in sub_info, and that some busbars only connect to these kind of elements.
Note that I'm using Grid2Op v1.5.0.
Describe the solution you'd like
It would be great if all power system elements in a pandapower grid model are accepted by grid2op. These are, of course, important for the load flow calculations.
I'm not asking (yet) that these elements need to be controllable by the agent. They do not need to appear in the action space.
The text was updated successfully, but these errors were encountered: