N-sim is a framework for studying and developing wireless sensor networks. It emulates the computation of sensor platforms, simulates the wireless communications, and allows plug-in models for source detection simulation. Intended for cluster computing.