Numerical Study of Z-pinch Dynamics at Different Working Regimes