Data Classes#

class icspacket.proto.iec61850.classes.LN_Class(*values)[source]#

Logical Node (LN) classes

ANCR = 'Neutral current regulator'#
ARCO = 'Reactive power control'#
ATCC = 'Automatic tap changer controller'#
AVCO = 'Voltage control'#
CALH = 'Alarm handling'#
CCGR = 'Cooling group control'#
CILO = 'Interlocking'#
CPOW = 'Point-on-wave switching'#
CSWI = 'Switch controller'#
GAPC = 'Generic automatic process control'#
GGIO = 'Generic process I/O'#
GSAL = 'Generic security application'#
IARC = 'Archiving'#
IHMI = 'Human machine interface'#
ITCI = 'Telecontrol interface'#
ITMI = 'Telemonitoring interface'#
LLN0 = 'Logical node zero'#
LPHD = 'Physical device information'#
MDIF = 'Differential measurements'#
MHAI = 'Harmonics or interharmonics'#
MHAN = 'Non phase related harmonics or interharmonics'#
MMTR = 'Metering'#
MMXN = 'Non phase related Measurement'#
MMXU = 'Measurement'#
MSQI = 'Sequence and imbalance'#
MSTA = 'Metering Statistics'#
PDIF = 'Differential'#
PDIR = 'Direction comparison'#
PDIS = 'Distance'#
PDOP = 'Directional overpower'#
PDUP = 'Directional underpower'#
PFRC = 'Rate of change of frequency'#
PHAR = 'Harmonic restraint'#
PHIZ = 'Ground detector'#
PIOC = 'Instantaneous overcurrent'#
PMRI = 'Motor restart inhibition'#
PMSS = 'Motor starting time supervision'#
POPF = 'Over power factor'#
PPAM = 'Phase angle measuring'#
PSCH = 'Protection scheme'#
PSDE = 'Sensitive directional earthfault'#
PTEF = 'Transient earth fault'#
PTOC = 'Time overcurrent'#
PTOF = 'Overfrequency'#
PTOV = 'Overvoltage'#
PTRC = 'Protection trip conditioning'#
PTTR = 'Thermal overload'#
PTUC = 'Undercurrent'#
PTUF = 'Underfrequency'#
PTUV = 'Undervoltage'#
PUPF = 'Underpower factor'#
PVOC = 'Voltage controlled time overcurrent'#
PVPH = 'Volts per Hz'#
PZSU = 'Zero speed or underspeed'#
RADR = 'Disturbance recorder channel analogue'#
RBDR = 'Disturbance recorder channel binary'#
RBRF = 'Breaker failure'#
RDIR = 'Directional element'#
RDRE = 'Disturbance recorder function'#
RDRS = 'Disturbance record handling'#
RFLO = 'Fault locator'#
RPSB = 'Power swing detection/blocking'#
RREC = 'Autoreclosing'#
RSYN = 'Synchronism-check or synchronising'#
SARC = 'Monitoring and diagnostics for arcs'#
SIMG = 'Insulation medium supervision (gas)'#
static from_lname(ln_name: str) LN_Class | None[source]#
class icspacket.proto.iec61850.classes.LN_Group(*values)[source]#

Logical Node (LN) groups

A = 'Automatic Control'#
C = 'Supervisory control'#
G = 'Generic Function References'#
I = 'Interfacing and Archiving'#
L = 'System Logical Nodes'#
M = 'Metering and Measurement'#
P = 'Protection Functions'#
R = 'Protection Related Functions'#
S = 'Sensors, Monitoring'#
T = 'Instrument Transformer'#
X = 'Switchgear'#
Y = 'Power Transformer and Related Functions'#
Z = 'Further (power system) Equipment'#
class icspacket.proto.iec61850.classes.DATA_Class(*values)[source]#

Common DATA classes

ACD = 'Directional protection activation information'#
ACT = 'Protection activation information'#
APC = 'Controllable analogue process value'#
ASG = 'Analogue setting'#
BAC = 'Binary controlled analog process value'#
BCR = 'Binary counter reading'#
BSC = 'Binary controlled step position information'#
CMV = 'Complex measured value'#
CSD = 'Curve shape description'#
CSG = 'Curve shape setting'#
CUG = 'Currency setting group'#
CURVE = 'Setting curve'#
DEL = 'Phase to phase related measured values of a three-phase system'#
DPC = 'Controllable double point'#
DPL = 'Device name plate'#
DPS = 'Double point status'#
ENC = 'Controllable enumerated status'#
ENG = 'Enumerated status setting'#
ENS = 'Enumerated status'#
HDEL = 'Harmonic value for DEL'#
HMV = 'Harmonic value'#
HST = 'Histogram'#
HWYE = 'Harmonic value for WYE'#
INC = 'Controllable integer status'#
ING = 'Integer status setting'#
INS = 'Integer status'#
ISC = 'Integer controlled step position information'#
LPL = 'Logical node name plate'#
MV = 'Measured value'#
ORG = 'Object reference setting'#
SAV = 'Sampled value'#
SEC = 'Security violation counting'#
SEQ = 'Sequence'#
SPC = 'Controllable single point'#
SPG = 'Single point setting'#
SPS = 'Single point status'#
TSG = 'Time setting group'#
VSG = 'Visible string setting'#
VSS = 'Visible string status '#
WYE = 'Phase to ground/neutral related measured values of a three-phase system'#
static from_name(datname: str, /) DATA_Class | None[source]#
class icspacket.proto.iec61850.classes.FC(*values)[source]#

Functional Constraints

BL = 'Blocking'#
BR = 'Buffered report'#
CF = 'Configuration'#
CO = 'Control'#
DC = 'Description'#
EX = 'Extended definition (application name space)'#
GO = 'Goose control'#
GS = 'Gsse control'#
LG = 'Logging'#
MS = 'Multicast sampled value control'#
MX = 'Measurands (analogue values)'#
OR = 'Operate received'#
RP = 'Unbuffered report'#
SE = 'Setting group editable'#
SG = 'Setting group'#
SP = 'Setting (outside setting group)'#
SR = 'Service response'#
ST = 'Status information'#
SV = 'Substitution'#
US = 'Unicast sampled value control'#
XX = 'All'#
class icspacket.proto.iec61850.classes.ControlModel(*values)[source]#

Decoded value of a control object’s ctlModel attribute.

This tells the client which interaction pattern the server expects for issuing a command against that object: whether it can only be observed, whether an operate request may be sent directly, or whether it must be preceded by a separate select step, together with which of the two security levels applies.

Added in version 0.2.4.

STATUS_ONLY = 0#

Indicates the control point is limited to status reporting.

DIRECT_NORMAL = 1#

Indicates commands are issued directly, under the normal security profile.

SBO_NORMAL = 2#

Indicates a select-before-operate sequence is required, under the normal security profile.

DIRECT_ENHANCED = 3#

Indicates commands are issued directly, under the enhanced security profile.

SBO_ENHANCED = 4#

Indicates a select-before-operate sequence is required, under the enhanced security profile.