Telecominfraproject / oopt-gnpy

Optical Route Planning Library, Based on a Gaussian Noise Model
http://telecominfraproject.com
BSD 3-Clause "New" or "Revised" License
209 stars 88 forks source link

Channel Combinations #456

Open andreastyro opened 1 year ago

andreastyro commented 1 year ago

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

jktjkt commented 1 year ago

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.

akhil-mutike commented 9 months ago

hi @jktjkt ,iam exactly looking for channel configuration you mentioned in above comment.i,.e.. i want to specify mixed channel load for each link seperaterly...will that be availiable in near future?