A method for controlling an operation of an air-conditioning system generating airflow in a conditioned environment, comprising: determining values of the airflow measured in the conditioned environment during the operation of the air-conditioning system ; selecting , from a set of regimes predetermined for the conditioned environment, a regime of the airflow matching the measured values of the airflow, wherein each regime in the set of regimes of the airflow is represented as a block of basis elements, such that the selecting compares the measured values of the air-flow with each block of basis elements representing each regime in the set of regimes and selects the best matching regime; selecting , from a set of models of the airflow predetermined for the conditioned environment, a model of airflow corresponding to the selected regime ; modeling the airflow using the selected model ; and controlling the operation of the air-conditioning system using the modeled airflow, wherein steps of the method are performed using at least one processor of a controller, characterized in that the model includes a reduced order model having a number of parameters less than a physical model of the airflow according to a Boussinesq equation, wherein the Boussinesq equation is a partial differential equation (PDE), and wherein the reduced order model is an ordinary differential equation (ODE), and a stability parameter representing a difference between the reduced order model and the physical model, and wherein an updating of the model of airflow dynamics comprises updating only the stability parameter of the model in response to detecting an error between values of the airflow determined according to the model and values of the airflow measured during the operation. determining values of the airflow measured in the conditioned environment during the operation of the air-conditioning system ; selecting , from a set of regimes predetermined for the conditioned environment, a regime of the airflow matching the measured values of the airflow, wherein each regime in the set of regimes of the airflow is represented as a block of basis elements, such that the selecting compares the measured values of the air-flow with each block of basis elements representing each regime in the set of regimes and selects the best matching regime; selecting , from a set of models of the airflow predetermined for the conditioned environment, a model of airflow corresponding to the selected regime ; modeling the airflow using the selected model ; and controlling the operation of the air-conditioning system using the modeled airflow, wherein steps of the method are performed using at least one processor of a controller, characterized in that the model includes a reduced order model having a number of parameters less than a physical model of the airflow according to a Boussinesq equation, wherein the Boussinesq equation is a partial differential equation (PDE), and wherein the reduced order model is an ordinary differential equation (ODE), and a stability parameter representing a difference between the reduced order model and the physical model, and wherein an updating of the model of airflow dynamics comprises updating only the stability parameter of the model in response to detecting an error between values of the airflow determined according to the model and values of the airflow measured during the operation. <EOS>