Modeling And Simulation Of Electric Power Systems With Large Shares Of Renewable Energy