Files
oopt-gnpy/tests/invocation/spectrum2_transmission_main_example
EstherLerouzic 54a3725e17 Add a -spectrum option to input external file to define spectrum
The option is only set for gnpy-transmission-main.

The spectrum file is a list of spectrum objects, each defining
f_min, f_max and spectrum attributes using the same meaning as SI
in eqpt_config.json for baud_rate, roll_off, tx_osnr. slot_width is
used for the occupation of each carrier around their central frequency,
so slot_width corresponds to spacing of SI.
Unlike SI, the frequencies are defined includint f_min and f_max.
The partitions must be contiguous not overlapping.

Pref.p_span0 object records the req_power, while
ref_carrier records info that will be useful for equalization ie baud_rate.

For now, I have not integrated the possibility to directly use
transceivers type and mode in the list.

User can define sets of contiguous channels and a label to identify
the spectrum bands. If no label are defined, the program justs uses
the index + baud rate of the spectrum bands as label.

Print results per spectrum label

If propagated spectrum has mixed rates, then prints results (GSNR and OSNR)
for each propagated spectrum type according to its label.

Print per label channel power of elements

Per channel power prints were previously only showing the noiseless
reference channel power and only an average power.
With this change, we add a new information on the print:
the average total power (signal + noise + non-linear noise).
If there are several spectrum types propagating, the average per
spectrum is displayed using the label.
For this purpose, label and total power are recorded in each element
upon propagation

Note that the difference between this total power and the existing
channel power represents the added noise for the considered OMS.
Indeed ROADMs equalize per channel total power, so that power displayed
in 'actual pch (dBm)' may contain some noise contribution accumulated
with previous propagation.
Because 'reference pch out (dBm)' is for the noiseless reference,
it is exactly set to the target power and 'actual pch (dBm)' is always
matching 'reference pch out (dBm)' in ROADM prints.

Add examples and tests for -spectrum option

initial_spectrum1.json reproduces exactly the case of SI
initial_spectrum2.json sets half of the spectrum with 50GHz 32Gbauds and
half with 75GHz 64 Gbauds. Power setting is not set for the second half,
So that equalization will depend on ROADM settings.

Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com>
Change-Id: Ibc01e59e461e5e933e95d23dacbc5289e275ccf7
2022-11-09 14:39:25 +01:00

12 KiB

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): mode_1: 40.00, mode_2: 40.00
GSNR (signal bw, dB): mode_1: 35.92, mode_2: 32.91
OSNR ASE (0.1nm, dB): mode_1: 40.00, mode_2: 40.00
OSNR ASE (signal bw, dB): mode_1: 35.92, mode_2: 32.91
CD (ps/nm): 0.00
PMD (ps): 0.00
PDL (dB): 0.00
Roadm roadm Lannion_CAS
effective loss (dB): 20.00
reference pch out (dBm): -20.00
actual pch out (dBm): mode_1: -20.00, mode_2: -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
actual pch out (dBm): mode_1: 1.01, mode_2: 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)
reference pch out (dBm): -3.00
actual pch out (dBm): mode_1: -2.99, mode_2: -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)
reference pch out (dBm): -14.00
actual pch out (dBm): mode_1: -13.99, mode_2: -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)
reference pch out (dBm): -27.00
actual pch out (dBm): mode_1: -26.99, mode_2: -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
actual pch out (dBm): mode_1: 1.04, mode_2: 1.09
output VOA (dB): 0.00
Roadm roadm Lorient_KMA
effective loss (dB): 21.00
reference pch out (dBm): -20.00
actual pch out (dBm): mode_1: -20.00, mode_2: -20.00
Transceiver trx Lorient_KMA
GSNR (0.1nm, dB): mode_1: 23.65, mode_2: 23.81
GSNR (signal bw, dB): mode_1: 19.57, mode_2: 16.72
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
PDL (dB): 0.00
 
Transmission result for input power = 0.00 dBm:
Final GSNR (0.1 nm): 23.72 dB
 
