Skip to content
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

CGMES export Bug #2713

Open
AnkurArohi opened this issue Sep 21, 2023 · 0 comments
Open

CGMES export Bug #2713

AnkurArohi opened this issue Sep 21, 2023 · 0 comments
Labels

Comments

@AnkurArohi
Copy link

Describe the current behavior

When two networks are merged and then the merged network is tried to be exported in CGMES format, this is the exception

java.lang.NullPointerException: null
at com.powsybl.cgmes.conversion.NamingStrategy$Identity.getCgmesId(NamingStrategy.java:72)
at com.powsybl.cgmes.conversion.export.TopologyExport.writeConnectableTerminals(TopologyExport.java:68)
at com.powsybl.cgmes.conversion.export.TopologyExport.writeTerminals(TopologyExport.java:54)
at com.powsybl.cgmes.conversion.export.TopologyExport.write(TopologyExport.java:46)
at com.powsybl.cgmes.conversion.CgmesExport.export(CgmesExport.java:98)
at com.powsybl.iidm.network.Network.write(Network.java:1248)
at com.powsybl.iidm.network.Network.write(Network.java:1269)
at com.powsybl.python.network.NetworkCFunctions.lambda$dumpNetwork$7(NetworkCFunctions.java:185)
at com.powsybl.python.commons.Util.doCatch(Util.java:56)

Describe the expected behavior

There should not be any such exception and if there is such an exception regarding any missing value, the exception should try to mention it

Describe the steps

  • Load a DSO network with boundary files
  • Load TSO network with boundary files
  • Check if the dangling lines df has the boundariesin both DSO and TSO
  • Deactivate the DSO voltage levels which are actually duplicates from TSO
  • Merge both the networks
  • Check the get_lines DF, it should have the dangling lines boundaries merged
  • Export to CGMES

Environment

  • pypowsybl

Relevant Log Output

No response

Extra Information

No response

@AnkurArohi AnkurArohi added the bug label Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant