mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-10-30 17:47:50 +00:00
add an invocation test with power saturation
Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com> Change-Id: I0a6a8442326fdfb9c9922abf05aeee52cfa42090
This commit is contained in:
committed by
Jan Kundrát
parent
6f62251cb4
commit
280443f17f
326
tests/invocation/transmission_saturated
Normal file
326
tests/invocation/transmission_saturated
Normal file
@@ -0,0 +1,326 @@
|
||||
There are 96 channels propagating
|
||||
Power mode is set to True
|
||||
=> it can be modified in eqpt_config.json - Span
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in Lorient_KMA to Loudeac
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING[0m: WARNING: effective gain in Node east edfa in Lannion_CAS to Stbrieuc is above user specified amplifier std_low_gain
|
||||
max flat gain: 16dB ; required gain: 23.0dB. Please check amplifier type.
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in Rennes_STA to Stbrieuc
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING[0m: WARNING: effective gain in Node east edfa in Lannion_CAS to Morlaix is above user specified amplifier std_low_gain
|
||||
max flat gain: 16dB ; required gain: 23.0dB. Please check amplifier type.
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in Brest_KLA to Morlaix
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in Lorient_KMA to Loudeac
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING[0m: WARNING: effective gain in Node west edfa in Lannion_CAS to Corlay is above user specified amplifier test
|
||||
max flat gain: 25dB ; required gain: 29.82dB. Please check amplifier type.
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in Lorient_KMA to Vannes_KBE
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in Vannes_KBE to Lorient_KMA
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in Lorient_KMA to Quimper
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in Quimper to Lorient_KMA
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in Brest_KLA to Quimper
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in Vannes_KBE to Lorient_KMA
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in Lorient_KMA to Vannes_KBE
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in Vannes_KBE to Ploermel
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in Ploermel to Vannes_KBE
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in Rennes_STA to Ploermel
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in Rennes_STA to Stbrieuc
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in Stbrieuc to Rennes_STA
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in Lannion_CAS to Stbrieuc
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in Rennes_STA to Ploermel
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in Vannes_KBE to Ploermel
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in Brest_KLA to Morlaix
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING[0m: WARNING: effective gain in Node east edfa in Brest_KLA to Quimper is above user specified amplifier std_low_gain
|
||||
max flat gain: 16dB ; required gain: 23.0dB. Please check amplifier type.
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in Quimper to Lorient_KMA
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in Lorient_KMA to Quimper
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in a to b
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in b to a
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in a to c
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in c to a
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in b to a
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in a to b
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in b to f
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in f to b
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in c to a
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in a to c
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in d to c
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in c to f
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in f to c
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in d to c
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in c to d
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in d to e
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in e to d
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in e to d
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in d to e
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in e to g
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in g to e
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in f to c
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in c to f
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in f to b
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in b to f
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in f to h
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in h to f
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in g to e
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in e to g
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in g to h
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in h to g
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in h to f
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in f to h
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node east edfa in h to g
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
[1;31;40mWARNING:[0m target gain and power in node west edfa in g to h
|
||||
is beyond all available amplifiers capabilities and/or extended_gain_range:
|
||||
a power reduction of -1.82 is applied
|
||||
|
||||
|
||||
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 = [1;36;40m3.00 dBm[0m:
|
||||
Transceiver trx Lannion_CAS
|
||||
GSNR (0.1nm, dB): 100.00
|
||||
GSNR (signal bw, dB): 95.92
|
||||
OSNR ASE (0.1nm, dB): 100.00
|
||||
OSNR ASE (signal bw, dB): 95.92
|
||||
CD (ps/nm): 0.00
|
||||
PMD (ps): 0.00
|
||||
Roadm roadm Lannion_CAS
|
||||
effective loss (dB): 23.00
|
||||
pch out (dBm): -20.00
|
||||
Edfa east edfa in Lannion_CAS to Corlay
|
||||
type_variety: test
|
||||
effective gain(dB): 21.18
|
||||
(before att_in and before output VOA)
|
||||
noise figure (dB): 6.13
|
||||
(including att_in)
|
||||
pad att_in (dB): 0.00
|
||||
Power In (dBm): -0.18
|
||||
Power Out (dBm): 21.01
|
||||
Delta_P (dB): 0.00
|
||||
target pch (dBm): 3.00
|
||||
effective pch (dBm): 1.18
|
||||
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): -2.82
|
||||
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): -13.82
|
||||
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): -26.82
|
||||
Edfa west edfa in Lorient_KMA to Loudeac
|
||||
type_variety: test
|
||||
effective gain(dB): 28.00
|
||||
(before att_in and before output VOA)
|
||||
noise figure (dB): 5.76
|
||||
(including att_in)
|
||||
pad att_in (dB): 0.00
|
||||
Power In (dBm): -6.99
|
||||
Power Out (dBm): 21.04
|
||||
Delta_P (dB): -1.82
|
||||
target pch (dBm): 1.18
|
||||
effective pch (dBm): 1.18
|
||||
output VOA (dB): 0.00
|
||||
Roadm roadm Lorient_KMA
|
||||
effective loss (dB): 21.18
|
||||
pch out (dBm): -20.00
|
||||
Transceiver trx Lorient_KMA
|
||||
GSNR (0.1nm, dB): 23.94
|
||||
GSNR (signal bw, dB): 19.85
|
||||
OSNR ASE (0.1nm, dB): 24.29
|
||||
OSNR ASE (signal bw, dB): 20.20
|
||||
CD (ps/nm): 2171.00
|
||||
PMD (ps): 0.46
|
||||
|
||||
Transmission result for input power = 3.00 dBm:
|
||||
Final GSNR (0.1 nm): [1;36;40m23.94 dB[0m
|
||||
|
||||
(Invalid source node 'lannion' replaced with trx Lannion_CAS)
|
||||
|
||||
(Invalid destination node 'lorient' replaced with trx Lorient_KMA)
|
||||
@@ -11,6 +11,8 @@ SRC_ROOT = Path(__file__).parent.parent
|
||||
|
||||
@pytest.mark.parametrize("output, handler, args", (
|
||||
('transmission_main_example', transmission_main_example, []),
|
||||
('transmission_saturated', transmission_main_example,
|
||||
['tests/data/testTopology_expected.json', 'lannion', 'lorient', '-e', 'tests/data/eqpt_config.json', '--pow', '3']),
|
||||
('path_requests_run', path_requests_run, []),
|
||||
('transmission_main_example__raman', transmission_main_example,
|
||||
['gnpy/example-data/raman_edfa_example_network.json', '--sim', 'gnpy/example-data/sim_params.json', '--show-channels', ]),
|
||||
|
||||
Reference in New Issue
Block a user