Mixed electrical-thermal and electrical-mechanical simulation of electromechatronic systems using PSpice