Report about Parsing of UnitSymbol and UnitMutiplier in CIM-RDF-XML Files between Neplan, Cimphony and PowerFactory
Unit System in CIM-RDF-XML and Modelica are different so i need to translate them.
in CIM defined:
mutiplier + UnitSymbol = Unit, for example: "k" + "V" = "kV"
First of all I found that in the CIM-RDF-XML file from Neplan there is no UnitSymbol and Unit Mutiplier because in Neplan has predefined the "HV" and "LV" unit sets.
NEPLAN:
<cim:BaseVoltage rdf:ID="_6e99741c-21f2-47da-8521-d022ce258c34">
<cim:BaseVoltage.nominalVoltage>13.80</cim:BaseVoltage.nominalVoltage>
</cim:BaseVoltage>
<cim:BaseVoltage rdf:ID="_5a72faee-3ef8-4801-8048-6df56bda80f2">
<cim:BaseVoltage.nominalVoltage>18.00</cim:BaseVoltage.nominalVoltage>
</cim:BaseVoltage>
<cim:BaseVoltage rdf:ID="_c87ff6b0-0a48-4242-8a14-cdd8fc5f98b9">
<cim:BaseVoltage.nominalVoltage>69.00</cim:BaseVoltage.nominalVoltage>
</cim:BaseVoltage>
<cim:VoltageLevel rdf:ID="_74A4-2E-F1-00000000000000343037">
<cim:IdentifiedObject.name>407</cim:IdentifiedObject.name>
<cim:VoltageLevel.Substation rdf:resource="#_3FA2-2E-F1-00000000000000343037"/>
<cim:VoltageLevel.BaseVoltage rdf:resource="#_c87ff6b0-0a48-4242-8a14-cdd8fc5f98b9"/>
</cim:VoltageLevel>
It seems nothing about unit, maybe the information about LV and HV can be saved in the IdentifiedObject.name:407
But other Simulation Softwares like PowerFactory and Cimphony and examples from GridData also use an informal way:
Cimphony & PowerFactory:
<cim:BaseVoltage rdf:ID="_d7a9843a-5d17-11e5-918c-3417ebdd96ad">
<cim:IdentifiedObject.name>33.0KV</cim:IdentifiedObject.name>
<cim:BaseVoltage.nominalVoltage>33</cim:BaseVoltage.nominalVoltage>
</cim:BaseVoltage>
33.0KV was written directly in the IdentifiedObject.name, but the value of nominalVoltage is lack of unit.
In addition to Cimphony :
<cim:BusbarSection rdf:ID="_d7aae3c8-5d17-11e5-918c-3417ebdd96ad">
<cim:IdentifiedObject.name>Bus 1 HV</cim:IdentifiedObject.name>
<cim:Equipment.EquipmentContainer rdf:resource="#_6491ae70-5d1a-11e5-918c-3417ebdd96ad"/>
</cim:BusbarSection>
<cim:TopologicalNode rdf:ID="_d7a9d252-5d17-11e5-918c-3417ebdd96ad">
<cim:IdentifiedObject.name>Bus 10 LV</cim:IdentifiedObject.name>
<cim:TopologicalNode.BaseVoltage rdf:resource="#_d7a9843a-5d17-11e5-918c-3417ebdd96ad"/>
<cim:TopologicalNode.ConnectivityNodeContainer rdf:resource="#_6495cd20-5d1a-11e5-918c-3417ebdd96ad"/>
<cim:TopologicalNode.SvVoltage rdf:resource="#_d7a9d253-5d17-11e5-918c-3417ebdd96ad"/>
</cim:TopologicalNode>
<cim:BaseVoltage rdf:ID="_a5b4e1c5-b844-4a1a-870c-1ee07662d7b4">
<cim:BaseVoltage.nominalVoltage>20.00</cim:BaseVoltage.nominalVoltage>
</cim:BaseVoltage>
As you seen the HV and LV Unit set Information written in the Bus 1 HV & Bus 10 LV ( meanwhile with whitespace parsering problem! I just replaced whitespace into "_" before).
So the CIM-XML-Parser can not get the right unit as well, which just uses default unit symbol. In both case, the CIM-XML-Parser was failed. It's not a bug but a problem.
The standard form that how the unit symbol and multiplier should be saved in CIM-RDF-XML I'm not sure.