Sell the output of a one-megawatt solar farm under a power purchase agreement and watch the cash flow year by year. Change the contract price, price escalator, capital cost, sunshine yield, panel degradation and discount rate to see net present value, internal rate of return, payback time and levelized cost of energy. A Blender-built solar array and inverter, with numerical checks of the finance formulas built in.