Short-Term Scheduling of Active Distribution Systems