Patent attributes
A building cooling system includes one or more cooling devices operable to affect an indoor air temperature of a building and a system management circuit. The system management circuit is configured to obtain an objective function that includes a power consumption term and a comfort term, perform an optimization of the objective function over a time horizon to determine values of the cooling capacity of the cooling devices where each value of the cooling capacity corresponds to a time step of the time horizon, and control the cooling devices based on the values of the cooling capacity of the cooling devices. The comfort term of the objective function a difference between a prediction of the indoor air temperature of the building and a temperature setpoint for the building, while the power consumption term is a function of the power consumption of the one or more cooling devices.