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

Error in resource grid 624 subcarriers and 8 streams #623

Closed
alejandroBlancoPizarro opened this issue Oct 17, 2024 · 4 comments
Closed

Error in resource grid 624 subcarriers and 8 streams #623

alejandroBlancoPizarro opened this issue Oct 17, 2024 · 4 comments

Comments

@alejandroBlancoPizarro
Copy link

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

@jhoydis
Copy link
Collaborator

jhoydis commented Oct 18, 2024

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.

@alejandroBlancoPizarro
Copy link
Author

Hello Jakob,

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

Thanks and best regards,
Alejandro

@SebastianCa
Copy link
Collaborator

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.

@alejandroBlancoPizarro
Copy link
Author

Hello @SebastianCa,

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

We can close this issue.

Best,
Alejandro

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

3 participants