Skip to content

Generic and lightweight IEC 61850 Sampled Value parser

License

Notifications You must be signed in to change notification settings

seapath/sv_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Description

Tool to parse IEC 61850 Sampled Values from the packet payload. The SV payload contains the following information:

Field

Description

APPID

Application ID

length

Message length

noASDU

Number of ASDU in the sequence

seqASDU

Sequence of ASDU

And for each ASDU contains the following information:

Field

Description

svID

User-defined unique string identifier used for subscription

datSet

The name of the data set being sent

smpCnt

Index of the SV message

confRev

Configuration revision

smpSynch

Synchronization mechanism of the clock used for sending the SV

smpMod

Sample Mode : samples/period, samples/sec, sec/sample

smpRate

Sample rate

refrTm

Time of the first sample

seqDataLength

Length of the sequence of data

seqData

Sequence of measured voltage and current values

How to use

The structure containing parser information can be managed using constructors and destructors. All you need to do is call parser parse_SV_payload, providing it with the SV network packet payload, and the previously created structure.

About this documentation

This documentation uses the AsciiDoc documentation generator. It is a convenient format that allows using plain-text formatted writing that can later be converted to various output formats such as HTML and PDF.

In order to generate an HTML version of this documentation, use the following command (the asciidoc package will need to be installed in your Linux distribution):

$ asciidoc README.adoc

This will result in a README.html file being generated in the current directory.

If you prefer a PDF version of the documentation instead, use the following command (the dblatex package will need to be installed on your Linux distribution):

$ asciidoctor-pdf README.adoc

About

Generic and lightweight IEC 61850 Sampled Value parser

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages