Time-dependent simulation and analytical modelling of electronic Mach-Zehnder interferometry with edge-states wave packets