Renewable Energy And Flexibility Integration On The Electricity Market