A discrete-event network simulator for TSN
Ubuntu 18.04 or Windows 10
python==2.7, simpy==3.0.13, pandas==0.24.2, matplotlib==2.2.3,
Step-1: Edit the simulation parameters in file "ini". Choose the ned file for simulating the appropriate experiment-A configuraiton. e.g., to simulate experiment-A, configuration-1, set sim_time = 100e-3 and ned_file = "ned_exp_a_conf_1.py"
Step-2: Type the following command, $ sudo python run.py
Packets received by the terminals are stored in the file./results/traffic/ts
For plotting packet latencies, you may also use the plt_latency.py script in ./tools
Step-1: Edit the simulation parameters in file "ini". Choose the ned file for simulating the appropriate experiment-A configuraiton. e.g., to simulate experiment-B, configuration-ST/BE ration method for CT=50us, set sim_time = 100e-3 and ned_file = "ned_exp_b_stbe_50u.py"
Step-2: Type the following command, $ sudo python run.py
Packets received by the terminals are stored in the file./results/traffic/ts
For plotting packet latencies, you may also use the plt_latency.py script in ./tools
Step-1: Edit the simulation parameters in file "ini". Choose the ned file for simulating the appropriate experiment-A configuraiton. e.g., to simulate experiment-D, configuration-1, set sim_time = 100e-3 and ned_file = "ned_exp_d_conf_1_rev2.py" and to simulate configuration-2, set ned_file = "ned_exp_d_conf_2_rev2.py"
Step-2: Type the following command, $ sudo python run.py
Packets received by the terminals are stored in the file./results/traffic/ts
For plotting packet latencies, you may also use the plt_latency.py script in ./tools