Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no class variable warnings and windspeed doing nothing #16

Open
juvebogdan opened this issue Feb 27, 2024 · 1 comment
Open

no class variable warnings and windspeed doing nothing #16

juvebogdan opened this issue Feb 27, 2024 · 1 comment
Assignees

Comments

@juvebogdan
Copy link

juvebogdan commented Feb 27, 2024

Hello,

I am trying to run test_uwtdma.tcl and this is the output i get:

`warning: no class variable Module/UnderwaterChannel::propSpeed_

    see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Module/UW/PHYSICAL::TxPower_

    see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Module/UW/PHYSICAL::NoiseSPD_

warning: no class variable Module/UW/PHYSICAL::ConsumedEnergy_

Node 0 created
warning: no class variable Module/UW/PHYSICAL::TxPower_

    see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Module/UW/PHYSICAL::NoiseSPD_

warning: no class variable Module/UW/PHYSICAL::ConsumedEnergy_

Node 1 created
warning: no class variable Module/UW/PHYSICAL::TxPower_

    see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Module/UW/PHYSICAL::NoiseSPD_

warning: no class variable Module/UW/PHYSICAL::ConsumedEnergy_

Node 2 created

Starting Simulation

./TDMA_node_5_.out
./TDMA_node_6_.out
./TDMA_node_7_.out

Simulation summary

Total simulation time : 1000 s
Number of nodes : 3
Packet size : 1250 byte(s)
CBR period : 10 s

Mean Throughput : 992.4934251666665
MAC sent Packets : 587
MAC received Packets : 587
MAC upper_pcks_rx : 587
CBR sent Packets : 587.0
CBR received Packets : 587.0
Packets in buffer : 0
PER CBR (0,1) : 0.000000
PER CBR (1,0) : 0.000000
PER CBR (0,2) : 0.000000
PER CBR (2,0) : 0.000000
PER CBR (1,2) : 0.000000
PER CBR (2,1) : 0.000000 `

Should i be worried with all those warnings?

I have set it like this in the script:

Channel

MPropagation/Underwater set practicalSpreading_ 2
MPropagation/Underwater set debug_ 0
MPropagation/Underwater set windspeed_ 10
MPropagation/Underwater set shipping_ 1

The if i change for example to:

Channel

MPropagation/Underwater set practicalSpreading_ 2
MPropagation/Underwater set debug_ 0
MPropagation/Underwater set windspeed_ 1
MPropagation/Underwater set shipping_ 1

I get:

warning: no class variable Module/UnderwaterChannel::propSpeed_

    see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Module/UW/PHYSICAL::TxPower_

    see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Module/UW/PHYSICAL::NoiseSPD_

warning: no class variable Module/UW/PHYSICAL::ConsumedEnergy_

Node 0 created
warning: no class variable Module/UW/PHYSICAL::TxPower_

    see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Module/UW/PHYSICAL::NoiseSPD_

warning: no class variable Module/UW/PHYSICAL::ConsumedEnergy_

Node 1 created
warning: no class variable Module/UW/PHYSICAL::TxPower_

    see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Module/UW/PHYSICAL::NoiseSPD_

warning: no class variable Module/UW/PHYSICAL::ConsumedEnergy_

Node 2 created

Starting Simulation

./TDMA_node_5_.out
./TDMA_node_6_.out
./TDMA_node_7_.out

Simulation summary

Total simulation time : 1000 s
Number of nodes : 3
Packet size : 1250 byte(s)
CBR period : 10 s

Mean Throughput : 992.4934251666665
MAC sent Packets : 587
MAC received Packets : 587
MAC upper_pcks_rx : 587
CBR sent Packets : 587.0
CBR received Packets : 587.0
Packets in buffer : 0
PER CBR (0,1) : 0.000000
PER CBR (1,0) : 0.000000
PER CBR (0,2) : 0.000000
PER CBR (2,0) : 0.000000
PER CBR (1,2) : 0.000000
PER CBR (2,1) : 0.000000

I also changed cbr period to 10.

These results does not seem to be fine for so different wind speeds. Also for different shipping_ values prints exaclt the same results
I would also add that changing
set opt(propagation_speed) 1500;# m/s
also does nothing. if i set this to something weird like 2m/s simulation results are the same

@fedefava86 fedefava86 self-assigned this May 7, 2024
@fedefava86
Copy link
Contributor

Thx @juvebogdan , we'll watch into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants