mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-10-29 17:22:42 +00:00
The recent refactor removed a default pref in case of transceivers-OMS (amplified links starting with a transceiver). This resulted in a mismatch between input power during design (default 0 forced in the function) and the design ref power using SI power_dbm. This change ensures that the same power is used for the input power and for the design ref power, and avoid inconsistent gain computatiion. The code has been using the same power input (SI power_dbm) to define the power target out of a transceiver and the target out of amplifiers (at the input of fibers). This will be changed in a future patch. Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com> Change-Id: I610c8df19039bcf156a8ba77c79114b22913a538