Simulation and modeling of self-powered wireless sensor node for railway vehicles