1D and 2D Numerical simulation of electrical currents in excitonic solar cell