Abstract-This paper presents a hardware description language (HDL) approach to modeling a complete wireless sensor node system powered by a tunable vibration energy harvester including both energy generation and consumption. Tunable energy harvesters, which can adjust their own resonant frequency through mechanical or electrical methods to match the input frequency, are attracting significant research interest. We present an accurate model of a vibration-based tunable electromagnetic energy harvester including its frequency tuning algorithm. We have also developed energy consumption models of sensor node components that use the generated energy to perform different tasks, such as autonomously tuning the resonant frequency, sensing temperature and transmitting wirelessly. The modeling of a wireless sensor node powered by tunable energy harvesting has not previously been reported, and now permits the simulation of the entire node. The accuracy of the proposed approach is demonstrated by comparing simulation results with experimental validation where relative errors of less than 1% are achieved.Index Terms-Tunable energy harvester, wireless sensor node, hardware description language.