Optimising tandem accelerator stripping efficiency by simulation of charge changing processes