Calculate the levelized cost of energy (LCOE) for a solar PV system based on capital costs, O&M, and lifetime production.