mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-11-01 10:38:10 +00:00
Amplifier disable field
* toggle true/false in eqpt_config json file to allow the use of a given amplifier type in automatic design: eqpt_config[Edfa][allowed_for_design] : true/false * automatic design is picking the best amplifier (gain, NF constraints) among the available ones: if toggle to false, the type is deemed non available. Only alternative before this feature was to remove the amplifier from eqpt_config library. * if set to false, the amplifier type can still be input in the network topology file: it will be recongized. Signed-off-by: Jean-Luc Auge <jeanluc.auge@orange.com>
This commit is contained in:
@@ -323,7 +323,7 @@ class Fiber(Node):
|
||||
# TODO|dutc: eliminate duplication with .equipment.EdfaBase
|
||||
EdfaParams = namedtuple('EdfaParams',
|
||||
'type_variety, type_def, gain_flatmax gain_min p_max'
|
||||
' nf_model nf_fit_coeff nf_ripple dgt gain_ripple')
|
||||
' nf_model nf_fit_coeff nf_ripple dgt gain_ripple allowed_for_design')
|
||||
class EdfaOperational:
|
||||
def __init__(self, gain_target, tilt_target):
|
||||
self.gain_target = gain_target
|
||||
|
||||
Reference in New Issue
Block a user