Add invocation results of -spectrum option

Results correspond to the example of spectrum files

Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com>
Change-Id: I030ecff3b0248f986d9d487edf508b9c448515d1
This commit is contained in:
EstherLerouzic
2021-08-05 17:17:37 +02:00
parent 603b28ac08
commit 7c90ae4809
3 changed files with 204 additions and 2 deletions

View File

@@ -0,0 +1,98 @@
warning: user input for spectrum used for propagation instead of SI
There are 96 channels propagating
Power mode is set to True
=> it can be modified in eqpt_config.json - Span
There are 3 fiber spans over 130 km between trx Lannion_CAS and trx Lorient_KMA
Now propagating between trx Lannion_CAS and trx Lorient_KMA:
Propagating with input power = 0.00 dBm:
Transceiver trx Lannion_CAS
GSNR (0.1nm, dB): 40.00
GSNR (signal bw, dB): 35.92
OSNR ASE (0.1nm, dB): 40.00
OSNR ASE (signal bw, dB): 35.92
CD (ps/nm): 0.00
PMD (ps): 0.00
Roadm roadm Lannion_CAS
effective loss (dB): 20.00
pch out (dBm): -20.00
total pch (dBm): -20.00
Edfa east edfa in Lannion_CAS to Corlay
type_variety: std_medium_gain
effective gain(dB): 21.00
(before att_in and before output VOA)
noise figure (dB): 6.36
(including att_in)
pad att_in (dB): 0.00
Power In (dBm): -0.18
Power Out (dBm): 20.83
Delta_P (dB): 1.00
target pch (dBm): 1.00
effective pch (dBm): 1.00
total pch (dBm): 1.01
output VOA (dB): 0.00
Fiber fiber (Lannion_CAS → Corlay)-F061
type_variety: SSMF
length (km): 20.00
pad att_in (dB): 0.00
total loss (dB): 4.00
(includes conn loss (dB) in: 0.00 out: 0.00)
(conn loss out includes EOL margin defined in eqpt_config.json)
pch out (dBm): -3.00
total pch (dBm): -2.99
Fused west fused spans in Corlay
loss (dB): 1.00
Fiber fiber (Corlay → Loudeac)-F010
type_variety: SSMF
length (km): 50.00
pad att_in (dB): 0.00
total loss (dB): 10.00
(includes conn loss (dB) in: 0.00 out: 0.00)
(conn loss out includes EOL margin defined in eqpt_config.json)
pch out (dBm): -14.00
total pch (dBm): -13.99
Fused west fused spans in Loudeac
loss (dB): 1.00
Fiber fiber (Loudeac → Lorient_KMA)-F054
type_variety: SSMF
length (km): 60.00
pad att_in (dB): 0.00
total loss (dB): 12.00
(includes conn loss (dB) in: 0.00 out: 0.00)
(conn loss out includes EOL margin defined in eqpt_config.json)
pch out (dBm): -27.00
total pch (dBm): -26.99
Edfa west edfa in Lorient_KMA to Loudeac
type_variety: std_high_gain
effective gain(dB): 28.00
(before att_in and before output VOA)
noise figure (dB): 5.92
(including att_in)
pad att_in (dB): 0.00
Power In (dBm): -7.17
Power Out (dBm): 20.87
Delta_P (dB): 1.00
target pch (dBm): 1.00
effective pch (dBm): 1.00
total pch (dBm): 1.05
output VOA (dB): 0.00
Roadm roadm Lorient_KMA
effective loss (dB): 21.00
pch out (dBm): -20.00
total pch (dBm): -20.00
Transceiver trx Lorient_KMA
GSNR (0.1nm, dB): 23.58
GSNR (signal bw, dB): 19.50
OSNR ASE (0.1nm, dB): 23.88
OSNR ASE (signal bw, dB): 19.80
CD (ps/nm): 2171.00
PMD (ps): 0.46
Transmission result for input power = 0.00 dBm:
Final GSNR (0.1 nm): 23.58 dB
(No source node specified: picked trx Lannion_CAS)
(No destination node specified: picked trx Lorient_KMA)

View File

