Fix maximum energy issue in solar panels.