I’m working with an OMNeT++ simulator (version 4.6) that uses the INET framework for network simulation. My goal is to establish real-time communication between the running simulation and a Python machine learning algorithm.
The simulation needs to continuously send network metrics like signal quality measurements and node position data to the Python program. The Python side processes this information to train a model that optimizes network performance.
Once the Python model calculates the best configuration parameters, it must send these control commands back to the OMNeT++ simulation while it’s still running.
What’s the best approach to set up this bidirectional communication between these two separate processes? I need both programs to exchange data without stopping the simulation.