A new approach to measurement modelling in electrochemical impedance spectroscopy