The accumulated generator sets or distributed energy resources (DERs) can be interconnected and be operated as part of a distributed generation system. With the interconnected alternative power sources of the campus, there must be a better way to optimize their use. The careful scheduling by unit commitment and economic load dispatch would be very useful. Operating power system is one of economics wollenberg 1. UC in power system is determining the schedule of the generating units to be ON and/or OFF in order to supply the forecasted load in a period of time. Constraints such as load balance, system spinning reserve, unit generation limit, etc. are included in this planning schedule which has the goal of minimizing the cost of the operation of the power systems.