Telecominfraproject/oopt-gnpy

What are the meanings of “con in” and “con out” in the propagation function respectively?

zodical416 opened this issue · 5 comments

In the function "propagation", there are two parameters “con in” and “con out” I don't know their meanings. I'd appreciate it if you could tell me!Thanks!

You're referring to this function in the test suite, right? These are connector losses. Just wondering -- any particular reason why this function caught your interest?

You're referring to this function in the test suite, right? These are connector losses. Just wondering -- any particular reason why this function caught your interest?

Thanks for your answer! I hope to use this function to calculate the OSNR of the light path, and I find this function can output the OSNR information.

I'm also working on this project, and I have a problem, sometimes the output OSNR is a positive number but SNR is a negative number. So could you tell me what is the general reason for this? Thanks!

ojnas commented

I'm also working on this project, and I have a problem, sometimes the output OSNR is a positive number but SNR is a negative number. So could you tell me what is the general reason for this? Thanks!

OSNR and (G)SNR are just signal-to-noise ratios and there is nothing fundamental about positive vs. negative (in dB). A negative SNR just means you have more noise than signal power. In GNPy, OSNR only includes contributions from amplifier ASE noise, while (G)SNR also includes NLI (i.e. contributions from nonlinear fiber propagation). If there is a large difference between OSNR and (G)SNR, it means propagation is very nonlinear and you should probably check if your input parameters are reasonable. Also if you have very low (G)SNR (even negative) it means no optical transceiver will be able to decode the signal so you should again check your input parameters.

I'm also working on this project, and I have a problem, sometimes the output OSNR is a positive number but SNR is a negative number. So could you tell me what is the general reason for this? Thanks!

OSNR and (G)SNR are just signal-to-noise ratios and there is nothing fundamental about positive vs. negative (in dB). A negative SNR just means you have more noise than signal power. In GNPy, OSNR only includes contributions from amplifier ASE noise, while (G)SNR also includes NLI (i.e. contributions from nonlinear fiber propagation). If there is a large difference between OSNR and (G)SNR, it means propagation is very nonlinear and you should probably check if your input parameters are reasonable. Also if you have very low (G)SNR (even negative) it means no optical transceiver will be able to decode the signal so you should again check your input parameters.

Thanks a lot!