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 has inf attr for r,x for tie lines #2736

Open
AnkurArohi opened this issue Oct 4, 2023 · 5 comments
Open

CGMES export has inf attr for r,x for tie lines #2736

AnkurArohi opened this issue Oct 4, 2023 · 5 comments
Assignees
Labels

Comments

@AnkurArohi
Copy link

AnkurArohi commented Oct 4, 2023

Describe the current behavior

Exported CGMES has inf values for the tie lines although the corresponding dangling lines have zero values for these attributes.

Describe the expected behavior

The tie lines should recieve the sum of the r,x values from the dangling lines, if this leads to issuesin the load flow calculation since they are zero one could add a small value of impedance and make it parameterable.

Describe the steps

  • import network_tso,(with all the BD files)
  • import network_dso(with all BD files)
  • Merge the networks
  • Export the network in CGMES format
  • Look for r,x values in the exported CGMES for these tie lines

Environment

pypowsybl 0.22

Relevant Log Output

No response

Extra Information

No response

@AnkurArohi AnkurArohi added the bug label Oct 4, 2023
@AnkurArohi AnkurArohi changed the title CGMES export has inf attr fpr r,x for tie lines CGMES export has inf attr for r,x for tie lines Oct 4, 2023
@annetill
Copy link
Member

@nemanja-st can you check if it is still an issue? It might be easy to create a small network and export it to see if we still have this issue. Thanks!

@nemanja-st
Copy link
Contributor

nemanja-st commented May 16, 2024

@nemanja-st can you check if it is still an issue? It might be easy to create a small network and export it to see if we still have this issue. Thanks!

Hello @annetill ,
I did a quick test with generating DanglingLine using DanglingLineNetworkFactory and setting R and X to 0 and it exported 0:

    <cim:ACLineSegment rdf:ID="_DL">
        <cim:IdentifiedObject.name>DL</cim:IdentifiedObject.name>
        <cim:ACLineSegment.r>0</cim:ACLineSegment.r>
        <cim:ACLineSegment.x>0</cim:ACLineSegment.x>
        <cim:ACLineSegment.gch>0.0001</cim:ACLineSegment.gch>
        <cim:ACLineSegment.bch>0.00001</cim:ACLineSegment.bch>
        <cim:ConductingEquipment.BaseVoltage rdf:resource="#_100_BV"/>
    </cim:ACLineSegment>

I tested also with:

  • import of test CGMES data and setting r and x to 0 and it was the same result.
  • edit CGMES data to set r and x to 0, import and export and again the same result.

Conclusion is that I cannot reproduce the issue.
If this is still happening, I'd need more information about the model to be able to reproduce

@annetill
Copy link
Member

@nemanja-st can you check if it is still an issue? It might be easy to create a small network and export it to see if we still have this issue. Thanks!

Hello @annetill , I did a quick test with generating DanglingLine using DanglingLineNetworkFactory and setting R and X to 0 and it exported 0:

    <cim:ACLineSegment rdf:ID="_DL">
        <cim:IdentifiedObject.name>DL</cim:IdentifiedObject.name>
        <cim:ACLineSegment.r>0</cim:ACLineSegment.r>
        <cim:ACLineSegment.x>0</cim:ACLineSegment.x>
        <cim:ACLineSegment.gch>0.0001</cim:ACLineSegment.gch>
        <cim:ACLineSegment.bch>0.00001</cim:ACLineSegment.bch>
        <cim:ConductingEquipment.BaseVoltage rdf:resource="#_100_BV"/>
    </cim:ACLineSegment>

I tested also with:

  • import of test CGMES data and setting r and x to 0 and it was the same result.
  • edit CGMES data to set r and x to 0, import and export and again the same result.

Conclusion is that I cannot reproduce the issue. If this is still happening, I'd need more information about the model to be able to reproduce

Indeed the issue is the export of a tie line that contains 2 dangling lines with zero impedances.

@nemanja-st
Copy link
Contributor

nemanja-st commented May 31, 2024

@nemanja-st can you check if it is still an issue? It might be easy to create a small network and export it to see if we still have this issue. Thanks!

Hello @annetill , I did a quick test with generating DanglingLine using DanglingLineNetworkFactory and setting R and X to 0 and it exported 0:

    <cim:ACLineSegment rdf:ID="_DL">
        <cim:IdentifiedObject.name>DL</cim:IdentifiedObject.name>
        <cim:ACLineSegment.r>0</cim:ACLineSegment.r>
        <cim:ACLineSegment.x>0</cim:ACLineSegment.x>
        <cim:ACLineSegment.gch>0.0001</cim:ACLineSegment.gch>
        <cim:ACLineSegment.bch>0.00001</cim:ACLineSegment.bch>
        <cim:ConductingEquipment.BaseVoltage rdf:resource="#_100_BV"/>
    </cim:ACLineSegment>

I tested also with:

  • import of test CGMES data and setting r and x to 0 and it was the same result.
  • edit CGMES data to set r and x to 0, import and export and again the same result.

Conclusion is that I cannot reproduce the issue. If this is still happening, I'd need more information about the model to be able to reproduce

Indeed the issue is the export of a tie line that contains 2 dangling lines with zero impedances.

Hello @annetill,
I managed to reproduce the issue with an older version of pypowsybl (1.1.0), but on the latest version 1.5.1 it's not happening.

@AnkurArohi Can you please update pypowsybl and re-try the export on your side to confirm the issue is not recurring?

@AnkurArohi
Copy link
Author

ok thanks I will try

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

4 participants