nyuwireless-unipd / ns3-mmwave

ns-3 module for simulating mmWave-based cellular systems. See https://ieeexplore.ieee.org/document/8344116/ (open access) as a reference.
GNU General Public License v2.0
302 stars 194 forks source link

mmwave-tcp-tandon #22

Closed daveagustian closed 6 years ago

daveagustian commented 7 years ago

I had ran the mmwave-tcp-tandon.cc scripts and i got the buildings.txt, ENB-UE.txt, UE-TCP CWND and UE-TCP-DATA as the results. Could you explain the features in those files?

MengleiZhang commented 7 years ago

That is a testing example. You do not need to worry about that.

Menglei

On Jun 13, 2017, at 10:34 PM, DavedAgustian notifications@github.com wrote:

I had ran the mmwave-tcp-tandon.cc scripts and i got the buildings.txt, ENB-UE.txt, UE-TCP CWND and UE-TCP-DATA as the results. Could you explain the features in those files?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

daveagustian commented 7 years ago

My Teacher ask to analyst that results. could you explain to me?

MengleiZhang commented 7 years ago

The Buildings.txt contains the coordinates of each building object. ENB_UE.txt contains the coordinates of ENB and UE of each data transmission, so I can track the movement of UE. UE-TCP-CWND.txt contains the congestion window dynamics, the last one contains the time of receiving each packet and packet size.

On Jun 14, 2017, at 12:03 AM, DavedAgustian notifications@github.com wrote:

My Teacher ask to analyst that results. could you explain to me?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

daveagustian commented 7 years ago

i got an error like this: assert failed. cond="m_roomX <= building->GetNRoomsX ()", file=../src/buildings/model/mobility-building-info.cc, line=93 terminate called without an active exception Command ['/home/ns-allinone-3.26/ns-3.26/build/scratch/mmwave-tcp-indoor'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run --command-template="gdb --args %s "). while i run the mmwave-tcp-indoor. what should i do?

MengleiZhang commented 7 years ago

You cannot place a user in a building object without setting the NumOfRoomx, NumOfFloors.

Menglei

On Jun 17, 2017, at 11:10 AM, DavedAgustian notifications@github.com wrote:

i got an error like this: assert failed. cond="m_roomX <= building->GetNRoomsX ()", file=../src/buildings/model/mobility-building-info.cc, line=93 terminate called without an active exception Command ['/home/ns-allinone-3.26/ns-3.26/build/scratch/mmwave-tcp-indoor'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run --command-template="gdb --args %s "). while i run the mmwave-tcp-indoor. what should i do?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

daveagustian commented 7 years ago

please correct if i am wrong, so the mmwave-tcp-indoor is LOS channel model and mmwave-tcp-tandon is NLOS channel model. so user can compute the SNIR from both channel.

mychele commented 7 years ago

Hi, This is not correct. You can use any channel condition, it depends on the reciprocal position of the base station and the user, and on the obstacles which are in the middle. In particular, the indoor example uses the model for indoor scenarios. Michele

Il 19 giu 2017 05:26, "DavedAgustian" notifications@github.com ha scritto:

please correct if i am wrong, so the mmwave-tcp-indoor is LOS channel model and mmwave-tcp-tandon is NLOS channel model. so user can compute the SNIR from both channel.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nyuwireless/ns3-mmwave/issues/22#issuecomment-309330038, or mute the thread https://github.com/notifications/unsubscribe-auth/AG1b5cM44Iw3lfnM5VavtDqmOL3p7Tjhks5sFep9gaJpZM4N5Zv6 .

daveagustian commented 7 years ago

Dear Mr. Menglei, I was worked to get to know the movements of eNB's and UE's by used NetAnim but both did not appears. I was added this scripts:

include "ns3/netanim-module.h"

. . . nimationInterface anim ("mmwave-tandon1.xml"); anim.SetConstantPosition (ueNodes.Get(1), 6, 10); anim.SetConstantPosition (ueNodes.Get(2), 10, 20); anim.SetConstantPosition (ueNodes.Get(3), 15, 40);

and i got this : AnimationInterface WARNING:Node:0 Does not have a mobility model. Use SetConstantPosition if it is stationary AnimationInterface WARNING:Node:1 Does not have a mobility model. Use SetConstantPosition if it is stationary AnimationInterface WARNING:Node:2 Does not have a mobility model. Use SetConstantPosition if it is stationary assert failed. cond="n", file=../src/netanim/model/animation-interface.cc, line=289 terminate called without an active exception Command ['/home/ns-allinone-3.26/ns-3.26/build/scratch/mmwave-tcp-tandon'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run --command-template="gdb --args %s ").

