In recent years, cyber physical systems play important roles in many diverse areas. Many contributing works of mathematicians and scientists have developed the concept of control theory. However, the power-consumption capacity of cyber physical systems has been growing, as has been their scale. Energy-supply issues rightly constitute one of the most important issues. In this paper, we propose a cyber physical system model that could be scheduled and controlled to achieve the desired reference values and minimizing the power consumption of the given system. In the model, the central control module copes with all variables, including the current output of the process and the predicted temperature variation in the next epoch. The binary-coded genetic algorithm is the scheduler and used to control the actuators by the actuator controller. The operation of the system, as based on the schedulers' schedule results, helps minimize the power consumption of the whole system while permitting the realization of the desired reference sensor value. The simulation results show that the application of our proposed cyber physical system model can minimize its power consumption while accomplishing the desired set point.