{"id":48684495,"url":"https://github.com/comnetshh/manet-trace-based-simulations","last_synced_at":"2026-04-11T03:55:32.543Z","repository":{"id":122873731,"uuid":"400265651","full_name":"ComNetsHH/MANET-Trace-Based-Simulations","owner":"ComNetsHH","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-26T19:59:38.000Z","size":349,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-04-11T03:55:31.341Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ComNetsHH.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-08-26T18:18:47.000Z","updated_at":"2025-04-27T12:12:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"93503f4a-b1a1-4414-948e-1610f6b368f8","html_url":"https://github.com/ComNetsHH/MANET-Trace-Based-Simulations","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ComNetsHH/MANET-Trace-Based-Simulations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComNetsHH%2FMANET-Trace-Based-Simulations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComNetsHH%2FMANET-Trace-Based-Simulations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComNetsHH%2FMANET-Trace-Based-Simulations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComNetsHH%2FMANET-Trace-Based-Simulations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ComNetsHH","download_url":"https://codeload.github.com/ComNetsHH/MANET-Trace-Based-Simulations/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComNetsHH%2FMANET-Trace-Based-Simulations/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31668050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-11T03:55:31.894Z","updated_at":"2026-04-11T03:55:32.522Z","avatar_url":"https://github.com/ComNetsHH.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![DOI](https://zenodo.org/badge/400265651.svg)](https://zenodo.org/badge/latestdoi/400265651)\n# Trace-based Simulations of MANETs\nTo perform network simulations for aircraft aeronautical adhoc networks we use the following components:\n- Aircraft mobility model: here we use the [BonnMotionMobility](https://doc.omnetpp.org/inet/api-current/neddoc/inet.mobility.single.BonnMotionMobility.html) model that uses aircraft traces to configure aircraft movements.\n- The location of the ground station. \n- Scenario manager: here we use the [ScenarioManager](https://doc.omnetpp.org/inet/api-current/neddoc/inet.common.scenario.ScenarioManager.html) module to switch aircraft on when they enter the simulation constraint area and switch them off when they leave it.\n- Data traffic application: here we use the [UdpTraceBasedApp](https://github.com/ComNetsHH).\n- MAC Protocol: here we use an abstract [TdmaMac](https://github.com/ComNetsHH/omnet-tdma).\n- Radio Model: here we use the [TraceBasedRadio](https://github.com/ComNetsHH).\n\nIn the following, a schematic of the scenario considered in this example is given:\n\n\u003cimg src=\"schema.png\" alt=\"drawing\" width=\"600\"/\u003e\n\n## Getting Started\n1. Please download [inet-4.2.5](https://github.com/inet-framework/inet/tree/v4.2.5) for OMNeT++ 5.6.2 and import it into the simulator.\n    - after you import it, to use the scenario manager we need to modify \"src/inet/common/scenario/ScenarioManager.cc\" using the \"scenario_patch.diff\" patch file.\n    - for that you need to run the following command from the directory containing \"ScenarioManager.cc\" (e.g., using your git console in case you are using windows):                    \n      `patch -i \u003cabsolute-path-to-the-patch-file\u003e/scenario_patch.diff`\n2. Please clone [omnet-tdma](https://collaborating.tuhh.de/e-4/Research/omnet-tdma) and import it into OMNet++.  \nTo build it you need to do the following steps:\n    1. INET must be set as a project reference. This is done by right-clicking on the TDMA project in the Project Explorer and navigating to `Properties-\u003e Project References -\u003e Select inet -\u003e Apply and Close`    \n    2. Ensure the build modes of all projects are identical (all `release` or all `debug`): This is done by right-clicking on each project in the Project Explorer and navigating to `Build Configuration -\u003e Set Active -\u003e \u003cmode\u003e`\n    3. The `include paths` from INET must be added to this project such that you can write classes in your project which inherit INET classes. For that, you need to right-click on TDMA in the Project Explorer and navigate to `Properties -\u003e OMNeT++ -\u003e Makemake`, select the `src` folder in the list and then click `Options` in the right panel. \n    4. Go to the `Target` tab and make sure that `Shared library ...` is checked.\n    5. Now go to the `Compile` tab and make sure all checkboxes are checked. \n    6. Move to the `Link` tab and make sure that the `Link with libraries exported from...` checkbox is checked. \n    7. Finally, `Apply and Close` and you should be able to `build` the TDMA project without errors as a project dependent on INET project.\n3. Repeat step 2 for the `UdpTraceBasedApp` and `TraceBasedRadio` projects.\n4. Please clone this repo and import it to your workspace. Then apply the same steps done above for the other projects except the following:\n    1. For the step 2.1 add `inet` project as a reference and also the newly added `UdpTraceBasedApp`, `TdmaMac` and `TraceBasedRadio` projects.\n    2. You can skip step 2.4.    \nNow you should be able to run this example simulation project that depends on the `INET`, `UdpTraceBasedApp`, `TdmaMac` and `TraceBasedRadio` projects.    \n5. Navigate to `manet-example-simulation/omnet-summit.ini` in the OMNeT++ IDE and click run. This will trigger the build of `inet` as well as `UdpTraceBasedApp`, `TdmaMac` and `TraceBasedRadio` projects and start an example simulation.\n6. Run the following command in the terminal to extract the results into a .csv file using the OMNeT++'s scavetool:\n```\ncd ~/omnetpp/samples/manet-example-simulation/results/\nscavetool export -f 'module(example_simulation.groundStation.app[*]) AND name(\"packetReceived:count\")' -o Packet_received_100.csv scenario_100*.sca\nscavetool export -f 'module(example_simulation.groundStation.app[*]) AND name(\"packetReceived:count\")' -o Packet_received_200.csv scenario_200*.sca\nscavetool export -f 'module(example_simulation.groundStation.app[*]) AND name(\"packetReceived:count\")' -o Packet_received_300.csv scenario_300*.sca\nscavetool export -f 'module(example_simulation.groundStation.app[*]) AND name(\"packetReceived:count\")' -o Packet_received_400.csv scenario_400*.sca\nscavetool export -f 'module(example_simulation.groundStation.app[*]) AND name(\"packetReceived:count\")' -o Packet_received_500.csv scenario_500*.sca\n```\n7. The python result analysis script that generates the figure of the received packets and sent packets vs the number of aircraft could be run using:\n```\npython result_analysis_received_sent_vs_no_of_aircraft.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomnetshh%2Fmanet-trace-based-simulations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomnetshh%2Fmanet-trace-based-simulations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomnetshh%2Fmanet-trace-based-simulations/lists"}