We present MoonLight, a tool for monitoring temporal and spatio-temporal properties of mobile and spatially distributed cyber-physical systems (CPS). In the proposed framework, space is represented as a weighted graph, describing the topological configurations in which the single CPS entities (nodes of the graph) are arranged. Both nodes and edges have attributes modelling physical and logical quantities that can change in time. MoonLight is implemented in Java and supports the monitoring of Spatio-Temporal Reach and Escape Logic (STREL). MoonLight can be used as a standalone command line tool, as a Java API, or via Matlab interface. We provide here some examples using the Matlab interface and we evaluate the tool performance also by comparing with other tools specialized in monitoring only temporal properties.
@article{arxiv.2104.14333,
title = {MoonLight: A Lightweight Tool for Monitoring Spatio-Temporal Properties},
author = {Ezio Bartocci and Luca Bortolussi and Michele Loreti and Laura Nenzi and Simone Silvetti},
journal= {arXiv preprint arXiv:2104.14333},
year = {2021}
}