Text this: Relationship between loss of load expectation and reserve margin for optimal generation planning