Network optimization is one of an effective ways to enhance the performance of an active distribution network (ADN). Aiming to improve the operation and power quality of the ADN considering time variations in load and renewable distributed generation (RDG) power, a multi-time period optimization model and its dynamic solution method are proposed. Considering the real time load demand and power generation variation of RDG versus input parameters like wind speed and solar irradiance, the time variation models of load and RDG power output are developed. The minimum power loss and maximum absorption of RDG power are served as the optimization indexes to construct the dynamic muti-time period optimization model. A hybrid particle swarm optimization (HPSO) algorithm is presented based on integer coding and random coding technique, which can find the most satisfactory solutions for the proposed dynamic model. Considering the time variation of load and RDG power of ADN, the optimal network structure and RDG allocation scheme at any time interval are determined by analyzing the obtained solutions. Additionally, two ADNs with time variation in load and RDG are tested to verify the effectiveness and superiority of the proposed dynamic optimization model and HPSO algorithm. The simulation results show that the proposed method can improve the operation performance and RDG optimal utilization of the ADNs through muti-time period dynamic optimization.