The Impact of Renewable Energy Sources and Distributed Generation on Substation Protection and Automation