LTE-related questions

619 views
Skip to first unread message

Michele Amoretti

unread,
Dec 5, 2012, 3:28:45 PM12/5/12
to ns-3-...@googlegroups.com
Hello,

recently I have installed ns-3.15, which I would like to use for simulating the transmission of packets among a couple of UEs, attached to the same ENB, using LTE.

I have two questions (plus some basic issues to solve):

1) Is it possible to configure the ENB in order to take into account the (realistically randomized) presence of other UEs (which I cannot explicitly define, since they are assumed to be random), which affect the communication between the two UEs I want to explicitly define? 

2) How can I simulate the transmission of single packets from one UE to the other?

I have compiled the lena-simple.cc basic example, modified in order to have 2 UEs (instead of 1).

However, I do not understand what is being simulated. The main problem is that no trace file is generated, even if the following code is inserted:

lteHelper->EnableTraces();

Before the run() method is called, it seems there is only configuration instructions, the last one being:

 // Activate an EPS Bearer including the setup of the Radio Bearer between an eNB and its attached UE
  enum EpsBearer::Qci q = EpsBearer::GBR_CONV_VOICE;
  EpsBearer bearer (q);
  lteHelper->ActivateEpsBearer (ueDevs, bearer, EpcTft::Default ());

As input-defaults.txt I have used:

default ns3::LteHelper::PathlossModel "ns3::FriisSpectrumPropagationLossModel"
default ns3::LteEnbNetDevice::UlBandwidth "25"
default ns3::LteEnbNetDevice::DlBandwidth "25"
default ns3::LteEnbNetDevice::DlEarfcn "100"
default ns3::LteEnbNetDevice::UlEarfcn "18100"
default ns3::LteUePhy::TxPower "10"
default ns3::LteUePhy::NoiseFigure "9"
default ns3::LteEnbPhy::TxPower "30"
default ns3::LteEnbPhy::NoiseFigure "5"



Help is greatly appreciated!

Thank you in advance

Michele Amoretti

Biljana Bojović

unread,
Dec 5, 2012, 9:18:54 PM12/5/12
to ns-3-...@googlegroups.com
Hi,

For the second question that you asked about traces, check if you have setup in simulation Rem output as true, if it is true, put it to false and try again. Problem could be that automatical setup of Rem helper is that once it finished generation of rem gnuplot files it stops simulation program, thus no traces are generated.

Best regards,
Biljana

Michele Amoretti

unread,
Dec 6, 2012, 5:04:50 AM12/6/12
to ns-3-...@googlegroups.com
Dear Biljana,

I do not have set REM output as true. Is it set by default? In this case, how can I turn it off?

Best
Michele

Marco Miozzo

unread,
Dec 6, 2012, 5:18:56 AM12/6/12
to ns-3-...@googlegroups.com
Dear Michele,

the problem you'are experiencing in lena-simple should due to the very limited simulation time used in the examples (i.e., 5 ms), I suggest to use a higher value.
For what concern UE interconnectivity I suggest to move to more complex examples, like lena-simple-epc, since such kind of connection involves also the core part of the network.

Best regards,
marco.



--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/lDvrTdjZa4IJ.

To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.

Biljana Bojović

unread,
Dec 7, 2012, 2:56:05 PM12/7/12
to ns-3-...@googlegroups.com
Hi Michele,

sorry I was referring to another example program.  I was thinking on lena-dual-stripe in which if generateRem is set to "true", usually rem files are generated, but stats files not, because of the reason that I explained before.

Biljana

Michele Amoretti

unread,
Dec 7, 2012, 3:17:08 PM12/7/12
to ns-3-...@googlegroups.com
Dear Marco,

I have extended the simulation time to 10 seconds but I still do not see trace files. Where should they be created and how should they be called?

Best
Michele

Marco Miozzo

unread,
Dec 10, 2012, 4:12:51 AM12/10/12
to ns-3-...@googlegroups.com
Dear Michele,

the traces by default are placed in the root folder of ns3 and the name of the files are:DlMacStats.txt  DlPdcpStats.txt  DlRlcStats.txt  out.txt  UlMacStats.txt  UlPdcpStats.txt  UlRlcStats.txt.
The traces are activated through the helper with the method EnableTraces () (by default commented in lena-simple.cc). I've just tried in lena-dev and it works on my machine.

Best regards,
marco.





To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/7VoEcR6XCaQJ.

Michele Amoretti

unread,
Dec 10, 2012, 4:14:11 AM12/10/12
to ns-3-...@googlegroups.com
Dear Marco,

I have tried the lena-simple-epc, that one works perfectly.

Thank you for the support.

Best regards
Michele

Michele Amoretti

unread,
Dec 10, 2012, 7:45:16 AM12/10/12
to ns-3-...@googlegroups.com
I have modified the lena-simple-epc, in order to have:

1 eNB
n UE
no remote host

The setup is:
1) downlink communication, with an UdpClient application on the LTE UE #1 (UE ID 2 in the traces), and a PacketSink on the LTE UE #0 (UE ID 1 in the traces)
2) uplink communication, with an UdpClient application on on the LTE UE #0 (UE ID 1 in the traces), and a PacketSink on the  LTE UE #1 (UE ID 2 in the traces)
3) there are also some flows between UE pairs; for these flows, otherPort is used, and both client and server are installed on a UE.

Everything seems to work fine, but I have noticed that if the total number of UE is 10, all logs are created. If it is higher, e.g. 20, only UlMacStats.txt is created. 
Why?

Thanks
Michele

Michele Amoretti

unread,
Dec 12, 2012, 8:27:52 AM12/12/12
to ns-3-...@googlegroups.com
Hi all, I still haven't solved the problem of missing traces with too many UEs.

I have another (related) question.

I would like to get the RLC information for one specific UE, at runtime. 
For example, I would like to compute (at the end of the simulation) the average delay for one UE, from time 0 to the end of the simulation time, and print it in the console.

How can I get such information?

Thank you
Michele

svsanan...@gmail.com

unread,
Dec 17, 2012, 2:04:44 AM12/17/12
to ns-3-...@googlegroups.com
Hello Mr.Michele Amoretti

 I am an Masters pursuing student in Embedded and wireless-technology so as part of my course i have chosen LTE as my final year project so can you help me out in doing some project work in LTE.

i have tried to patch LTE in ns2 but i was failed to patch it. so now i am confused what to do exactly. can you suggest me anything regarding this catch state of mine.

Thanking You in Advance.

Michele Amoretti

unread,
Dec 17, 2012, 3:53:17 AM12/17/12
to ns-3-...@googlegroups.com
Hi,

this mailing list is for ns-3, not ns-2.

I am using ns-3.15, which comes with the Lena LTE package (no need to patch).

Best regards
Michele

anand sharma

unread,
Dec 17, 2012, 3:58:59 AM12/17/12
to ns-3-...@googlegroups.com
Okay , If possible can you send the download links of ns3.15 and the hardware requirements for the installation of it. 

I will also work on ns3.15

Thanking you in Advance.


--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/zUgCnMvPspwJ.

Michele Amoretti

unread,
Dec 17, 2012, 4:09:48 AM12/17/12
to ns-3-...@googlegroups.com
This is the link:

Michele

anand sharma

unread,
Dec 17, 2012, 4:19:41 AM12/17/12
to ns-3-...@googlegroups.com
Thank You .


To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/z5eg7s26xisJ.
Reply all
Reply to author
Forward
0 new messages