A method for controlling a vapor compression system determines a value of a metric of performance of the vapor compression system using a previous value of an estimated parameter and a previous value of a control signal determined for a previous time step of the control. The values of the estimated parameter represent a relationship between values of the control signal and values of the metric of performance. A current value of the estimated parameter is determined based on the previous value of the estimated parameter and an error between the determined value of the metric of performance and a measured value of the metric of performance. Next, a current value of the control signal is determined based on the current value of the estimated parameter.
展开▼