VILLASframework
Modular co-simulation framework
|
We put some effort in getting you started as smooth as possible. This tutorial introduces the basic concepts and terminologies of VILLASnode and shows some examples.
Please look below for a video recording of a webinar covering the topics of this guide.
The Installation page lists several ways to install VILLASnode on your machine.
For this guide, we recommend to use the VILLASnode Docker image on your workstation.
To open an interactive terminal in the VILLASnode Docker container run:
For some Lab assignments two interactive shells are required. To open a second shell, run the following command:
Before we start to use the VILLASnode tools, we will introduce some terminology:
VILLASnode is a collection of command line tools which follow the Unix philosophy:
In this guide we will show the following tools:
Tool | Purpose |
---|---|
villas node | The main VILLASnode deamon. |
villas signal | A signal generator for testing and training purposes. |
villas pipe | Send / receive samples to / from nodes via standard IO streams. |
villas hook | Filter or manipulate samples provided via standard IO streams. |
villas compare | Compare multiple files/streams containing sample data. |
villas conf2json | Convert libconfig-style formatted configuration files to JSON format. |
villas convert | Convert sample data files/streams between different supported formats. |
villas graph | Generate a graphical representation of the VILLASnode configuration file with Graphviz. |
A complete reference of all available options for those tools can be found on the Usage page.
To get you started quickly, we prepared a series of small demos which you can try yourself.
All configurations files are available here: https://git.rwth-aachen.de/acs/public/villas/node/tree/master/etc/labs
This webinar was recorded during the preparation of the RT-SuperLab demonstration.