How can we analyze the water quality of a river? How can we monitor streets, cities, provinces of a country? How can we predict and prevent problems coming from earthquakes, snowstorms, fire spreads and all kinds of natural disasters? How can we test some new drugs without using animals? These and many other problems are initially solved by using simulators. It is extremely expensive, and sometimes dangerous, to test initial ideas in a real environment. We must use simulators to achieve comfortable confidence levels before real tests. This way, we develop simulation models where entities, named sensors, collect environment data, process data, communicate, move around the space and a lot more. JSensor is a high performance sensor network simulator implemented at Computer Science Departments of both universities UFOP and UFAL, Brazil. In contrast to JSensor counterparts, it is designed to simulate millions of sensors in multicore architectures.
JSensor simulator, its guides and example models (flooding, mobile phone and air condition, precisely) – link
There is the master thesis of Matheus Leônidas where all kernel and other simulator layers are detailed and exemplified, precisely at Section 3.4 – link
The most recent paper of the project – “JSensor: A Parallel Simulator for Huge Wireless Sensor Networks Applications” – DOI: https://ieeexplore.ieee.org/search/searchresult.jsp?newsearch=true&queryText=10.1109%2FTPDS.2019.2908845
Figure from http://www.isisingenieria.com/imagenes/productos_red.jpg