The GSNR per channel at the end of the line is:
Ch. # Channel frequency (THz) Channel power (dBm) OSNR ASE (signal bw, dB) SNR NLI (signal bw, dB) GSNR (signal bw, dB)
1 191.40000 -20.04 19.85 33.30 19.65
2 191.45000 -20.04 19.85 32.70 19.63
3 191.50000 -20.04 19.84 32.45 19.61
4 191.55000 -20.04 19.84 32.29 19.60
5 191.60000 -20.04 19.84 32.18 19.60
6 191.65000 -20.04 19.84 32.10 19.59
7 191.70000 -20.04 19.84 32.03 19.59
8 191.75000 -20.04 19.84 31.98 19.58
9 191.80000 -20.04 19.84 31.93 19.58
10 191.85000 -20.04 19.84 31.90 19.57
11 191.90000 -20.04 19.84 31.86 19.57
12 191.95000 -20.04 19.84 31.84 19.57
13 192.00000 -20.04 19.83 31.82 19.57
14 192.05000 -20.04 19.83 31.80 19.57
15 192.10000 -20.04 19.83 31.78 19.56
16 192.15000 -20.04 19.83 31.77 19.56
17 192.20000 -20.04 19.83 31.76 19.56
18 192.25000 -20.04 19.83 31.75 19.56
19 192.30000 -20.04 19.83 31.75 19.56
20 192.35000 -20.04 19.83 31.75 19.56
21 192.40000 -20.05 19.83 31.75 19.56
22 192.45000 -20.05 19.82 31.75 19.55
23 192.50000 -20.05 19.82 31.76 19.55
24 192.55000 -20.05 19.82 31.76 19.55
25 192.60000 -20.05 19.82 31.78 19.55
26 192.65000 -20.05 19.82 31.79 19.55
27 192.70000 -20.05 19.82 31.81 19.55
28 192.75000 -20.05 19.82 31.83 19.55
29 192.80000 -20.05 19.82 31.86 19.55
30 192.85000 -20.05 19.82 31.90 19.56
31 192.90000 -20.04 19.82 31.95 19.56
32 192.95000 -20.04 19.81 32.02 19.56
33 193.00000 -20.04 19.81 32.11 19.56
34 193.05000 -20.04 19.81 32.27 19.57
35 193.10000 -20.04 19.81 32.61 19.59
36 193.16250 -20.09 16.80 33.70 16.71
37 193.23750 -20.09 16.80 34.20 16.72
38 193.31250 -20.09 16.80 34.45 16.72
39 193.38750 -20.09 16.79 34.62 16.72
40 193.46250 -20.09 16.79 34.75 16.72
41 193.53750 -20.09 16.79 34.85 16.72
42 193.61250 -20.09 16.79 34.94 16.72
43 193.68750 -20.09 16.79 35.02 16.72
44 193.76250 -20.09 16.79 35.08 16.72
45 193.83750 -20.09 16.78 35.15 16.72
46 193.91250 -20.09 16.78 35.20 16.72
47 193.98750 -20.09 16.78 35.26 16.72
48 194.06250 -20.09 16.78 35.31 16.72
49 194.13750 -20.09 16.78 35.36 16.72
50 194.21250 -20.09 16.78 35.41 16.72
51 194.28750 -20.09 16.78 35.47 16.72
52 194.36250 -20.09 16.77 35.52 16.72
53 194.43750 -20.09 16.77 35.58 16.72
54 194.51250 -20.09 16.77 35.65 16.71
55 194.58750 -20.09 16.77 35.72 16.71
56 194.66250 -20.09 16.77 35.81 16.71
57 194.73750 -20.09 16.77 35.92 16.71
58 194.81250 -20.09 16.76 36.06 16.71
59 194.88750 -20.09 16.76 36.27 16.71
60 194.96250 -20.09 16.76 36.75 16.72
 
(No source node specified: picked trx Lannion_CAS)
 
(No destination node specified: picked trx Lorient_KMA)