any advices, please ?

MengleiZhang commented 7 years ago

I never used NetAnim, so I probably could not help.

On Jul 12, 2017 9:21 AM, "DavedAgustian" notifications@github.com wrote:

Dear Mr. Menglei, I was worked to get to know the movements of eNB's and UE's by used NetAnim but both did not appears. I was added this scripts:

include "ns3/netanim-module.h"

. . . nimationInterface anim ("mmwave-tandon1.xml"); anim.SetConstantPosition (ueNodes.Get(1), 6, 10); anim.SetConstantPosition (ueNodes.Get(2), 10, 20); anim.SetConstantPosition (ueNodes.Get(3), 15, 40);

and i got this : AnimationInterface WARNING:Node:0 Does not have a mobility model. Use SetConstantPosition if it is stationary AnimationInterface WARNING:Node:1 Does not have a mobility model. Use SetConstantPosition if it is stationary AnimationInterface WARNING:Node:2 Does not have a mobility model. Use SetConstantPosition if it is stationary assert failed. cond="n", file=../src/netanim/model/animation-interface.cc, line=289 terminate called without an active exception Command ['/home/ns-allinone-3.26/ns-3.26/build/scratch/mmwave-tcp-tandon'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run --command-template="gdb --args %s ").

any advices, please ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nyuwireless/ns3-mmwave/issues/22#issuecomment-314821704, or mute the thread https://github.com/notifications/unsubscribe-auth/AMHLyfHbjAk0PQ4mX6471YhPKanHPgNjks5sNPKTgaJpZM4N5Zv6 .

hshrad commented 7 years ago

I got this error:

assert failed. cond="m_roomX <= building->GetNRoomsX ()", file=../src/buildings/model/mobility-building-info.cc, line=93

Would you please let me know how to set the NumOfRoomx and NumOfFloors?

MengleiZhang commented 7 years ago

Then you just set these parameters.

Menglei

On Aug 6, 2017, at 12:56 PM, hshrad notifications@github.com wrote:

I got a error You cannot place a user in a building object without setting the NumOfRoomx, NumOfFloors.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

hshrad commented 7 years ago

Would you please let me know how to set the NumOfRoomx and NumOfFloors?

My other issue is that I want to design a GUI for a 5G scenario in which there are 4 buildings and I need to generate the SINR map for all of the spots of my map. I saw in ur answers that you are not using NetAnim for graphical user interfaces. What do you suggest in this regard? Is there any relevant example that you have considered so that I can use?

MengleiZhang commented 7 years ago

Just set all parameters to 1 should be fine. I have not done anything like this, so I probably cannot help you with it.

Menglei

On Aug 6, 2017, at 1:02 PM, hshrad notifications@github.com wrote:

Would you please let me know how to set the NumOfRoomx and NumOfFloors?

My other issue is that I want to design a GUI for a 5G scenario in which there are 4 buildings and I need to generate the SINR map for all of the spots of my map. I saw in ur answers that you are not using NetAnim for graphical user interfaces. What do you suggest in this regard? Is there any relevant example that you have considered so that I can use?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

hshrad commented 7 years ago

As far as I see these parameters are all set in the building.cc file. Would you please clarify which file you mean?

MengleiZhang commented 7 years ago

Her is an example of set these parameters in the example script.

Ptr < Building > building; building = Create (); building->SetBoundaries (Box (20.0, 40.0, 0.0, 20.0, 0.0, 20.0)); building->SetBuildingType (Building::Residential); building->SetExtWallsType (Building::ConcreteWithWindows); building->SetNFloors (1); building->SetNRoomsX (1); building->SetNRoomsY (1);

On Aug 6, 2017, at 1:02 PM, hshrad notifications@github.com wrote:

Would you please let me know how to set the NumOfRoomx and NumOfFloors?

My other issue is that I want to design a GUI for a 5G scenario in which there are 4 buildings and I need to generate the SINR map for all of the spots of my map. I saw in ur answers that you are not using NetAnim for graphical user interfaces. What do you suggest in this regard? Is there any relevant example that you have considered so that I can use?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.