Skip to content

Inherit Site geodata for PowerFactory components - #31

Merged
AlexKocherKIT merged 1 commit into
mainfrom
fix/inherit-site-geodata
Aug 19, 2026
Merged

Inherit Site geodata for PowerFactory components#31
AlexKocherKIT merged 1 commit into
mainfrom
fix/inherit-site-geodata

Conversation

@Sriganesh-k

Copy link
Copy Markdown
Collaborator

Summary

  • Inherit ElmSite coordinates when contained components have default (0, 0) coordinates.
  • Preserve existing component coordinates when already defined.
  • Leave components outside ElmSite unchanged.
  • Add regression tests for the inheritance behavior.

Tests

  • tests/power_factory/utils_test.py: 4 passed
  • tests/core: 52 passed, 8 skipped
  • Verified with PowerFactory 2023 SP2 using an ElmSite containing an ElmTerm child.

@Sriganesh-k Sriganesh-k self-assigned this Aug 18, 2026
@AlexKocherKIT
AlexKocherKIT merged commit 7db3abb into main Aug 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants