Understanding SpectrumInterferenceTestCase Unit Test

17 views
Skip to first unread message

Bengi Mizrahi

unread,
May 9, 2017, 9:47:32 AM5/9/17
to ns-3-users
Hi,

I am trying to understand the SpectrumInterferenceTestCase but kind of stuck in spectrum-interference-test.cc line 169.

It says:

// Power Spectral Density of the signal of interest  = [-46 -48] dBm;

However, when I convert 1.255943215755e-15 to dBm, I calculate: -119.0103 dBm.

What am I missing?

Best Regards,
Bengi

Tommaso Pecorella

unread,
May 9, 2017, 7:23:34 PM5/9/17
to ns-3-users
Hi,

what formula are you using ?

T.

Bengi Mizrahi

unread,
May 10, 2017, 2:07:04 AM5/10/17
to ns-3-users

Hi,

I used this link. It uses: 


What formula has been being used in this unit test?

Best Regards,
Bengi

Bengi Mizrahi

unread,
May 10, 2017, 2:23:01 AM5/10/17
to ns-3-users
Hi,

I think I got it wrong. I should have multiplied -46dBm (the power spectral density) with the band width of the used band, right?

Best Regards,
Bengi

Bengi Mizrahi

unread,
May 10, 2017, 2:59:49 AM5/10/17
to ns-3-users
Hi,

Ok. Seems like -46dBm happens to be not the PSD but the total power used for the subband. But I think the comment is misleading.

Best Regards,
Bengi

Tommaso Pecorella

unread,
May 10, 2017, 12:02:09 PM5/10/17
to ns-3-users
Perhaps the comment is not perfect. However it's a test, not something meant to be studied :P

Cheers,

T.
Reply all
Reply to author
Forward
0 new messages