Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 92 additions & 3 deletions mnoptical/edfa_params.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


ripple_functions = {
"linear": [
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
Expand Down Expand Up @@ -37,5 +35,96 @@
0.135829787234041, 0.141276595744682, 0.148425531914892, 0.157617021276597, 0.169531914893618,
0.185872340425533, 0.205617021276598, 0.227744680851064, 0.252255319148937, 0.278468085106383,
0.303659574468085, 0.328170212765958, 0.34927659574468, 0.369929078014184, 0.382978723404253
]
],

#rd1-co1 booster amplifier in the COSMOS testbed - version1
"CM": [
0.11304348, 0.01304348, 0.01304348, 0.11304348, 0.01304348,
-0.08695652, 0.01304348, 0.11304348, 0.11304348, 0.11304348,
0.11304348, 0.21304348, 0.01304348, 0.11304348, 0.01304348,
0.11304348, 0.01304348, 0.11304348, 0.11304348, 0.11304348,
-0.08695652, 0.01304348, 0.01304348, 0.01304348, 0.11304348,
0.11304348, 0.11304348, 0.11304348, 0.01304348, 0.11304348,
0.11304348, 0.11304348, 0.01304348, 0.01304348, 0.11304348,
0.01304348, 0.01304348, 0.01304348, -0.08695652, -0.08695652,
-0.18695652, -0.08695652, -0.08695652, -0.18695652, -0.08695652,
0.01304348, 0.01304348, -0.08695652, 0.01304348, 0.01304348,
0.01304348, 0.01304348, 0.11304348, 0.11304348, 0.11304348,
0.21304348, 0.31304348, 0.21304348, 0.21304348, 0.21304348,
0.21304348, 0.31304348, 0.41304348, 0.31304348, 0.31304348,
0.21304348, 0.21304348, 0.11304348, 0.11304348, 0.11304348,
-0.08695652, -0.18695652, -0.18695652, -0.18695652, -0.18695652,
-0.28695652, -0.28695652, -0.18695652, -0.18695652, -0.38695652,
-0.28695652, -0.38695652, -0.38695652, -0.28695652, -0.38695652,
-0.38695652, -0.28695652, -0.28695652, -0.28695652, -0.18695652,
-0.08695652, 0.01304348

],

# rd1-co1 booster amplifier in the COSMOS testbed
"CM2": [0.163, 0.063, 0.063, 0.063, 0.063, 0.063, 0.163, 0.163,
0.163, 0.163, 0.163, 0.163, 0.063, 0.263, 0.163, 0.263,
0.163, 0.063, 0.263, 0.163, 0.163, 0.063, 0.163, 0.163,
0.163, 0.263, 0.363, 0.263, 0.263, 0.363, 0.163, 0.263,
0.163, 0.263, 0.163, 0.163, 0.263, 0.163, 0.063, 0.063,
0.063, -0.037, -0.037, -0.037, -0.037, -0.137, 0.063, 0.063,
-0.037, -0.037, -0.037, 0.063, 0.063, 0.163, 0.063, 0.063,
0.163, 0.163, 0.263, 0.163, 0.263, 0.263, 0.163, 0.163,
0.263, 0.163, 0.063, 0.063, 0.063, -0.037, -0.037, -0.137,
-0.237, -0.337, -0.337, -0.437, -0.337, -0.337, -0.437, -0.437,
-0.337, -0.437, -0.437, -0.537, -0.537, -0.537, -0.637, -0.537,
-0.537, -0.637],


