fix: PMD was not correctly read from excel or exported from json

Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com>
Change-Id: I1069b07dfb62bf94d4f591908c034df4e49ce22a
This commit is contained in:
EstherLerouzic
2025-02-28 19:28:44 +01:00
parent bce42331c4
commit b0ac41e2d5
11 changed files with 141 additions and 43 deletions

View File

@@ -101,7 +101,7 @@ Transceiver trx Lorient_KMA
OSNR ASE (0.1nm, dB): 23.89
OSNR ASE (signal bw, dB): 19.81
CD (ps/nm): 2171.00
PMD (ps): 0.46
PMD (ps): 3.03
PDL (dB): 0.00
Latency (ms): 0.64
Actual pch out (dBm): 0.00

View File

@@ -101,7 +101,7 @@ Transceiver trx Lorient_KMA
OSNR ASE (0.1nm, dB): mode_1: 23.91, mode_2: 23.87
OSNR ASE (signal bw, dB): mode_1: 19.83, mode_2: 16.78
CD (ps/nm): 2171.00
PMD (ps): 0.46
PMD (ps): 3.03
PDL (dB): 0.00
Latency (ms): 0.64
Actual pch out (dBm): mode_1: 0.00, mode_2: 0.00

View File

@@ -52,7 +52,7 @@ Transceiver Site_B
OSNR ASE (0.1nm, dB): 33.30
OSNR ASE (signal bw, dB): 29.21
CD (ps/nm): 1336.00
PMD (ps): 0.36
PMD (ps): 0.85
PDL (dB): 0.00
Latency (ms): 0.39
Actual pch out (dBm): 0.00

View File

@@ -377,8 +377,8 @@ def wrong_element():
"expected_msg": "Config error in fiber (ILA2 → ILA1): "
+ "Fiber configurations json must include \'length_units\'. Configuration: "
+ "{\'length\': 100.0, \'loss_coef\': 0.2, \'att_in\': 0, \'con_in\': 0, \'con_out\': 0, "
+ "\'type_variety\': \'SSMF\', \'dispersion\': 1.67e-05, \'effective_area\': 8.3e-11, "
+ "\'pmd_coef\': 1.265e-15}"
+ "\'pmd_coef_defined': False, \'pmd_coef\': 1.265e-15, "
+ "\'type_variety\': \'SSMF\', \'dispersion\': 1.67e-05, \'effective_area\': 8.3e-11}"
})
return data