Also you can check this tread to see how many different parameters and variables are involve in electrolysis process:
Perfect electrolysis formula