# BER Rayleigh Simulation

**URL:** <https://www.ruby-forum.com/t/ber-rayleigh-simulation/239726>\
**Category:** GNU Radio\
**Created:** [March 12, 2014, 4:18am UTC](https://www.ruby-forum.com/t/ber-rayleigh-simulation/239726 "2014-03-12T04:18:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [March 12, 2014, 4:18am UTC](https://www.ruby-forum.com/t/ber-rayleigh-simulation/239726/1 "2014-03-12T04:18:35Z")

</div>

Hello folks,

I’m attempting to simulate the BER against EbN0 performance for BPSK  
under Rayleigh fading channel conditions…

I’ve attempted to modify gr-digital/examples/berawgn.py; notably by  
using channels.fading\_models to simulate the Rayleigh channel.

I’ve also attempted to add a channel model in tandem with the fading  
model as illustrated in  
gr-channels/examples/channel\_tone\_response.grc, to similar  
unsuccessful results.

The simulated BER/EbN0, as indicated in the attached image, does not  
agree with the theoretical curve.

Can someone point me in the right direction as to where I made an error?

Cheers,

Sam
