SlideShare a Scribd company logo
Servizio di gestione dei dati energetici degli
edifici proposto nel Progetto Sunshine
Meter and Sensor Data Management Service
for Buildings proposed in the context
of Project Sunshine
LUCA GIOVANNINI
1
– MARCO BERTI
2
- MARCO ZUPPIROLI
3,C
PIERGIORGIO CIPRIANO
1
– UMBERTO DI STASO
2
1
Sinergis Srl - Trento, Italy
2
Fondazione Graphitech - Trento, Italy
3
Dipartimento di Architettura, Università degli Studi di Ferrara, Italy
c
Corresponding author: marco.zuppiroli@unife.it
RIASSUNTO.
Nell'ambito dello sviluppo della piattaforma SUNSHINE
(www.sunshineproject.eu), dedicata allo sviluppo di servizi informativi a supporto di una
gestione energetica più efficiente di edifici e impianti di illuminazione, è stato sviluppato
un servizio di Sensor Data Management che estende le comuni funzionalità di meter data
management dei dati di lettura di consumi al management di dati che provengono più
genericamente da sensori di diverso tipo. I pilot del progetto SUNSHINE forniscono in-
fatti non solo i dati relativi al consumo energetico (elettricità, gas, teleriscaldamento,
etc), ma anche altri tipi di dati (ad es. le condizioni meteo esterne agli edifici e la tempe-
ratura interna) che pure necessitano di essere raccolti e gestiti.
Tutte queste diverse tipologie di dati sono memorizzate nello stesso database e ge-
stite attraverso procedure comuni e seguendo protocolli di comunicazione standard che
saranno descritti in questo articolo.
SUMMARY.
During the development of SUNSHINE’s platform (www.sunshineproject.eu),
aimed at developing information services to support a more energy-efficient manage-
ment of buildings and light lines, a Sensor Data Management Service has been imple-
mented extending the simple management of smart metering data to the management of
data coming more generally from heterogeneous sensors. The reason being that SUN-
SHINE’s pilots are providing not just consumption data (electricity, gas heating, district
heating, etc), but also other types of data (e.g. weather or indoor temperature) that also
need to be collected and managed.
Servizio di gestione dei dati energetici degli edifici proposto nel Progetto Sunshine
All these data types are stored in the same database and managed with common
procedures and conforming to standard communication protocols which will be de-
scribed in this paper.
Parole chiave: edifici, efficienza energetica, dati di consumo, sensori, impianti HVAC.
Key words: buildings, energy efficiency, meter data, sensor data, HVAC systems
1. INTRODUCTION
SUNSHINE project (Smart UrbaN ServIces for Higher eNergy Efficiency,
www.sunshineproject.eu) aims at delivering innovative digital services, interoperable
with existing geographic web-service infrastructures, supporting improved energy effi-
ciency measures at the urban and building level. SUNSHINE services are delivered from
both a web-based client and a dedicated app for smartphones and tablets. The project is
structured into three main scenarios:
• Building Energy Performance Assessment: Automatic large-scale assessment of
building energy behavior based on data available from public repositories (e.g. cadas-
ter, planning data etc.) to create Energy Maps.
• Building Energy Consumption Optimization: Optimization of energy consumption
of heating systems supported by access to real-time consumption data measured by
smart-meters and to localized weather forecasts.
• Public Lighting Energy Management: Interoperable control of public illumination
systems based on remote access to lighting network.
This paper focuses on part of the results of the second of the three scenarios
(Building Energy Consumption Optimization). The aim of the Sensor Data Management
service in the scope of this scenario is that of empowering building energy managers
with the necessary knowledge about the energy behaviour of the buildings they are mon-
itoring, such as collecting and providing highly detailed past consumption profiles, visu-
alizing correlations between consumption and observed weather variables (outside tem-
perature, solar irradiation, wind speed) and visualizing detailed weather forecasts for 3
days in advance.
In SUNSHINE project, the scope of Sensor Data Management Service has been
extended from the management of meter data to the management of data coming more
generally from sensors. More specifically, the Meter Data Management service manages:
• Consumption data from energy meters in pilot buildings;
• Indoor temperature readings from indoor sensors in pilot buildings;
• Weather observation and forecasts data from a dedicated weather service from Mete-
ogrid;
All these data types are ingested via different data flows into the same Sensor DB,
where they are managed and made available to further processing and visualization via
common protocols and procedures, which will be described in this paper.
2. COMPONENTS
In brief, the purpose of the Sensor Data Management Service is to:
• Gather all the data coming from meters/sensors (section 2.1);
• Elaborate them and generate derived data, if necessary (section 2.2);
• Store them in a normalized format into a repository (section 2.3) from which they can
be retrieved through a standard interface (section 2.4).
For consumption data from meters two data flows are supported by the platform, in
order to enable both the pilots with low IT capacities and those who are able to develop
software components:
• Simple FTP (File Transfer Protocol) transfer of CSV (Comma Separated Values)
files (section 2.1.1);
• Feed from Green Button standard protocol (Web link 2015a) web service (section
2.1.2).
The flow of indoor temperature readings is channelled through the Green Button
web service (section 2.1.2) as all the pilots actually providing such data flow have im-
plemented the needed infrastructure.
The flow of weather data (section 2.1.3) is established via a scheduling procedure
that is planned to pull data daily from a dedicated Web Feature Service standard web
protocol (ISO1942, 2010) set up by project partner Meteogrid (Web link 2015b).
2.1 Input Data Flows
2.1.1Consumption data ingestion (FTP)
It’s a scheduled program that checks if any CSV file to be loaded into the database
is arrived on the dedicated FTP folders. The files are removed from the folders and
passed to the CSV loader component that does the real job of inserting data in the DB.
Detailed guidelines have been prepared describing how to format name and content of
CSV files in order to allow the automatic ingestion procedure to take place smoothly.
2.1.2Consumption data ingestion (GreenButton)
Green Button is an initiative of the U.S. Government that aims to allow consumers
to access their own meter data about energy consumption. In the original context, the
name Green Button denotes the whole initiative, but in our project we will refer to GB
specifically as the international data exchange standard for consumption data (Web link
2015a) and the suite of web services that makes the data access possible. GreenButton
protocol and API were identified as the best option as they are already implemented and
operational in a real use case scenario. Moreover, the standard includes a security and
authentication module based on OAuth protocol (Web link 2015d).
2.1.3Weather data ingestion
Weather data are served by two Web Feature Services (WFS) standard protocol,
defined by the Open Geospatial Consortium (Web link 2010), and set up by project part-
Servizio di gestione dei dati energetici degli edifici proposto nel Progetto Sunshine
ner Meteogrid (Web link 2015b) from a dedicated platform. The ingestion process que-
ries the WFS services, collects the data for each meteorological quantity (temperature,
irradiation, wind speed), and loads it into the Sensor DB. Two WFS services are availa-
ble:
• WFS forecast: a three-day forecast with hourly resolution for each pilot’s location.
• WFS observation: measured or interpolated weather conditions with hourly resolu-
tion for each pilot’s location.
2.2 Data Elaboration and Aggregation
Some elaborations are needed before the real data ingestion. For instance, some
aggregations are pre-calculated in order to avoid this task to the client. Another kind of
processing is the interpolation for those readings that have been collected at irregular in-
tervals of time (some kinds of data flows have this characteristic).
This module is specific to the consumption data from sensor reading and its role is
that of guaranteeing a uniform format for its storage and therefore a cleaner server/client
interaction. Stored consumption data has the following format:
• Consumption is relative to the last reading interval;
• Readings have a regular frequency;
• Available frequencies are: every 15 minutes, hourly and daily.
These constraints do not apply to consumption data coming from billing documen-
tation that are stored in the DB as is.
2.3 Data Storage in Sensor DB
It is the final repository of all sensor data. The database implementation chosen is
the one developed by the German research centre 52North (Web link 2015g), imple-
menting the international Sensor Observation Service (SOS, Web link 2015f) standard,
defined by the Open Geospatial Consortium (OGC); this open source database is imple-
mented as a PostgreSQL DB and also makes use of the spatial extension PostGIS, and it
has been installed and configured on SUNSHINE’s platform for the purpose of collect-
ing and storing data from energy meters as well as outdoor/indoor conditions.
Database structure
The main constructs of the DB schema are the following:
• Feature of Interest (FOI): represents the geo-object who is measured by sensors.
The FOI is the means of locating (geocoding) the measuring points via their coordi-
nates;
• Observable Property: identifies the property observed by the sensor (e.g. gas con-
sumption, temperature or lamp dimming level);
• Procedure: identifies a physical /virtual sensor which produces the observations
associated with the offerings;
• Offering: a logical grouping of observations that are related to each other, which are
jointly offered by a service.
2.3.1CSV loader
This component accesses the DB for inserting the readings in the proper tables. Be-
fore doing that, if it has been configured to do so, the files are pre-processed by the “Da-
ta Elaboration” component. Readings are inserted in the DB using SOS insertion API,
insertObservation.
2.3.2Sensor data access
The last module, in logical order, is the sensor data access. Access to sensor data is
guaranteed by two services:
• Web feature service (see Figure 1): to publish the identifiers of the different sensors
and data flows via the linking with their geographical position.
• Sensor observation service APIs, to access to actual measurements.
Figure 1 – Sensor locations (blue dots) and identifiers (attributes in the table)
exposed via a Web Feature Service.
2.4 Data Visualization from client
2.4.1Consumption Visualization tool
The SUNSHINE web portal allows monitoring on the various components of the
pilot buildings. By clicking on the red dots, the dashboard related to building dynamic
data will appear. Figure 2 shows an example of building dashboard for the city of Ferra-
ra. Information offered by the dashboard refers to (see Figure 3):
• Thermal Energy Consumption KWh
• Gaseous Fuel Consumption m3
• Electrical Energy Consumption KWh
2.4.2Weather Station visualization and forecast tool
Within this functionality, the user will be able to query weather stations, in order to
visualize data coming from the selected weather station related to the past, but also have
a localized weather forecast for the next three days.
Servizio di gestione dei dati energetici degli edifici proposto nel Progetto Sunshine
Figure 2- Portion of public buildings in Ferrara pilot
Weather information, both forecast and past observations, are referring to:
• Temperature in °C
• Irradiance in W/m2
• Wind Speed in m/s
•
Figure 4 shows how weather information is displayed in the weather station dashboard.
Figure 3 - Dashboard for a public building in Ferrara
3. APPLICATIONS
The Sensor Data Management infrastructure is currently under testing in several
selected pilot buildings within the project partners locations (Ferrara, Bassano, Rovereto,
Trentino, IT; Zagreb, HR; Paola, MT; Lamia, GR). This section describes some of the
outcomes of the data analysis performed on two pilot buildings in Ferrara, both served
by district heating:
• Scuole Elementari Poledrelli
• Museo di Storia Naturale
3.1 Daily consumption profiles
Daily consumption profiles plot four quantities (see Figure 5 for a sample):
• measured consumption (red line)
• measured external temperature (blue line)
• required periods of comfort (unshaded surfaces)
• deduced heating system turn on time
From Figure 5 about Scuole Poledrelli we can infer some interesting observation,
such as the fact that the heating system is usually off (but not always) in the weekend
and that, consequently, heating turn on is anticipated on Mondays and Tuesdays.
Figure 4 - Example of weather data and forecast for a Weather Station
As general remarks:
• Temperature profile sometimes is unrealistic or incomplete
• As expected consumption trends are inversely proportional to external temperature,
with a delay due to thermal inertia.
Servizio di gestione dei dati energetici degli edifici proposto nel Progetto Sunshine
• Scuole Poledrelli has a higher consumption, but comparison should be done after
normalization with heated surface.
Figure 5 – Sample of daily consumption profiles for Scuole Elementari Poledrelli (Ferrara, IT)
3.2 Seasonal consumption profiles
Seasonal profiles show the series of daily consumption in comparison with daily
average outside temperatures.
Analysis of the seasonal profile for Scuole Poledrelli (Figure 6) brings forward the
following remarks:
• A weekly pattern is clearly visible, with the consumption peaks on Mondays and
Tuesdays;
• This kind of plot triggers the question, is turning turn off the heating system during
weekends more efficient than just living it on? The question can be evaluated by
measuring and comparing the surface of the "Monday peaks" with that of the "week-
end valleys";
• The comparison of consumption and temperature curves show an inverse proportion
on the long term trends;
• The possible effect of thermal inertia is visible in the progressive smoothing of the
"Monday peak" from one week to the following.
Figure 6 – Seasonal profile for Scuole Elementari Poledrelli (Ferrara, IT)
Figure 7 - Seasonal profile for Museo Storia Naturale (Ferrara, IT)
Analysis of the seasonal profile for Museo di Storia Naturale (Figure 7) brings
forward the following remarks:
Servizio di gestione dei dati energetici degli edifici proposto nel Progetto Sunshine
• The initial peak is not a real feature, consumption scale is different with respect with
Scuole Poledrelli;
• A clear weekly pattern is absent, even if a week-scale signal seems to be present, es-
pecially on the left part of the curve;
• A comparison of consumption and temperature curves show an inverse proportion on
the long term trends.
CONCLUSIONS
The paper presented the Sensor Data Management service that has been imple-
mented in the context of project Sunshine. The service manages the inbound flow of
very different types of dynamical data, guarantees the storage of all of them in a single
DB structure - the Sensor DB based on OGC SOS protocol - and their publication via a
single interoperable SOS service. The potential use of such data management service in
the context of building energy management has been presented by showing the type of
energy consumption analysis performed on long high-frequency data series provided by
the Sensor Data Management service for two of the project’s pilot buildings in Ferrara,
IT.
REFERENCES
Fenger, J. 1999. Urban air quality. Atmospheric environment, 33.29: 4877-4900
ISO 19142. 2010. Geographic information – Web Feature Service. International Organi-
zation for standardization
Web link 2015a. Energy.gov Green Button protocol, http://energy.gov/data/green-button
Web link 2015b. Meteogrid, http://www.meteogrid.com/
Web link 2015c. Green Button ESPI Evolution, http://www.sgip.org/PAP-20-Green-
Button-ESPI-Evolution
Web link 2015d. OAuth protocol, http://oauth.net/
Web link 2015e. Progetto "Sunshine" in Bassano del Grappa
http://www.reverberi.it/it/application/progetto-sunshine-bassano-del-grappa-vi
Web link 2015f. OGC’s Sensor Observation Service,
http://www.opengeospatial.org/standards/sos
Web link 2015g. 52° North’s Sensor Web,
http://52north.org/communities/sensorweb/sos/index.html
AKNOWLEDGEMENTS
Project SUNSHINE has received funding from the EC, as part of the Competitive-
ness and innovation Framework Programme. The authors are solely responsible of this
work, which does not represent the opinion of the EC. The EC is not responsible for any
use that might be made of information contained in this paper.

