This project implements a mixed-criticality automotive Ethernet backbone using Time-Sensitive Networking (TSN) mechanisms, simulated in OMNeT++ 6.2.0 with the INET 4.5.4 framework.
The final topology and simulation configurations are located under the final/ folder:
/src/final # Most important folder
├── carTopology.ned # Final NED network topology
└── omnetpp.ini # Final simulation parameters (TAS, VLAN/PCP, PSFP)
The project includes:
- Safety-critical controls:
BrakeCommand,SteerAssistCommand,TorqueLimitCommand→ PCP 7 - Perception sensors (radar, camera) → PCP 5
- Background/best-effort diagnostic load:
DoorsDiagLog→ PCP 2 - Standards integrated:
802.1AS (gPTP),802.1Q (VLAN + PCP tagging),802.1Qbv (TAS scheduling),802.1Qci (PSFP ingress filtering + policing)
The code in
omnetpp.iniis very well documented, with comments and sections for every part of the implementation. This helps to understand the implementation of TSN mechanisms in OMNeT++/INET and the configurations used.
We tested the project with the following versions in a Windows 11 environment using OMNeT++ IDE through opp_env:
| Requirement | Version |
|---|---|
| OMNeT++ | 6.2.0 |
| INET Framework | 4.5.4 |
- Open the project in OMNeT++ IDE.
- Select the desired configuration in
omnetpp.ini - Run the simulation.
- Export the results from
.scaand.vecfiles to a CSV or other suitable format for analysis. - Analyze the results using the provided Jupyter Notebooks in the
TSN Python Analysis/folder.