mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-16 00:00:02 +01:00
51 lines
2.7 KiB
Markdown
51 lines
2.7 KiB
Markdown
S2SS is a client/server application to connect simulation equipment and software such as:
|
|
|
|
- OPAL-RT eMegaSim,
|
|
- RTDS GTFPGA cards,
|
|
- Simulink,
|
|
- LabView,
|
|
- and FPGA models.
|
|
|
|
It's designed with a focus on very low latency to achieve almost realtime exchange of simulation data.
|
|
S2SS is used in distributed- and co-simulation scenarios and developed for the field of power grid simulation at the EON Energy Research Center in Aachen, Germany.
|
|
|
|
## Overview
|
|
|
|
The project consists of a server daemon and several client modules which are documented here.
|
|
|
|
[TOC]
|
|
|
|
### Server
|
|
|
|
The server simply acts as a gateway to forward simulation data from one client to another.
|
|
Furthermore, it collects statistics, monitors the quality of service and handles encryption or tunneling through VPNs.
|
|
|
|
For optimal performance the server is implemented in low-level C and makes use of several Linux-specific realtime features.
|
|
The primary design goal was to make the behaviour of the system as deterministic as possible.
|
|
|
|
Therefore, it's advisable to run the server component on a [PREEMPT_RT](https://rt.wiki.kernel.org/index.php/CONFIG_PREEMPT_RT_Patch) patched version of Linux. In our environment, we use Fedora-based distribution which has been stripped to the bare minimum (no GUI, only a few background processes).
|
|
|
|
The server is a multi-threaded application.
|
|
|
|
### Clients
|
|
|
|
There are two types of clients:
|
|
|
|
1. The server handles diffrent types of nodes.
|
|
The most commonly used node-type is the 'socket' type which allows communication over network links (UDP, raw IP, raw Ethernet frames).
|
|
But there are also other specialized node types to retreive or send data to equipemnt, which is directly connected to or running on the server itself.
|
|
An example for such a node is the 'gtfpga' type which directly fetches and pushes data to a PCIe card.
|
|
Or the 'file' type which logs or replays simulation data from the harddisk.
|
|
|
|
2. An other way to connect simulation equipment is by using a client-application which itself sends the data over the network to the S2SS server.
|
|
In this scenario, the S2SS server uses the 'socket' node-type to communicate with the client-application.
|
|
|
|
Usually, new clients / equipemnt should be implemented as a new node-type as part of the S2SS server.
|
|
Using a dedicated client-application which communicates via the 'socket' type is deprecated because it leads to code duplication.
|
|
|
|
## Contact
|
|
|
|
This project is developed at the [Institute for Automation of Complex Power Systems](www.acs.eonerc.rwth-aachen.de) (ACS), EON Energy Research Center (EONERC) at the [RWTH University](http://www.rwth-aachen.de) in Aachen, Germany.
|
|
|
|
- Steffen Vogel <StVogel@eonerc.rwth-aachen.de>
|
|
- Marija Stevic <MStevic@eonerc.rwth-aachen.de>
|