diff --git a/tests/data/test_long_network.json b/tests/data/test_long_network.json new file mode 100644 index 00000000..9a1c7944 --- /dev/null +++ b/tests/data/test_long_network.json @@ -0,0 +1,809 @@ +{ + "network_name": "Example Network - long path", + "elements": [{ + "uid": "Site_A", + "type": "Transceiver", + "metadata": { + "location": { + "city": "Site A", + "region": "", + "latitude": 0, + "longitude": 0 + } + } + }, + { + "uid": "roadm Site A", + "metadata": { + "location": { + "city": "Site A", + "region": "RLD", + "latitude": 0.0, + "longitude": 0.0 + } + }, + "type": "Roadm" + }, + { + "uid": "booster A", + "type": "Edfa", + "type_variety": "std_medium_gain", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 0, + "longitude": 0 + } + } + }, + { + "uid": "Span1", + "type": "Fiber", + "type_variety": "SSMF", + "params": { + "length": 80, + "loss_coef": 0.2, + "length_units": "km" + }, + "metadata": { + "location": { + "region": "", + "latitude": 1, + "longitude": 0 + } + } + }, + { + "uid": "Edfa1", + "type": "Edfa", + "type_variety": "test", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 2, + "longitude": 0 + } + } + }, + { + "uid": "Span2", + "type": "Fiber", + "type_variety": "SSMF", + "params": { + "length": 80, + "loss_coef": 0.2, + "length_units": "km" + }, + "metadata": { + "location": { + "region": "", + "latitude": 1, + "longitude": 0 + } + } + }, + { + "uid": "Edfa2", + "type": "Edfa", + "type_variety": "test_fixed_gain", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 2, + "longitude": 0 + } + } + }, + { + "uid": "Span3", + "type": "Fiber", + "type_variety": "SSMF", + "params": { + "length": 80, + "loss_coef": 0.2, + "length_units": "km" + }, + "metadata": { + "location": { + "region": "", + "latitude": 1, + "longitude": 0 + } + } + }, + { + "uid": "Edfa3", + "type": "Edfa", + "type_variety": "test", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 2, + "longitude": 0 + } + } + }, + { + "uid": "Span4", + "type": "Fiber", + "type_variety": "SSMF", + "params": { + "length": 80, + "loss_coef": 0.2, + "length_units": "km" + }, + "metadata": { + "location": { + "region": "", + "latitude": 1, + "longitude": 0 + } + } + }, + { + "uid": "Edfa4", + "type": "Edfa", + "type_variety": "test_fixed_gain", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 2, + "longitude": 0 + } + } + }, + { + "uid": "Span5", + "type": "Fiber", + "type_variety": "SSMF", + "params": { + "length": 80, + "loss_coef": 0.2, + "length_units": "km" + }, + "metadata": { + "location": { + "region": "", + "latitude": 1, + "longitude": 0 + } + } + }, + { + "uid": "Edfa5", + "type": "Edfa", + "type_variety": "test", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 2, + "longitude": 0 + } + } + }, + { + "uid": "roadm Site C", + "metadata": { + "location": { + "city": "Site A", + "region": "RLD", + "latitude": 0.0, + "longitude": 0.0 + } + }, + "type": "Roadm" + }, + { + "uid": "booster C", + "type": "Edfa", + "type_variety": "std_medium_gain", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 0, + "longitude": 0 + } + } + }, + { + "uid": "Span6", + "type": "Fiber", + "type_variety": "SSMF", + "params": { + "length": 80, + "loss_coef": 0.2, + "length_units": "km" + }, + "metadata": { + "location": { + "region": "", + "latitude": 1, + "longitude": 0 + } + } + }, + { + "uid": "Edfa6", + "type": "Edfa", + "type_variety": "test_fixed_gain", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 2, + "longitude": 0 + } + } + }, + { + "uid": "Span7", + "type": "Fiber", + "type_variety": "SSMF", + "params": { + "length": 80, + "loss_coef": 0.2, + "length_units": "km" + }, + "metadata": { + "location": { + "region": "", + "latitude": 1, + "longitude": 0 + } + } + }, + { + "uid": "Edfa7", + "type": "Edfa", + "type_variety": "test", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 2, + "longitude": 0 + } + } + }, + { + "uid": "Span8", + "type": "Fiber", + "type_variety": "SSMF", + "params": { + "length": 80, + "loss_coef": 0.2, + "length_units": "km" + }, + "metadata": { + "location": { + "region": "", + "latitude": 1, + "longitude": 0 + } + } + }, + { + "uid": "Edfa8", + "type": "Edfa", + "type_variety": "test_fixed_gain", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 2, + "longitude": 0 + } + } + }, + { + "uid": "Span9", + "type": "Fiber", + "type_variety": "SSMF", + "params": { + "length": 80, + "loss_coef": 0.2, + "length_units": "km" + }, + "metadata": { + "location": { + "region": "", + "latitude": 1, + "longitude": 0 + } + } + }, + { + "uid": "Edfa9", + "type": "Edfa", + "type_variety": "test", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 2, + "longitude": 0 + } + } + }, + { + "uid": "Span10", + "type": "Fiber", + "type_variety": "SSMF", + "params": { + "length": 80, + "loss_coef": 0.2, + "length_units": "km" + }, + "metadata": { + "location": { + "region": "", + "latitude": 1, + "longitude": 0 + } + } + }, + { + "uid": "Edfa10", + "type": "Edfa", + "type_variety": "test_fixed_gain", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 2, + "longitude": 0 + } + } + }, + { + "uid": "roadm Site D", + "metadata": { + "location": { + "city": "Site A", + "region": "RLD", + "latitude": 0.0, + "longitude": 0.0 + } + }, + "type": "Roadm" + }, + { + "uid": "booster D", + "type": "Edfa", + "type_variety": "std_medium_gain", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 0, + "longitude": 0 + } + } + }, + { + "uid": "Span11", + "type": "Fiber", + "type_variety": "SSMF", + "params": { + "length": 80, + "loss_coef": 0.2, + "length_units": "km" + }, + "metadata": { + "location": { + "region": "", + "latitude": 1, + "longitude": 0 + } + } + }, + { + "uid": "Edfa11", + "type": "Edfa", + "type_variety": "test", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 2, + "longitude": 0 + } + } + }, + { + "uid": "Span12", + "type": "Fiber", + "type_variety": "SSMF", + "params": { + "length": 80, + "loss_coef": 0.2, + "length_units": "km" + }, + "metadata": { + "location": { + "region": "", + "latitude": 1, + "longitude": 0 + } + } + }, + { + "uid": "Edfa12", + "type": "Edfa", + "type_variety": "test_fixed_gain", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 2, + "longitude": 0 + } + } + }, + { + "uid": "roadm Site E", + "metadata": { + "location": { + "city": "Site A", + "region": "RLD", + "latitude": 0.0, + "longitude": 0.0 + } + }, + "type": "Roadm" + }, + { + "uid": "booster E", + "type": "Edfa", + "type_variety": "std_medium_gain", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 0, + "longitude": 0 + } + } + }, + { + "uid": "Span13", + "type": "Fiber", + "type_variety": "SSMF", + "params": { + "length": 80, + "loss_coef": 0.2, + "length_units": "km" + }, + "metadata": { + "location": { + "region": "", + "latitude": 1, + "longitude": 0 + } + } + }, + { + "uid": "Edfa13", + "type": "Edfa", + "type_variety": "test", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 2, + "longitude": 0 + } + } + }, + { + "uid": "Span14", + "type": "Fiber", + "type_variety": "SSMF", + "params": { + "length": 80, + "loss_coef": 0.2, + "length_units": "km" + }, + "metadata": { + "location": { + "region": "", + "latitude": 1, + "longitude": 0 + } + } + }, + { + "uid": "Edfa14", + "type": "Edfa", + "type_variety": "test_fixed_gain", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 2, + "longitude": 0 + } + } + }, + { + "uid": "Span15", + "type": "Fiber", + "type_variety": "SSMF", + "params": { + "length": 80, + "loss_coef": 0.2, + "length_units": "km" + }, + "metadata": { + "location": { + "region": "", + "latitude": 1, + "longitude": 0 + } + } + }, + { + "uid": "Edfa15", + "type": "Edfa", + "type_variety": "test", + "operational": { + "gain_target": 16, + "tilt_target": 0 + }, + "metadata": { + "location": { + "region": "", + "latitude": 2, + "longitude": 0 + } + } + }, + { + "uid": "roadm Site B", + "metadata": { + "location": { + "city": "Site B", + "region": "RLD", + "latitude": 0.0, + "longitude": 0.0 + } + }, + "type": "Roadm" + }, + { + "uid": "Site_B", + "type": "Transceiver", + "metadata": { + "location": { + "city": "Site B", + "region": "", + "latitude": 3, + "longitude": 0 + } + } + } + + ], + "connections": [{ + "from_node": "Site_A", + "to_node": "roadm Site A" + }, + { + "from_node": "roadm Site A", + "to_node": "booster A" + }, + { + "from_node": "booster A", + "to_node": "Span1" + }, + { + "from_node": "Span1", + "to_node": "Edfa1" + }, + { + "from_node": "Edfa1", + "to_node": "Span2" + }, + { + "from_node": "Span2", + "to_node": "Edfa2" + }, + { + "from_node": "Edfa2", + "to_node": "Span3" + }, + { + "from_node": "Span3", + "to_node": "Edfa3" + }, + { + "from_node": "Edfa3", + "to_node": "Span4" + }, + { + "from_node": "Span4", + "to_node": "Edfa4" + }, + { + "from_node": "Edfa4", + "to_node": "Span5" + }, + { + "from_node": "Span5", + "to_node": "Edfa5" + }, + { + "from_node": "Edfa5", + "to_node": "roadm Site C" + }, + { + "from_node": "roadm Site C", + "to_node": "booster C" + }, + { + "from_node": "booster C", + "to_node": "Span6" + }, + { + "from_node": "Span6", + "to_node": "Edfa6" + }, + { + "from_node": "Edfa6", + "to_node": "Span7" + }, + { + "from_node": "Span7", + "to_node": "Edfa7" + }, + { + "from_node": "Edfa7", + "to_node": "Span8" + }, + { + "from_node": "Span8", + "to_node": "Edfa8" + }, + { + "from_node": "Edfa8", + "to_node": "Span9" + }, + { + "from_node": "Span9", + "to_node": "Edfa9" + }, + { + "from_node": "Edfa9", + "to_node": "Span10" + }, + { + "from_node": "Span10", + "to_node": "Edfa10" + }, + { + "from_node": "Edfa10", + "to_node": "roadm Site D" + }, + { + "from_node": "roadm Site D", + "to_node": "booster D" + }, + { + "from_node": "booster D", + "to_node": "Span11" + }, + { + "from_node": "Span11", + "to_node": "Edfa11" + }, + { + "from_node": "Edfa11", + "to_node": "Span12" + }, + { + "from_node": "Span12", + "to_node": "Edfa12" + }, + { + "from_node": "Edfa12", + "to_node": "roadm Site E" + }, + { + "from_node": "roadm Site E", + "to_node": "booster E" + }, + { + "from_node": "booster E", + "to_node": "Span13" + }, + { + "from_node": "Span13", + "to_node": "Edfa13" + }, + { + "from_node": "Edfa13", + "to_node": "Span14" + }, + { + "from_node": "Span14", + "to_node": "Edfa14" + }, + { + "from_node": "Edfa14", + "to_node": "Span15" + }, + { + "from_node": "Span15", + "to_node": "Edfa15" + }, + { + "from_node": "Edfa15", + "to_node": "roadm Site B" + }, + { + "from_node": "roadm Site B", + "to_node": "Site_B" + } + ] +} diff --git a/tests/invocation/transmission_main_example_long b/tests/invocation/transmission_main_example_long new file mode 100644 index 00000000..47a67e32 --- /dev/null +++ b/tests/invocation/transmission_main_example_long @@ -0,0 +1,414 @@ +There are 96 channels propagating +Power mode is set to True +=> it can be modified in eqpt_config.json - Span + +There are 15 fiber spans over 1200 km between Site_A and Site_B + +Now propagating between Site_A and Site_B: + +Propagating with input power = 0.00 dBm: +Transceiver Site_A + 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 + PDL (dB): 0.00 +Roadm roadm Site A + effective loss (dB): 20.00 + pch out (dBm): -20.00 +Edfa booster A + type_variety: std_medium_gain + effective gain(dB): 20.00 + (before att_in and before output VOA) + noise figure (dB): 6.58 + (including att_in) + pad att_in (dB): 0.00 + Power In (dBm): -0.18 + Power Out (dBm): 19.83 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Fiber Span1 + type_variety: SSMF + length (km): 80.00 + pad att_in (dB): 0.00 + total loss (dB): 16.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): -16.00 +Edfa Edfa1 + type_variety: test + effective gain(dB): 16.00 + (before att_in and before output VOA) + noise figure (dB): 8.86 + (including att_in) + pad att_in (dB): 0.00 + Power In (dBm): 3.84 + Power Out (dBm): 19.84 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Fiber Span2 + type_variety: SSMF + length (km): 80.00 + pad att_in (dB): 0.00 + total loss (dB): 16.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): -16.00 +Edfa Edfa2 + type_variety: test_fixed_gain + effective gain(dB): 16.00 + (before att_in and before output VOA) + noise figure (dB): 9.00 + (including att_in) + pad att_in (dB): 4.00 + Power In (dBm): 3.84 + Power Out (dBm): 19.85 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Fiber Span3 + type_variety: SSMF + length (km): 80.00 + pad att_in (dB): 0.00 + total loss (dB): 16.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): -16.00 +Edfa Edfa3 + type_variety: test + effective gain(dB): 16.00 + (before att_in and before output VOA) + noise figure (dB): 8.86 + (including att_in) + pad att_in (dB): 0.00 + Power In (dBm): 3.85 + Power Out (dBm): 19.86 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Fiber Span4 + type_variety: SSMF + length (km): 80.00 + pad att_in (dB): 0.00 + total loss (dB): 16.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): -16.00 +Edfa Edfa4 + type_variety: test_fixed_gain + effective gain(dB): 16.00 + (before att_in and before output VOA) + noise figure (dB): 9.00 + (including att_in) + pad att_in (dB): 4.00 + Power In (dBm): 3.86 + Power Out (dBm): 19.87 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Fiber Span5 + type_variety: SSMF + length (km): 80.00 + pad att_in (dB): 0.00 + total loss (dB): 16.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): -16.00 +Edfa Edfa5 + type_variety: test + effective gain(dB): 16.00 + (before att_in and before output VOA) + noise figure (dB): 8.86 + (including att_in) + pad att_in (dB): 0.00 + Power In (dBm): 3.87 + Power Out (dBm): 19.88 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Roadm roadm Site C + effective loss (dB): 20.00 + pch out (dBm): -20.00 +Edfa booster C + type_variety: std_medium_gain + effective gain(dB): 20.00 + (before att_in and before output VOA) + noise figure (dB): 6.58 + (including att_in) + pad att_in (dB): 0.00 + Power In (dBm): -0.18 + Power Out (dBm): 19.83 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Fiber Span6 + type_variety: SSMF + length (km): 80.00 + pad att_in (dB): 0.00 + total loss (dB): 16.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): -16.00 +Edfa Edfa6 + type_variety: test_fixed_gain + effective gain(dB): 16.00 + (before att_in and before output VOA) + noise figure (dB): 9.00 + (including att_in) + pad att_in (dB): 4.00 + Power In (dBm): 3.83 + Power Out (dBm): 19.84 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Fiber Span7 + type_variety: SSMF + length (km): 80.00 + pad att_in (dB): 0.00 + total loss (dB): 16.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): -16.00 +Edfa Edfa7 + type_variety: test + effective gain(dB): 16.00 + (before att_in and before output VOA) + noise figure (dB): 8.86 + (including att_in) + pad att_in (dB): 0.00 + Power In (dBm): 3.84 + Power Out (dBm): 19.85 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Fiber Span8 + type_variety: SSMF + length (km): 80.00 + pad att_in (dB): 0.00 + total loss (dB): 16.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): -16.00 +Edfa Edfa8 + type_variety: test_fixed_gain + effective gain(dB): 16.00 + (before att_in and before output VOA) + noise figure (dB): 9.00 + (including att_in) + pad att_in (dB): 4.00 + Power In (dBm): 3.85 + Power Out (dBm): 19.86 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Fiber Span9 + type_variety: SSMF + length (km): 80.00 + pad att_in (dB): 0.00 + total loss (dB): 16.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): -16.00 +Edfa Edfa9 + type_variety: test + effective gain(dB): 16.00 + (before att_in and before output VOA) + noise figure (dB): 8.86 + (including att_in) + pad att_in (dB): 0.00 + Power In (dBm): 3.86 + Power Out (dBm): 19.87 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Fiber Span10 + type_variety: SSMF + length (km): 80.00 + pad att_in (dB): 0.00 + total loss (dB): 16.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): -16.00 +Edfa Edfa10 + type_variety: test_fixed_gain + effective gain(dB): 16.00 + (before att_in and before output VOA) + noise figure (dB): 9.00 + (including att_in) + pad att_in (dB): 4.00 + Power In (dBm): 3.87 + Power Out (dBm): 19.88 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Roadm roadm Site D + effective loss (dB): 20.00 + pch out (dBm): -20.00 +Edfa booster D + type_variety: std_medium_gain + effective gain(dB): 20.00 + (before att_in and before output VOA) + noise figure (dB): 6.58 + (including att_in) + pad att_in (dB): 0.00 + Power In (dBm): -0.18 + Power Out (dBm): 19.83 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Fiber Span11 + type_variety: SSMF + length (km): 80.00 + pad att_in (dB): 0.00 + total loss (dB): 16.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): -16.00 +Edfa Edfa11 + type_variety: test + effective gain(dB): 16.00 + (before att_in and before output VOA) + noise figure (dB): 8.86 + (including att_in) + pad att_in (dB): 0.00 + Power In (dBm): 3.83 + Power Out (dBm): 19.84 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Fiber Span12 + type_variety: SSMF + length (km): 80.00 + pad att_in (dB): 0.00 + total loss (dB): 16.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): -16.00 +Edfa Edfa12 + type_variety: test_fixed_gain + effective gain(dB): 16.00 + (before att_in and before output VOA) + noise figure (dB): 9.00 + (including att_in) + pad att_in (dB): 4.00 + Power In (dBm): 3.84 + Power Out (dBm): 19.85 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Roadm roadm Site E + effective loss (dB): 20.00 + pch out (dBm): -20.00 +Edfa booster E + type_variety: std_medium_gain + effective gain(dB): 20.00 + (before att_in and before output VOA) + noise figure (dB): 6.58 + (including att_in) + pad att_in (dB): 0.00 + Power In (dBm): -0.18 + Power Out (dBm): 19.83 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Fiber Span13 + type_variety: SSMF + length (km): 80.00 + pad att_in (dB): 0.00 + total loss (dB): 16.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): -16.00 +Edfa Edfa13 + type_variety: test + effective gain(dB): 16.00 + (before att_in and before output VOA) + noise figure (dB): 8.86 + (including att_in) + pad att_in (dB): 0.00 + Power In (dBm): 3.83 + Power Out (dBm): 19.84 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Fiber Span14 + type_variety: SSMF + length (km): 80.00 + pad att_in (dB): 0.00 + total loss (dB): 16.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): -16.00 +Edfa Edfa14 + type_variety: test_fixed_gain + effective gain(dB): 16.00 + (before att_in and before output VOA) + noise figure (dB): 9.00 + (including att_in) + pad att_in (dB): 4.00 + Power In (dBm): 3.84 + Power Out (dBm): 19.85 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Fiber Span15 + type_variety: SSMF + length (km): 80.00 + pad att_in (dB): 0.00 + total loss (dB): 16.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): -16.00 +Edfa Edfa15 + type_variety: test + effective gain(dB): 16.00 + (before att_in and before output VOA) + noise figure (dB): 8.86 + (including att_in) + pad att_in (dB): 0.00 + Power In (dBm): 3.85 + Power Out (dBm): 19.86 + Delta_P (dB): 0.00 + target pch (dBm): 0.00 + effective pch (dBm): 0.00 + output VOA (dB): 0.00 +Roadm roadm Site B + effective loss (dB): 20.00 + pch out (dBm): -20.00 +Transceiver Site_B + GSNR (0.1nm, dB): 17.85 + GSNR (signal bw, dB): 13.77 + OSNR ASE (0.1nm, dB): 19.70 + OSNR ASE (signal bw, dB): 15.62 + CD (ps/nm): 20040.00 + PMD (ps): 1.39 + PDL (dB): 0.00 + +Transmission result for input power = 0.00 dBm: + Final GSNR (0.1 nm): 17.85 dB + +(No source node specified: picked Site_A) + +(No destination node specified: picked Site_B) diff --git a/tests/test_invocation.py b/tests/test_invocation.py index 165be7d7..4c13ba32 100644 --- a/tests/test_invocation.py +++ b/tests/test_invocation.py @@ -20,6 +20,8 @@ SRC_ROOT = Path(__file__).parent.parent ['-e', 'gnpy/example-data/eqpt_config_openroadm_ver4.json', 'gnpy/example-data/Sweden_OpenROADMv4_example_network.json', ]), ('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']) )) def test_example_invocation(capfd, output, handler, args): '''Make sure that our examples produce useful output'''