New Paradigms in Medium-Term Operations and Planning of Power Systems in Deregulation