Exercise 3: Towards using utility functions
As an advanced problem, we suggest you to use utility functions to express the goals of the different managers you have already implemented.
We suggest you to investigate the use of:
- an utility function to map the illuminance with the satisfaction of users. Each user will provide a function describing its degree of satisfaction regarding a given temperature.
- an utility function to map the temperature with the satisfaction of users. Each user will provide a function describing its degree of satisfaction regarding a given temperature.
- an utility function describing the degree of satisfaction of the administrator regarding the consumed energy/the cost.
The goal is then to maximize the satisfaction of each users while maintaining an acceptable energy consumption. You will have to use priority between the different concerns to be able to match this goal.