This paper presents the development of a simulation tool based on the Matlab computational environment for building temperature performance analysis with automatic control. The simulation tool contains mathematical models for buildings, HVAC (Heating, Ventilation and Air Conditioning) systems, sensors, weather data and control algorithms. The building mathematical model is described in terms of...