Understanding the performance determining processes in dye sensitized solar cells