## 5 Results of the WDM and OAM Channel Allocation Methods
### Algorithms for Allocation Methods Used in the WDM Operating Technology
### Algorithms for Allocation Methods Used in the Combination of OAM/WDM Operating Technologies

The combination of OAM and WDM operating technologies can utilize allocation methods for both WDM and OAM channels. So, introduced Algorithms 4-6 combine output parameters determinations from previous algorithms for allocation methods used to a separate operating technology, where first the available OAM channels are allocated, and then the WDM channels are assigned. \begin{table
\begin{tabular}{c c c c c c} \hline \hline  & **Static** & **Dynamic** & **Dynamic Customized** \\ \hline A total number of utilized optical & & & & & & \\ fibers \(N_{\text{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{                                         }}}}}}} }}}}}}}} & 1} & 1 & 1 \\ A number of possible WDM channels per & & & & & & \\ optical fiber \(N_{\text{{{{{Ch-WDMperOFOF}}}}}}\) & & & & & & \\ A total number of utilized WDM & & & & & & \\ channels \(N_{\text{{{{{{{{{{{{{{{{{{{{\leftleftleftleft{{\leftleft{{ {   {           } }}}}}} }{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{                                     }}}}}



_Photonics_**2025**, _12_, 632 ```
**Algorithm 4** The Static Allocation Method in the OAM&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 channel allocation to the ONU--the first OAM channel \(OAM_{1}\) on the first wavelength channel \(\lambda_{1}\) is assigned to the first ONU
4. If (Are all OAM channels served by the actual wavelength \(\lambda_{j}\)?) 5. Then The selection of the next wavelength \(\lambda_{j+1}\)
6. Else End If
7. The OAM channel allocation to the ONU--the separate OAM channel \(OAM_{ONUi}\) is assigned to each ONU
8. The calculation of the delays \(D_{ONUi}\)
9. The bandwidth allocation of ONU requests \(BR_{ONUi}\) on the assigned wavelength and OAM channels
10. The calculation of other result values
11. If (Are all ONU served?) 12. Then If (Are there optional functions?) 13. Then The selection of the optional function And Go to line 1
14. Else End If
15. Else Go to line 3
16. End If ```
**Algorithm 5** The Dynamic Allocation Method in the OAM&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 channel allocation to the ONU--the first OAM channel \(OAM_{1}\) on the first wavelength channel \(\lambda_{1}\) is assigned to the first ONU
4. If (Are all OAM channels served by the actual wavelength \(\lambda_{j}\)?) 5. Then The selection of the next wavelength \(\lambda_{j+1}\)
6. Else End If
7. If (Can be the next ONUi+1 served by the last assigned OAM channel \(OAM_{k}\)?) 8. Then The calculation of the ONU delay \(D_{ONUi+1}\)
9. Else The new OAM channel \(OAM_{k+1}\) and the zero delay is assigned to the ONUi+1

**And** The calculation of the total wavelength delay \(D_{total}\)
10. End If
11. The bandwidth allocation of ONU requests \(BR_{ONUi+1}\) on the assigned OAM channel
12. The calculation of other result values
13. If (Are all ONU served?) 14. Then If (Are there optional functions?) 15. Then The selection of the optional function And Go to line 1
16. Else End If
17. Else Go to line 4
18. End If ```
**Algorithm 6** The OAM and WDM-PON network
```
1. Loading of input parameters
2. Customization of the requested bandwidth demands according to the SLA
3. Functions for the auxiliary calculations
3A. The Overloaded function
3B. The Ordered function
3C. The Transmitted function
4. The channel allocation to the ONU--the first OAM channel \(OAM_{1}\) on the first wavelength channel \(\lambda_{1}\) is assigned to the first ONU
5. If (Are all OAM channels served by the actual wavelength \(\lambda_{j}\)?) 6. Then The selection of the next wavelength \(\lambda_{j+1}\)
7. Else End If
8. If (Can be the next ONU\({}_{i+1}\) served by the last assigned OAM channel \(OAM_{k}\)?) 9. Then The calculation of the ONU delay \(D_{ONUi+1}\)
10.