Text this: An Optimization Method of Active Distribution Network Considering Time Variations in Load and Renewable Distributed Generation