PCNSim is an open-source, modular, and lightweight payment channel network simulator that uses the OMNET++ framework. PCNsim is designed to support multiple routing algorithms, topologies, and transactions workloads to meet the requirements of PCN researchers. It presents a unique simulator that accuratly mimics the behavior of the Lightning Network, such as message formats and message exchange.