Thanks,but i want to know node's situation while simulate it.because i want to write a process for zigbee to model a battery. Zigbee has 3or 4 working modes (send,recive,idle modes and i think one another mode) and energy consumption is different in each mode. I want to find energy consumtion by modeling battery for zigbee.