Skip to content

Itskaleem/NetworkSimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetworkSimulator

A Python network infrastructure simulator focused on optical lightpath routing, latency/SNR optimization, and Monte Carlo traffic studies.

Features

  • Optical line propagation with ASE and NLI noise modeling.
  • Latency and SNR-weighted routing for traffic demands.
  • Monte Carlo simulation loop with congestion analysis.
  • Configurable traffic matrix generation and transceiver modes.
  • Sample 9-node topology included (nodes_9.json).

Requirements

  • Python 3.9+
  • numpy, pandas, scipy, matplotlib

Install dependencies:

python -m pip install -r requirements.txt

Quick start

Run the default simulation:

python main.py

Customize topology and simulation parameters:

python main.py \
  --topology nodes_9.json \
  --channels 10 \
  --iterations 5 \
  --upgrade-line DB \
  --best snr \
  --transceiver shannon

Output

The script prints summary statistics and displays plots for:

  • Line congestion
  • SNR distributions

See docs/USAGE.md for deeper usage and topology guidance.

Project layout

  • main.py: core simulation logic and CLI.
  • nodes_9.json: sample topology.
  • docs/: extended documentation.

About

It's a network infrastructure simulation done in python

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages