Why is my diagram empty after exporting to CGMES?


When doing a Grid to CIM conversion, it sometimes happens that the DL (Diagram Layout) is empty, even though the PowerFactory project does include diagrams.


While in PowerFactory diagrams are typically linked to grids, CGMES diagrams are independent and do not belong to a grid or MAS. Therefore diagrams beeing imported via CGMES are not linked to any grid by default. 

When converting a model, the user selects, which grids are to be exported. Accordingly only diagram will be exported that belong to the selected grids. 

Since the imported diagrams are not automatically linked to the grid, reexported models will by default not export any diagram. In order to be able to export them, the corresponding grid must be linked as shown in the attached screenshot.