More Related Content

PDF
S.2.i Suggestion Service
PDF
S.1.a Data Model for Energy Map Data Collection
PDF
S.1.c Building Energy Performance Estimation
PDF
S.2.e Specifications for Data Ingestion via Sunshine FTP
PDF
S.2.f Specifications for Data Ingestion via Green Button
PDF
SUNSHINE Project: Francesco Pignatelli, Maria Teresa Borzacchiello
PDF
Servizio Gestione Flussi Dati Energetici Edifici
PDF
S.1.1 Introduction to Scenario 1
S.2.i Suggestion Service
S.1.a Data Model for Energy Map Data Collection
S.1.c Building Energy Performance Estimation
S.2.e Specifications for Data Ingestion via Sunshine FTP
S.2.f Specifications for Data Ingestion via Green Button
SUNSHINE Project: Francesco Pignatelli, Maria Teresa Borzacchiello
Servizio Gestione Flussi Dati Energetici Edifici
S.1.1 Introduction to Scenario 1

What's hot (20)

PDF
S.1.b Building Energy Pre Certification Service
PDF
S.1.2 Data Model for Energy Maps
PDF
S.2.h Meter Data Management Service
PDF
S 2.1 Introduction to Scenario 2
PDF
S.1.3 INSPIRE Directive
PDF
SUNSHINE Project: Romain Nouvel, Jean Marie Bahu
PDF
S.3.1 Introduction to Scenario 3
PDF
S.3.4 Security and Privacy
PDF
S.3.k Security Layer
PDF
S.3.l Lamp Control Service
PDF
S.1.4 Model for Energy Map Calculation
PDF
S.1.5 Map4Data App
PPTX
SUNSHINE short overview of the project and its objectives
PDF
GIS Based Power Distribution System: A Case study for the Junagadh City
PPTX
Álvaro Sicilia, ARC Engineering and Architecture La Salle, Barcelona, Spain.
PPTX
Aitor Elorriaga, Institut für Angewandte Systemtechnik Bremen, Germany.
PPTX
Jure Čižman, Jožef Stefan Institute, Ljubljana, Slovenia.
PPTX
Gašper Stegnar, Jožef Stefan Institute, Ljubljana, Slovenia.
PPTX
Leandro Madrazo, ARC Engineering and Architecture La Salle, Barcelona, Spain.
PPTX
David Weatherall, Head of Policy at the Energy Saving Trust, UK.
S.1.b Building Energy Pre Certification Service
S.1.2 Data Model for Energy Maps
S.2.h Meter Data Management Service
S 2.1 Introduction to Scenario 2
S.1.3 INSPIRE Directive
SUNSHINE Project: Romain Nouvel, Jean Marie Bahu
S.3.1 Introduction to Scenario 3
S.3.4 Security and Privacy
S.3.k Security Layer
S.3.l Lamp Control Service
S.1.4 Model for Energy Map Calculation
S.1.5 Map4Data App
SUNSHINE short overview of the project and its objectives
GIS Based Power Distribution System: A Case study for the Junagadh City
Álvaro Sicilia, ARC Engineering and Architecture La Salle, Barcelona, Spain.
Aitor Elorriaga, Institut für Angewandte Systemtechnik Bremen, Germany.
Jure Čižman, Jožef Stefan Institute, Ljubljana, Slovenia.
Gašper Stegnar, Jožef Stefan Institute, Ljubljana, Slovenia.
Leandro Madrazo, ARC Engineering and Architecture La Salle, Barcelona, Spain.
David Weatherall, Head of Policy at the Energy Saving Trust, UK.
Ad

