Exploring the Effects of Physical Layer Parameters in WDM based Fixed and Flexible-Grid Networks