Thermostat II v1.1.0

This model is an adaptation from the NetLogo Thermostat model: Wilensky, U. (1998). NetLogo Thermostat model. http://ccl.northwestern.edu/netlogo/models/Thermostat. Center for Connected Learning and Computer-Based Modeling, Northwestern Institute on Complex Systems, Northwestern University, Evanston, IL It has been developed as an explanatory example for the work: Pereda, M. and Zamarreño, J.M. Modelado Basado en Agentes: un Enfoque desde la Ingeniería de Sistemas. 2014. Revista Iberoamericana de Automática e Informática industrial (sent for publication). This model has been developed to illustrate the behaviour of the system in open loop as well as in closed loop through an ON-OFF controller. If the system is put in open loop mode, the temperature (modelled through heat balls - agents that move around) would decrease through time as some of the agents would eventually leave the room through the walls, as there is a relation between the temperature measured by the thermostat and the density of agents. The thermostat measures the temperature as a function of the number of agents on its surface, applying a first order dynamics to take into account the inertia in the behaviour of the thermostat. If the system is put in closed loop, a controller starts acting. This controller is kept simple: a bang–bang controller (on–off controller). The controller is incorporated into the thermostat so it heats the room until a desired value is reached. If the room temperature is lower than the desired one, the thermostat switches on and starts heating the room (generating new agents) until the desired value is reached, then, it switches off. The regulatory behaviour can be inhibited by deactivating the controller (with a chooser) in the interface.
This is a companion discussion topic for the original entry at https://www.comses.net/codebases/4234/releases/1.1.0/