An empirical method to improve the equivalent circuits of synchronous machines