I have thousands of dollars worth of solar - and it's not enough for me to go off grid.
Solar is in no way cheaper than gasoline.
Gasoline is very energy dense. I get 36,000,000 joules out of 1 tank (2 gallons = $6) in my generator (4 hours @ 2500 watts) - and I can extract that energy day or night, rain or shine. Storing that energy requires only a metal or HDPE container. With the proper additives, that energy storage can last for well over a year.
Contrast solar, which is NOT energy dense. Each 100 watt solar panel can only generate 1,440,000 joules in a 4 hour period. There's loss in the charge controller, there's loss in the microinverter. Let's say the system is perfectly efficient - it would take 25 solar panels to achieve the same power output. However, that set of 25 solar panels can only operate for maybe 8 hours during the day, and only on days with good weather. Assuming you want to generate the same amount of energy as the gas generator in the same 4 hour period - now you must have 150 panels. If you want to use that energy at night, you need a way to store it.
Storing that energy requires batteries that have a finite life. If you leave LIPO batteries charged, they degrade - they're designed for charge/discharge cycles - holding a charge for long periods alters them chemically. You can't store that electricity for a year.
Here's the kicker - the 2500 watts from my generator can only operate my refrigerator, freezers, and some lights. I can't run air conditioning or the water heater at the same time with that little power. Hell, making coffee takes 1000 watts!
You really don't know anything about this subject.