Skip to content

fix: Correct CIM model data for Power Flow Convergence#423

Open
ThomasRanvikEriksen wants to merge 9 commits into
mainfrom
bugfix/powerFactoryImportIssues
Open

fix: Correct CIM model data for Power Flow Convergence#423
ThomasRanvikEriksen wants to merge 9 commits into
mainfrom
bugfix/powerFactoryImportIssues

Conversation

@ThomasRanvikEriksen

@ThomasRanvikEriksen ThomasRanvikEriksen commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fixes multiple data issues in the Telemark-120 grid model that prevented successful power flow convergence when importing into Power Factory. Changes include converting conductor lengths from meters to kilometers (CGMES standard), correcting ACLineSegment electrical parameters, fixing XML element syntax, adding missing mandatory attributes, and adjusting current limits for transformer consistency.

Changes

Unit Conversions

  • Convert all Conductor.length values from meters to kilometers across LV1 and MV1 equipment profiles (both CIMXML and CIMJSON-LD)
  • Correct ACLineSegment.r and ACLineSegment.x values in MV1_EQ to match per-km parameterization
  • Update ACLineSegment.r0 and ACLineSegment.x0 zero-sequence impedance values in MV1_SC
  • Update ModelingGuide.adoc to document length unit as km instead of m

Data Corrections

  • Fix Breaker closing tag syntax in LV1_SSH (</cim:Fuse></cim:Breaker>)
  • Add missing Location.mRID attribute to one Location instance in LV1_GL
  • Update Arendal T1 CurrentLimit.normalValue to achieve Pin=Pout (420kV side: 412→150 A, 132kV side: 275→500 A)
  • Replace incorrect EquipmentContainer association with BaseVoltage association on EquivalentInjection
  • Remove incorrect Terminal.phases declaration from Engene NT1 terminal
  • Add mandatory SynchronousMachine.referencePriority attribute to SSH profile

Topology

  • Add Nedenes Substation, VoltageLevel, Bay, and ConnectivityNode from MV1-LV1_BM boundary into MV1_EQ for import completeness

Housekeeping

  • Add temp/ to .gitignore

Files

File Change Description
.gitignore Modified Add temp/ to ignored directories
Telemark-120/Grid/CIMJSON-LD/Telemark-120-LV1_EQ.jsonld Modified Convert conductor lengths from m to km
Telemark-120/Grid/CIMJSON-LD/Telemark-120-LV1_GL.jsonld Modified Add missing Location.mRID
Telemark-120/Grid/CIMJSON-LD/Telemark-120-MV1_EQ.jsonld Modified Convert lengths to km, fix CurrentLimits, fix EquivalentInjection BaseVoltage, remove Terminal.phases, add boundary topology
Telemark-120/Grid/CIMJSON-LD/Telemark-120-MV1_SSH.jsonld Modified Add SynchronousMachine.referencePriority
Telemark-120/Grid/CIMXML/Telemark-120-LV1_EQ.xml Modified Convert conductor lengths from m to km
Telemark-120/Grid/CIMXML/Telemark-120-LV1_GL.xml Modified Add missing Location.mRID
Telemark-120/Grid/CIMXML/Telemark-120-LV1_SSH.xml Modified Fix Breaker closing tag syntax
Telemark-120/Grid/CIMXML/Telemark-120-MV1_EQ.xml Modified Convert lengths to km, correct r/x values, fix EquivalentInjection, remove Terminal.phases, add boundary topology
Telemark-120/Grid/CIMXML/Telemark-120-MV1_SC.xml Modified Correct zero-sequence impedance values (r0, x0)
Telemark-120/Grid/CIMXML/Telemark-120-MV1_SSH.xml Modified Add SynchronousMachine.referencePriority
Telemark-120/docs/ModelingGuide.adoc Modified Update documented length unit from m to km

@ThomasRanvikEriksen ThomasRanvikEriksen changed the title Bugfix/power factory import issues fix: Correct CIM model data for Power Flow Convergence Jun 25, 2026
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