This study aimed to evaluate a cantilever beam-type piezoelectric energy harvester operating on train-induced vibrations for powering Wireless Sensor Networks (WSNs) used in railway track monitoring systems. The harvester's behaviors under different conditions are simulated in MATLAB using the analytical model. Natural frequency, maximum deflection, and stress were calculated with greater precision using eigenfrequency and stationary analysis using COMSOL Multiphysics. At a base excitation of 2 g and a resonant frequency of 4.38 Hz, the simulated results showed that the developed energy harvester prototype could generate up to 14 V of AC output voltage and 550 mW of output power. These findings highlight the promising potential of the proposed energy harvester for transforming train mechanical energy into electrical power. This energy harvester's viability and dependability for real-world applications in monitoring railway tracks are supported by developed analytical and simulation models.