Recent trends in sensor network simulation can be divided between less flexible but accurate emulation based approach and more generic but less detailed network simulator models. We offer an approach with the flexibility of network simulators and provides the accuracy comparable to emulation based approaches. We describe the design and architecture of sensor network simulator which provides a rich suite of following models: sensing stack to model wave and diffusion based sensor channels, an accurate battery model, processor power consumption model, energy consumption model and sensor network based traffic model. We also present our study on the effects of detailed modeling on the performance of higher layer protocols. We describe the impact of using accurate models for battery, processor power consumption and traffic models on the network layer statistics as network lifetime and availability, throughput and routing overhead. Our results show there is high sensitivity of model acc...