a multiagent system approach to schedule devices in smart
play

A Multiagent System Approach to Schedule Devices in Smart Homes - PowerPoint PPT Presentation

A Multiagent System Approach to Schedule Devices in Smart Homes William Yeoh Enrico Pontelli Ferdinando Fioretto New Mexico State University University of Michigan May, 2017 Home Automation 1 Network of smart homes 2 Smart Homes and SHDS


  1. A Multiagent System Approach to Schedule Devices in Smart Homes William Yeoh Enrico Pontelli Ferdinando Fioretto New Mexico State University University of Michigan May, 2017

  2. Home Automation 1

  3. Network of smart homes 2

  4. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Smart Home Device Scheduling (SHDS) A SHDS problem is composed of: A neighborhood of smart homes. • A set of smart electric devices within each home. • A time horizon for the device scheduling. • exact 2 Z i . The ener problem uildings h i and whose 3

  5. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Smart Home Device Scheduling (SHDS) A SHDS problem is composed of: A neighborhood of smart homes. • A set of smart electric devices within each home. • A time horizon for the device scheduling. • A pricing function expressing cost per kWh of energy • consumed. time start 0:00 8:00 12:00 14:00 18:00 22:00 time end 7:59 11:59 13:59 17:59 21:59 23:59 price ($) 0.198 0.225 0.249 0.849 0.225 0.198 Pacific Gas & Electric Co. pricing schema 4

  6. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Smart Home A smart home has: A set of smart devices it can control (e.g, HVAC, roomba) • exact 2 Z i . The ener problem uildings h i and whose 5

  7. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Smart Home A smart home has: A set of smart devices it can control (e.g, HVAC, roomba) • A set of locations (e.g., living room, kitchen) • 6

  8. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Smart Home A smart home has: A set of smart devices it can control (e.g, HVAC, roomba) • A set of locations (e.g., living room, kitchen) • A set of sensors (e.g., cleanliness, temperature) • Battery charge sensor Thermostat Cleanliness sensor 7

  9. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Smart Devices (Actuators) A smart device is defined with a Location: where the device can act (e.g., living room) • Actions it can perform (clean, charge, stop) and the power consumption • associated to them Sensors’ states properties it affects (e.g., cleanliness, battery_charge) • Action State property Power (kW/h) run cleanliness, 0.0 battery charge charge battery charge 0.26 stop 0.0 8

  10. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Smart Devices (Sensors) We associate a predictive model to each home sensor. • It describes the transition of a state property from a state s and • time t to time t+1, when affected by a set of actuators. Thermostat Heater Oven Current Next State State off off 12 C 11 C Effect of the environment off bake 12 C 13.8 C on off 12 C 17.5 C on bake 12 C 19.3 C 9

  11. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Smart Device Schedules Scheduling Rules Active rules : specify user-defined objectives on a desired state • of the home. E.g., living room cleanliness ≥ 75 before 1800 Passive rules : define implicit constraints on devices. E.g., • z v battery charge ≥ 0 always z v battery charge ≤ 100 always 10

  12. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Smart Device Schedules Schedule: A sequence of actions for the home devices. S R R C C R R C R Device Schedule 0 15 30 30 30 45 60 60 75 Cleanliness (%) 65 40 15 35 55 30 5 25 0 Battery Charge (%) Goal 75 75 Battery Charge (%) 60 60 Cleanliness (%) 45 45 30 30 15 15 0 0 1400 1500 1600 1700 1800 Time Deadline 11

  13. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Smart Home Device Scheduling (SBDS) • SHDS objective: Aggregated monetary cost of the homes schedules ↵ c · C sum + ↵ e · E diff min ξ [0 ! H ] Z i Energy consumption peaks across all homes Homes’ devices schedules subject to: ⇠ [ t a ! t b ] 8 h i 2 H , R [ t a ! t b ] = R [ t a ! t b ] 2 R i : | p p Φ p P All scheduling rules must be satisfied 12

  14. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Distributed Constraint Optimization < X , D , F , A , α>: • X : Set of variables. • D : Set of finite domains for each variable. • F : Set of constraints between variables . • A : Set of agents, controlling the variables in X . • α: Mapping of variables to agents. exact 2 Z i . The ener problem uildings h i and whose 13

  15. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Distributed Constraint Optimization < X , D , F , A , α>: • X : Set of variables. • D : Set of finite domains for each variable. • F : Set of constraints between variables . • A : Set of agents, controlling the variables in X . • α: Mapping of variables to agents. • GOAL: Find a cost minimal assignment. x ⇤ = arg max min F ( x ) x min X = arg max f ( x | scope ( f ) ) x F f 2 F 14

  16. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Distributed Constraint Optimization • Agents coordinate an assignment for their variables. x a • Agents operate distributedly. f ac f ab Communication: • By exchanging messages. x b x c f bc • Restricted to agent’s local neighbors. Knowledge: f bd • Restricted to agent’s sub-problem. x d 15

  17. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Solution Approach SH-MGM: Adaptation of a local search DCOP algorithm (MGM). 1. Agents independently search for a feasible schedule for their local devices. exact 2 Z i . The ener problem uildings h i and whose c i : schedule cost E it :energy consumption 16

  18. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Solution Approach SH-MGM: Adaptation of a local search DCOP algorithm (MGM). 1. Agents independently search for a feasible schedule for their local devices. 2. Schedule costs and energy consumption are broadcasted to all other agents. exact (c i , E it ) 2 Z i . The ener problem uildings h i and whose (c i , E it ) c i : schedule cost E it :energy consumption 17

  19. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Solution Approach SH-MGM: Adaptation of a local search DCOP algorithm (MGM). 3. Upon receiving all other agents costs and energy consumptions: • Computes the objective cost with its current schedule. • Within a time limit, it finds a new solution to its local subproblem that is no worse than the current solution. new schedule E diff ≤ α c · c i ( ξ [0 ! H ] ξ [0 ! H ] α c · c i (ˆ ) + α e · ˆ ) + α e · E diff Z i Z i current schedule c i : schedule cost E it :energy consumption 18

  20. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Solution Approach SH-MGM: Adaptation of a local search DCOP algorithm (MGM). 3. Upon receiving all other agents costs and energy consumptions: • Computes the objective cost with its current schedule. • Within a time limit, it finds a new solution to its local subproblem that is no worse than the current solution. • It computes the gain G i between its current and new solutions, and broadcast it to all other agents. ⇣ ) + α e · E diff ⌘ α c · c i ( ξ [0 ! H ] G i = Z i ⇣ E diff ⌘ ξ [0 ! H ] α c · c i (ˆ ) + α e · ˆ − Z i c i : schedule cost E it :energy consumption 19

  21. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Solution Approach SH-MGM: Adaptation of a local search DCOP algorithm (MGM). 4. Upon receiving all other agents’ gains G k , it checks if the agent has the largest gain among all those received. If so, it updates its schedule to the new schedule, otherwise it retains its old schedule. 5. The process repeats untill convergence (all gains = 0) or a fixed number of iterations. exact 2 Z i . G j The ener problem uildings h i and whose G k G i : agent’s gain 20

  22. Smart Homes and SHDS | DCOP | Solution Approach | Results | Conclusions Evaluation: Settings 7 Raspberry Pis connected via a LAN. • Each controlling 9 smart actuators. • Communication and coordination of the MAS is implemented • via the JADE framework. Each agent uses an internal CP solver (JaCoP) to solve its local • scheduling problem. A Raspberry PI with a dangle Smart devices 21

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend