sionna icon indicating copy to clipboard operation
sionna copied to clipboard

Error in resource grid 624 subcarriers and 8 streams

Open alejandroBlancoPizarro opened this issue 1 year ago • 2 comments

Dear Sionna community,

I am trying to simulate a 5G link using 10MHz (624 subcarriers) and 8 streams.

However, I got an error when calling the ResourceGrid function. This error applies only to 8 streams, for 2 and 4 streams works fine.

The Sionna version is 0.16.

Below is a screenshot of the error. I understand from the error that the size of the calculated pilots is not the same as the allocated positions of the pilots, but I am not sure how to handle it.

Screenshot from 2024-10-17 08-29-24

alejandroBlancoPizarro avatar Oct 17 '24 07:10 alejandroBlancoPizarro

Hi @alejandroBlancoPizarro,

Thanks for reporting this issue. We'll look into it. In the meantime, you could just create a custom pilot pattern yourself. It should not be too difficult. Just allocate random QAM symbols for every stream on non-overlapping elements of the OFDM symbols dedicated to pilots. Just look at the patterns for 2 and 4 streams as examples.

jhoydis avatar Oct 18 '24 15:10 jhoydis

Hello Jakob,

Ok, I will try your solution, it looks feasible to me.

Thanks and best regards, Alejandro

alejandroBlancoPizarro avatar Oct 22 '24 10:10 alejandroBlancoPizarro

Hi @alejandroBlancoPizarro,

The issue with your code is that num_effective_subcarriers=612 is not a multiple of num_streams=8. Sionna should raise an assertion in such cases. This will be fixed in the next release of Sionna.

As a workaround, you can either remove the guard carriers (including DC nulling) or adjust the fft_size accordingly.

SebastianCa avatar Nov 26 '24 10:11 SebastianCa

Hello @SebastianCa,

Thanks for the clarification. I removed the guard carriers and the error is gone.

We can close this issue.

Best, Alejandro

alejandroBlancoPizarro avatar Dec 05 '24 08:12 alejandroBlancoPizarro