florasim / flora

This is a set of modules to simulate LoRa networks
Other
53 stars 39 forks source link

simulation can't complete #64

Closed Sehamibrahem closed 2 years ago

Sehamibrahem commented 2 years ago

hi I'm new in flora, when I made build to the file, the building process complete and the qenv screen appear and I can see the packets transmission but the simulation process remain at (0%) and the simulation files don't appear. I don't know the reason. can any one help me? I'm working on windows 10, omnetpp 6 pro 12, inetmannet4.x thank you WhatsApp Image 2022-06-16 at 1 14 44 PM

mariuszslabicki commented 2 years ago

Hi!

We have published a new version of FLoRa, and added also manual how to setup a basic simulation. You can find more details here: https://flora.aalto.fi/

Sehamibrahem commented 2 years ago

Hi

HI Mariusz Slabicki

Thank you for your attention. I have a question about your code for calculating transmission time depending on duty cycle (new feature ) and coding rate. Can you explain how you

calculate the transmission time in (simple LoRaAPP.CC) file. as for example at sf = 7, you used the equation (49.408 + loRaCR*7.168) / loRaDC / 10.0. what's these constants??? I can't understand it. thank you for your help seham ibrahem PhD student

‫في الاثنين، 20 يونيو 2022 في 10:16 ص تمت كتابة ما يلي بواسطة ‪Mariusz Slabicki‬‏ @.***‬‏>:‬

Hi!

We have published a new version of FLoRa, and added also manual how to setup a basic simulation. You can find more details here: https://flora.aalto.fi/

— Reply to this email directly, view it on GitHub https://github.com/florasim/flora/issues/64#issuecomment-1160122094, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZVCSGBGY6FDWBP2KO5D74LVQASHVANCNFSM5Y6OHQSQ . You are receiving this because you authored the thread.Message ID: @.***>

mariuszslabicki commented 2 years ago

Hi

Could you point me out to the file where you mean the loRaDC is used?

Generally it is about LoRa Airtime formula, you can search it online: https://www.thethingsnetwork.org/airtime-calculator/ https://avbentem.github.io/airtime-calculator/ttn/eu868

If you want explicit description of this formula, you can find it in the Application Note AN1200.13, chapter 4 The LoRa Packet Format & Time On Air. I haven't searched for it for a very long time, but it seems it is available here: https://lora-developers.semtech.com/documentation/product-documents/

Best regards, Mariusz

Sehamibrahem commented 2 years ago

Hi Mariusz Thank you for your help. I checked the application note AN1200.13 chapter 4 but i didn't find the transmission time formula which depends on duty cycle and coding rate. The file that explain the calculation of transmission time depending on coding rate and duty cycle in your code is found in https://github.com/florasim/flora/pull/6/commits/560cc412af793b8fb83782633a952d9ccf01e6d6 . Could you check it and explain it to me. Best regards seham ibrahem PhD student

‫في الاثنين، 20 يونيو 2022 في 9:02 م تمت كتابة ما يلي بواسطة ‪Mariusz Slabicki‬‏ @.***‬‏>:‬

Hi

Could you point me out to the file where you mean the loRaDC is used?

Generally it is about LoRa Airtime formula, you can search it online: https://www.thethingsnetwork.org/airtime-calculator/ https://avbentem.github.io/airtime-calculator/ttn/eu868

If you want explicit description of this formula, you can find it in the Application Note AN1200.13, chapter 4 The LoRa Packet Format & Time On Air. I haven't searched for it for a very long time, but it seems it i available here: https://lora-developers.semtech.com/documentation/product-documents/

Best regards, Mariusz

— Reply to this email directly, view it on GitHub https://github.com/florasim/flora/issues/64#issuecomment-1160758188, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZVCSGH7QV4REGAUGM23TJDVQC53LANCNFSM5Y6OHQSQ . You are receiving this because you authored the thread.Message ID: @.***>