In an optimum installation, solar panels will pay back their energy debt required to make them in 3-7 years. In a sub-optimum installation (but connected to the grid) they will pay it back slower. Add the batteries and you have a bigger energy debt for manufacture. The time to payoff ...