Abstract-In this paper we explore in details the framework ElasticO++, which is a simulation framework for Elastic Optical Networks using OMNeT++. ElasticO++ is the first software available capable of working with spectrum defragmentation in dynamic network scenarios. The flexibility offered by the discussed tool allows both academia and industry to develop and evaluate new algorithms and techniques for Elastic Optical Networks. In this paper, we focus on ElasticO++ architecture, algorithms, and the features which we consider makes our framework unique. Additionally, we present a simulation case study and the newer features we are currently developing.