Sensitivity study in a compact accelerator for laser-generated protons