Similar to S.2.g Meter and Sensor Data Management Service (20)

PDF
Weather_monitoring_and_forecasting_system_using_Iot.pdf
PPTX
Sensor Network to monitor Atmosphere for Green House and Agriculture Sciences
PDF
SmartMeterPaper_csicc21.pdf
PPTX
Easily Accessibility Of Power Plant Data & Reporting.pptx
PDF
D2.1 definition of reference architecture
PDF
LORA BASED DATA ACQUISITION SYSTEM
PDF
IRJET- Design of a High Performance IoT QoS Transmission Mechanism and Middle...
PDF
Ijariie1172
PDF
Energy Meters using Internet of Things Platform
PDF
Redefining-Smart-Grid-Architectural-Thinking-Using-Stream-Computing
PDF
Real-time monitoring system for weather and air pollutant measurement with HT...
PDF
IOT Based Weather Monitoring system using Blink App.pdf
PDF
IRJET - A Review on Analysis of Location Management in Mobile Computing
PPTX
PPTX
Mitul Desai & Andrew Bollin Poster
PDF
Vision and Strategy for India’s Electricity Metering Infrastructure of the fu...
PDF
IRJET- Machine Learning for Weather Prediction and Forecasting for Local Weat...
PDF
Realtime wether station for monitoring and control of agricultre
PDF
Peak load scheduling in smart grid using cloud computing
Weather_monitoring_and_forecasting_system_using_Iot.pdf
Sensor Network to monitor Atmosphere for Green House and Agriculture Sciences
SmartMeterPaper_csicc21.pdf
Easily Accessibility Of Power Plant Data & Reporting.pptx
D2.1 definition of reference architecture
LORA BASED DATA ACQUISITION SYSTEM
IRJET- Design of a High Performance IoT QoS Transmission Mechanism and Middle...
Ijariie1172
Energy Meters using Internet of Things Platform
Redefining-Smart-Grid-Architectural-Thinking-Using-Stream-Computing
Real-time monitoring system for weather and air pollutant measurement with HT...
IOT Based Weather Monitoring system using Blink App.pdf
IRJET - A Review on Analysis of Location Management in Mobile Computing
Mitul Desai & Andrew Bollin Poster
Vision and Strategy for India’s Electricity Metering Infrastructure of the fu...
IRJET- Machine Learning for Weather Prediction and Forecasting for Local Weat...
Realtime wether station for monitoring and control of agricultre
Peak load scheduling in smart grid using cloud computing
Ad

