Title: Implementation of an equivalent circuit approach to analysis of synchronous machines with saliency and saturation