Showing posts with label COMFEDE. Show all posts
Showing posts with label COMFEDE. Show all posts

Thursday, November 26, 2015

IEC 61850 DLL Demo with Looging and Log-File

The DLL Demo based on SystemCorp’s IEC 61850 Stack/API can very easily be configured with the corresponding CID-File for the Server to log data attributes listed in a DataSet. The log entries are stored in an XML file.

All you need to do is: Add the following 3 lines in the configuration file (after line 52):

Directory: /Resources_localhost (/Resources_2machines)
File: /VHPServer_localhost.icd (/VHPServer_2machines.icd)

image

<LogControl datSet="BHKW_ST1" intgPd="0" logEna="true" logName="DLLDemo" name="DLLTestLog">
    <TrgOps dchg="true"/>
</LogControl>

Restart the Serer and you have a log that is filled with events coming through the DataSet "BHKW_ST1".

Model as seen by an IEC 61850 Client (Browser):

image

The file format (DLLDemo.Xml) is vendor-specific:

image

Two Log Entries (4 and 5):

image

Note: The time stamp “t” is “000…0” because the Server application program is not providing it to the Stack … this could be done by extending the C# application source code that comes with the Demo package … if you are familiar with C# programming.

The services QueryLogByTime and QueryLogAfter will be available in the future.

The Log Model is available in the SystemCorp Library. It means, e.g., it is available in devices like the HMS SG line. The log file may grow very fast … be careful not to consume all memory resources. In the future the file will represent a circular buffer so that it will never overflow (by overwriting the oldest entries – as defined in IEC 61850-7-2).

There is a possibility to convert the XML coded Log file into another XML based file: COMFEDE („Common Format for Event Data Exchange") published by IEEE.

Click HERE for Information on COMFEDE (DE).
Click HERE for Information on COMFEDE (EN).

Click HERE if you are interested to download the DLL Demo.

Wednesday, May 23, 2012

New Work on Security for SCL, CIM, DNP3 XML-Files

XML files are used for IEC 61970 (CIM), IEC 61850, and IEEE 1815 (DNP3)
and IEEE C37.111 (COMTRADE). How can one trust that the content of an XML file for these applications has not been modified? etc.

A new work proposal has been published:
Power systems management and associated information exchange – Data and communications security –
Part 11: Security for XML Files (future IEC 62351-11)

The ballot closes 2012-07-27

This work is one of the crucial aspects of the future power systems – the various files may contain very sensitive information that has to be protected … like the protection relays and protection engineers protect the power system!!

I hope that the management takes this work very serious!

Saturday, March 19, 2011

IEC 61850 - Common Format for Event Data Exchange

Event data can be logged in an IED by a Log according to IEC 61850-7-2 (IEC 61850-8-1, MMS Journal). The Log can be queried by time (before, between, after). This query returns MMS messages.

Logged event data in an IEC 61850 IED could now additionally be retrieved by an XML file called "COMFEDE":

Common Format for Event Data Exchange (COMFEDE) for Power Systems (IEEE Std C37.239™-2010).

This file may optionally rely on the information models defined by IEC 61850 Logical Devices, Logical Nodes, DataObjects, DataAttributes. An example of a file is shown here:

<Entry entryId="4294967292" timeOfEntry="2011-03-11T14:38:13Z">
  <EntryData t="2011-03-11T14:38:12.423834Z">
   <DataRef>MyLogicalDevice/MyMMXU1.A</DataRef>
   <DA name="phsA.cVal.mag.f" val="1023" valType="xs:double"/>
   <DA name="phsB.cVal.mag.f" val="1022" valType="xs:double"/>
   <DA name="phsC.cVal.mag.f" val="1019" valType="xs:double"/>
  </EntryData>
</Entry>

Even that standard is an IEEE standard, it could be understood as an extension of IEC 61850 - it extends the use of the information model, information exchange and system configuration language.

From a 40,000 ft point of view it is a kind of a SCSM (Specific Communication Service Mapping). I guess it is also easy in an IEC 61850 client to transform the ReadJournal response messages according to MMS into an COMFEDE file - it is the same payload carried.

Click HERE for more information.