Optical modeling as optimization tool for single and double junction polymer solar cells