New to NS-3

45 views
Skip to first unread message

Peter Danko

unread,
Apr 3, 2025, 8:40:19 AMApr 3
to 5G-LENA-users
Hello guys, im a student of computer networks and i need help to learn/make code in ns-3 for my project. 
I was trying to find videos of people explaining and coding in ns-3 but most of the videos contain only installation tutorials and talk about what is ns-3 or talk about basics. 
I also tried using chatgpt but it sucks for help with ns-3. 
So i need your guys help. I need to make a pretty simple project, atleast it sounds simple.
I need to make a 5G network (3 antenna nodes, multiple set UE nodes) and make them send data between eachother. The UE nodes need to connect to each gNB while they move around them and connect to the closest gNB. When this is done, the UE nodes move, the gNB nodes are staying still and they are successfully sending data i need to test different parameters. Such as bandwidth, central frequency, number of resource blocks, numerology. Just changing some basic PHY layer parameters. After that i need to print this data into console and save them somewhere. 
I am not asking for someone to code this for me (but if possible that would help a lot).
I just need some direction so i can learn from somewhere because right now im lost. Thanks a lot for any response. :) Anything will help.

Eduardo Fabricio

unread,
Apr 3, 2025, 9:16:49 AMApr 3
to Peter Danko, 5G-LENA-users
Hello Peter,

The examples/ folder contains some samples. You can create your scripts using different uses and configurations. You can also find some code for extracting the measures and variables to set for each simulation. I recommend starting with a simple scenario, aggregating and modifying variables, and verifying the results to compare later. It's also interesting to version the scripts to differentiate and simulate again later if necessary. Here is the documentation for LENA NR. You can find the variables you need. 5G-LENA: 5G-LENA



--
You received this message because you are subscribed to the Google Groups "5G-LENA-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 5g-lena-user...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/5g-lena-users/f2da8f2d-c53e-468b-ac4e-79d01af175c7n%40googlegroups.com.

Biljana B.

unread,
Apr 9, 2025, 5:59:01 AMApr 9
to 5G-LENA-users

Hi Peter, did you try to follow 5G-LENA tutorial of cttc-nr-demo? It is true that for one to be able to follow it, it is required the understanding of ns-3 in general. Anyway, you can find the link here: https://cttc-lena.gitlab.io/nr/cttc-nr-demo-tutorial.pdf. I also agree with Eduardo, there are many examples that you can use, and change these parameters that you mention. Maybe cttc-3gpp-indoor-calibration, it has multiple gnbs. 

Kind regards,
Biljana
Reply all
Reply to author
Forward
0 new messages