Modeling the long-term impact of demand response in energy planning: The Portuguese electric system case study. (15th December 2018)