In the presence of transmission outages, uncertain demand and variable renewable supply, network operators keep a reliability margin to avoid interruptions and black-outs. The reliability margin is presently determined by the N-1 reliability criterion. Our analytical model defines the optimal...