Resource Adequacy And Flexibility: Keeping The Lights On