Markovian master equations for quantum thermal machines: local versus global approach. (20th December 2017)