A computer method for dynamic analysis of HVAC system : building interaction and control applications