The program provides control of the energy distribution of a solar or solar cell system through a projector. Grid model of maximum power demand using C2000 microcontroller holmium tms320f28741 Provide the required power supply through Modbus RTU RS485 and inverter. Time cost of leaving. Based on the simulation of MATLAB program, we find the real energy, because it is impossible to achieve, it needs a lot of resources. In addition, the battery's energy consumption during the downtime. In order to obtain new energy demand. This is a messenger. This is most of the hardware.