Applications of Real-Time Simulation Technologies in Power and Energy Systems