Thyristor SMES Current Control for Optimized Real and Reactive Power Compensation