Producing an integrated model of circuit conditions and ion motion, allowing optimization of circuit and excitation parameters, plus sanity checking