Replies: 5 comments 2 replies
-
Hello @Sina7474, Could you please share a full script, as a text file ( PDF files are not a good way to share code, and the included code will not run on its own (e.g. scene loading and imports are missing), so we cannot use it to reproduce and investigate your issue. |
Beta Was this translation helpful? Give feedback.
-
Hello @merlinND Thank you so much for the reply, I attached a ZIP file that includes the related code with .py format and also the scene files. It will run on your machine just by changing the address of the .xml file in the code for the loading of the scene. Thanks in advance for your concern and help and kind regards, |
Beta Was this translation helpful? Give feedback.
-
Hi @Sina7474 , The mismatch you're observing is due to the resolution of the coverage map not being high enough to accurately capture the interference pattern resulting from using an antenna array at the transmitter. You can try increasing the resolution of the coverage map by reducing the size of the cells. However, note that more samples could then be required to ensure all cells capture enough rays to provide an accurate estimate. The code snippet below generates two coverage maps that share the same configuration, except for the cell size. It is clear that the low-resolution coverage map provides only a coarse capture of the interference pattern.
Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Hi @faycalaa Thank you very much for providing the code and the detailed explanation. Could you also confirm which formula or line of code is correct for the path gain calculation using the CIR approach? I still have some doubts about which formula or code is appropriate when dealing with a multi-element array to obtain the correct result. All the best, |
Beta Was this translation helpful? Give feedback.
-
This line is correct:
This is because by default (when
is applied when computing the coverage map (see the corresponding documentation). |
Beta Was this translation helpful? Give feedback.
-
I have encountered an issue with pathgain calculation and would greatly appreciate your expertise on this issue.
I have approached the pathgain calculation in two ways:
path_gain_1 = to_db(tf.reduce_sum(tf.abs(a)**2))
To validate the results, I compared the pathgain values in dB for the tile where the user is located in the first approach. The results match when both Tx and Rx have a single antenna element. However, when using a multi-antenna array at the Tx (e.g., 1x16), the results diverge significantly, despite both approaches being simulated under identical conditions (considering only reflection and LoS components).
I also reviewed the Sionna source code for calculating the coverage map, but I still could not identify the issue.
I provided a snippet of my code that I am using to calculate the pathgain in two approaches:
Pathgain.pdf
Beta Was this translation helpful? Give feedback.
All reactions