Modeling emerging solar cell materials and devices