File Exchange

image thumbnail

Multi wall (COST231) Signal Propagation Models + Python Code

version 3.0.0.0 (233 KB) by Salaheddin Hosseinzadeh
Estimates the propagation loss using COST231 & free-space path loss models

6 Downloads

Updated 21 Mar 2019

View License

Estimates the path loss using free space, and COST231 models. Provides an estimation map of signal strength.
This a 2D line of sight method, that accounts for the individual walls between the transmitter and receiver. The COST231 is similar to that of Motley-Keenan. Different attenuation factor can be assigned to each wall only using the blueprint image. This is achieved by applying image processing techniques to identify all the walls therefore structure's CAD model is not required. All it needs is an image of the blueprint of the structure (an example of such picture is provided). The blueprint needs to be simple and all the walls should be in straight lines to be detected by the Hough transform (no curves).

Similar thing is done with Python. Except he python code allows for unlimited number of transmitters, and it has a built in least square optimization. If you have practical measurements it will find the attenuation of the wall using least square method. I managed to run the python code in Anaconda as well but I originally wrote the code using Pycharm, there is a readme file inside the Python submission please have a look at that. The code isn't very stable in Anaconda its either the tkinter or matplotlib causing some issues sometimes! Python code also accepts CSV files, examples images and a CSV file (simple one) provided for.
PLEASE READ THE README FILE BEFORE CONTACTING.

Python code was not previously stable in Anaconda, I made some changes to it and it is running now! So I have provided 2 versions, 1 that runs in Pycharm, and one that runs in Anaconda for sure and they are in separate folders.

The codes both MATLAB and Python do the similar thing and you can compare between the two languages if you wish to.
All the best

Cite As

Salaheddin Hosseinzadeh (2019). Multi wall (COST231) Signal Propagation Models + Python Code (https://www.mathworks.com/matlabcentral/fileexchange/61340-multi-wall-cost231-signal-propagation-models-python-code), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (7)

zaza

Hi Sahib Dhanjal
Could you please drop me an email to my Gmail account?
My gmail should be in the code ;)

Amazing Work Salaheddin! I wanted to modify your code a bit for a project to include multiple access points. I'm really new to Signal Propagation and wanted to know if there's any way I can simulate the same for multiple interacting routers? Let's say 3 Access Points to be placed in the map. Would greatly appreciate any help/ inputs from you side

This code is very useful. Great work Mr Hosseinzadeh.

rasta rasta

Great work ! actually am studying about wireless propagation distribution ! and i found this code very useful.
Thanks again Mr Salaheddin for this contribution for telecom network community.

Updates

3.0.0.0

Anaconda compatible code added

2.0.0.0

- File submission description corrected.

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Image overlay, Bresenham optimized for Matlab