You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The propagate method of Class Roadm in gnpy.core.elements.py should be improved.
target_pch_out_db is used to calculate carriers_att. However, effective_pch_out_db (rather than target_pch_out_db) is used to update p_spani. The meanning of effective_pch_out_db is not clear.
As shown in the code, exceeding_att is introduced when carrier_power is lower than target_pch_out_db ( why not effective_pch_out_db?). In this case, it's reasonable to tunning the value of effective_pch_out_db accordingly. However, this step is missed.
p.s. The involved codes are between line 223 and line 243 in gnpy.core.elements.py
The text was updated successfully, but these errors were encountered:
Describe the bug
The propagate method of Class Roadm in gnpy.core.elements.py should be improved.
p.s. The involved codes are between line 223 and line 243 in gnpy.core.elements.py
The text was updated successfully, but these errors were encountered: