Simulation model of the fractal patterns in ionic conducting polymer films