OSGi Community Event 2015
Nowadays utility companies face the situation that more and more customers equip their houses with energy storage systems trying to become self-sustaining with on-site energy production. Supplying electricity as a business model in this scenario does not work - it is neither sustainable nor extendable any more.</p>
EnBW - one of the biggest European energy supply companies - strikes a new path offering their energy know-how as a service to owners of on-site energy production systems.
EnergyBASE - an intelligent smart edge energy management device - helps to optimize in-house energy flows and to increase the percentage of self-containedness. It provides a self-learning system based on individual power production and personal household consumption characteristics and combines these data with additional external sources like weather data to calculate consumption prognosis in order to optimize in-house energy flows.
The EnergyBASE system consists of an ARM 450 MHz processor with 128 MB RAM and runs an embedded Linux operating system with integrated TCP/IP stack and SQL database. It provides LAN, WiFi and RS485 interfaces. The software stack contains Oracle Java Embedded SE 8 (ported by MicroDoc) and Prosyst mBS Smart Home OSGi.
In this talk we will present our experience using Java Embedded SE 8 and OSGi on an embedded device in a real-life project with demanding needs for computation performance (calculation of mathematical optimization models), handling of big data voluminas, various infrastructure needs (internet, sensors, powerline, housenet) and stability (24/7) requirements.
Scaling API-first – The story of a global engineering organization
Smart edge ioT devices enable utility company to create new business segments in the era of energy revolution - Christine Mitterbauer
1. Energy Revolution: Smart IoT
Devices Enable New Business
Models for Utilities
2015, EclipseCon, Ludwigsburg
Christine Mitterbauer, Andreas Gerstmeier
2. Brief portrait
EnBW Energie Baden-Württemberg AG
›One of the largest energy companies in Germany and Europe
›Business segments: Sales, Grids, Renewable Energies, Generation and Trading
›Revenue 2014: more than €21 billion
›Customers: some 5.5 million
›Employees: some 20,000
4. The individual „Energiewende“ meets to a
challenge for the Prosumer …
Electric
Appliance
Heating
Hot
Water
Old World: Simple usage of energy Today: Usage, Generation and Storage of Energy
in local, distributed systems
Energy Supplier
Electricity,
Oil, Gas or
Heat
EV
Electric
Appliance
Heating
Hot
Water
Hot
Water
Tank
Micro-
CHP
Energy Service-Provider
EV
Storage
Loads
Generation
Battery
Thermal
Storage
Heating
Heat
Pump
PV
4C) 2015 EnBW AG, EclipseCon 2015
8. • Independent Software Vendor and Solution Provider
• Located in Munich/Stuttgart/Berlin, Germany
• Over 15 years experience in the embedded area
• International customer base
• Experience in multiple application domains
• Telematics, Automotive, Smart Grid, Smart Metering...
• Oracle OJPI partner since 2014
Brief Portrait
MicroDoc GmbH
8(C) 2015 EnBW AG – EclipseCon 2015
9. MicroDoc & EnBW
• Java™ Technology Provider
• Experience with large Java/OSGi customer
projects in the embedded area
• Project management
• Quality assurance
• Development ressources
9(C) 2015 EnBW AG – EclipseCon 2015
10. IoT Hardware & Java VM
Hardware
• 450 MHz ARM9 processor
• 128 MB RAM / 4GB Flash
• Ethernet & Serial RS485 Interfaces
• Polyphase electric meter
Software
• Embedded Linux
• MicroDoc Oracle Java SE Embedded 8
10(C) 2015 EnBW AG – EclipseCon 2015
11. EnergyBASE - Software Architecture
ProSyst mBS Smart Home OSGi
MicroDoc Oracle Java SE Embedded 8
Prognosis Dev Control
Apps
Device AdapterWeb
Transparency News Wallplugs Devices Optimizer Settings LoginWeather
Container
Battery Inverter
Meter dLAN
Embedded Linux
Protocol
MDNS
Modbus
Zwave
ProSyst HDM
Device Agent
Storage
Backend
Contract
UI
Rest
App FW
UPNP
...Limitation
Observer
Config
PV
Consum
Weather
Problem Solvers
(C) 2015 EnBW AG - Oracle JavaOne 2015, CON9759 11
13. Installation in a typical household
9
Z-WAVE
(C) 2015 EnBW AG – EclipseCon 2015
14. EnergyBASE - Software Architecture
14(C) 2015 EnBW AG – EclipseCon 2015
ProSyst mBS Smart Home OSGi
MicroDoc Oracle Java SE Embedded 8
Prognosis Dev Control
Apps
Device AdapterWeb
Transparency News Wallplugs Devices Optimizer Settings LoginWeather
Container
Battery Inverter
Meter dLAN
Embedded Linux
Protocol
MDNS
Modbus
Zwave
ProSyst HDM
Device Agent
Storage
Backend
Contract
UI
Rest
App FW
UPNP
...Limitation
Observer
Config
PV
Consum
Weather
Problem Solvers
15. IoT – Software Deployment Scenario I
Bundles moved between OSGi-enabled Devices
Java / OSGi
MicroDoc Java SE Embedded 8
Prosyst mBSSH OSGi
ZWave
ZWave
Devolo PLC Adapter
EnBW EnergyBASE
15(C) 2015 EnBW AG – EclipseCon 2015
16. 16
Functions of the EnergyBASE
Energy
Consumer
Energy
Consumer
Energy
Storage
Energy
Storage
(C) 2015 EnBW AG – EclipseCon 2015c
17. EnergyBASE - Software Architecture
17
ProSyst mBS Smart Home OSGi
MicroDoc Oracle Java SE Embedded 8
Prognosis Dev Control
Apps
Device AdapterWeb
Transparency News Wallplugs Devices Optimizer Settings LoginWeather
Container
Battery Inverter
Meter dLAN
Embedded Linux
Protocol
MDNS
Modbus
Zwave
ProSyst HDM
Device Agent
Storage
Backend
Contract
UI
Rest
App FW
UPNP
...Limitation
Observer
Config
PV
Consum
Weather
Problem Solvers
(C) 2015 EnBW AG – EclipseCon 2015c
18. IoT – Software Deployment Scenario II
Distributed OSGi Services
Java SE
ProSyst mPRM OSGi
Java SE 8 Embedded
Prosyst mBS Smart Home
EnergyBASEBackendServer
Weather Backend
EnergyBASEDevices
Java SE 8 Embedded
Prosyst mBS Smart Home
Java SE 8 Embedded
Prosyst mBS Smart Home
Java SE 8 Embedded
Prosyst mBS Smart Home
Geocoding
Weather
Client
Weather
Client
Weather Forecast
Weather
Client
Weather
Client
Weather
Client
18(C) 2015 EnBW AG – EclipseCon 2015
19. EnergyBASE - Apps
19
ProSyst mBS Smart Home OSGi
MicroDoc Oracle Java SE Embedded 8
Prognosis Dev Control
Apps
Device AdapterWeb
Transparency News Wallplugs Devices Optimizer Settings LoginWeather
Container
Battery Inverter
Meter dLAN
Embedded Linux
Protocol
MDNS
Modbus
Zwave
ProSyst HDM
Device Agent
Storage
Backend
Contract
UI
Rest
App FW
UPNP
...Limitation
Observer
Config
PV
Consum
Weather
Problem Solvers
(C) 2015 EnBW AG – EclipseCon 2015
20. IoT – EnergyBASE Apps
• Apps implemented as OSGi-Services
• OSGi-Services exported as RESTful-Webservices
transparently
• REST-Services used by Mobile-Apps AND Web-App
• Web-App contained in APP
• API open for Third-Party-Systems
• New functions easy to integrate
• Apps can be booked as a service
20(C) 2015 EnBW AG – EclipseCon 2015
23. EnergyBASE - Software Architecture
23
ProSyst mBS Smart Home OSGi
MicroDoc Oracle Java SE Embedded 8
Prognosis Dev Control
Apps
Device AdapterWeb
Transparency News Wallplugs Devices Optimizer Settings LoginWeather
Container
Battery Inverter
Meter dLAN
Embedded Linux
Protocol
MDNS
Modbus
Zwave
ProSyst HDM
Device Agent
Storage
Backend
Contract
UI
Rest
App FW
UPNP
...Limitation
Observer
Config
PV
Consum
Weather
Problem Solvers
(C) 2015 EnBW AG – EclipseCon 2015
24. Possible Software Deployment Option:
Move Bundles to Backend
Java SE
ProSyst mPRM OSGi
Java SE 8 Embedded
ProSyst mBS Smart Home
Problem
Solver
EnBW EnergyBASE
EnergyBASE Backend
Problem
Solver
24(C) 2015 EnBW AG – EclipseCon 2015
25. Copyright Notice
• Java is a registered trademarks of Oracle and/or its affiliates.
• All other names and trademarks are names and trademarks of the respective owners
Christine Mitterbauer
Member of the Management Board
MicroDoc GmbH
Elektrastr. 6a
81925 München
christine.mitterbauer@microdoc.com
Andreas Gerstmeier
Technical Project Lead
EnBW Ostwürttemberg DonauRies AG
Unterer Brühl 2
73479 Ellwangen
a.gerstmeier@enbw.com
25(C) 2015 EnBW AG – EclipseCon 2015