A typical example: Controlling room temperature with a PID controller

Have a look at the example given in: examples/controller/pid_with_simulator.py