More from SUNSHINEProject (7)

PDF
Sunshine lamia greek native language
PDF
SUNSHINE Project: Bart delathouwer
PDF
SUNSHINE Project: Paolo Conci
PDF
Sunshine Project: Energy Maps Trenta
PDF
S.2.4 Validation Activities for Scenario 2 (case Ferrara)
PDF
SUNSHINE Project - Scenario 2 (HR)
PDF
SUNSHINE Project - Map4data App (IT)
Sunshine lamia greek native language
SUNSHINE Project: Bart delathouwer
SUNSHINE Project: Paolo Conci
Sunshine Project: Energy Maps Trenta
S.2.4 Validation Activities for Scenario 2 (case Ferrara)
SUNSHINE Project - Scenario 2 (HR)
SUNSHINE Project - Map4data App (IT)

Recently uploaded (20)

PDF
cuic standard and advanced reporting.pdf
PPTX
Cloud computing and distributed systems.
PDF
Encapsulation theory and applications.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
sap open course for s4hana steps from ECC to s4
cuic standard and advanced reporting.pdf
Cloud computing and distributed systems.
Encapsulation theory and applications.pdf
Encapsulation_ Review paper, used for researhc scholars
Building Integrated photovoltaic BIPV_UPV.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Spectroscopy.pptx food analysis technology
Spectral efficient network and resource selection model in 5G networks
Understanding_Digital_Forensics_Presentation.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Programs and apps: productivity, graphics, security and other tools
Agricultural_Statistics_at_a_Glance_2022_0.pdf
The AUB Centre for AI in Media Proposal.docx
MIND Revenue Release Quarter 2 2025 Press Release
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
“AI and Expert System Decision Support & Business Intelligence Systems”
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
sap open course for s4hana steps from ECC to s4