@@ -0,0 +1,98 @@
warning: user input for spectrum used for propagation instead of SI
There are 60 channels propagating
Power mode is set to True
=> it can be modified in eqpt_config.json - Span
There are 3 fiber spans over 130 km between trx Lannion_CAS and trx Lorient_KMA
Now propagating between trx Lannion_CAS and trx Lorient_KMA:
Propagating with input power = 0.00 dBm:
Transceiver trx Lannion_CAS
GSNR (0.1nm, dB): 0-32.0: 40.00, 1-64.0: 40.00,
GSNR (signal bw, dB): 0-32.0: 35.92, 1-64.0: 32.91,
OSNR ASE (0.1nm, dB): 0-32.0: 40.00, 1-64.0: 40.00,
OSNR ASE (signal bw, dB): 0-32.0: 35.92, 1-64.0: 32.91,
CD (ps/nm): 0.00
PMD (ps): 0.00
Roadm roadm Lannion_CAS
effective loss (dB): 20.00
pch out (dBm): -20.00
total pch (dBm): 0-32.0: -20.00, 1-64.0: -20.00,
Edfa east edfa in Lannion_CAS to Corlay
type_variety: std_medium_gain
effective gain(dB): 21.00
(before att_in and before output VOA)
noise figure (dB): 6.36
(including att_in)
pad att_in (dB): 0.00
Power In (dBm): -2.22
Power Out (dBm): 18.79
Delta_P (dB): 1.00
target pch (dBm): 1.00
effective pch (dBm): 1.00
total pch (dBm): 0-32.0: 1.01, 1-64.0: 1.02,
output VOA (dB): 0.00
Fiber fiber (Lannion_CAS → Corlay)-F061
type_variety: SSMF
length (km): 20.00
pad att_in (dB): 0.00
total loss (dB): 4.00
(includes conn loss (dB) in: 0.00 out: 0.00)
(conn loss out includes EOL margin defined in eqpt_config.json)
pch out (dBm): -3.00
total pch (dBm): 0-32.0: -2.99, 1-64.0: -2.98,
Fused west fused spans in Corlay
loss (dB): 1.00
Fiber fiber (Corlay → Loudeac)-F010
type_variety: SSMF
length (km): 50.00
pad att_in (dB): 0.00
total loss (dB): 10.00
(includes conn loss (dB) in: 0.00 out: 0.00)
(conn loss out includes EOL margin defined in eqpt_config.json)
pch out (dBm): -14.00
total pch (dBm): 0-32.0: -13.99, 1-64.0: -13.98,
Fused west fused spans in Loudeac
loss (dB): 1.00
Fiber fiber (Loudeac → Lorient_KMA)-F054
type_variety: SSMF
length (km): 60.00
pad att_in (dB): 0.00
total loss (dB): 12.00
(includes conn loss (dB) in: 0.00 out: 0.00)
(conn loss out includes EOL margin defined in eqpt_config.json)
pch out (dBm): -27.00
total pch (dBm): 0-32.0: -26.99, 1-64.0: -26.98,
Edfa west edfa in Lorient_KMA to Loudeac
type_variety: std_high_gain
effective gain(dB): 28.00
(before att_in and before output VOA)
noise figure (dB): 5.92
(including att_in)
pad att_in (dB): 0.00
Power In (dBm): -9.21
Power Out (dBm): 18.84
Delta_P (dB): 1.00
target pch (dBm): 1.00
effective pch (dBm): 1.00
total pch (dBm): 0-32.0: 1.04, 1-64.0: 1.09,
output VOA (dB): 0.00
Roadm roadm Lorient_KMA
effective loss (dB): 21.00
pch out (dBm): -20.00
total pch (dBm): 0-32.0: -20.00, 1-64.0: -20.00,
Transceiver trx Lorient_KMA
GSNR (0.1nm, dB): 0-32.0: 23.66, 1-64.0: 23.81,
GSNR (signal bw, dB): 0-32.0: 19.57, 1-64.0: 16.72,
OSNR ASE (0.1nm, dB): 0-32.0: 23.91, 1-64.0: 23.87,
OSNR ASE (signal bw, dB): 0-32.0: 19.83, 1-64.0: 16.78,
CD (ps/nm): 2171.00
PMD (ps): 0.46
Transmission result for input power = 0.00 dBm:
Final GSNR (0.1 nm): 23.72 dB
(No source node specified: picked trx Lannion_CAS)
(No destination node specified: picked trx Lorient_KMA)

View File

@@ -21,8 +21,14 @@ SRC_ROOT = Path(__file__).parent.parent
('openroadm-v5-Stockholm-Gothenburg', transmission_main_example,
['-e', 'gnpy/example-data/eqpt_config_openroadm_ver5.json', 'gnpy/example-data/Sweden_OpenROADMv5_example_network.json', ]),
('transmission_main_example_long', transmission_main_example,
['-e', 'tests/data/eqpt_config.json', 'tests/data/test_long_network.json'])
))
['-e', 'tests/data/eqpt_config.json', 'tests/data/test_long_network.json']),
('spectrum1_transmission_main_example', transmission_main_example,
['-spectrum', 'gnpy/example-data/initial_spectrum1.json', 'gnpy/example-data/meshTopologyExampleV2.xls', ]),
('spectrum2_transmission_main_example', transmission_main_example,
['-spectrum', 'gnpy/example-data/initial_spectrum2.json', 'gnpy/example-data/meshTopologyExampleV2.xls', ]),
))
def test_example_invocation(capfd, output, handler, args):
'''Make sure that our examples produce useful output'''
os.chdir(SRC_ROOT)