Do normal solar panels work under leaves?
Sounds to me you accidentally picked the wrong engine and would like to change it to a coal engine :)
Edit:
Thinking about this a little bit, but it seems more of a hassle to keep the leaves from growing above the track, then to just set up a cargo...