Joint RES and Distribution Network Expansion Planning under a Demand Response Frameworkexplains the implementation of algorithms needed for joint expansion planning of distributed generation and the distribution network models. It discusses how to expand the generation and distr…