https://en.wikipedia.org/wiki/Levelized_cost_of_electricity
What you are talking about is the Payback Period (PP) or Return on Investment (ROI) which is more important to homeowners adding a solar plant to their homes.
Both of these types of measure take into account both capital and operating expenses.
Excess renewable power is great but it creates a problem and the cost of that problem is not borne by the generators that created the problem.
What LCOE captures in this context is that solar panels are cheap and that the fuel cost is zero.
The average price of electricity is greatly affected by this, which is why electricity is Europe is generally more expensive than in North America.
EG: > Solar photovoltaic $1,327 $1,333–2,743 $31–146 12–30% > Solar PV with storage $1,748 $2,044 $53–81 20–31%
https://en.wikipedia.org/wiki/Cost_of_electricity_by_source#...