Unless someone has written a simulation for the XBee modules specifically for the Cooja, I don’t see this working. Especially since the XBee modules don’t support a Cluster tree network. They support either Peer to peer, point to point/multi-point and Mesh.