Direct current (DC) residential distribution systems (RDS) consisting of DC living homes will be a significant integral part of future green transmission. Meanwhile, the increasing number of distributed resources and intelligent devices will change the power flow between the main grid and the demand side. The utilization of distributed generation (DG) requires an economic operation, stability, and an environmentally friendly approach in the whole DC system. This paper not only presents an optimization schedule and transactive energy (TE) approach through a centralized energy management system (CEMS), but also a control approach to implement and ensure DG output voltages to various DC buses in a DC RDS. Based on data collection, prediction and a certain objectives, the expert system in a CEMS can work out the optimization schedule, after this, the voltage droop control for steady voltage is aligned with the command of the unit power schedule. In this work, a DC RDS is used as a case study to demonstrate the process, the RDS is associated with unit economic models, and a cost minimization objective is proposed that is to be achieved based on the real-time electrical price. The results show that the proposed framework and methods will help the targeted DC residential system to reduce the total cost and reach stability and efficiency.