Modelling and analysis of a combined electronic and micro-mechanical system