Skip to main content
. 2019 Dec 15;19(24):5546. doi: 10.3390/s19245546
Algorithm 1: Automatic Radio Map Ray-Tracing (ARM-RT) Generation
Input: Building Map, Relative Permittivity List,AccessPoint List 
Output: Automatic Radio Map Ray Tracing(ARMRT)
1: Defining a Finite Panel (Walls)
2: 3D Formation of the Structure
3: Calculating Fresnel Coefficients for Walls
4: For i1 to size (wall.xyz1,1) do
5: find reflection and transmission Fresnel coefficient for each wall
6: End For
7:   Meshing the Boundary Volume and Assign the RX height 
8:   Calculating the Distance of TX(s) from every mesh node RXi
9: For i1 to  do
10: find the distance 
11: End For
12: Equating the Panels (Walls) in 3D
13:   finding the projection of TX on each panel
14:   calculating the reflection (mirror) of TX across each panel
15: Calculating the 2nd Image of TX across each wall
16: Calculating LOS Components
17: Calculating Multipath & Reflection Components
18: find the reflection coefficient
19: count the walls between reflection paths
20: find the antenna gain and beam departure angle
21: calculating the angle of arrival
22: find the walls between TX and the reflection point
23: find finite walls between reflection point and RX
24: find the number of walls between reflection paths
25: calculate the received signal at RX from the reflection point on wall j 
26: calculate 2nd reflection 
27: Drawing the Maps 
28: LOS Propagation Map Only (a)
29: 1st Reflection Propagation Map Only (b)
30: 2nd Reflection Propagation Map Only (c)
31: LOS and Propagation Map=a+b+c
32: Return ARMRT