Usage of Flexible Distribution Generation to Provide 25 KV AC Power Supply of Electrical Train and Improvement of Power Quality Indexes in Upstream Grid