My $0.02
The simplest system is s grid tie inverter. Biggest disadvantage: When the power goes out, the power goes out.
Advantage: No batteries. Payback: Depends on utility. Your excess power may be generated at the wholesale rate. So, only if your consuming while you have output you get a big advantage. if you work during the day, it messes tings up.
if your billed using peak energy methods you could save some money.
There are some complex systems that integrate, utility, generator, wind and solar with batteries all at the same time Batteries are a big problem, but with no utility power, you get power.
The solar panels can be one big array or a bunch of micro-inverters. They get shaded and that presents a problem. They get dirty s the output is decreased. They have to be replaced every once in a while. 25 yrs+.
Batteries are expensive.
While we are on the topic, there are natural gas generators that might be whole house or critical loads.
With a grid tie inverter, you'd not want to put power on the grid. A lineman could get electrocuted. the grid-tie inverter takes care of that.
With the other systems you need a transfer switch. they are emchanically interlocked, so it's NOT POSSIB:E for Utility and auxillary power to be connected at the same time.
Generators require exercise and they do drop out for a little bit. Generally they can be set not to when they get exercised/
Wind power is goofy because you have to take it when you get it.
I know that large grid solar plants, e.g. 4 MW can do local utility power factor correction because of the inverter technology.
Arrays can be fixed or have automatic sun tracking.
I worked I basic research where nothing was manufacturable and I did some work putting together a demand side management research project that was published.
Microinverters may be new to everybody:
https://enphase.com/en-us/products-and-services/microinverters