Solar is preferred but comes down to your usage and whether you are in direct sunlight or it's shady or cloudy

I have a genny as when the panels couldn't keep up I kicked it in the guts to top up

There's a spreadsheet somewhere that you can work stuff out