This document describes a project to generate electrical power from railway tracks. It involves using a rack and pinion mechanism attached to the track to convert the pushing force of passing trains into rotational motion. This rotational motion turns a generator coupled to a flywheel to store the generated energy. The generator produces DC voltage that can be stored in a battery and used for electrical loads. The system aims to harness energy from train movement as a non-conventional renewable energy source without requiring fuel.