Lumped-parameters thermal network of PM synchronous machines for automotive brake-by-wire systems