Simulation of an HTS Synchronous Superconducting Generator