Open StigLotuft opened 2 years ago
Here is the early example which was delayed (code is partially commited):
`<?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/CIM100#"
xmlns:md="http://iec.ch/TC57/61970-552/ModelDescription/1#"
xmlns:eu="http://iec.ch/TC57/CIM100-European#"
<md:FullModel rdf:about="urn:uuid:31b9fe89-c729-4bb3-9f6c-22f885607731">
<md:Model.created>2022-10-28T13:37:00Z</md:Model.created>
<md:Model.scenarioTime>2022-10-28T13:37:00Z</md:Model.scenarioTime>
<md:Model.description>DIGIN10 CGMES v3.0 Medium Voltage 1 (MV1) Equipment Operationa (OP) Model</md:Model.description>
<md:Model.modelingAuthoritySet>https://diginenergi.no/DIGIN10/MV1</md:Model.modelingAuthoritySet>
<md:Model.profile>http://iec.ch/TC57/ns/CIM/Operation-EU/3.0</md:Model.profile>
<md:Model.profile>http://iec.ch/TC57/ns/CIM/Operation/4.0</md:Model.profile>
<md:Model.version>1</md:Model.version>
<md:Model.DependentOn rdf:resource="urn:uuid:d12e4546-e6a5-4211-a4c8-877ac1e24d16"/>
</md:FullModel>
<cim:Analog rdf:ID="_b64c1205-d433-425f-9861-17e67fd8dd92">
<cim:IdentifiedObject.mRID>b64c1205-d433-425f-9861-17e67fd8dd92</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Current Transformer 1 Analog 1</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE CT1 AN1</cim:IdentifiedObject.name>
<cim:Measurement.measurementType>PhaseCurrent</cim:Measurement.measurementType>
<cim:Measurement.phases rdf:resource="http://iec.ch/TC57/CIM100#PhaseCode.A" />
<cim:Measurement.unitMultiplier rdf:resource="http://iec.ch/TC57/CIM100#UnitMultiplier.none" />
<cim:Measurement.unitSymbol rdf:resource="http://iec.ch/TC57/CIM100#UnitSymbol.A" />
<cim:Analog.maxValue>450</cim:Analog.maxValue>
<cim:Analog.minValue>0</cim:Analog.minValue>
<cim:Analog.normalValue>270</cim:Analog.normalValue>
<cim:Analog.positiveFlowIn>false</cim:Analog.positiveFlowIn>
<cim:Measurement.Asset rdf:resource="#_3344a693-6818-4703-93ac-510baac566d5" />
<cim:Measurement.PowerSystemResources rdf:resource="#_26d2f8aa-b651-46c5-a54d-05948f35f3d2" />
<cim:Measurement.ACDCTerminal rdf:resource="#_83bf6035-97b6-4433-b5f9-bb455444a983" />
</cim:Analog>
<cim:Analog rdf:ID="_d92eb31b-7af4-44d3-9d35-cc39ec96463a">
<cim:IdentifiedObject.mRID>d92eb31b-7af4-44d3-9d35-cc39ec96463a</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Current Transformer 2 Analog 2</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE CT2 AN2</cim:IdentifiedObject.name>
<cim:Measurement.measurementType>PhaseCurrent</cim:Measurement.measurementType>
<cim:Measurement.phases rdf:resource="http://iec.ch/TC57/CIM100#PhaseCode.B" />
<cim:Measurement.unitMultiplier rdf:resource="http://iec.ch/TC57/CIM100#UnitMultiplier.none" />
<cim:Measurement.unitSymbol rdf:resource="http://iec.ch/TC57/CIM100#UnitSymbol.A" />
<cim:Analog.maxValue>450</cim:Analog.maxValue>
<cim:Analog.minValue>0</cim:Analog.minValue>
<cim:Analog.normalValue>270</cim:Analog.normalValue>
<cim:Analog.positiveFlowIn>false</cim:Analog.positiveFlowIn>
<cim:Measurement.Asset rdf:resource="#_3344a693-6818-4703-93ac-510baac566d5" />
<cim:Measurement.PowerSystemResources rdf:resource="#_0f3b6200-684d-4365-8d55-45baae73bffb" />
<cim:Measurement.ACDCTerminal rdf:resource="#_83bf6035-97b6-4433-b5f9-bb455444a983" />
</cim:Analog>
<cim:Analog rdf:ID="_421acdf3-c623-47fa-9de1-3029ca7db837">
<cim:IdentifiedObject.mRID>421acdf3-c623-47fa-9de1-3029ca7db837</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Current Transformer 3 Analog 3</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE CT3 AN3</cim:IdentifiedObject.name>
<cim:Measurement.measurementType>PhaseCurrent</cim:Measurement.measurementType>
<cim:Measurement.phases rdf:resource="http://iec.ch/TC57/CIM100#PhaseCode.C" />
<cim:Measurement.unitMultiplier rdf:resource="http://iec.ch/TC57/CIM100#UnitMultiplier.none" />
<cim:Measurement.unitSymbol rdf:resource="http://iec.ch/TC57/CIM100#UnitSymbol.A" />
<cim:Analog.maxValue>450</cim:Analog.maxValue>
<cim:Analog.minValue>0</cim:Analog.minValue>
<cim:Analog.normalValue>270</cim:Analog.normalValue>
<cim:Analog.positiveFlowIn>false</cim:Analog.positiveFlowIn>
<cim:Measurement.Asset rdf:resource="#_3344a693-6818-4703-93ac-510baac566d5" />
<cim:Measurement.PowerSystemResources rdf:resource="#_cfb857c9-3ac2-4ea8-bcdb-1e50bd15f541" />
<cim:Measurement.ACDCTerminal rdf:resource="#_83bf6035-97b6-4433-b5f9-bb455444a983" />
</cim:Analog>
<cim:Analog rdf:ID="_2066f19b-0a5f-48e3-96fa-4fe0b5f29ce7">
<cim:IdentifiedObject.mRID>2066f19b-0a5f-48e3-96fa-4fe0b5f29ce7</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Voltage Transformer 1 Analog 4</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE VT1 AN4</cim:IdentifiedObject.name>
<cim:Measurement.measurementType>PhaseVoltage</cim:Measurement.measurementType>
<cim:Measurement.phases rdf:resource="http://iec.ch/TC57/CIM100#PhaseCode.AB" />
<cim:Measurement.unitMultiplier rdf:resource="http://iec.ch/TC57/CIM100#UnitMultiplier.k" />
<cim:Measurement.unitSymbol rdf:resource="http://iec.ch/TC57/CIM100#UnitSymbol.V" />
<cim:Analog.maxValue>12</cim:Analog.maxValue>
<cim:Analog.minValue>0</cim:Analog.minValue>
<cim:Analog.normalValue>10.4</cim:Analog.normalValue>
<cim:Analog.positiveFlowIn>false</cim:Analog.positiveFlowIn>
<cim:Measurement.Asset rdf:resource="#_ff20c614-4797-471e-98c6-c08f7ed97ce6" />
<cim:Measurement.PowerSystemResources rdf:resource="#_fd11bf7f-138b-4a1b-802c-25262b7b8672" />
<cim:Measurement.ACDCTerminal rdf:resource="#_83bf6035-97b6-4433-b5f9-bb455444a983" />
</cim:Analog>
<cim:Analog rdf:ID="_25498d39-29b5-45aa-8dae-ccfa497353db">
<cim:IdentifiedObject.mRID>25498d39-29b5-45aa-8dae-ccfa497353db</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Voltage Transformer 2 Analog 5</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE VT2 AN5</cim:IdentifiedObject.name>
<cim:Measurement.measurementType>PhaseVoltage</cim:Measurement.measurementType>
<cim:Measurement.phases rdf:resource="http://iec.ch/TC57/CIM100#PhaseCode.AC" />
<cim:Measurement.unitMultiplier rdf:resource="http://iec.ch/TC57/CIM100#UnitMultiplier.k" />
<cim:Measurement.unitSymbol rdf:resource="http://iec.ch/TC57/CIM100#UnitSymbol.V" />
<cim:Analog.maxValue>12</cim:Analog.maxValue>
<cim:Analog.minValue>0</cim:Analog.minValue>
<cim:Analog.normalValue>10.4</cim:Analog.normalValue>
<cim:Analog.positiveFlowIn>false</cim:Analog.positiveFlowIn>
<cim:Measurement.Asset rdf:resource="#_ff20c614-4797-471e-98c6-c08f7ed97ce6" />
<cim:Measurement.PowerSystemResources rdf:resource="#_03f7a245-aeca-48ba-af07-58419fb9b77c" />
<cim:Measurement.ACDCTerminal rdf:resource="#_83bf6035-97b6-4433-b5f9-bb455444a983" />
</cim:Analog>
<cim:Analog rdf:ID="_e11a4842-898f-43fc-9d09-1a7f4e6a694a">
<cim:IdentifiedObject.mRID>e11a4842-898f-43fc-9d09-1a7f4e6a694a</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Voltage Transformer 3 Analog 6</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE VT3 AN6</cim:IdentifiedObject.name>
<cim:Measurement.measurementType>PhaseVoltage</cim:Measurement.measurementType>
<cim:Measurement.phases rdf:resource="http://iec.ch/TC57/CIM100#PhaseCode.BC" />
<cim:Measurement.unitMultiplier rdf:resource="http://iec.ch/TC57/CIM100#UnitMultiplier.k" />
<cim:Measurement.unitSymbol rdf:resource="http://iec.ch/TC57/CIM100#UnitSymbol.V" />
<cim:Analog.maxValue>12</cim:Analog.maxValue>
<cim:Analog.minValue>0</cim:Analog.minValue>
<cim:Analog.normalValue>10.4</cim:Analog.normalValue>
<cim:Analog.positiveFlowIn>false</cim:Analog.positiveFlowIn>
<cim:Measurement.Asset rdf:resource="#_ff20c614-4797-471e-98c6-c08f7ed97ce6" />
<cim:Measurement.PowerSystemResources rdf:resource="#_74936f6f-296e-44db-b772-1d522f317069" />
<cim:Measurement.ACDCTerminal rdf:resource="#_83bf6035-97b6-4433-b5f9-bb455444a983" />
</cim:Analog>
<cim:AnalogValue rdf:ID="_c284c4f3-db8d-42b0-b8f0-a9614ffd2fb6">
<cim:IdentifiedObject.mRID>c284c4f3-db8d-42b0-b8f0-a9614ffd2fb6</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Analog 1 Analog Value 1</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE AN1 AV1</cim:IdentifiedObject.name>
<cim:MeasurementValue.sensorAccuracy>97.2</cim:MeasurementValue.sensorAccuracy>
<cim:MeasurementValue.timeStamp>2021-08-11T11:45:39.393725Z</cim:MeasurementValue.timeStamp>
<cim:AnalogValue.value>265.8</cim:AnalogValue.value>
<cim:MeasurementValue.MeasurementValueSource rdf:resource="#_bb396abd-8537-409b-a983-ac1eb907ac30" />
<cim:AnalogValue.Analog rdf:resource="#_b64c1205-d433-425f-9861-17e67fd8dd92" />
</cim:AnalogValue>
<cim:AnalogValue rdf:ID="_a446a44a-2eef-448c-8890-29b9d4f40b5f">
<cim:IdentifiedObject.mRID>a446a44a-2eef-448c-8890-29b9d4f40b5f</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Analog 2 Analog Value 2</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE AN2 AV2</cim:IdentifiedObject.name>
<cim:MeasurementValue.sensorAccuracy>97.2</cim:MeasurementValue.sensorAccuracy>
<cim:MeasurementValue.timeStamp>2021-08-11T11:45:39.393725Z</cim:MeasurementValue.timeStamp>
<cim:AnalogValue.value>270.3</cim:AnalogValue.value>
<cim:MeasurementValue.MeasurementValueSource rdf:resource="#_bb396abd-8537-409b-a983-ac1eb907ac30" />
<cim:AnalogValue.Analog rdf:resource="#_d92eb31b-7af4-44d3-9d35-cc39ec96463a" />
</cim:AnalogValue>
<cim:AnalogValue rdf:ID="_6068978b-1a52-4cc6-bd3d-b17d7a239ad0">
<cim:IdentifiedObject.mRID>6068978b-1a52-4cc6-bd3d-b17d7a239ad0</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Analog 3 Analog Value 3</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE AN3 AV3</cim:IdentifiedObject.name>
<cim:MeasurementValue.sensorAccuracy>97.2</cim:MeasurementValue.sensorAccuracy>
<cim:MeasurementValue.timeStamp>2021-08-11T11:45:39.393725Z</cim:MeasurementValue.timeStamp>
<cim:AnalogValue.value>268.9</cim:AnalogValue.value>
<cim:MeasurementValue.MeasurementValueSource rdf:resource="#_bb396abd-8537-409b-a983-ac1eb907ac30" />
<cim:AnalogValue.Analog rdf:resource="#_421acdf3-c623-47fa-9de1-3029ca7db837" />
</cim:AnalogValue>
<cim:AnalogValue rdf:ID="_3ab3e76a-7adc-43e6-a3a6-f10ed326ab1a">
<cim:IdentifiedObject.mRID>3ab3e76a-7adc-43e6-a3a6-f10ed326ab1a</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Analog 4 Analog Value 4</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE AN4 AV4</cim:IdentifiedObject.name>
<cim:MeasurementValue.sensorAccuracy>97.2</cim:MeasurementValue.sensorAccuracy>
<cim:MeasurementValue.timeStamp>2021-08-11T11:45:39.393725Z</cim:MeasurementValue.timeStamp>
<cim:AnalogValue.value>11.2</cim:AnalogValue.value>
<cim:MeasurementValue.MeasurementValueSource rdf:resource="#_bb396abd-8537-409b-a983-ac1eb907ac30" />
<cim:AnalogValue.Analog rdf:resource="#_2066f19b-0a5f-48e3-96fa-4fe0b5f29ce7" />
</cim:AnalogValue>
<cim:AnalogValue rdf:ID="_4e707066-d551-4f75-ae9c-c8fba5e6242d">
<cim:IdentifiedObject.mRID>4e707066-d551-4f75-ae9c-c8fba5e6242d</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Analog 5 Analog Value 5</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE AN5 AV5</cim:IdentifiedObject.name>
<cim:MeasurementValue.sensorAccuracy>97.2</cim:MeasurementValue.sensorAccuracy>
<cim:MeasurementValue.timeStamp>2021-08-11T11:45:39.393725Z</cim:MeasurementValue.timeStamp>
<cim:AnalogValue.value>10.6</cim:AnalogValue.value>
<cim:MeasurementValue.MeasurementValueSource rdf:resource="#_bb396abd-8537-409b-a983-ac1eb907ac30" />
<cim:AnalogValue.Analog rdf:resource="#_25498d39-29b5-45aa-8dae-ccfa497353db" />
</cim:AnalogValue>
<cim:AnalogValue rdf:ID="_108f2b7f-dd63-4c41-b996-439c68275490">
<cim:IdentifiedObject.mRID>108f2b7f-dd63-4c41-b996-439c68275490</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Analog 6 Analog Value 6</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE AN6 AV6</cim:IdentifiedObject.name>
<cim:MeasurementValue.sensorAccuracy>97.2</cim:MeasurementValue.sensorAccuracy>
<cim:MeasurementValue.timeStamp>2021-08-11T11:45:39.393725Z</cim:MeasurementValue.timeStamp>
<cim:AnalogValue.value>10.3</cim:AnalogValue.value>
<cim:MeasurementValue.MeasurementValueSource rdf:resource="#_bb396abd-8537-409b-a983-ac1eb907ac30" />
<cim:AnalogValue.Analog rdf:resource="#_e11a4842-898f-43fc-9d09-1a7f4e6a694a" />
</cim:AnalogValue>
<cim:Discrete rdf:ID="_126164c6-805d-4560-ab42-87660401a30c">
<cim:IdentifiedObject.mRID>126164c6-805d-4560-ab42-87660401a30c</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Arendal 132kV Trafo 1 Breaker Switch Position</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ARENDAL 132 T1E SWITCH POSITION</cim:IdentifiedObject.name>
<cim:Measurement.measurementType>SwitchPosition</cim:Measurement.measurementType>
<cim:Measurement.phases rdf:resource="http://iec.ch/TC57/CIM100#PhaseCode.ABC" />
<cim:Measurement.unitMultiplier rdf:resource="http://iec.ch/TC57/CIM100#UnitMultiplier.none" />
<cim:Measurement.unitSymbol rdf:resource="http://iec.ch/TC57/CIM100#UnitSymbol.none" />
<cim:Discrete.maxValue>3</cim:Discrete.maxValue>
<cim:Discrete.minValue>0</cim:Discrete.minValue>
<cim:Discrete.normalValue>0</cim:Discrete.normalValue>
<cim:Discrete.ValueAliasSet rdf:resource="#_d007554d-efe2-4f2d-95dd-1439e7a7a228"/>
<cim:Measurement.PowerSystemResources rdf:resource="#_48668646-105a-490d-aaad-3259b852aa23"/>
<cim:Measurement.ACDCTerminal rdf:resource="#_8266f01c-2b3d-4111-957e-b871f71f0fad" />
</cim:Discrete>
<cim:ValueAliasSet rdf:ID="_d007554d-efe2-4f2d-95dd-1439e7a7a228">
<cim:IdentifiedObject.mRID>d007554d-efe2-4f2d-95dd-1439e7a7a228</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Breaker Switch Positions</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>BREAKER SWITCH POSITIONS</cim:IdentifiedObject.name>
</cim:ValueAliasSet>
<cim:ValueToAlias rdf:ID="_521dc3af-f840-4e7f-8543-6811cb2e452a">
<cim:IdentifiedObject.mRID>521dc3af-f840-4e7f-8543-6811cb2e452a</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Breaker switch position open</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>OPEN</cim:IdentifiedObject.name>
<cim:ValueToAlias.value>0</cim:ValueToAlias.value>
<cim:ValueToAlias.ValueAliasSet rdf:resource="#_d007554d-efe2-4f2d-95dd-1439e7a7a228"/>
</cim:ValueToAlias>
<cim:ValueToAlias rdf:ID="_77e99efc-45c9-4bcd-b1af-8f40237d13e1">
<cim:IdentifiedObject.mRID>77e99efc-45c9-4bcd-b1af-8f40237d13e1</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Breaker switch position closed</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>CLOSED</cim:IdentifiedObject.name>
<cim:ValueToAlias.value>1</cim:ValueToAlias.value>
<cim:ValueToAlias.ValueAliasSet rdf:resource="#_d007554d-efe2-4f2d-95dd-1439e7a7a228"/>
</cim:ValueToAlias>
<cim:ValueToAlias rdf:ID="_616bd86c-7791-4fb7-b20b-911a96efb118">
<cim:IdentifiedObject.mRID>616bd86c-7791-4fb7-b20b-911a96efb118</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Breaker switch position intermediate</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>INTERMEDIATE</cim:IdentifiedObject.name>
<cim:ValueToAlias.value>2</cim:ValueToAlias.value>
<cim:ValueToAlias.ValueAliasSet rdf:resource="#_d007554d-efe2-4f2d-95dd-1439e7a7a228"/>
</cim:ValueToAlias>
<cim:ValueToAlias rdf:ID="_9bd40d49-f7d1-436d-af59-7386afee16b3">
<cim:IdentifiedObject.mRID>9bd40d49-f7d1-436d-af59-7386afee16b3</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Breaker switch position fault</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>FAULT</cim:IdentifiedObject.name>
<cim:ValueToAlias.value>3</cim:ValueToAlias.value>
<cim:ValueToAlias.ValueAliasSet rdf:resource="#_d007554d-efe2-4f2d-95dd-1439e7a7a228"/>
</cim:ValueToAlias>
<cim:DiscreteValue rdf:ID="_7520d444-23c4-41ab-bc1d-c972bf328e51">
<cim:IdentifiedObject.mRID>7520d444-23c4-41ab-bc1d-c972bf328e51</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Arendal 132kV Trafo 1 Breaker Switch Position 0</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ARENDAL 132 T1E SWITCH POSITION 0</cim:IdentifiedObject.name>
<cim:MeasurementValue.timeStamp>2021-08-11T13:45:39.393725Z</cim:MeasurementValue.timeStamp>
<cim:DiscreteValue.value>0</cim:DiscreteValue.value>
<cim:MeasurementValue.MeasurementValueSource rdf:resource="#_b1a076df-b20d-490d-81a5-6e55efbf403c" />
<cim:DiscreteValue.Discrete rdf:resource="#_126164c6-805d-4560-ab42-87660401a30c" />
</cim:DiscreteValue>
<cim:DiscreteValue rdf:ID="_4d7a4e51-39ac-4588-9eb0-624fce41faad">
<cim:IdentifiedObject.mRID>4d7a4e51-39ac-4588-9eb0-624fce41faad</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Arendal 132kV Trafo 1 Breaker Switch Position 1</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ARENDAL 132 T1E SWITCH POSITION 1</cim:IdentifiedObject.name>
<cim:MeasurementValue.timeStamp>2021-08-11T14:45:39.393725Z</cim:MeasurementValue.timeStamp>
<cim:DiscreteValue.value>1</cim:DiscreteValue.value>
<cim:MeasurementValue.MeasurementValueSource rdf:resource="#_b1a076df-b20d-490d-81a5-6e55efbf403c" />
<cim:DiscreteValue.Discrete rdf:resource="#_126164c6-805d-4560-ab42-87660401a30c" />
</cim:DiscreteValue>
<cim:DiscreteValue rdf:ID="_be832621-c852-4035-a4fe-374e01444509">
<cim:IdentifiedObject.mRID>be832621-c852-4035-a4fe-374e01444509</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Arendal 132kV Trafo 1 Breaker Switch Position 2</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ARENDAL 132 T1E SWITCH POSITION 2</cim:IdentifiedObject.name>
<cim:MeasurementValue.timeStamp>2021-08-11T15:45:39.393725Z</cim:MeasurementValue.timeStamp>
<cim:DiscreteValue.value>2</cim:DiscreteValue.value>
<cim:MeasurementValue.MeasurementValueSource rdf:resource="#_c6d71c1d-73fd-4be1-91a0-d520305498cf" />
<cim:DiscreteValue.Discrete rdf:resource="#_126164c6-805d-4560-ab42-87660401a30c" />
</cim:DiscreteValue>
<cim:DiscreteValue rdf:ID="_73e4441c-6972-4695-b229-c62998a39567">
<cim:IdentifiedObject.mRID>73e4441c-6972-4695-b229-c62998a39567</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Arendal 132kV Trafo 1 Breaker Switch Position 3</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ARENDAL 132 T1E SWITCH POSITION 3</cim:IdentifiedObject.name>
<cim:MeasurementValue.timeStamp>2021-08-11T16:45:39.393725Z</cim:MeasurementValue.timeStamp>
<cim:DiscreteValue.value>3</cim:DiscreteValue.value>
<cim:MeasurementValue.MeasurementValueSource rdf:resource="#_c6d71c1d-73fd-4be1-91a0-d520305498cf" />
<cim:DiscreteValue.Discrete rdf:resource="#_126164c6-805d-4560-ab42-87660401a30c" />
</cim:DiscreteValue>
<cim:CurrentTransformer rdf:ID="_26d2f8aa-b651-46c5-a54d-05948f35f3d2">
<cim:IdentifiedObject.mRID>26d2f8aa-b651-46c5-a54d-05948f35f3d2</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Current Transformer 1</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE CT1</cim:IdentifiedObject.name>
<cim:Equipment.aggregate>false</cim:Equipment.aggregate>
<cim:Equipment.normallyInService>true</cim:Equipment.normallyInService>
<cim:CurrentTransformer.accuracyClass>5P</cim:CurrentTransformer.accuracyClass>
<cim:CurrentTransformer.accuracyLimit>5</cim:CurrentTransformer.accuracyLimit>
<cim:CurrentTransformer.coreBurden>20</cim:CurrentTransformer.coreBurden>
<cim:CurrentTransformer.ctClass>P30</cim:CurrentTransformer.ctClass>
<cim:CurrentTransformer.usage>protection</cim:CurrentTransformer.usage>
<cim:AuxiliaryEquipment.Terminal rdf:resource="#_83bf6035-97b6-4433-b5f9-bb455444a983" />
</cim:CurrentTransformer>
<cim:CurrentTransformer rdf:ID="_0f3b6200-684d-4365-8d55-45baae73bffb">
<cim:IdentifiedObject.mRID>0f3b6200-684d-4365-8d55-45baae73bffb</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Current Transformer 2</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE CT2</cim:IdentifiedObject.name>
<cim:Equipment.aggregate>false</cim:Equipment.aggregate>
<cim:Equipment.normallyInService>true</cim:Equipment.normallyInService>
<cim:CurrentTransformer.accuracyClass>5P</cim:CurrentTransformer.accuracyClass>
<cim:CurrentTransformer.accuracyLimit>5</cim:CurrentTransformer.accuracyLimit>
<cim:CurrentTransformer.coreBurden>20</cim:CurrentTransformer.coreBurden>
<cim:CurrentTransformer.ctClass>P30</cim:CurrentTransformer.ctClass>
<cim:CurrentTransformer.usage>protection</cim:CurrentTransformer.usage>
<cim:AuxiliaryEquipment.Terminal rdf:resource="#_83bf6035-97b6-4433-b5f9-bb455444a983" />
</cim:CurrentTransformer>
<cim:CurrentTransformer rdf:ID="_cfb857c9-3ac2-4ea8-bcdb-1e50bd15f541">
<cim:IdentifiedObject.mRID>cfb857c9-3ac2-4ea8-bcdb-1e50bd15f541</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Current Transformer 3</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE CT3</cim:IdentifiedObject.name>
<cim:Equipment.aggregate>false</cim:Equipment.aggregate>
<cim:Equipment.normallyInService>true</cim:Equipment.normallyInService>
<cim:CurrentTransformer.accuracyClass>5P</cim:CurrentTransformer.accuracyClass>
<cim:CurrentTransformer.accuracyLimit>5</cim:CurrentTransformer.accuracyLimit>
<cim:CurrentTransformer.coreBurden>20</cim:CurrentTransformer.coreBurden>
<cim:CurrentTransformer.ctClass>P30</cim:CurrentTransformer.ctClass>
<cim:CurrentTransformer.usage>protection</cim:CurrentTransformer.usage>
<cim:AuxiliaryEquipment.Terminal rdf:resource="#_83bf6035-97b6-4433-b5f9-bb455444a983" />
</cim:CurrentTransformer>
<cim:PotentialTransformer rdf:ID="_fd11bf7f-138b-4a1b-802c-25262b7b8672">
<cim:IdentifiedObject.mRID>fd11bf7f-138b-4a1b-802c-25262b7b8672</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Voltage Transformer 1</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE VT1</cim:IdentifiedObject.name>
<cim:Equipment.aggregate>false</cim:Equipment.aggregate>
<cim:Equipment.normallyInService>true</cim:Equipment.normallyInService>
<cim:PotentialTransformer.accuracyClass>0.2</cim:PotentialTransformer.accuracyClass>
<cim:PotentialTransformer.nominalRatio>200</cim:PotentialTransformer.nominalRatio>
<cim:PotentialTransformer.ptClass>0.2</cim:PotentialTransformer.ptClass> <!--Need to check this-->
<cim:PotentialTransformer.type rdf:resource="http://iec.ch/TC57/CIM100#PotentialTransformerKind.capacitiveCoupling" />
<cim:AuxiliaryEquipment.Terminal rdf:resource="#_83bf6035-97b6-4433-b5f9-bb455444a983" />
</cim:PotentialTransformer>
<cim:PotentialTransformer rdf:ID="_03f7a245-aeca-48ba-af07-58419fb9b77c">
<cim:IdentifiedObject.mRID>03f7a245-aeca-48ba-af07-58419fb9b77c</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Voltage Transformer 2</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE VT2</cim:IdentifiedObject.name>
<cim:Equipment.aggregate>false</cim:Equipment.aggregate>
<cim:Equipment.networkAnalysisEnabled>true</cim:Equipment.networkAnalysisEnabled>
<cim:Equipment.normallyInService>true</cim:Equipment.normallyInService>
<cim:PotentialTransformer.accuracyClass>0.2</cim:PotentialTransformer.accuracyClass>
<cim:PotentialTransformer.nominalRatio>200</cim:PotentialTransformer.nominalRatio>
<cim:PotentialTransformer.ptClass>0.2</cim:PotentialTransformer.ptClass> <!--Need to check this-->
<cim:PotentialTransformer.type rdf:resource="http://iec.ch/TC57/CIM100#PotentialTransformerKind.capacitiveCoupling" />
<cim:AuxiliaryEquipment.Terminal rdf:resource="#_83bf6035-97b6-4433-b5f9-bb455444a983" />
</cim:PotentialTransformer>
<cim:PotentialTransformer rdf:ID="_74936f6f-296e-44db-b772-1d522f317069">
<cim:IdentifiedObject.mRID>74936f6f-296e-44db-b772-1d522f317069</cim:IdentifiedObject.mRID>
<cim:IdentifiedObject.description>Engene Voltage Transformer 3</cim:IdentifiedObject.description>
<cim:IdentifiedObject.name>ENGENE VT3</cim:IdentifiedObject.name>
<cim:Equipment.aggregate>false</cim:Equipment.aggregate>
<cim:Equipment.networkAnalysisEnabled>true</cim:Equipment.networkAnalysisEnabled>
<cim:Equipment.normallyInService>true</cim:Equipment.normallyInService>
<cim:PotentialTransformer.accuracyClass>0.2</cim:PotentialTransformer.accuracyClass>
<cim:PotentialTransformer.nominalRatio>200</cim:PotentialTransformer.nominalRatio>
<cim:PotentialTransformer.ptClass>0.2</cim:PotentialTransformer.ptClass> <!--Need to check this-->
<cim:PotentialTransformer.type rdf:resource="http://iec.ch/TC57/CIM100#PotentialTransformerKind.capacitiveCoupling" />
<cim:AuxiliaryEquipment.Terminal rdf:resource="#_83bf6035-97b6-4433-b5f9-bb455444a983" />
</cim:PotentialTransformer>
</rdf:RDF>`
As bit late to the party but here are some considerations regarding Switch state and the ValueAliasSet:
There are various state definitions depending on protocoll used from SCADA. For ELCOM-90 the switch states are: ON 2 OFF 1 BETWEEN 3 ILLEGAL 0
Which is slightly different than the ones Geir Magne describes.
In DMS these values are remapped (example from Volue DMS): elcomValue="0" pgoValue="INTERMEDIATE" elcomValue="1" pgoValue="OUT" elcomValue="2" pgoValue="IN" elcomValue="3" pgoValue="INTERMEDIATE"
In addition there is a Quality code of the signal used for indicating various situations: manual changed in SCADA, loss of contact with RTU, etc.
In our DMS the error code 'No contact with RTU' results that the state of the switch is set to UNKNOWN.
For manual operated switches in our DMS only the values ON, OFF, UNKNOWN are possible. When we re discussing events coming from DMS, these can both be a result for a manual operated switch but also a remote controlled switch (since DMS is listening to all remote controlled switch from the SCADA system).
Regarding the 'Intermediate In' and 'Intermediate Out' in the Volue DMS, this is something added to the between state based on which state the Switch had previousley (IN or OUT).
This issue is to be covered at a later date. Untill this issue is resolved discreteValue will cover the data transfered.
-- More Information needs to be added --