ldacs_simulator
The central piece of the LDACS MCSOTDMA Simulator, providing an installation script that downloads the other simulator components, defines simulation scenarios, result evaluation and graph creation.
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.2%) to scientific vocabulary
Repository
The central piece of the LDACS MCSOTDMA Simulator, providing an installation script that downloads the other simulator components, defines simulation scenarios, result evaluation and graph creation.
Basic Info
- Host: GitHub
- Owner: ComNetsHH
- License: lgpl-3.0
- Language: Python
- Default Branch: master
- Size: 4.46 MB
Statistics
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
- Releases: 4
Metadata Files
README.md
The L-Band Digital Aeronautical Communications System (LDACS) simulator provides an installation script for the simulator that downloads the other simulator components, defines simulation scenarios and provides result evaluation and graph creation.
Copyright (C) 2023 Sebastian Lindner, Konrad Fuger, Musab Ahmed Eltayeb Ahmed, Andreas Timm-Giel, Institute of Communication Networks, Hamburg University of Technology, Hamburg, Germany
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
This repository is part of the L-Band Digital Aeronautical Communications System (LDACS) Air-Air (A/A) mode simulator that implements the proposed Medium Access Control (MAC) protocol "Multi Channel Self-Organized TDMA (MCSOTDMA)".
This repository provides an installation script for the simulator that downloads the other simulator components, defines simulation scenarios and provides result evaluation and graph creation.
Overview
Hi there! This is the main repository for all things MCSOTDMA-related.
The simulator is OMNeT++ v5.6.2, together with the inet framework v4.2.5. All custom code is C++, mostly in libraries. To track development on these, they are in their own repos. A wrapper integrates the different components into OMNeT++. All result evaluation and plotting is done with Python.
Installation
tl;dr: install cppunit (for unit testing) and pipenv (for Python-based graph creation) on your system, open install.sh and adjust the number of cores NUM_CPUS to use for compiling; then run ./install.sh if you're on Linux or ./install.sh mac if you're on Mac.
Long version: all simulator components are bundled together into one installation script install.sh.
By passing mac as an argument to the install script, it downloads the Mac version of the OMNeT++ simulator instead of the Linux version; this is the only difference between Linux and Mac versions of this simulator.
Please run it, and pay attention to the output.
For example, it downloads the OMNeT++ simulator of the right version from GitHub.
If this download via wget doesn't succeed, for example because GitHub's servers are beyond their capacity (you'll get a 503 error), then later parts of the script fail.
This is a very simple Bash script, so peek inside, it's easy to understand, and there's no error recovery built-in, so please debug using common sense!
Also cppunit is used for unit testing, so please install this, it is a rather common package and should be available through your package manager.
Result parsing and graph generation is done using Python in respective scripts in scenarios/results/.
The packages that are required for this are installed in local pipenv environments, so make sure that you have pipenv available on your system!
Debug mode
By default, the simulator is compiled in release mode so that simulations run faster.
To compile in debug mode, respective lines are commented-out in the install.sh.
Comment them in if you need debug mode.
If you get errors, chances are high that some component is still in release mode: every LDACS simulator component, the OMNeT++ simulator itself and the inet framework must all be in debug mode.
Navigation
Code
All custom code lives under omnetpp-5.6.2/workspace/<component>.
Except omnetpp-5.6.2/workspace/inet4, that's the a very slightly modified inet framework that comes with the OMNeT++ simulator.
Note that the omnetpp-5.6.2/workspace folder is only populated after installation.
Simulations
All network scenarios live under scenarios.
At first, you won't want to touch these files, but to see the nitty and gritty of the simulation setups, this is where you'll find it.
All results are generated from the scenarios/results folder.
Please go there and read its readme after installation!
Simulator Components
The LDACS MCSOTDMA Simulator is composed of the following parts, which the install.sh downloads:
The OMNeT++ Simulator
v5.6.2 is downloaded from GitHub.com.
The INET Framework
v4.2.5 in a slightly modified version is downloaded from GitHub.com.
The glue Library
v1.1 is downloaded from Zenodo.org.
The RLC Library
v1.1 is downloaded from Zenodo.org.
The ARQ Library
v1.1 is downloaded from Zenodo.org.
The MCSOTDMA Library
v1.0 is downloaded from Zenodo.org.
The Channel Model
v1.0 is downloaded from Zenodo.org.
The Trace-Based App
v1.0 is downloaded from Zenodo.org.
The Wrapper Library
v1.1 is downloaded from Zenodo.org.
The modified GPSR Protocol
v1.0 is downloaded from Zenodo.org.
Owner
- Name: Institute of Communication Networks
- Login: ComNetsHH
- Kind: organization
- Location: Hamburg, Germany
- Website: https://www.tuhh.de/comnets
- Repositories: 41
- Profile: https://github.com/ComNetsHH
Institute of Communication Networks (ComNets) at Hamburg University of Technology (TUHH)
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Lindner
given-names: Sebastian
orcid: https://orcid.org/0000-0002-5694-9675
- family-names: Fuger
given-names: Konrad
orcid: https://orcid.org/0000-0002-8472-1483
- family-names: Ahmed
given-names: Musab Ahmed Eltayeb
orcid: https://orcid.org/0000-0001-5554-3414
- family-names: Timm-Giel
given-names: Andreas
orcid: https://orcid.org/0000-0002-5998-6113
title: "LDACS MCSOTDMA Simulator"
version: 1.0
doi: 10.5281/zenodo.8085497
date-released: 2023-06-26