Skip to content

v1.11.0

Compare
Choose a tag to compare
@vermeulenthi vermeulenthi released this 29 Mar 12:39
· 35 commits to master since this release
f36b922

! Change to the current attributes and methods behaviour mentioned in bold letters !!

fix:

  • SCDNode.get_children() now also considers children SCDNode stored in arrays

refactoring:

refactoring of get_goose_inputs_extrefs:
    get_goose_inputs_extrefs() now returns only GOOSE (it was partially altered to return all extrefs)
    added generic function get_inputs_extrefs(ServiceType=None) at LD and IED level
    factorization of method instance between LD and IED
    get_goose_inputs_extrefs are kept for non-regression, but should be removed in the future as the generic get_inputs_extrefs can filter serviceType

Remove attributes IntAdr, mmsAdr and u_mmsAdr that where added to the DA in get_DA_leaf_nodes(). Those where not used in the code and are not really consistent with IEC 61850 standard. They are replaced by 3 methods:
    get_int_addr(node) : (corresponds to old IntAdr) get the internal address of node LD, LN, DO or DA, in format LdInst.LnName.DO.DA
    test_get_object_reference() get the object reference of the node (LD, LN, DO, DA or DataSet) as specified by IEC61850-8-1, section 8.1.3.2.3
    test_get_mms_var_name() get the MMS variable name of the DO (provided input FC), or DA, as specified by IEC61850-8-1, section 7.3.3/4

VoltageLevel in Substation are now stored in arrays

new features for GSEControl, ReportControl and DataSet:

SCDNode.get_name_subtree
→ From a node, build a tree of subelements (e.g. from DO x -> (x, [(DA1, [] ), (DA2, [(SDA21, []), (SDA22, [])])
SCDNode.get_GOCB_reference
→ get the reference for a GSEControl SCDNode
SCDNode.get_DO_nodes
→ get the list of DO children (or the parent DO in case of DO/DA/SDA)
DA.get_associated_fc
→ Get FC from DA or SDA
DataSet.as_tree
→ build a tree of subelements (e.g. from dataset root -> ('root', [(DA1, [] ), (DA2, [(SDA21, []), (SDA22, [])])
DataSet.as_list
→ list all DA leaves in DataSet (in format LD.LN.DO[.SDOs].DA[.SDAs])
DataSet.get_path_in_dataset
→ Get list corresponding of sequence of keys to reach a value in a DataSet
LD.get_datasets (getter)
LD.get_dataset_by_name (getter)
LD.get_gsecontrols (getter)
LD.get_gsecontrol_by_name (getter)
LD.get_reportcontrols (getter)
LD.get_reportcontrol_by_name (getter)
IED.get_node_by_ref
→ get the SCDNode object corresponding to its path reference (in format LD.LN.DO[.SDOs].DA[.SDAs])
SCD_handler.get_GSEs
→ get all GSE objects in Communication for an IED