Regarding ns3 and 5G LENA

202 views
Skip to first unread message

satya singh

unread,
May 5, 2024, 12:16:15 PM5/5/24
to ns-3-users
HI, i am trying to simulate beamforming scenario in ns3 , can anyone tell me resources which can guide me regarding this , and i also want to know whether 5G LENA is a part of ns3 or not , please suggest me some literature about this .

satya singh

unread,
May 5, 2024, 12:20:09 PM5/5/24
to ns-3-users
also i want to know whether ns3 can provide all beamforming related modules  without any external library?

Gabriel Ferreira

unread,
May 5, 2024, 4:44:54 PM5/5/24
to ns-3-users
5G-LENA is distributed separately from upstream ns-3.

You can find it here: https://gitlab.com/cttc-lena/nr/

For a beamforming scenario example, see examples/cttc-realistic-beamforming.cc or examples/rem-beam-example.cc

satya singh

unread,
May 6, 2024, 8:06:18 AM5/6/24
to ns-3-users
Thank you for previous response, actually i said that i want to simulate beamforming so i have installed that nr module in contrib directory of ns3 i am currently using and tried to run 2 examples, i am getting error shown below , actually i am working in ns-o-ran so i have configured ns3 in that way given in this https://openrangym.com/tutorials/ns-o-ran and the repository i am currently using is https://github.com/wineslab/ns-o-ran-ns3-mmwave.

Is there anything more needed to configure??
Screenshot from 2024-05-06 17-29-08.png

Gabriel Ferreira

unread,
May 6, 2024, 10:19:09 AM5/6/24
to ns-3-users
You're doing a lot of weird stuff.
First is using Waf.
Second is mixing nr and mmwave, which are different things.
Third is copying examples to the scratch directory and hoping that it will work without the rest of the module.

satya singh

unread,
May 6, 2024, 10:33:09 AM5/6/24
to ns-3-users
actually ns-o-ran is using ns3 v3.6 , at that time waf was the primary command used to build and configure , that's why i am using waf instead of ns3 , and since 5g supports mmwave that's why i cloned mmwave module as documented in OpenRAN GYM https://openrangym.com/tutorials/ns-o-ran  and please tell me whether i have to add other module in ns3 src directory to work with it , actually i have downloaded nr version 2.1 which is compatible with ns3 version 3.6 as documented in gitlab nr repository , how i should proceed further , can you help me out?

satya singh

unread,
May 7, 2024, 11:24:38 AM5/7/24
to ns-3-users
Hi, @Gabriel , Can you please tell me how can i use NR module along with ns-o-ran , it will be helpful for me.

Gabriel Ferreira

unread,
May 9, 2024, 2:57:58 PM5/9/24
to ns-3-users
You don't. ns-o-ran requires a specific version of mmwave which implements the E2 termination at the gNB. NR currently doesn't have those.

satya singh

unread,
May 9, 2024, 5:41:05 PM5/9/24
to ns-3-users
Thank you for your response , Is it  feasible to impliment beamforming in ns3 with the help of mmwave module.
Reply all
Reply to author
Forward
0 new messages