A Remote Interface for Live Interaction with OMNeT++ Simulations Maximilian Köstler and Florian Kauer OMNeT++ Community Summit 2017 September 8 th , 2017 Institute of Telematics Institute of Telematics TUHH TUHH Hamburg University of Technology Hamburg University of Technology
Motivation Motivation Motivation - IEEE 802.15.4 DSME beacon beacon ... beacon CAP CFP channel superframe multi-superframe multi-superframe beacon interval DSME promises wireless multi-hop communication without collisions. M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 2 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 2
Motivation Motivation Motivation - IEEE 802.15.4 DSME beacon beacon ... beacon CAP CFP channel superframe multi-superframe multi-superframe beacon interval DSME promises wireless multi-hop communication without collisions. M. Köstler, F. Kauer, T. Lübkert, V. Turau, Towards an Open Source Implementation of the IEEE 802.15.4 DSME Link Layer . Proceedings of the 15. GI/ITG KuVS Fachgespräch Sensornetze, 2016 F. Kauer, M. Köstler, T. Lübkert, V. Turau, openDSME - A Portable Framework for Reliable Wireless Sensor and Actuator Networks . Demonstration at the International Conference on Networked Systems, 2017 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 2 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 2
Motivation Motivation An Interactive Demonstration M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 3 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 3
Situation and Requirements Situation and Requirements An Interactive Demonstration M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 4 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 4
Situation and Requirements Situation and Requirements An Interactive Demonstration The OMNeT++ GUI is made for developing and not for presenting . M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 4 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 4
Situation and Requirements Situation and Requirements An Interactive Demonstration The OMNeT++ GUI is made for developing and not for presenting . M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 4 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 4
Situation and Requirements Situation and Requirements An Interactive Demonstration The OMNeT++ GUI is made for developing and not for presenting . � Very detailed information � Deep menu trees � Attached to a single simulation M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 4 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 4
Situation and Requirements Situation and Requirements An Interactive Demonstration The OMNeT++ GUI is made for developing and not for presenting . � Very detailed information � Deep menu trees � Attached to a single simulation ⇒ Not designed for demonstrations ⇒ Can not aggregate live data from multiple sources M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 4 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 4
Situation and Requirements Situation and Requirements Requirements Remote Interaction / Visualisation for Demonstrations Remote Interaction / Visualisation for Demonstrations View Events / Results Select Presented Data Prepare Topologies View / Manipulate Topology owner visitor Change Parameters Choose Parameters M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 5 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 5
Situation and Requirements Situation and Requirements Requirements Remote Interaction / Visualisation for Demonstrations Remote Interaction / Visualisation for Demonstrations View Events / Results Select Presented Data Prepare Topologies View / Manipulate Topology owner visitor Change Parameters Choose Parameters � Merge data from multiple simulations � Move interface to different (possibly mobile) device M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 5 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 5
Software Architecture Software Architecture Software Architecture OMNeT++ Simulation OMNeT++ Simulation Mobility Mobility Module Module WAMP Tra ffi c Server Tra ffi c Module Module Live Recorder M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 6 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 6
Software Architecture Software Architecture Software Architecture OMNeT++ Simulation OMNeT++ Simulation Mobility Mobility Module Module WAMP WAMP Tra ffi c Server Server Tra ffi c Module Module Live Live Recorder Recorder M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 6 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 6
Software Architecture Software Architecture Software Architecture OMNeT++ Simulation OMNeT++ Simulation Mobility RPC Mobility Module Module WAMP WAMP Tra ffi c Server Server Tra ffi c RPC Module Module Live Live Pub/Sub Recorder Recorder M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 6 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 6
User Interface User Interface Simple and Modular User Interface M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 7 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 7
Contribution and Future Work Contribution and Future Work Contribution � Framework for exchanging data between OMNeT++ simulations and front ends � Uses existing protocols (WAMP) � Enables modular GUI based on web technology � Repositories at https://github.com/openDSME/ � opplive � inet-dsme M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 8 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 8
Contribution and Future Work Contribution and Future Work Discussion � Could be done the same way for any other simulator � Goal: Move functionality into OMNeT++ � Introduce generic result recording and parameter manipulation M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 9 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 9
Contribution and Future Work Contribution and Future Work Discussion � Could be done the same way for any other simulator � Goal: Move functionality into OMNeT++ � Introduce generic result recording and parameter manipulation front end OMNeT++ M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 9 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 9
Contribution and Future Work Contribution and Future Work Discussion � Could be done the same way for any other simulator � Goal: Move functionality into OMNeT++ � Introduce generic result recording and parameter manipulation front end OMNeT++ OMNeT++ M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 9 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 9
A Remote Interface for Live Interaction with OMNeT++ Simulations Maximilian Köstler and Florian Kauer OMNeT++ Community Summit 2017 September 8 th , 2017 Institute of Telematics Institute of Telematics TUHH TUHH Hamburg University of Technology Hamburg University of Technology
< div id =" power_chart_container " class =" draggable ui − widget − content "> < div class =" handle ">< h2 >Total Power Consumption [m W] < / h2 >< / div > < / div > < script > var dsme_wsuri = "ws : / / localhost :9002 " ; var csma_wsuri = "ws : / / localhost :9003 " ; var power_statistics = new PowerStatisticsModule ( " power_chart_container " , [ dsme_wsuri , csma_wsuri ] , [ "DSME" , "CSMA" ] ) ; < / script > M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 11 M. Köstler, F . Kauer A Remote Interface for Live Interaction with OMNeT++ Simulations 11
Recommend
More recommend