Theoretical investigations and methodology for modeling and direct simulation of electrochemical pulse plating in the diffusion boundary layer (Advanced Modeling and Simulation in Engineering Sciences, 2025)