Scl-loader

Latest version: v1.11.7

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

1.11.1

Minor bug fix to ensure retrocompatibility between v1.11 and v1.10 by changing back get_goose_inputs_extrefs to get_inputs_goose_extrefs

1.11.0

! 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

1.10.3

What's Changed
* fix search for ied in dict in get_IED_by_name by vermeulenthi in https://github.com/rte-france/SCL_Loader/pull/26

**Full Changelog**: https://github.com/rte-france/SCL_Loader/compare/v1.10.2...v1.10.3

1.10.2

What's Changed
* set remove_comments=True to lxml parser to avoid getting comments as elements by vermeulenthi in https://github.com/rte-france/SCL_Loader/pull/25


**Full Changelog**: https://github.com/rte-france/SCL_Loader/compare/v1.10.1...v1.10.2

1.10.1

1.10.0

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.