Telecominfraproject/oopt-gnpy

Channel Combinations

andreastyro opened this issue · 2 comments

Hello,

I am creating an API using GNPy. I want to test the different combinations of channels and their performance. So far, I have managed to create the combinations on OMS object that are in an OMS list. However, I want to input these channel combinations when using the gnpy-transmission-example command so that the combinations I implemented are used and not the ones on the .json file that is inputted.

What should be my course of action?

Kind regards,
Andreas Tyrovolas

Hi @andreastyro , if you're using the console applications such as gnpy-transmission-example, the input spectrum is defined through the JSON file via the SI block in eqpt-config.json. Since the latest release we've made it possible to specify a mixed channel load for propagation. That's the load which will be used for simulation over all links -- and it will be the same mapping of all channels used over all links because there's currently no non-programmer way of specifying a vastly different channel load over different parts of the network (are you interested in something like that?).

I'm a bit confused by your mention of creating the OMS objects by hand, though. Are you starting this simulation through some custom Python code, perhaps?

My apologies for a late reply, I managed to overlook this bugreport.