Menu Close

Installers

Source Code: LabView UI and “Pallete”

All the source code related to different functionalities in LabView are managed in this repository. These include wrappers that call different methods implemented in a DLL that allow connection with a PMU/PDC, a library of blocks that provide access to the PMU data within LabView and other functions implemented in LabView blocks. All these functionalities are made available in a “pallete” (e.g. like a toolbox) within LabView.

Source Code – External: Real-Time Data Mediator (aka DLL)

The source code of the real-time data mediator is being cleaned up for realease. For maintainance purposes we will create a different repository where the source code will be hosted.

Documentation: S3DK Quick Start Guide

A document giving an overview of the basic features of the LabView UI and usage of the functional blocks in the pallete: here.

Use our Software? Cite our Work

S3DK Overview

S3DK is a software development toolkit to implement real-time PMU/Synchrophasor applications, such as thos used in Wide Area Monitoring Systems.

Using this development toolkit, a developer is able to manipulate the numerical values of the different signals contained in a synchrophasor data stream within the LabView environment. This enables fast software prototyping and testing of applications.

The software is comprised by two main parts: (a) a real-time data mediator that parses and handles PMU data (implemented in C++), and (b) a LabView User Interface (UI).

S3DK Components

The LabView UI provides both easy connection with PMUs/PDCs and a “pallete” in LabView with different functional blocks that are used to interface the real time data with LabView functions.

The real-time data mediator has a client/server architecture, and an advanced API that would allow its use in other development environments instead of LabView. In addition, the real-time mediator has been build with several future functionalities in mind, such as a time-synchronization layer and multithreading.

S3DK Basic Functionalities

Compliance with the IEEE C37.118.2 protocol means that a developer can directly connect to a synchrphasor stream from an individual PMU, or from multiple PMUs within a PDC output stream, thereby liberating them of the complexities involved synchrophasor data handling involved in dealing with the packets wrapped within the protocol.

The toolkit provides a real-time data mediator that parses the IEEE C37.118.2 – 2011 protocol, and provides auxiliary functions (such as data windowing) implemented in C++. Nevertheless, this is transparent to the user who only has to provide the PMU/PDC configuration settings (i.e. IP address, etc) through a GUI.

These features make the toolkit independent of any specific equipment, PDC and/or their manufacturers; therefore facilitating interoperability.

S3DK Applications

S3DK – Why release it as OSS?

Synchrophasor Technology – going the last mile!

For over 10 years, (Luigi Vanfretti) has heard the expression “What can you do with real-time PMU data?”, for which many answers can be given. However, any answer that you might provide assummes that you have the technology to actually make it a reality. S3DK changes that, and it makes the answer, “as long as you can program (in LabView…), it’s up to you what application to come up with!”.

With PMU technologies there are too few alternatives to develop PMU applications that use real-time data. You either have to buy a proprietary software solution, or use the tools from GPA (i.e. OpenPDC and others). The problems with proprietary solutions are countless, but from a research perspective, they simply do not have the flexibility one needs for implementing new ideas. The awesome solutions from GPA on the other hand require far too many software development and programming skills beyond those that a typical electrical power engineering has. With these two points in mind, S3DK has developed with the researcher in mind: to provide a set of tools in an easy software development environment familiar to MSc students for PMU application prototyping, and that does not require deep knowledge on protocol parsing, real-time data management, etc.

After using the software since 2012, KTH SmarTS Lab students have implemented many applications using S3DK, and we believe that these tools can help other researchers to innovate also. Thus, the reason to release this software as OSS is to give momentum to the field of Synchrophasor Technology, specially in the area of PMU applications, and to provide it’s users freedom.

We hope that you use S3DK and share your applications using this software to others, just like we have shared S3DK with you.

Development History and OSS Release

The S3DK was developed within the NER-funded STRONgrid project (link), where Statnett SF commissioned the implementation to the software development provider, Enfo AS. The concept, specifications and requirements where developed jointly by Statnett (Luigi Vanfretti, Stig Løvlund and Jan Ove Gjerde), KTH SmarTS Lab (Luigi Vanfretti) and Enfo AS (Vemund H. Aarstrand). During the development, many researchers at KTH SmarTS Lab (and other institutions) have contributed towards this software through testing, functionality requirements and utilization.

Development Status

In 2016, Statnett authorized the release of the excecutables and source of the S3DK. KTH SmarTS Lab’s researchers are working hard in curating it, so that all of the software can be shared in a functioning and reliable state.

This repository makes available the first portion of the source code and excecutables, other repositories will include additional source developed during the project.

The future development and maintainance depends directly on the research funding availability. If you wish to see the software be maintained and developed, you can contribute yourself with code, or get in contact with Luigi Vanfretti to arrange a development contract that will support students to maintain the software.