Replies: 4 comments 1 reply
-
|
Hey @xwh0625, Regarding the second question: As of now, MOSAIC doesn't support newer OMNeT++ versions. We of course are interested in supporting them and are also highly interested in 5G simulations. In fact, @hoelger is currently working with a student on upgrading Omnet, though I'm not sure how fast progress will be and what the desired versions are. Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
|
Dear xwh0625, We have an internal version supporting OMNeT 6.1 which will be merged as soon as we have the time to propperly review it. To be realistic I assume that this will be merged and available some time in August. |
Beta Was this translation helpful? Give feedback.
-
|
For the integration of cell capabilites, please find the updated protocol in this branch: https://github.com/hoelger/mosaic/tree/1057-lte-in-ns3.36-integration I assume that this will be merged to main in August, too. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks to the hard work of @Jacenty00 we now have a first version where omnet is able to support 5G cellular communication! See branches here: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear MOSAIC Development Team,
I hope this email finds you well. I am currently using Eclipse MOSAIC for a project focused on vehicle-to-cloud collaborative traffic control and I have two questions about its capabilities.
My goal is to use an external Python script to dynamically manage the number of vehicles in the simulation. The script's logic is to maintain a constant number of vehicles by intelligently adding new ones to less congested areas, similar to the logic in the provided script. This script would connect to the SUMO instance managed by MOSAIC via TraCI.
However, I have encountered persistent connection issues. My Python script consistently fails to connect to the SUMO instance, receiving a ConnectionRefusedError: [WinError 10061].
We have tried a comprehensive set of configurations to enable this co-simulation, including:
Ensuring the SumoGuiAmbassador is used in runtime.json.
Setting "allowExternalConnections": true in the SUMO configuration.
Setting a fixed public port, e.g., "port": 8813.
Adding commandLineOptions to support multiple clients, specifically "--num-clients", "2".
Strictly following the execution order: starting MOSAIC first, waiting for the SUMO GUI to appear and run, and only then starting the Python script.
The final diagnostic test we performed was to run SUMO directly from the command line, completely separate from MOSAIC, using the same parameters (e.g., sumo-gui.exe -c your_config.sumocfg --remote-port 8813 --num-clients 2). This test also failed, suggesting that the version of SUMO in my environment may be incompatible with the --num-clients parameter.
Could you please advise on the officially recommended method for enabling an external Python/TraCI script to connect to and control a MOSAIC-managed SUMO instance? Is this a known issue, or is there a different configuration approach we should be taking?
My second question is about network simulation capabilities. I am very interested in integrating Simu5G into my scenario to simulate V2X communication over a 5G network. Simu5G requires OMNeT++ version 6.0.3 or newer.
Does the current MOSAIC OMNeT++ federate support these newer versions of OMNeT++ (6.0.3 and above)? If not, are there any plans for this support in a future release?
Thank you for your time and for developing this powerful tool. Any guidance you could provide on these two topics would be greatly appreciated.
Best regards,
Beta Was this translation helpful? Give feedback.
All reactions