open-scd
open-scd copied to clipboard
Include single line diagram on duplicate/"clone" in the substation element
As a user of OpenSCD I expect that the clone function als clones Terminal and ConnectivityNode with copying a Bay, VoltageLevel and/or Substation.
Requirements:
- on clone of
Bay,VoltageLevelorSubstationclone allConnectivityNodeandTerminal - adapt the
pathNameattribute of the clonedConnectivityNode. Let's assume the copied entity isBay Band the nes name isBay B1. Then thepathNameneeds to be changed fromAA1/J1/Bay B/L1toAA1/J1/Bay B1/L1. - adapt the
connectivityNodeof theTerminalin the same way as thepathNameofConnectivityNode. In addition to that adapt eitherbayName,voltageLevelNameorsubstationNamedepending on the cloned entity. Say again the copied entity isBayand the name changes fromBay BtoBay B1then the attributebayNamemust be changed fromBay BtoBay B1 - do not clone
Terminalthat are pointing to aConnectivityNodeoutside the to be copied entity with one exception:cNode=grounded
Example:
<Bay xmlns="http://www.iec.ch/61850/2003/SCL" xmlns:sxy="http://www.iec.ch/61850/2003/SCLcoordinates" sxy:x="6" sxy:y="6" name="Bay B" desc="Feld B">
<ConductingEquipment type="AAA" sxy:x="1" sxy:y="1" name="QB1">
<Terminal name="T1" connectivityNode="AA1/J1/BusBar B/L1" substationName="AA1" voltageLevelName="J1" bayName="BusBar B" cNodeName="L1" xmlns:txy="http://www.iec.ch/61850/2003/Terminal" txy:actTerm="1"/>
<Terminal name="T2" connectivityNode="AA1/J1/Bay B/L1" substationName="AA1" voltageLevelName="J1" bayName="Bay B" cNodeName="L1" xmlns:txy="http://www.iec.ch/61850/2003/Terminal" txy:actTerm="2"/>
</ConductingEquipment>
<ConductingEquipment type="DIS" sxy:x="3" sxy:y="1" name="QB2">
<Terminal name="T1" connectivityNode="AA1/J1/BusBar A/L1" substationName="AA1" voltageLevelName="J1" bayName="BusBar A" cNodeName="L1" xmlns:txy="http://www.iec.ch/61850/2003/Terminal" txy:actTerm="1"/>
<Terminal name="T2" connectivityNode="AA1/J1/Bay B/L1" substationName="AA1" voltageLevelName="J1" bayName="Bay B" cNodeName="L1" xmlns:txy="http://www.iec.ch/61850/2003/Terminal" txy:actTerm="2"/>
</ConductingEquipment>
<ConductingEquipment type="CBR" sxy:x="2" sxy:y="3" name="QA1">
<Terminal name="T1" connectivityNode="AA1/J1/Bay B/L1" substationName="AA1" voltageLevelName="J1" bayName="Bay B" cNodeName="L1" xmlns:txy="http://www.iec.ch/61850/2003/Terminal" txy:actTerm="1"/>
<Terminal name="T2" connectivityNode="AA1/J1/Bay B/L2" substationName="AA1" voltageLevelName="J1" bayName="Bay B" cNodeName="L2" xmlns:txy="http://www.iec.ch/61850/2003/Terminal" txy:actTerm="2"/>
</ConductingEquipment>
<ConductingEquipment type="CTR" sxy:x="2" sxy:y="5" name="T1">
<Terminal name="T1" connectivityNode="AA1/J1/Bay B/L2" substationName="AA1" voltageLevelName="J1" bayName="Bay B" cNodeName="L2" xmlns:txy="http://www.iec.ch/61850/2003/Terminal" txy:actTerm="1"/>
<Terminal name="T2" connectivityNode="AA1/J1/Bay B/L3" substationName="AA1" voltageLevelName="J1" bayName="Bay B" cNodeName="L3" xmlns:txy="http://www.iec.ch/61850/2003/Terminal" txy:actTerm="2"/>
</ConductingEquipment>
<ConductingEquipment type="VTR" sxy:x="3" sxy:y="7" name="T5">
<Terminal name="T1" connectivityNode="AA1/J1/Bay B/L3" substationName="AA1" voltageLevelName="J1" bayName="Bay B" cNodeName="L3" xmlns:txy="http://www.iec.ch/61850/2003/Terminal" txy:actTerm="1"/>
</ConductingEquipment>
<ConductingEquipment type="DIS" sxy:x="2" sxy:y="7" name="QB9">
<Terminal name="T1" connectivityNode="AA1/J1/Bay B/L3" substationName="AA1" voltageLevelName="J1" bayName="Bay B" cNodeName="L3" xmlns:txy="http://www.iec.ch/61850/2003/Terminal" txy:actTerm="1"/>
</ConductingEquipment>
<ConnectivityNode pathName="AA1/J1/Bay B/L1" name="L1"/>
<ConnectivityNode pathName="AA1/J1/Bay B/L2" name="L2"/>
<ConnectivityNode pathName="AA1/J1/Bay B/L3" name="L3"/>
</Bay>
@Sander3003 I would get rid of the plugin all together. WDYT?
Are you refering to the Substation editor?
Do you want to replace it with the one from openenergytools?