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

[bug] CIM importer does not process EQ_BD boundary CNs correctly #2444

Open
6 tasks done
AnkurArohi opened this issue Nov 8, 2024 · 4 comments
Open
6 tasks done

[bug] CIM importer does not process EQ_BD boundary CNs correctly #2444

AnkurArohi opened this issue Nov 8, 2024 · 4 comments
Assignees

Comments

@AnkurArohi
Copy link

AnkurArohi commented Nov 8, 2024

Bug report checklis

  • Searched the issues page for similar reports

  • Read the relevant sections of the documentation

  • Browse the tutorials and tests for usefull code snippets and examples of use

  • Reproduced the issue after updating with pip install --upgrade pandapower (or git pull)

  • Tried basic troubleshooting (if a bug/error) like restarting the interpreter and checking the pythonpath

Reproducible Example

Simply use a EQ_BD file together with other profiles in cim importer ,
compare the no. and attributes of switches with and without the EQ_BD file importer

Issue Description and Traceback

Pandapower has problem in cim import if EQ_BD file is also used

Something went wrong at switches, seems like that terminals for connection with connectivity nodes are missing!

The switch with RDF ID _03ac8 has 3 Terminals!
The switch data:
index rdfId
504 11799 _03ac83
505 11797 _03ac83bb
506 11798 _03ac83bb-6

                             name  \

504 3 Ltg 1
505 3 Ltg 2
506 3 Ltg 3

The modelled network has no switch anymore.

If there is no EQ_BD used then it works.

Expected Behavior

The switches count and attributes should remain same with and without EQ_BD import

Installed Versions

  • python version: 3.12 *

Label

  • Relevant labels are selected
@AnkurArohi AnkurArohi added the bug label Nov 8, 2024
@AnkurArohi AnkurArohi changed the title [bug] YOUR TITLE [bug] CIM importer does not process EQ_BD boundary CNs correctly Nov 8, 2024
@mrifraunhofer
Copy link
Collaborator

Hey Ankur,
can you check if you have duplicated ConnectivityNodes in the bus table when you use the EQ_BD. It seems that there is an issue with the EQ_BD.

@AnkurArohi
Copy link
Author

AnkurArohi commented Nov 24, 2024

No I have checked it there is no such issue although there are no duplicate buses but also in that case pandapower should be able to handle this case as well.

@mrifraunhofer
Copy link
Collaborator

Hey Ankur, can you provide us an example file? Or reproduceable code? However, a switch may only have 2 Terminals, never 3! Can you check if you have a valid CGMES export? Validating the CGMES input data is not part of our importer.
Without vaild example files it is difficult investigate the problem.

@AnkurArohi
Copy link
Author

AnkurArohi commented Dec 4, 2024

I cannot provide any example unfortunately because these are all proprietary CGMES files, but i can assure you that all these CGMES imports functions for powsybl and GridCal (open source netzmodell libraries like pandapower)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants