Computational characterization of organic photovoltaic devices