Implementation of Risk in Generation Planning