This repository is a Python-based framework to simulate systems, subsystems, and components of fiber optic communication systems, for educational and research purposes. In the current networked world, technical advancements in Internet of Things (IoT) along with 5G communication technology have made free space optical communication (FSO) quite popular as it enhances bit rate in 5G communication and strongly supports large scale connecting links in IoT networks. The system is evaluated in Optisystem 19. 0 tool over transmission distances of 60 km, 120 km, 180 km and 240 km, with channel. In this paper, we developed 32 channels WDM system at 40 Gbps is used to improve the system quality at different power levels and frequency spacing at the length of 50 km using single mode fiber (SMF).