A coupled field and circuit approach in the electromechanical device modelling