abstract:Castalia is a simulator for Wireless Sensor Networks (WSN), Body Area Networks and generally networks of low-power embedded devices. It is based on the OMNeT++ platform and used by researchers and developers to test their distributed algorithms and/or protocols in a realistic wireless channel and radio model, with a realistic node behaviour especially relating to access of the radio.