Temperature control tutorial with room temperature simulator
The temperature control tutorial with room temperature simulator consists of the step-by-step process of constructing a simple temperature regulation system using Distrix. The system consists of four agents: a simulated temperature sensor, a display/control console, a controller, and a virtual air conditioner control. The display/control console runs from the terminal, as do the other agents. Addition of a graphical user interface is outside the scope of this tutorial.
The system uses a temperature sensor simulator, which fluctuates in a random fashion weighted towards increase, reporting to the display/control console. On that console, the user can monitor the temperature and specify the point at which the air conditioner switches on. When the air conditioner is switched on, the temperature decreases steadily until a pre-specified point, at which it switches off. The effect of the air conditioner applies to the simulated temperature sensor.
Full details of the tutorial are here.