1. A method comprising: pairing manipulated variables and controlled variables in an HVAC system; perturbing a variable; controlling the HVAC system to maintain controlled variables in a comfort range; determining a state of the system; and deriving a model from the state of the system.