Computer-Aided Planning of Distribution Substation and Primary Feeders