Discounting
Constant yearly net cash benefit (benefit minus operating cost) and optional upfront cost at year 0. Discount rate r per year (e.g. 0.08 for 8%).
Flat cash flows are a strong simplification. Taxes, risk premia, and option value are omitted.