Abstract-This paper investigates the effect of various parameters of energy consumption for communication in pulse-based wireless nanosensor networks that exploit energy harvesting to supply energy. Finding the optimum combination of parameters to minimize energy consumption while satisfying the QoS requirements (e.g. delay and reliability) of communication is a challenging task. We model this problem as a multiobjective function problem. We evaluate the effect of packet size, repetition and code weight on this optimization problem. Through simulation, the effect of network parameters, i.e. topology and energy for pulse transmission/reception, on the optimization problem is studied as well. The model enables optimum energy consumption design in wireless nanosensor networks.