Research Article

PV-Powered CoMP-Based Green Cellular Networks with a Standby Grid Supply

Table 3

Pseudo code of the proposed energy sharing algorithm for BS .

1:   Initialize:
                    
2:   If
3:    and
4:   
5:   Else
6:   Coordinate with other BSs for sharing solar energy
   Sort the neighboring BSs with respect to stored energy
        i.e., find the set
                 
7:   For
8:    Calculate
                 
9:    If
10:     Share solar energy from
11:     Else
12:      Share solar energy
                      from
13:      If
14:       Stop the algorithm and Go to Step 21
15:       Else
16:        and Go to Step 8
17:      End If
18:    End If
19:     End For
20:   If
21:    
22:    Stop the algorithm
23:    Else
24:     
25:     
26:     End If
27:    End If