This document presents a simulation model of the IEEE 802.15.4 GTS mechanism and known GTS attacks developed in OMNeT++. The model includes a GTS management scheme model that implements beacon transmission, PAN association, GTS slot allocation and data transmission during GTS slots. It also includes a GTS attacks model that simulates five known GTS attack variants. The models were integrated to provide a comprehensive simulation of both normal GTS operation and attacks against the mechanism. The document describes the architecture, parameters and operation of the models in detail.