Aldalbahias / VLC

We provide visible light communication (vlc) module that is implemented using NS3 to simulate large-scale vlc.Please refer to the doc directory for more details.
GNU General Public License v2.0
20 stars 16 forks source link

Cannot get goodput #2

Open fr3man1 opened 7 years ago

fr3man1 commented 7 years ago

Hi, I have been trying to run this simulation, to get goodput graphs, but cant make it work.

Distance : 16 30.0628 inf

Distance : 16.5 26.5813 inf

And so on.

Is there a simple fix for this ? Because i have already look all parameters and tried modifying their values. Did not help. Thanks !

Aldalbahias commented 7 years ago

Hello Fr3man1,

Please use the last version of this simulator. As mentioned it should be compatible with ns3 x.25.

ktsik commented 4 years ago

Hi,

I have been trying to run this simulation in ns3.30, but fail to get goodput results. Is it working in ns3.25, and is the code still maintained?

Thanks Ktsik

electronicengine commented 4 years ago

Hi,

Goodput data is always at infinity

Thanks Yusuf.

ktsik commented 4 years ago

Hi again,

How then did you get the throughput data reported at your papers, like for instance in figure 4 of your paper "Extending ns3 to simulate VLC at network level"
I run the script shown in fig.3 in the same paper. image After doing some debugging I observed that the packets are successfully received by Relay A (via ndAp_Relay DeviceContainer) but they are never received by Relay B (via ndRelayAp_RelayMt2 device container, VLC Channel in yellows). I tried with ns3 version v3.25, for which VLC module was written, withought modifying anything (script or VLC model). So, it seems that something goes wrong with your model.

Thanks, Ktsik

electronicengine commented 4 years ago

Hi again,

How then did you get the throughput data reported at your papers, like for instance in figure 4 of your paper "Extending ns3 to simulate VLC at network level" I run the script shown in fig.3 in the same paper. image After doing some debugging I observed that the packets are successfully received by Relay A (via ndAp_Relay DeviceContainer) but they are never received by Relay B (via ndRelayAp_RelayMt2 device container, VLC Channel in yellows). I tried with ns3 version v3.25, for which VLC module was written, withought modifying anything (script or VLC model). So, it seems that something goes wrong with your model.

Thanks, Ktsik

Hi.

I have testded the scripts too. I found same results.

Aldalbahias commented 4 years ago

Dear Ktsik,

As far as I know, yes the code should work fine under 3.25 version of ns3. Being honest with you, I have not worked on the code since then. Therefore, this is the only version I have so far.

Thank you

On Fri, Oct 18, 2019 at 10:37 AM ktsik notifications@github.com wrote:

Hi,

I have been trying to run this simulation in ns3.30, but fail to get goodput results. Is it working in ns3.25, and is the code still maintained?

Thanks Ktsik

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Aldalbahias/VLC/issues/2?email_source=notifications&email_token=ACXTM27R5CASRUILO2F5T3DQPFRTTA5CNFSM4DIV42PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBTDZ7Q#issuecomment-543571198, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXTM2YKZANUFKEZMJ36ZS3QPFRTTANCNFSM4DIV42PA .

Aldalbahias commented 4 years ago

Hello, Not sure what results you found! Just to keep you updated, I have not maintain the code since 2017 but as far as I remember, it used to work fine with ns-3 version 3.25.

Thank you.

On Sat, Dec 14, 2019 at 7:37 PM electronicengine notifications@github.com wrote:

Hi again,

How then did you get the throughput data reported at your papers, like for instance in figure 4 of your paper "Extending ns3 to simulate VLC at network level" I run the script shown in fig.3 in the same paper. [image: image] https://user-images.githubusercontent.com/56050237/70773341-dfbd5200-1d7f-11ea-9654-e883cfbe651d.png After doing some debugging I observed that the packets are successfully received by Relay A (via ndAp_Relay DeviceContainer) but they are never received by Relay B (via ndRelayAp_RelayMt2 device container, VLC Channel in yellows). I tried with ns3 version v3.25, for which VLC module was written, withought modifying anything (script or VLC model). So, it seems that something goes wrong with your model.

Thanks, Ktsik

Hi.

I have testded the scripts too. I found same results.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Aldalbahias/VLC/issues/2?email_source=notifications&email_token=ACXTM22YATKUN4L26NS757TQYUDV7A5CNFSM4DIV42PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG4GKGI#issuecomment-565732633, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXTM2Z7YGBAAUM2EIX2UJ3QYUDV7ANCNFSM4DIV42PA .

ktsik commented 4 years ago

Hi,

As I explained in my previous the module was tested with the original script as downloaded from your repository. Apart from me, some others reported exactly the same results. Since the code does not work and is not maintained, I just wanted to become people aware to avoid wasting time with this.

Thanks,