## 5 Results of the WDM and OAM Channel Allocation Methods
### Algorithms for Allocation Methods Used in the WDM Operating Technology  
The WDM operating technology can utilize wavelength channel allocation methods where introduced Algorithms 1-3 present a relatively simple way of the output parameters determination. As shown in Table 1, the output parameters of three allocation methods were analyzed in the WDM-PON. One of the most important findings that can be presented is the fact that the static allocation method achieves the highest efficiency of the WDM channel utilization \(\eta_{\textit{CH-WDM}}\) (more than 50%). On the other hand, two other methods can offer outstanding possible WDM channel savings \(\sigma_{\textit{CH-WDM}}\) (85.19% and 88.89%, respectively), more than twice the static method. ```
1. Loading of input parameters
2. Functions for the auxiliary calculations
2A. The Overloaded function
2B. The Ordered function
2C. The Transmitted function
3. The wavelength allocation to the ONU--the separate wavelength channel \(\lambda_{\textit{ONU}i}\) is assigned to each ONU
4. The calculation of the delays \(D_{\textit{ONU}i}\)
5. The bandwidth allocation of the requested bandwidth for particular ONU units \(BR_{\textit{ONU}i}\) on the assigned wavelength \(\lambda_{\textit{ONU}i}\)
6. The calculation of other result values
7. If (Are all ONU served?) 8. Then If (Are there optional functions?) 9. Then The selection of the optional function And Go to line 1
10. Else End If
11. Else Go to line 3
12. End If
```  
**Algorithm 1** The Static Allocation Method in the WDM-PON network```
1. Loading of input parameters
2. Functions for the auxiliary calculations
2A. The Overloaded function
2B. The Ordered function
2C. The Transmitted function
3. The wavelength allocation to the ONU--the first wavelength channel \(\lambda_{1}\) is assigned to the first ONU
4. If (Can be the next ONU\({}_{i+1}\) served by the last assigned wavelength \(\lambda_{j}\)?) 5. Then The calculation of the ONU delay \(D_{ONUi+1}\)
6. Else The new wavelength \(\lambda_{j+1}\) and the zero delay is assigned to the ONU\({}_{i+1}\)
7. End If
8. The bandwidth allocation of ONU requests \(BR_{ONUi+1}\) on the assigned wavelength
9. The calculation of other result values
10. If (Are all ONU served?) 11. Then If (Are there optional functions?) 12. Then The selection of the optional function And Go to line 1
13. Else End If
14. Else Go to line 4
15. End If
```

**Algorithm 2** The Dynamic Allocation Method in the WDM-PON network

**Algorithm 3** The Dynamic Customized Allocation Method in the WDM-PON network

**Algorithm 4** The Dynamic Customized Allocation Method in the WDM-PON network

**Algorithm 5** The Simulation of the ONU requested bandwidth demands according to the SLA values

**Algorithm 6** The The calculation of the ONU delay \(D_{ONUi+1}\)

**Algorithm 7** The Calculation of the ONU request \(BR_{ONUi+1}\)

**Algorithm 8** The Simulation of the ONU request \(BR_{ONUi+1}\)

**Algorithm 9** The



### Algorithms for Allocation Methods Used in the OAM Operating Technology

OAM operating technology can utilize OAM channel allocation methods in a relatively simple way of the output parameters determination as in the case of the WDM operating technology, where the OAM channels are considered instead of wavelength channels. Therefore, these algorithms are not introduced singly. Output parameters of three allocation methods analyzed in the OAM-PON are presented in Table 2. The most important finding is that only the dynamic customized allocation method can bring the possible OAM channel savings \(\sigma_{\text{{{Ch-OAM}}}}\) (25%). Two other methods fully utilize all available OAM channels. The difference is in the number of utilized optical fibers \(N_{\text{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{}}}}}}}}}}}}}}}}}}}}}}}} }}}\).