Hi, I want to simulate the OSNR in a real-world optical networks. When using GNpy to build networks and create spectral information, I have the following questions:
- The build_network function requires pref_ch_db and pref_total_db. The nominal power displayed in the network management system is 1dBm, but only about 20 channels (out of 80 channels) are used, the average channel power should be about -1dBm. How should I set pref_ch_db?
- In the examples of GNPy, all channel powers are set to the same value. However, I noticed that create_arbitrary_spectral_information function allows me to create spectral information with varying channel powers. Does this non-flat power spectrum simulate the same way as the flat one? Can tx_osnr be set to different values for different channels?