Opportunity cost meaning investing with standard rule of thumb returns? I think usually it's just total cost at installation divided by the product of power generation and energy cost. So that's $ / (W x $/Wh), which should reduce down to just hours that can be trivially converted to years
Cost of alternative investments not pursued as a result of deployed capital.