Distribution systems management is becoming an increasingly complicated issue due to the introduction of new technologies, new energy trading strategies, and new deregulated environment. In the new deregulated energy market and considering the incentives coming from the technical and economical fields, it is reasonable to consider Distributed Generation (DG) as a viable option to solve the lacking electric power supply problem. This paper presents a mathematical distribution system planning model considering three planning options to system expansion and to meet the load growth requirements with a reasonable price as well as the system power quality problems. DG is introduced as an attractive planning option in competition with voltage regulator devices and Interruptible load. In the mathematical model, the objective function includes investment costs, which are evaluated as annualized total cost, plus the total running cost as well as the cost of curtailed loads and losses. This model identifies the optimal type, size, and location of the planning options. This paper also studies the fluctuation of the load and electricity market price versus time period, and the effect of DG placement on system improvement. To solve the proposed mathematical planning model a new software package by interfacing MATLAB and GAMS is developed. This package enables one to solve large extent distribution system planning program visually and very fast. The proposed methodology is tested on the case of the well-known IEEE 30-bus test system.