S.2.g Meter and Sensor Data Management Service

  • 1. Servizio di gestione dei dati energetici degli edifici proposto nel Progetto Sunshine Meter and Sensor Data Management Service for Buildings proposed in the context of Project Sunshine LUCA GIOVANNINI 1 – MARCO BERTI 2 - MARCO ZUPPIROLI 3,C PIERGIORGIO CIPRIANO 1 – UMBERTO DI STASO 2 1 Sinergis Srl - Trento, Italy 2 Fondazione Graphitech - Trento, Italy 3 Dipartimento di Architettura, Università degli Studi di Ferrara, Italy c Corresponding author: marco.zuppiroli@unife.it RIASSUNTO. Nell'ambito dello sviluppo della piattaforma SUNSHINE (www.sunshineproject.eu), dedicata allo sviluppo di servizi informativi a supporto di una gestione energetica più efficiente di edifici e impianti di illuminazione, è stato sviluppato un servizio di Sensor Data Management che estende le comuni funzionalità di meter data management dei dati di lettura di consumi al management di dati che provengono più genericamente da sensori di diverso tipo. I pilot del progetto SUNSHINE forniscono in- fatti non solo i dati relativi al consumo energetico (elettricità, gas, teleriscaldamento, etc), ma anche altri tipi di dati (ad es. le condizioni meteo esterne agli edifici e la tempe- ratura interna) che pure necessitano di essere raccolti e gestiti. Tutte queste diverse tipologie di dati sono memorizzate nello stesso database e ge- stite attraverso procedure comuni e seguendo protocolli di comunicazione standard che saranno descritti in questo articolo. SUMMARY. During the development of SUNSHINE’s platform (www.sunshineproject.eu), aimed at developing information services to support a more energy-efficient manage- ment of buildings and light lines, a Sensor Data Management Service has been imple- mented extending the simple management of smart metering data to the management of data coming more generally from heterogeneous sensors. The reason being that SUN- SHINE’s pilots are providing not just consumption data (electricity, gas heating, district heating, etc), but also other types of data (e.g. weather or indoor temperature) that also need to be collected and managed.
  • 2. Servizio di gestione dei dati energetici degli edifici proposto nel Progetto Sunshine All these data types are stored in the same database and managed with common procedures and conforming to standard communication protocols which will be de- scribed in this paper. Parole chiave: edifici, efficienza energetica, dati di consumo, sensori, impianti HVAC. Key words: buildings, energy efficiency, meter data, sensor data, HVAC systems 1. INTRODUCTION SUNSHINE project (Smart UrbaN ServIces for Higher eNergy Efficiency, www.sunshineproject.eu) aims at delivering innovative digital services, interoperable with existing geographic web-service infrastructures, supporting improved energy effi- ciency measures at the urban and building level. SUNSHINE services are delivered from both a web-based client and a dedicated app for smartphones and tablets. The project is structured into three main scenarios: • Building Energy Performance Assessment: Automatic large-scale assessment of building energy behavior based on data available from public repositories (e.g. cadas- ter, planning data etc.) to create Energy Maps. • Building Energy Consumption Optimization: Optimization of energy consumption of heating systems supported by access to real-time consumption data measured by smart-meters and to localized weather forecasts. • Public Lighting Energy Management: Interoperable control of public illumination systems based on remote access to lighting network. This paper focuses on part of the results of the second of the three scenarios (Building Energy Consumption Optimization). The aim of the Sensor Data Management service in the scope of this scenario is that of empowering building energy managers with the necessary knowledge about the energy behaviour of the buildings they are mon- itoring, such as collecting and providing highly detailed past consumption profiles, visu- alizing correlations between consumption and observed weather variables (outside tem- perature, solar irradiation, wind speed) and visualizing detailed weather forecasts for 3 days in advance. In SUNSHINE project, the scope of Sensor Data Management Service has been extended from the management of meter data to the management of data coming more generally from sensors. More specifically, the Meter Data Management service manages: • Consumption data from energy meters in pilot buildings; • Indoor temperature readings from indoor sensors in pilot buildings; • Weather observation and forecasts data from a dedicated weather service from Mete- ogrid; All these data types are ingested via different data flows into the same Sensor DB, where they are managed and made available to further processing and visualization via common protocols and procedures, which will be described in this paper.
  • 3. 2. COMPONENTS In brief, the purpose of the Sensor Data Management Service is to: • Gather all the data coming from meters/sensors (section 2.1); • Elaborate them and generate derived data, if necessary (section 2.2); • Store them in a normalized format into a repository (section 2.3) from which they can be retrieved through a standard interface (section 2.4). For consumption data from meters two data flows are supported by the platform, in order to enable both the pilots with low IT capacities and those who are able to develop software components: • Simple FTP (File Transfer Protocol) transfer of CSV (Comma Separated Values) files (section 2.1.1); • Feed from Green Button standard protocol (Web link 2015a) web service (section 2.1.2). The flow of indoor temperature readings is channelled through the Green Button web service (section 2.1.2) as all the pilots actually providing such data flow have im- plemented the needed infrastructure. The flow of weather data (section 2.1.3) is established via a scheduling procedure that is planned to pull data daily from a dedicated Web Feature Service standard web protocol (ISO1942, 2010) set up by project partner Meteogrid (Web link 2015b). 2.1 Input Data Flows 2.1.1Consumption data ingestion (FTP) It’s a scheduled program that checks if any CSV file to be loaded into the database is arrived on the dedicated FTP folders. The files are removed from the folders and passed to the CSV loader component that does the real job of inserting data in the DB. Detailed guidelines have been prepared describing how to format name and content of CSV files in order to allow the automatic ingestion procedure to take place smoothly. 2.1.2Consumption data ingestion (GreenButton) Green Button is an initiative of the U.S. Government that aims to allow consumers to access their own meter data about energy consumption. In the original context, the name Green Button denotes the whole initiative, but in our project we will refer to GB specifically as the international data exchange standard for consumption data (Web link 2015a) and the suite of web services that makes the data access possible. GreenButton protocol and API were identified as the best option as they are already implemented and operational in a real use case scenario. Moreover, the standard includes a security and authentication module based on OAuth protocol (Web link 2015d). 2.1.3Weather data ingestion Weather data are served by two Web Feature Services (WFS) standard protocol, defined by the Open Geospatial Consortium (Web link 2010), and set up by project part-
  • 4. Servizio di gestione dei dati energetici degli edifici proposto nel Progetto Sunshine ner Meteogrid (Web link 2015b) from a dedicated platform. The ingestion process que- ries the WFS services, collects the data for each meteorological quantity (temperature, irradiation, wind speed), and loads it into the Sensor DB. Two WFS services are availa- ble: • WFS forecast: a three-day forecast with hourly resolution for each pilot’s location. • WFS observation: measured or interpolated weather conditions with hourly resolu- tion for each pilot’s location. 2.2 Data Elaboration and Aggregation Some elaborations are needed before the real data ingestion. For instance, some aggregations are pre-calculated in order to avoid this task to the client. Another kind of processing is the interpolation for those readings that have been collected at irregular in- tervals of time (some kinds of data flows have this characteristic). This module is specific to the consumption data from sensor reading and its role is that of guaranteeing a uniform format for its storage and therefore a cleaner server/client interaction. Stored consumption data has the following format: • Consumption is relative to the last reading interval; • Readings have a regular frequency; • Available frequencies are: every 15 minutes, hourly and daily. These constraints do not apply to consumption data coming from billing documen- tation that are stored in the DB as is. 2.3 Data Storage in Sensor DB It is the final repository of all sensor data. The database implementation chosen is the one developed by the German research centre 52North (Web link 2015g), imple- menting the international Sensor Observation Service (SOS, Web link 2015f) standard, defined by the Open Geospatial Consortium (OGC); this open source database is imple- mented as a PostgreSQL DB and also makes use of the spatial extension PostGIS, and it has been installed and configured on SUNSHINE’s platform for the purpose of collect- ing and storing data from energy meters as well as outdoor/indoor conditions. Database structure The main constructs of the DB schema are the following: • Feature of Interest (FOI): represents the geo-object who is measured by sensors. The FOI is the means of locating (geocoding) the measuring points via their coordi- nates; • Observable Property: identifies the property observed by the sensor (e.g. gas con- sumption, temperature or lamp dimming level); • Procedure: identifies a physical /virtual sensor which produces the observations associated with the offerings; • Offering: a logical grouping of observations that are related to each other, which are jointly offered by a service.
  • 5. 2.3.1CSV loader This component accesses the DB for inserting the readings in the proper tables. Be- fore doing that, if it has been configured to do so, the files are pre-processed by the “Da- ta Elaboration” component. Readings are inserted in the DB using SOS insertion API, insertObservation. 2.3.2Sensor data access The last module, in logical order, is the sensor data access. Access to sensor data is guaranteed by two services: • Web feature service (see Figure 1): to publish the identifiers of the different sensors and data flows via the linking with their geographical position. • Sensor observation service APIs, to access to actual measurements. Figure 1 – Sensor locations (blue dots) and identifiers (attributes in the table) exposed via a Web Feature Service. 2.4 Data Visualization from client 2.4.1Consumption Visualization tool The SUNSHINE web portal allows monitoring on the various components of the pilot buildings. By clicking on the red dots, the dashboard related to building dynamic data will appear. Figure 2 shows an example of building dashboard for the city of Ferra- ra. Information offered by the dashboard refers to (see Figure 3): • Thermal Energy Consumption KWh • Gaseous Fuel Consumption m3 • Electrical Energy Consumption KWh 2.4.2Weather Station visualization and forecast tool Within this functionality, the user will be able to query weather stations, in order to visualize data coming from the selected weather station related to the past, but also have a localized weather forecast for the next three days.
  • 6. Servizio di gestione dei dati energetici degli edifici proposto nel Progetto Sunshine Figure 2- Portion of public buildings in Ferrara pilot Weather information, both forecast and past observations, are referring to: • Temperature in °C • Irradiance in W/m2 • Wind Speed in m/s • Figure 4 shows how weather information is displayed in the weather station dashboard. Figure 3 - Dashboard for a public building in Ferrara
  • 7. 3. APPLICATIONS The Sensor Data Management infrastructure is currently under testing in several selected pilot buildings within the project partners locations (Ferrara, Bassano, Rovereto, Trentino, IT; Zagreb, HR; Paola, MT; Lamia, GR). This section describes some of the outcomes of the data analysis performed on two pilot buildings in Ferrara, both served by district heating: • Scuole Elementari Poledrelli • Museo di Storia Naturale 3.1 Daily consumption profiles Daily consumption profiles plot four quantities (see Figure 5 for a sample): • measured consumption (red line) • measured external temperature (blue line) • required periods of comfort (unshaded surfaces) • deduced heating system turn on time From Figure 5 about Scuole Poledrelli we can infer some interesting observation, such as the fact that the heating system is usually off (but not always) in the weekend and that, consequently, heating turn on is anticipated on Mondays and Tuesdays. Figure 4 - Example of weather data and forecast for a Weather Station As general remarks: • Temperature profile sometimes is unrealistic or incomplete • As expected consumption trends are inversely proportional to external temperature, with a delay due to thermal inertia.
  • 8. Servizio di gestione dei dati energetici degli edifici proposto nel Progetto Sunshine • Scuole Poledrelli has a higher consumption, but comparison should be done after normalization with heated surface. Figure 5 – Sample of daily consumption profiles for Scuole Elementari Poledrelli (Ferrara, IT) 3.2 Seasonal consumption profiles Seasonal profiles show the series of daily consumption in comparison with daily average outside temperatures.
  • 9. Analysis of the seasonal profile for Scuole Poledrelli (Figure 6) brings forward the following remarks: • A weekly pattern is clearly visible, with the consumption peaks on Mondays and Tuesdays; • This kind of plot triggers the question, is turning turn off the heating system during weekends more efficient than just living it on? The question can be evaluated by measuring and comparing the surface of the "Monday peaks" with that of the "week- end valleys"; • The comparison of consumption and temperature curves show an inverse proportion on the long term trends; • The possible effect of thermal inertia is visible in the progressive smoothing of the "Monday peak" from one week to the following. Figure 6 – Seasonal profile for Scuole Elementari Poledrelli (Ferrara, IT) Figure 7 - Seasonal profile for Museo Storia Naturale (Ferrara, IT) Analysis of the seasonal profile for Museo di Storia Naturale (Figure 7) brings forward the following remarks:
  • 10. Servizio di gestione dei dati energetici degli edifici proposto nel Progetto Sunshine • The initial peak is not a real feature, consumption scale is different with respect with Scuole Poledrelli; • A clear weekly pattern is absent, even if a week-scale signal seems to be present, es- pecially on the left part of the curve; • A comparison of consumption and temperature curves show an inverse proportion on the long term trends. CONCLUSIONS The paper presented the Sensor Data Management service that has been imple- mented in the context of project Sunshine. The service manages the inbound flow of very different types of dynamical data, guarantees the storage of all of them in a single DB structure - the Sensor DB based on OGC SOS protocol - and their publication via a single interoperable SOS service. The potential use of such data management service in the context of building energy management has been presented by showing the type of energy consumption analysis performed on long high-frequency data series provided by the Sensor Data Management service for two of the project’s pilot buildings in Ferrara, IT. REFERENCES Fenger, J. 1999. Urban air quality. Atmospheric environment, 33.29: 4877-4900 ISO 19142. 2010. Geographic information – Web Feature Service. International Organi- zation for standardization Web link 2015a. Energy.gov Green Button protocol, http://energy.gov/data/green-button Web link 2015b. Meteogrid, http://www.meteogrid.com/ Web link 2015c. Green Button ESPI Evolution, http://www.sgip.org/PAP-20-Green- Button-ESPI-Evolution Web link 2015d. OAuth protocol, http://oauth.net/ Web link 2015e. Progetto "Sunshine" in Bassano del Grappa http://www.reverberi.it/it/application/progetto-sunshine-bassano-del-grappa-vi Web link 2015f. OGC’s Sensor Observation Service, http://www.opengeospatial.org/standards/sos Web link 2015g. 52° North’s Sensor Web, http://52north.org/communities/sensorweb/sos/index.html AKNOWLEDGEMENTS Project SUNSHINE has received funding from the EC, as part of the Competitive- ness and innovation Framework Programme. The authors are solely responsible of this work, which does not represent the opinion of the EC. The EC is not responsible for any use that might be made of information contained in this paper.