A controller for a plurality of heating, ventilation, or air conditioning, HVAC, devices, the controller comprising: - a processing circuit comprising one or more processors and memory storing instructions that, when executed by the one or more processors, cause the one or more processors to: - detect a change in condition that affects an operating status of a first HVAC device of the plurality of HVAC devices; - use schematic relationships between the plurality of HVAC devices to determine a reduced subset of the plurality of HVAC devices for which operating parameters are to be generated based on the operating status of the first HVAC device; characterized in that the instructions further cause the one or more processors to: - predict thermodynamic states of the reduced subset of the plurality of HVAC devices; - determine a set of operating parameters for the reduced subset of the plurality of HVAC devices based on the predicted thermodynamic states that render a lowest power consumption, wherein power consumption is predicted based on the predicted thermodynamic states of the reduced subset of the plurality of HVAC devices and a candidate set that renders the lowest power consumption is determined as the set of operating parameters for the reduced subset of the plurality of HVAC devices by comparing power consumptions of different candidate sets of operating parameters; and - operate the reduced subset of the plurality of HVAC devices using the determined set of operating parameters. - a processing circuit comprising one or more processors and memory storing instructions that, when executed by the one or more processors, cause the one or more processors to: - detect a change in condition that affects an operating status of a first HVAC device of the plurality of HVAC devices; - use schematic relationships between the plurality of HVAC devices to determine a reduced subset of the plurality of HVAC devices for which operating parameters are to be generated based on the operating status of the first HVAC device; characterized in that the instructions further cause the one or more processors to: - predict thermodynamic states of the reduced subset of the plurality of HVAC devices; - determine a set of operating parameters for the reduced subset of the plurality of HVAC devices based on the predicted thermodynamic states that render a lowest power consumption, wherein power consumption is predicted based on the predicted thermodynamic states of the reduced subset of the plurality of HVAC devices and a candidate set that renders the lowest power consumption is determined as the set of operating parameters for the reduced subset of the plurality of HVAC devices by comparing power consumptions of different candidate sets of operating parameters; and - operate the reduced subset of the plurality of HVAC devices using the determined set of operating parameters. - detect a change in condition that affects an operating status of a first HVAC device of the plurality of HVAC devices; - use schematic relationships between the plurality of HVAC devices to determine a reduced subset of the plurality of HVAC devices for which operating parameters are to be generated based on the operating status of the first HVAC device; characterized in that the instructions further cause the one or more processors to: - predict thermodynamic states of the reduced subset of the plurality of HVAC devices; - determine a set of operating parameters for the reduced subset of the plurality of HVAC devices based on the predicted thermodynamic states that render a lowest power consumption, wherein power consumption is predicted based on the predicted thermodynamic states of the reduced subset of the plurality of HVAC devices and a candidate set that renders the lowest power consumption is determined as the set of operating parameters for the reduced subset of the plurality of HVAC devices by comparing power consumptions of different candidate sets of operating parameters; and - operate the reduced subset of the plurality of HVAC devices using the determined set of operating parameters. - predict thermodynamic states of the reduced subset of the plurality of HVAC devices; - determine a set of operating parameters for the reduced subset of the plurality of HVAC devices based on the predicted thermodynamic states that render a lowest power consumption, wherein power consumption is predicted based on the predicted thermodynamic states of the reduced subset of the plurality of HVAC devices and a candidate set that renders the lowest power consumption is determined as the set of operating parameters for the reduced subset of the plurality of HVAC devices by comparing power consumptions of different candidate sets of operating parameters; and - operate the reduced subset of the plurality of HVAC devices using the determined set of operating parameters.