smart cities and internet of thingsaiellom/pdf/p1 intro.pdf · spring . iaas – smart energy...
TRANSCRIPT
IAAS – Smart Energy Systems and Services
• Dr. Ilche Georgievski
• Started as a postdoc in Stuttgart on April 1st, 2018
• Previously – CTO at Sustainable Buildings Netherlands
– Postdoc at University of Groningen, The Netherlands
Focus – AI planning
– Automated service coordination
– Smart energy systems
What
• How-to of some ideas and concepts
• Examples
• Pointers to tutorials
• I can help but I cannot do the project for you
Topics covered
• How to build a smart energy system
• How to set up a Raspberry Pi and different sensors
• How to gather data
• How to reason over data
Tools and technologies
• IntelliJ IDEA – Ultimate Edition is free for Academic use
• Scala (maybe sometimes Java and Python)
• JSON
• RabbitMQ (AMQP and/or MQTT)
• AI planner(s)
• Debian Strech (Raspbian Strech Lite)
• Git and GitHub
PROJECT Course
Design and implementation of an application within the specified
context and focus
Deliverables
• Develop project idea (10 days)
• Submit a specification document – Deadline: 16.05.2018 – Project description – Architecture – Software and hardware requirements specification
• Midterm project demo and software – 14.06.2018 (tentative)
• Final project demo and software
– 19.07.2018 (tentative)
Requirements
• Groups of two or three students
• 1+ sensor and 1+ actuator
• Data storage
• Service orientation
• Message queuing
• Reasoning over data
• Free to choose your programming language
Scoring criteria
• Documentation (max 5 pages) - 5 points – Architecture design – Software and hardware requirement specification – Completeness – UML diagrams
• Implementation - 5 points – Main capabilities of SES (data storage, service orientation, message
queuing, planning) – 1+ sensor and 1+ actuator – Running on more than one computer
• Demonstration (15 min) - 5+5 points – Motivation – Teamwork
Expectation
• Innovation
• Proactivity
• Independence
Context
Smart cities depend on an electricity grid to ensure resilient delivery of energy to supply their main functions, present opportunities for savings, improve efficiency and so on. Among other things, a smart electricity grid
informs and educates users about their energy usage, costs and alternatives, to enable them to make decisions autonomously about how and
when to use electricity
Focus
• Non-residential buildings
• Building Energy Management System
• A platform that interfaces users with the grid and considers their needs, their living environments and energy prices to coordinate automatically the usage of appliances
Focus
• Simple unobtrusive sensors (e.g., electricity plugs, light sensors, movement sensors) to provide insights in the energy demands for the grid
• For instance, one can use live indoor data to match end-users energy consumption to the fluctuating supply of local energy sources by using automation (e.g., automated regulation of the heating system)
THINGS Available
Raspberry Pi
• Raspberry Pi 3 B+
• microSD card 8GB
• Power adapter
• Case
Physical sensors
• GrovePi
– PIR Motion
– Light
– Sound
– Angle
– Temperature and humidity
• Protocol: I2C
Physical sensors
• MultiSensor 6 (Aeotec) – Motion – Temperature – Light – Humidity – Vibration – UV
• Z-Stick (Aeon Labs)
• Protocol: Z-Wave
Physical sensors
• Raspberry Pi Sense Hat
– Movement/Orientation
– Temperature
– Humidity
– Pressure
• Protocol: I2C
Services as sensors
• Weather forecasts
– Weather Underground (https://api.wunderground.com/)
– Open Weather (https://openweathermap.org/api)
Actuators
• Plugwise
– Switch on/off
– Two circles
– USB sticks
– Software licence
• Protocol: ZigBee
Actuators
• Grove Relay
– Control circuit of high voltage with low voltage
• Protocol: I2C
Actuators
• Raspberry Pi Relay Shield
– Control the load of high current
• Protocol: I2C
Summary
• 15 Raspberry Pi’s
• 5 sets of GrovePi sensors
• 5 MultiSensor 6 and Z-Sticks
• 3 Raspberry Sense Hat
• 2 Raspberry Relay Shield
• 10 Plugwise sets (2 circles and a USB stick)
• Your own