# rd2-co1 pre-amplifier in the COSMOS testbed
"CM3": [0.487, 0.487, 0.387, 0.387, 0.387, 0.487, 0.587, 0.487, 0.487,
0.487, 0.387, 0.487, 0.387, 0.487, 0.487, 0.587, 0.487, 0.487,
0.587, 0.587, 0.587, 0.587, 0.487, 0.387, 0.587, 0.487, 0.487,
0.487, 0.387, 0.387, 0.387, 0.387, 0.387, 0.487, 0.587, 0.587,
0.487, 0.587, 0.587, 0.587, 0.587, 0.687, 0.587, 0.587, 0.587,
0.587, 0.687, 0.687, 0.687, 0.687, 0.687, 0.687, 0.587, 0.687,
0.787, 0.887, 0.787, 0.787, 0.787, 0.787, 0.887, 0.787, 0.787,
0.687, 0.687, 0.587, 0.687, 0.587, 0.487, 0.587, 0.487, 0.387,
0.387, 0.387, 0.287, 0.387, 0.387, 0.487, 0.487, 0.387, 0.487,
0.587, 0.587, 0.487, 0.487, 0.487, 0.387, 0.587, 0.587, 0.687],

# In-Line amplifier in OpenIreland's ROADM2
"CM4": [0.28374269, 0.18374269, 0.08374269, -0.01625731, -0.11625731,
-0.01625731, 0.08374269, 0.08374269, -0.01625731, -0.01625731,
0.08374269, 0.08374269, 0.28374269, -0.01625731, -0.01625731,
0.08374269, 0.08374269, 0.08374269, 0.08374269, 0.08374269,
-0.11625731, -0.01625731, -0.01625731, 0.08374269, 0.08374269,
-0.01625731, -0.11625731, -0.01625731, -0.01625731, 0.18374269,
0.18374269, 0.08374269, 0.08374269, 0.18374269, 0.08374269,
0.18374269, 0.08374269, -0.01625731, -0.01625731, -0.01625731,
0.08374269, -0.01625731, -0.11625731, -0.11625731, -0.11625731,
-0.11625731, -0.11625731, -0.01625731, -0.11625731, -0.21625731,
-0.21625731, -0.01625731, -0.11625731, -0.11625731, -0.01625731,
-0.11625731, -0.01625731, -0.01625731, 0.18374269, 0.08374269,
-0.01625731, 0.08374269, 0.08374269, 0.08374269, 0.18374269,
0.18374269, 0.08374269, 0.08374269, 0.08374269, -0.01625731,
0.08374269, -0.01625731, -0.01625731, -0.01625731, -0.01625731,
-0.01625731, -0.01625731, -0.11625731, -0.31625731, -0.21625731,
-0.11625731, -0.21625731, -0.11625731, -0.21625731, -0.11625731,
-0.21625731, -0.11625731, -0.21625731, -0.01625731, -0.11625731]

}

# wavelength dependent gain values
fibre_spectral_attenuation = {
"SMF": [0.2087 , 0.20876, 0.20883, 0.20889, 0.20895, 0.20901, 0.20907,
0.20913, 0.20919, 0.20925, 0.20932, 0.20938, 0.20944, 0.2095 ,
0.20956, 0.20962, 0.20968, 0.20974, 0.2098 , 0.20986, 0.20992,
0.20998, 0.21005, 0.21011, 0.21017, 0.21023, 0.21029, 0.21035,
0.21041, 0.21047, 0.21053, 0.21059, 0.21065, 0.21071, 0.21077,
0.21083, 0.21089, 0.21095, 0.21102, 0.2111 , 0.21118, 0.21126,
0.21134, 0.21142, 0.2115 , 0.21158, 0.21166, 0.21174, 0.21182,
0.2119 , 0.21198, 0.21206, 0.21214, 0.21222, 0.21229, 0.21237,
0.21245, 0.21253, 0.21261, 0.21269, 0.21277, 0.21285, 0.21293,
0.21301, 0.21309, 0.21317, 0.21325, 0.21333, 0.2134 , 0.21348,
0.21356, 0.21364, 0.21372, 0.2138 , 0.21388, 0.21396, 0.21404,
0.21411, 0.21419, 0.21427, 0.21435, 0.21443, 0.21451, 0.21459,
0.21466, 0.21474, 0.21482, 0.2149 , 0.21498, 0.21508, 0.2152 ,
0.21532, 0.21543
]
}
Loading