Commit 93cd0f78 authored by Philipp Reuber's avatar Philipp Reuber
Browse files

add tests for import/export, fix minor bugs

parent 72ac8fa6
Pipeline #227346 passed with stages
in 1 minute and 9 seconds
......@@ -87,7 +87,7 @@ def _get_reference_uuid(attr_dict, version, res, mRID):
if reference_item not in ['', None, 0.0, 0]:
reference_list.append({'value': reference_item, 'attr_name': key})
# ignore default values
elif attributes['value'] not in ['', None, 0.0, 0, 'many']:
elif attributes['value'] not in ['', None, 0.0, 0, 'list']:
reference_list.append(attributes)
return reference_list
......@@ -307,7 +307,8 @@ def cim_export(res, namespaces_dict, file_name, version, activeProfileList):
# iterate over all profiles
for profile_name, short_name in short_profile_name.items():
model_name = {'mRID': file_name, 'description': []}
model_name \
= {'mRID': file_name, 'description': []}
model_description = {'model': [model_name]}
model_description['model'][0]['description'].append(created)
model_description['model'][0]['description'].append(authority)
......
......@@ -97,9 +97,9 @@ def _instantiate_classes(res, xml_files, cgmes_version_path, namespace_rdf, base
# Get the root element ({http://www.w3.org/1999/02/22-rdf-syntax-ns#}RDF).
_, root = next(context)
for event, elem in context:
package = ''
package = ''
for event, elem in context:
# Process 'end' elements in the CGMES namespace.
if event == "end" and elem.tag[:m] == base:
......@@ -153,7 +153,7 @@ def _instantiate_classes(res, xml_files, cgmes_version_path, namespace_rdf, base
# Check which package is read
elif event == "end" and 'Model.profile' in elem.tag:
for package_key in short_package_name:
for package_key in short_package_name.keys():
if package_key in elem.text:
package = package_key
break
......@@ -177,11 +177,11 @@ def _set_attributes(res, xml_files, namespace_rdf, base, logger_errors_grouped):
# Get the root element ({http://www.w3.org/1999/02/22-rdf-syntax-ns#}RDF).
_, root = next(context)
package = ''
for event, elem in context:
package = ''
# Process 'start' elements in the CGMES namespace.
if event == "start" and elem.tag[:m] == base:
uuid = elem.get("{%s}ID" % namespace_rdf)
......@@ -314,7 +314,7 @@ def _set_attributes(res, xml_files, namespace_rdf, base, logger_errors_grouped):
# Check which package is read
elif event == "end" and 'Model.profile' in elem.tag:
for package_key in short_package_name:
for package_key in short_package_name.keys():
if package_key in elem.text:
package = package_key
break
......
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cim="http://iec.ch/TC57/2012/CIM-schema-cim16#" xmlns:md="http://iec.ch/TC57/61970-552/ModelDescription/1#" xmlns:entsoe="http://entsoe.eu/Secretariat/ProfileExtension/2#" xmlns:neplan="http://www.neplan.ch#" >
<md:FullModel rdf:about="EXPORTED_Test">
<md:Model.created>13/01/2020 11:21:04</md:Model.created>
<md:Model.modelingAuthoritySet>www.acs.eonerc.rwth-aachen.de</md:Model.modelingAuthoritySet>
<md:Model.profile>StateVariables</md:Model.profile>
</md:FullModel>
<cim:SvVoltage rdf:ID="N12_5B20">
<cim:SvVoltage.angle>-3.57295</cim:SvVoltage.angle>
<cim:SvVoltage.v>19.605385</cim:SvVoltage.v>
<cim:SvVoltage.TopologicalNode rdf:resource="#N12"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N13_5B20">
<cim:SvVoltage.angle>-3.70772</cim:SvVoltage.angle>
<cim:SvVoltage.v>19.55215</cim:SvVoltage.v>
<cim:SvVoltage.TopologicalNode rdf:resource="#N13"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N14_5B20">
<cim:SvVoltage.angle>-3.72158</cim:SvVoltage.angle>
<cim:SvVoltage.v>19.532346</cim:SvVoltage.v>
<cim:SvVoltage.TopologicalNode rdf:resource="#N14"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N0_5B20">
<cim:SvVoltage.v>110.0</cim:SvVoltage.v>
<cim:SvVoltage.TopologicalNode rdf:resource="#N0"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N1_5B20">
<cim:SvVoltage.angle>-4.26829</cim:SvVoltage.angle>
<cim:SvVoltage.v>19.531205</cim:SvVoltage.v>
<cim:SvVoltage.TopologicalNode rdf:resource="#N1"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N2_5B20">
<cim:SvVoltage.angle>-4.64028</cim:SvVoltage.angle>
<cim:SvVoltage.v>19.086952</cim:SvVoltage.v>
<cim:SvVoltage.TopologicalNode rdf:resource="#N2"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N3_5B20">
<cim:SvVoltage.angle>-4.81668</cim:SvVoltage.angle>
<cim:SvVoltage.v>18.882252</cim:SvVoltage.v>
<cim:SvVoltage.TopologicalNode rdf:resource="#N3"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N4_5B20">
<cim:SvVoltage.angle>-4.82967</cim:SvVoltage.angle>
<cim:SvVoltage.v>18.86667</cim:SvVoltage.v>
<cim:SvVoltage.TopologicalNode rdf:resource="#N4"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N5_5B20">
<cim:SvVoltage.angle>-4.83776</cim:SvVoltage.angle>
<cim:SvVoltage.v>18.852447</cim:SvVoltage.v>
<cim:SvVoltage.TopologicalNode rdf:resource="#N5"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N11_5B20">
<cim:SvVoltage.angle>-4.85252</cim:SvVoltage.angle>
<cim:SvVoltage.v>18.825361</cim:SvVoltage.v>
<cim:SvVoltage.TopologicalNode rdf:resource="#N11"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N10_5B20">
<cim:SvVoltage.angle>-4.85164</cim:SvVoltage.angle>
<cim:SvVoltage.v>18.827665</cim:SvVoltage.v>
<cim:SvVoltage.TopologicalNode rdf:resource="#N10"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N8_5B20">
<cim:SvVoltage.angle>-4.84708</cim:SvVoltage.angle>
<cim:SvVoltage.v>18.852622</cim:SvVoltage.v>
<cim:SvVoltage.TopologicalNode rdf:resource="#N8"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N7_5B20">
<cim:SvVoltage.angle>-4.84996</cim:SvVoltage.angle>
<cim:SvVoltage.v>18.850663</cim:SvVoltage.v>
<cim:SvVoltage.TopologicalNode rdf:resource="#N7"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N6_5B20">
<cim:SvVoltage.angle>-4.84739</cim:SvVoltage.angle>
<cim:SvVoltage.v>18.836402</cim:SvVoltage.v>
<cim:SvVoltage.TopologicalNode rdf:resource="#N6"/>
</cim:SvVoltage>
<cim:SvVoltage rdf:ID="N9_5B20">
<cim:SvVoltage.angle>-4.84744</cim:SvVoltage.angle>
<cim:SvVoltage.v>18.843089</cim:SvVoltage.v>
<cim:SvVoltage.TopologicalNode rdf:resource="#N9"/>
</cim:SvVoltage>
<cim:SvPowerFlow rdf:ID="Load7-I-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-288"/>
<cim:SvPowerFlow.p>0.077</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.048</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="Load14-H-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-328"/>
<cim:SvPowerFlow.p>0.207</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.052</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="Load13-I-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-337"/>
<cim:SvPowerFlow.p>0.032</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.02</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="Load12-H-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-346"/>
<cim:SvPowerFlow.p>15.0</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>3.0</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="Load1-I-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-354"/>
<cim:SvPowerFlow.p>5.0</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>1.0</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="Load3-H-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-366"/>
<cim:SvPowerFlow.p>0.276</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.69</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="Load3-I-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-374"/>
<cim:SvPowerFlow.p>0.224</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.139</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="Load10-I-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-382"/>
<cim:SvPowerFlow.p>0.068</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.042</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="Load1-H-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-109"/>
<cim:SvPowerFlow.p>15.0</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>3.1</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="Load12-I-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-398"/>
<cim:SvPowerFlow.p>5.0</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>1.7</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="Load14-I-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-395"/>
<cim:SvPowerFlow.p>0.33</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.205</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="Load5_H-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-1229789158"/>
<cim:SvPowerFlow.p>0.725</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.182</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="Load4-H-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-213"/>
<cim:SvPowerFlow.p>0.432</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.108</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="Load11-H-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-222"/>
<cim:SvPowerFlow.p>0.331</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.083</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="Load10-H-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-231"/>
<cim:SvPowerFlow.p>0.477</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.12</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="Load9-I-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-252"/>
<cim:SvPowerFlow.p>0.574</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.356</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="Load6-H-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-261"/>
<cim:SvPowerFlow.p>0.55</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.138</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:SvPowerFlow rdf:ID="Load8-H-sv">
<cim:SvPowerFlow.Terminal rdf:resource="#E-270"/>
<cim:SvPowerFlow.p>0.588</cim:SvPowerFlow.p>
<cim:SvPowerFlow.q>0.147</cim:SvPowerFlow.q>
</cim:SvPowerFlow>
<cim:Terminal rdf:about="#E-288">
<cim:Terminal.SvPowerFlow rdf:resource="#Load7-I-sv"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-328">
<cim:Terminal.SvPowerFlow rdf:resource="#Load14-H-sv"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-337">
<cim:Terminal.SvPowerFlow rdf:resource="#Load13-I-sv"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-346">
<cim:Terminal.SvPowerFlow rdf:resource="#Load12-H-sv"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-354">
<cim:Terminal.SvPowerFlow rdf:resource="#Load1-I-sv"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-366">
<cim:Terminal.SvPowerFlow rdf:resource="#Load3-H-sv"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-374">
<cim:Terminal.SvPowerFlow rdf:resource="#Load3-I-sv"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-382">
<cim:Terminal.SvPowerFlow rdf:resource="#Load10-I-sv"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-109">
<cim:Terminal.SvPowerFlow rdf:resource="#Load1-H-sv"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-398">
<cim:Terminal.SvPowerFlow rdf:resource="#Load12-I-sv"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-395">
<cim:Terminal.SvPowerFlow rdf:resource="#Load14-I-sv"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-1229789158">
<cim:Terminal.SvPowerFlow rdf:resource="#Load5_H-sv"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-213">
<cim:Terminal.SvPowerFlow rdf:resource="#Load4-H-sv"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-222">
<cim:Terminal.SvPowerFlow rdf:resource="#Load11-H-sv"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-231">
<cim:Terminal.SvPowerFlow rdf:resource="#Load10-H-sv"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-252">
<cim:Terminal.SvPowerFlow rdf:resource="#Load9-I-sv"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-261">
<cim:Terminal.SvPowerFlow rdf:resource="#Load6-H-sv"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-270">
<cim:Terminal.SvPowerFlow rdf:resource="#Load8-H-sv"/>
</cim:Terminal>
<cim:TopologicalNode rdf:about="#N12">
<cim:TopologicalNode.SvVoltage rdf:resource="#N12_5B20"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:about="#N13">
<cim:TopologicalNode.SvVoltage rdf:resource="#N13_5B20"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:about="#N14">
<cim:TopologicalNode.SvVoltage rdf:resource="#N14_5B20"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:about="#N0">
<cim:TopologicalNode.SvVoltage rdf:resource="#N0_5B20"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:about="#N1">
<cim:TopologicalNode.SvVoltage rdf:resource="#N1_5B20"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:about="#N2">
<cim:TopologicalNode.SvVoltage rdf:resource="#N2_5B20"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:about="#N3">
<cim:TopologicalNode.SvVoltage rdf:resource="#N3_5B20"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:about="#N4">
<cim:TopologicalNode.SvVoltage rdf:resource="#N4_5B20"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:about="#N5">
<cim:TopologicalNode.SvVoltage rdf:resource="#N5_5B20"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:about="#N11">
<cim:TopologicalNode.SvVoltage rdf:resource="#N11_5B20"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:about="#N10">
<cim:TopologicalNode.SvVoltage rdf:resource="#N10_5B20"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:about="#N8">
<cim:TopologicalNode.SvVoltage rdf:resource="#N8_5B20"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:about="#N7">
<cim:TopologicalNode.SvVoltage rdf:resource="#N7_5B20"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:about="#N6">
<cim:TopologicalNode.SvVoltage rdf:resource="#N6_5B20"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:about="#N9">
<cim:TopologicalNode.SvVoltage rdf:resource="#N9_5B20"/>
</cim:TopologicalNode>
</rdf:RDF>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cim="http://iec.ch/TC57/2012/CIM-schema-cim16#" xmlns:md="http://iec.ch/TC57/61970-552/ModelDescription/1#" xmlns:entsoe="http://entsoe.eu/Secretariat/ProfileExtension/2#" xmlns:neplan="http://www.neplan.ch#" >
<md:FullModel rdf:about="EXPORTED_Test">
<md:Model.created>13/01/2020 11:21:04</md:Model.created>
<md:Model.modelingAuthoritySet>www.acs.eonerc.rwth-aachen.de</md:Model.modelingAuthoritySet>
<md:Model.profile>Topology</md:Model.profile>
</md:FullModel>
<cim:TopologicalNode rdf:ID="N12">
<cim:IdentifiedObject.name>N12</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_a5b4e1c5-b844-4a1a-870c-1ee07662d7b4"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_09dafd64-e08f-4a20-8e19-7ca5c2ea5ba2"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-301"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-294"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-346"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-398"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N13">
<cim:IdentifiedObject.name>N13</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_a5b4e1c5-b844-4a1a-870c-1ee07662d7b4"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_cd602f02-649d-4738-bb64-3e3b3d575704"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-302"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-309"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-337"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N14">
<cim:IdentifiedObject.name>N14</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_a5b4e1c5-b844-4a1a-870c-1ee07662d7b4"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_d0b232c3-0a56-4916-9471-66f49036ddc8"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-310"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-328"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-395"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N0">
<cim:IdentifiedObject.name>N0</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_a55f97f1-c485-414c-a845-678fe1eb19cf"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_2a7c745b-de30-4863-88ba-dcbe73f806df"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-70"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-80"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-67"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N1">
<cim:IdentifiedObject.name>N1</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_a5b4e1c5-b844-4a1a-870c-1ee07662d7b4"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_f88faca2-f0cf-419e-907e-3411271816ce"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-116"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-86"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-354"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-109"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N2">
<cim:IdentifiedObject.name>N2</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_a5b4e1c5-b844-4a1a-870c-1ee07662d7b4"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_394f1e7a-c67b-446d-ab76-174e31ddc9b8"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-117"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-124"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N3">
<cim:IdentifiedObject.name>N3</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_a5b4e1c5-b844-4a1a-870c-1ee07662d7b4"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_f67b0540-9424-4b6e-9b12-9f112e5e7f01"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-125"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-132"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-181"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-366"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-374"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N4">
<cim:IdentifiedObject.name>N4</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_a5b4e1c5-b844-4a1a-870c-1ee07662d7b4"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_5c3f2d5c-750f-4d3c-b283-eee33929abaa"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-133"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-149"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-213"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N5">
<cim:IdentifiedObject.name>N5</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_a5b4e1c5-b844-4a1a-870c-1ee07662d7b4"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_60deeb94-c9f8-4ea3-b52f-1940ea528164"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-150"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-165"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-1229789158"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N11">
<cim:IdentifiedObject.name>N11</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_a5b4e1c5-b844-4a1a-870c-1ee07662d7b4"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_169f9dc8-61b6-4c5d-82f9-3def05cf3c86"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-185"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-222"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N10">
<cim:IdentifiedObject.name>N10</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_a5b4e1c5-b844-4a1a-870c-1ee07662d7b4"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_6077adb4-c337-4b45-9304-d71dd9ae5697"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-186"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-193"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-382"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-231"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N8">
<cim:IdentifiedObject.name>N8</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_a5b4e1c5-b844-4a1a-870c-1ee07662d7b4"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_dba75717-e472-42b9-a82a-b4c7819f9f2b"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-180"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-199"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-203"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-270"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N7">
<cim:IdentifiedObject.name>N7</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_a5b4e1c5-b844-4a1a-870c-1ee07662d7b4"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_16f5db35-83c6-418e-ae9e-69f05e77147b"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-204"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-288"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N6">
<cim:IdentifiedObject.name>N6</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_a5b4e1c5-b844-4a1a-870c-1ee07662d7b4"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_371cfe37-f187-4fb8-8402-d7f7f5a0dfda"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-166"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-261"/>
</cim:TopologicalNode>
<cim:TopologicalNode rdf:ID="N9">
<cim:IdentifiedObject.name>N9</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_a5b4e1c5-b844-4a1a-870c-1ee07662d7b4"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_6bd6b703-519b-46a8-a1f8-632f7e9d05f1"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-194"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-198"/>
<cim:TopologicalNode.Terminal rdf:resource="#E-252"/>
</cim:TopologicalNode>
<cim:BaseVoltage rdf:about="#_a5b4e1c5-b844-4a1a-870c-1ee07662d7b4">
<cim:BaseVoltage.TopologicalNode rdf:resource="#N12"/>
<cim:BaseVoltage.TopologicalNode rdf:resource="#N13"/>
<cim:BaseVoltage.TopologicalNode rdf:resource="#N14"/>
<cim:BaseVoltage.TopologicalNode rdf:resource="#N1"/>
<cim:BaseVoltage.TopologicalNode rdf:resource="#N2"/>
<cim:BaseVoltage.TopologicalNode rdf:resource="#N3"/>
<cim:BaseVoltage.TopologicalNode rdf:resource="#N4"/>
<cim:BaseVoltage.TopologicalNode rdf:resource="#N5"/>
<cim:BaseVoltage.TopologicalNode rdf:resource="#N11"/>
<cim:BaseVoltage.TopologicalNode rdf:resource="#N10"/>
<cim:BaseVoltage.TopologicalNode rdf:resource="#N8"/>
<cim:BaseVoltage.TopologicalNode rdf:resource="#N7"/>
<cim:BaseVoltage.TopologicalNode rdf:resource="#N6"/>
<cim:BaseVoltage.TopologicalNode rdf:resource="#N9"/>
</cim:BaseVoltage>
<cim:BaseVoltage rdf:about="#_a55f97f1-c485-414c-a845-678fe1eb19cf">
<cim:BaseVoltage.TopologicalNode rdf:resource="#N0"/>
</cim:BaseVoltage>
<cim:VoltageLevel rdf:about="#_6bd6b703-519b-46a8-a1f8-632f7e9d05f1">
<cim:ConnectivityNodeContainer.TopologicalNode rdf:resource="#N9"/>
</cim:VoltageLevel>
<cim:VoltageLevel rdf:about="#_60deeb94-c9f8-4ea3-b52f-1940ea528164">
<cim:ConnectivityNodeContainer.TopologicalNode rdf:resource="#N5"/>
</cim:VoltageLevel>
<cim:VoltageLevel rdf:about="#_16f5db35-83c6-418e-ae9e-69f05e77147b">
<cim:ConnectivityNodeContainer.TopologicalNode rdf:resource="#N7"/>
</cim:VoltageLevel>
<cim:VoltageLevel rdf:about="#_dba75717-e472-42b9-a82a-b4c7819f9f2b">
<cim:ConnectivityNodeContainer.TopologicalNode rdf:resource="#N8"/>
</cim:VoltageLevel>
<cim:VoltageLevel rdf:about="#_169f9dc8-61b6-4c5d-82f9-3def05cf3c86">
<cim:ConnectivityNodeContainer.TopologicalNode rdf:resource="#N11"/>
</cim:VoltageLevel>
<cim:VoltageLevel rdf:about="#_5c3f2d5c-750f-4d3c-b283-eee33929abaa">
<cim:ConnectivityNodeContainer.TopologicalNode rdf:resource="#N4"/>
</cim:VoltageLevel>
<cim:VoltageLevel rdf:about="#_394f1e7a-c67b-446d-ab76-174e31ddc9b8">
<cim:ConnectivityNodeContainer.TopologicalNode rdf:resource="#N2"/>
</cim:VoltageLevel>
<cim:VoltageLevel rdf:about="#_09dafd64-e08f-4a20-8e19-7ca5c2ea5ba2">
<cim:ConnectivityNodeContainer.TopologicalNode rdf:resource="#N12"/>
</cim:VoltageLevel>
<cim:VoltageLevel rdf:about="#_f67b0540-9424-4b6e-9b12-9f112e5e7f01">
<cim:ConnectivityNodeContainer.TopologicalNode rdf:resource="#N3"/>
</cim:VoltageLevel>
<cim:VoltageLevel rdf:about="#_f88faca2-f0cf-419e-907e-3411271816ce">
<cim:ConnectivityNodeContainer.TopologicalNode rdf:resource="#N1"/>
</cim:VoltageLevel>
<cim:VoltageLevel rdf:about="#_2a7c745b-de30-4863-88ba-dcbe73f806df">
<cim:ConnectivityNodeContainer.TopologicalNode rdf:resource="#N0"/>
</cim:VoltageLevel>
<cim:VoltageLevel rdf:about="#_371cfe37-f187-4fb8-8402-d7f7f5a0dfda">
<cim:ConnectivityNodeContainer.TopologicalNode rdf:resource="#N6"/>
</cim:VoltageLevel>
<cim:VoltageLevel rdf:about="#_cd602f02-649d-4738-bb64-3e3b3d575704">
<cim:ConnectivityNodeContainer.TopologicalNode rdf:resource="#N13"/>
</cim:VoltageLevel>
<cim:VoltageLevel rdf:about="#_d0b232c3-0a56-4916-9471-66f49036ddc8">
<cim:ConnectivityNodeContainer.TopologicalNode rdf:resource="#N14"/>
</cim:VoltageLevel>
<cim:VoltageLevel rdf:about="#_6077adb4-c337-4b45-9304-d71dd9ae5697">
<cim:ConnectivityNodeContainer.TopologicalNode rdf:resource="#N10"/>
</cim:VoltageLevel>
<cim:Terminal rdf:about="#E-288">
<cim:Terminal.TopologicalNode rdf:resource="#N7"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-328">
<cim:Terminal.TopologicalNode rdf:resource="#N14"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-337">
<cim:Terminal.TopologicalNode rdf:resource="#N13"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-346">
<cim:Terminal.TopologicalNode rdf:resource="#N12"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-354">
<cim:Terminal.TopologicalNode rdf:resource="#N1"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-366">
<cim:Terminal.TopologicalNode rdf:resource="#N3"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-374">
<cim:Terminal.TopologicalNode rdf:resource="#N3"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-382">
<cim:Terminal.TopologicalNode rdf:resource="#N10"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-109">
<cim:Terminal.TopologicalNode rdf:resource="#N1"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-398">
<cim:Terminal.TopologicalNode rdf:resource="#N12"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-395">
<cim:Terminal.TopologicalNode rdf:resource="#N14"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-1229789158">
<cim:Terminal.TopologicalNode rdf:resource="#N5"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-213">
<cim:Terminal.TopologicalNode rdf:resource="#N4"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-222">
<cim:Terminal.TopologicalNode rdf:resource="#N11"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-231">
<cim:Terminal.TopologicalNode rdf:resource="#N10"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-252">
<cim:Terminal.TopologicalNode rdf:resource="#N9"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-261">
<cim:Terminal.TopologicalNode rdf:resource="#N6"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-270">
<cim:Terminal.TopologicalNode rdf:resource="#N8"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-67">
<cim:Terminal.TopologicalNode rdf:resource="#N0"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-301">
<cim:Terminal.TopologicalNode rdf:resource="#N12"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-302">
<cim:Terminal.TopologicalNode rdf:resource="#N13"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-309">
<cim:Terminal.TopologicalNode rdf:resource="#N13"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-310">
<cim:Terminal.TopologicalNode rdf:resource="#N14"/>
</cim:Terminal>
<cim:Terminal rdf:about="#E-116">