4 Populating the CIM Data

Step 3 Create a New CIM Network Based on Example Data

4   Populating the CIM Data

The IEEE CDF to CIM transformation has created a simple, base model but for the data to be valid additional data not found within the IEEE CDF must be added. This is primarily about the containment of the network, a concept not required for simple power-flow models.

Once again we can use pre-existing transformations to calculate the containment structure and populate the CIM data.

4.1 Create Containment14

  1. With the newly created network open in a Cimphony Browser    Resource→Transform→Transform Resource… (or click the 10icon in the menu-bar at  the top).
  2. Select the Calculate Containment transformation under the IEC CIM v16 (2013) Transformations folder and click Next.
  3. Ensure the Create Substations configuration option is set to True then click Next.
  4. Select the ieee14.xml resource from Workspace→Independent Resources→/Open Grid Systems/network/ieee14.xml as the input parameter and click Finish.
  5. Again you can view the details of the transformation process by expanding the Details after the process has executed. This shows the number of Substations, VoltageLevels and Lines that were created for the network.
  6. Dismiss the popup by clicking OK.
  7. The Cimphony Browser view now has additional Types of Substation and VoltageLevel with the instances created by the transformation.

The VoltageLevels and Substations created by this process are based solely on the network connectivity and at this point have only the associations to the equipment they contain. We must add names to them for the purposes of identification and propagate the voltages from the transformers and line segments to the voltage levels they connect to.

4.2 Propagate Voltages15

  1. From the main menu choose Resource→Transform→Transform Resource... (or click the 10 icon in the menu-bar at the top).
  2. Select the Propagate Voltages transformation under the IEC CIM v16 (2013) Transformations folder and click Next.
  3. Select the ieee14.xml resource from Workspace→Independent Resources→/Open Grid Systems/network/ieee14.xml as the input parameter and click Finish.
  4. Again you can view the details of the transformation process by expanding the Details after the process has executed. This shows details of the equipment to which voltages were assigned.
  5. Dismiss the popup by clicking OK.

4.3 Enter and Propagate Substation Names16

  1. With the Substation class selected under Types select an individual Substation under Instances.
  2. Within the Properties section of the Cimphony Browser enter a value beside the Name property and hit Enter. In this case as we have 11 Substations we can manually enter some suitable names (in this case, some single malt whiskies).
  3. Repeat for each Substation.
  4. Once all the Substation names have been populated choose Transform Resource again from the main menu.
  5. Select Propagate Substation Names under the IEC CIM v16 (2013)Transformations folder and click Next.
  6. Ensure the option to Set All is set to True, this will over-write any existing VoltageLevel names to ensure consistency with the parent Substation name.
  7. Set the Limit to 8, this restricting the name of the VoltageLevel to be 8 characters (a limitation placed on some early ENTSO-E data exchanges) and click Next.
  8. Select the ieee14.xml resource from Workspace→Independent Resources→/Open Grid Systems/network/ieee14.xml as the input parameter and click Finish.17
  9. As this transformation has no logging output it will exit upon completion.
  10. The VoltageLevel instances all now have names derived from their base voltage and the name of the parent substation.

The network model now has the Substation, VoltageLevel and Line containment with names set for all. The last part of the containment that must be set is the Geographical and Sub Geographical Region.18

 4.4 Create Geographical and Sub Geographical Regions19

  1. With the Cimphony Browser window open for the ieee14.xml file click on the 20icon to load the Add New Object dialog.
  2. Type GeographicalRegion within top search bar.
  3. Click on GeographicalRegion within the Matching Items.
  4. Ensure the number of instances is set to 1 and click OK to add a newinstance of GeographicalRegion into the loaded resource.
  5. The GeographicalRegion class should now be displayed in Types.Select this to view the single instance under Instances.
  6. The new instance is unnamed, click on it to select it and expand itsview to see all the empty attribute and associations for this object.
  7. Enter a value for the property Name in the Properties panel and hitEnter. In this case we will call it Scotland.
  8. The22 icon toggles the display of empty associations (with 4.4 toggling empty attributes). Ensure this view is on (it will show greyed out
    Regions, Names and DiagramObjects).
  9. Click on Regions then on the 20icon again.21
  10. Select SubGeographicalRegion in the Matching items search field.
  11. Ensure the Add to Reference option is selected which willautomatically add the new SubGeographicalRegion to the
    GeographicalRegion.
  12. Click OK.
  13. Expand Regions to see the newly created SubGeographicalRegion and then expand its attributes and associations.
  14. Select the SubGeographicalRegion instance and add a Name using the Properties view (in this case we shall call it Caledonia).

 4.5 Add Substations and Lines to a Sub Geographical Regio

We have two ways of adding the Substations and Lines to the newly created SubGeographicalRegion. The first is to use the drag-and- drop capabilities of the Cimphony Browser, the other is to select from a list.

4.5.1 Drag-and-Drop Assigning of Associations23

1. In the Types view select the SubGeographicalRegion and Substation types by clicking on one then Ctrl-clicking on the other. This will show instances of both classes in the Instances view.
2. Expand the SubGeographicalRegion instance and ensure its empty associations are enabled.
3. Select all of the Substation instances by clicking the first then shift- clicking on the last instance in the list.
4. Drag all of the instances to the Substations association of the SubGeographicalRegion.
5. This adds each instance to the SubGeographicalRegion’s association (and inversely adds the SubGeographicalRegion to the Substation’s Region association).
6. Steps 1-5 are repeated but with the Line class instead of Substation and the Lines associations rather than Substations association for the SubGeographicalRegion.

24

4.5.2 List Selection25

  1. Select the SubGeographicalRegion type and its single Caledonia instance.
  2. In the Property view select the Substations property and click the … icon to bring up an interface for adding objects to the association by adding them individually or in bulk from left to right.
  3. Select all of the Substation instances on the left and click Add to move them to the Feature column.
  4. Click OK to add the selected objects to the association.
  5. Steps 1-4 are repeated but with the Line class instead of Substation andthe Lines associations rather than Substations association for the SubGeographicalRegion.

At this stage we have created and populated a simple CIM network model by transforming data from another format then manually editing and adding objects and attributes. If we do File→Save from the main menu we will save the changes to the CIM XML file ieee14.xml, over-writing the previous version