OSGi Community Event 2013 (http://www.osgi.org/CommunityEvent2013/Schedule)
ABSTRACT
OSGi-based management of distributed renewable power sources
The presentation will provide an overview of the architecture and implementation of the infrastructure that will be used at EnBW ODR AG to manage distributed renewable energy sources.
In Germany, a electrical distribution system operator (DSO) is authorised by the legislator to limit the production of energy, if stability of the power grid is endangered or the grid is not capable to transport the renewable or conventional generated energy. Due to the installation of 1.2 million distributed renewable generating facilities, this instrument is used almost daily by some DSOs. The capability of the DSO, to measure the current power and to limit the energy production, have now to be implemented for all renewable power plants bigger than 100kW.
At first, we were looking for a turn-key solution in the market, that offers automatic provisioning, dynamic software-updates, hardware independence and process integration plus some additional management features. Due to the fact, that no existing software solution was able to fulfil our requirements (these all is needed because of the vague legal situation), we decided to implement a prototype based on a public standard that is widely accepted, OSGi.
Eclipse Equinox is in use as runtime on the gateways and ProSyst mPRM device management software are implemented on the back-end side. The gateways communicate with the local automation units at the renewable energy plants using protocols that are common in industrial automation. The 3G-based gateway communication to the back-end is implemented using SSL-encrypted messaging services. Registered gateways appear in the back-end as so-called power-plant- and generator-control-units with a defined feature set. An OSGi bundle on the mPRM back-end tracks these control-units and handles communication to the control center, using the telecontrol protocol IEC 60870-5-104. Currently the integration and rollout of gateways for 1,000 power plants starting in Q1/2014, is carefully arranged.
About EnBW ODR AG EnBW ODR AG is a regional subsidiary of EnBW AG (the 3rd biggest energy supplier in Germany) and supplies about 220,000 customers with electricity in a rural area of 3,400 km². Currently there is an installation of 25,000 renewable generating facilities in our electrical grid, rising about 2,500 every year. 380 employees work in the head office, which is located in Ellwangen. http://www.odr.de
SPEAKER BIO
OOSi based management of distributed renewable power sources - Andreas Gerstmeier
1. OSGi Community Event 2013
OSGi-based management of distributed
renewable power sources
EnBW Ostwürttemberg DonauRies AG
Dipl.-Inf.(FH) Andreas Gerstmeier
30.10.2013
Energie
braucht Impulse
2. Agenda
› About EnBW ODR AG
› The Smart Grid challenge:
Managing distributed renewable power sources
› Why OSGi?
› The way we compete the challenge
› Q&A
OSGi Community Event 2013 - OSGi-based management of distributed renewable power sources - EnBW ODR AG, Ellwangen, Germany
2
3. We offer innovative solutions in Energy
and Telecommunications
Business Segments
1
2
3
Purchase and sale of
electricity & gas
Operation of the distribution grid for
electricity & gas
Internet Service Provider (ISP) and
Carrier with own infrastructure
supply area & key indicators
Würzburg
Ostwürttemberg
90 municipalities
›
›
›
›
›
200.000 electricity customers
15.000 gas customers
400 employees
450 Mio.€ sales
Supply area: 4.500 km² with
450.000 people
HQ: Ellwangen
Stuttgart
Bavaria
40 municipalities
4
Energy related Services
Ulm
OSGi Community Event 2013 - OSGi-based management of distributed renewable power sources - EnBW ODR AG, Ellwangen, Germany
3
4. Where are the different types of generation plants
connected to the electricity grid?
Power Plant
Transformer
Station
Transformer
Station
Transformer
Station
Customer
G
20 kV
0,4 kV
High Voltage Grid
Medium Voltage Grid
Low Voltage Grid
Large regional
Distribution Grid
Small regional
Distribution Grid
Lokal
Distribution Grid
380/220 kV
110 kV
Maximum Voltage Grid
European &
nationwide
Transmission
Grid
Wind Offshore, conv. generation
Wind onshore
PV, Wind, Biomass
PV
OSGi Community Event 2013 - OSGi-based management of distributed renewable power sources - EnBW ODR AG, Ellwangen, Germany
4
5. Necessary for power management in the electrical grid
(EnWG §11 & §13)
Through German legislation the Distribution System Operator (DSO) has to
›
set up infrastructure to manage all generation power plants in his own grid,
›
to monitor the current power level online of each plant > 100 kW (2.000 units),
›
reduce the power level of one or more plants, depending on the grid status with the levels
100% - 60% - 30% - 0%,
›
do this job without discrimination.
Currently there are 1.3 millions of renewable power plants in Germany.
OSGi Community Event 2013 - OSGi-based management of distributed renewable power sources - EnBW ODR AG, Ellwangen, Germany
5
6. The installation of renewable power plants in our supply
area is far above the average in Germany!
Increasing Number of renewable power plants:
›
›
17% of all buildings have a rooftop PV plant!
In 2012 the installed generation capacity exceeds 630 MW
and is 50% larger than the maximum load peak!
50.000
25.000
21.000
17.000
4.000
2005
2010
2011
2012
2020
forecast
OSGi Community Event 2013 - OSGi-based management of distributed renewable power sources - EnBW ODR AG, Ellwangen, Germany
6
7. There are very different consumption und generation load
profiles over a year - load of a 110/20kV transformer
Energieverbrauch durch EEG gedeckt
Energieverbrauch durch konv. Kraftwerke gedeckt
6 times more generation
the consumption through
PV-plants!
EEG-Überschuss
30
Netzlast gesamt
Load [MW]
EEG-Erzeugung
20
10
0
Tuesday
07.02.2012
Wednesday
08.02.2012
Saturday
11.08.2012
Sunday
12.08.2012
OSGi Community Event 2013 - OSGi-based management of distributed renewable power sources - EnBW ODR AG, Ellwangen, Germany
7
8. Outlook 2020 for our supply area: The amount of
renewable generated energy will increase rapidly
2012
89
700
20
30
992
Demand
800
417
Ratio of
renewable energy
800
466
Water
2020
2. 330
36%
90%
2.700
2.600
Value in GWh
8 OSGi Community Event 2013 - OSGi-based management of distributed renewable power sources - EnBW ODR AG, Ellwangen, Germany
8
9. Why did we choose an OSGi based approach for this
challenge?
›
Manufacturer independence
›
Hardware / OS
›
Maintenance
›
Provisioning
›
Already in use in a wide area
›
Scalability
›
Standard Services (e.g. Event-manager)
›
Large Community
›
Many (JAVA) developers
OSGi Community Event 2013 - OSGi-based management of distributed renewable power sources - EnBW ODR AG, Ellwangen, Germany
9
10. Power management @ EnBW ODR AG
Overview
other backend systems
Internet / VPN
(SAP,CRM,OSS,BSS, etc.)
TLS
TLS
TLS
ProSyst
mPRM
Reposi
tory
Portal
server
J2EE
server
server & storage
infrastructure
cellular radio router
with smartcardsupport
Datacenter
Modbus TCP/RTU
Example: biogas plant
controller
service customers
Netzleitsystem control center
Netzleitsystem
Netzleitsystem
generator
G
Einspeisemanagment management
Einspeisemanagment
Einspeisemanagment
power
OSGi Community Event 2013 - OSGi-based management of distributed renewable power sources - EnBW ODR AG, Ellwangen, Germany
10
11. JamVM / GNU Classpath
Native code e.g. rxtx,
inverter, ...
Further services ...
(optional service)
Specific automation protocols
(optional service)
ODR control energy marketing
(optional service)
ODR power generator monitoring
(optional service)
ODR power manager
(power plant control unit)
Protocol packages e.g. modbus, ...
Gateway startup /configuration
wizzard / servlet
mPRM services e.g. message
tunnel, cu-provider
Core services e.g. http, config, ...
Power management @ EnBW ODR AG
Gateway
GW
API
Linux
OSGi Community Event 2013 - OSGi-based management of distributed renewable power sources - EnBW ODR AG, Ellwangen, Germany
11
12. Power management @ EnBW ODR AG
Backend
mPRM services
e.g. message tunnel, cu-admin
Protocol packages
e.g. IEC 60870-5-104, ...
ODR power manager
control unit /protocol connectors
Core services e.g. http, config, ...
IEC 60870-5-104
control center
SOAP / REST
SOAP / REST
power management
other backend systems
(SAP,CRM,OSS,BSS, etc.)
Open JDK / mPRM
Linux
OSGi Community Event 2013 - OSGi-based management of distributed renewable power sources - EnBW ODR AG, Ellwangen, Germany
12
13. Power management @ EnBW ODR AG
Registry based gateway addressing using control units
IEC-104 sample:
IEC-104 connector registers / unregisters IEC-104 PowerPlant service for each gateway
power plant control unit with a specific IEC-104 address property
IEC-104 protocol creates slave instance and waits for master connections
A IECMaster service will be registered for each master connection
IEC-104 messages form the power plant control units will be forwarded to all registered
IEC-104 IECMasters
Requests / commands from the IEC-104 master will be forwarded to the PowerPlant
services with the matching IEC-104 address property found by a service filter
Benefits:
Different protocols are able to talk “native” to the same gateway / power plant with
minimal extra effort (register and track services)
Changes made by one of the protocols are visible for all registered connectors
Control-units are usable via mPRM SOAP/REST API without any extra effort
Control-units are usable via mPRM procedures and scripts without any extra effort
Single set of application firewall rules cover all protocols
OSGi Community Event 2013 - OSGi-based management of distributed renewable power sources - EnBW ODR AG, Ellwangen, Germany
13
14. Thank you for your attention !
Any questions ?
EnBW Ostwürttemberg DonauRies AG
Dipl.-Inf. (FH) Andreas Gerstmeier
Software Development
a.gerstmeier@odr.de
OSGi Community Event 2013 - OSGi-based management of distributed renewable power sources - EnBW ODR AG, Ellwangen, Germany
14