Modelling of Quantum Electromechanical Systems