Guilin Sun
Ansys Employee

Please first refer to the simulation methodolgy  Solar cell methodology

then you may refer to this example:
Plasmonic solar cell at normal and oblique incidence

more examples can be found here: https://optics.ansys.com/hc/en-us/sections/360007208293-Solar-cellÂ