Development of a model for an automated system for controlling temperature and humidity in a building.