4th International Conference on Renewable Energy Research and Applications Palermo, , 22-25 Nov 2015 Novel Energy Modelling and Forecasting Tools for Smart Energy Networks

G. Sauba*,Jos van der Burgt*, A. Schoofs**, C. Spataro***, M. Caruso***, F. Viola*** and R. Miceli*** *SR&I, Power & Electrification DNV GL Arnhem, The Netherlands **Wattics Ltd. Dublin, Ireland ***Department of Energy, Information engineering and Mathematical models (DEIM) University of Palermo Palermo, Italy [email protected]

Abstract—A novel Energy Modelling and Forecasting Tool data generated for the time period required. This can range (EMFT) has been adopted for use in the VIMSEN (Virtual from intra-day to day-ahead in most normal operations but it Microgrids for Smart Energy Networks) project and this paper can extend to week-ahead, month-ahead or even year-ahead. gives an insight of the techniques used to provide vital support to The latter is mostly used for planning purposes and it is very the energy market, in particular to energy aggregators. A brief dependent on quality of the data feed to get the desired description of one of the test sites where data has been collected accuracy expected. for validation of the EMFT will be outlined and some examples shown. The information and predictions will then be used by a For the VIMSEN project the EMFT will make predictions decision support system to dynamically adjust energy delivery on the future energy consumption and generation patterns and consumption, by giving advice to users and operators on either within a single micro-grid or over the collection of the actions they can take to obtain a better match between energy distributed micro-grids. This information and predictions will supply and demand that increases the fraction of energy then be used by the decision support system to dynamically generated by environmentally friendly sources. The Energy adjust energy delivery and consumption, by giving advice to Modelling part of the tool provides input data to the forecasting users and operators on actions they can take to obtain a better section which in turn uses a range of mathematical engines can match between energy supply and demand that increases the analyse the data inputs and generate appropriate forecasting fraction of energy generated by environmentally friendly data for the time period required. This can range from intra-day sources. The Energy Model is a generic tool to estimate to day-ahead in most normal operations but it can extend to consumption for a specific building type based on input data week-ahead, month-ahead or even year-ahead. This is an held within a Microsoft Access database. This flexibility ongoing project of 36 months duration with a consortium of 8 members from the EU and we are half way through the work allows the Energy Model to be run under different conditions being assigned. to carry out ‘what if?’ scenarios and assesses the impact of changes on demand. Keywords—Energy Modelling, Forecasting, Smart grids, energy managment. II. THE ENERGY MODELLING COMPONENT Figure 1 is a schematic view of the generic Energy Model I. INTRODUCTION showing the types of input data used and the output results The Energy Modelling and Forecasting Toolkit (EMFT) is produced. Simulations are performed at building type level. part of the VIMSEN Information Management and Decision ENVIRONMENT • Temperature BUILDING Making Framework. The energy modelling part of the toolkit CONSUMPTION PROFILE • Solar Flux assesses the characteristics of a building with its relevant • Size 700 • Heat Loss 600 500 properties and contents both in terms of appliances and • Glazing 400

300 occupancy; then it calculates the energy used and produced 200

100

0 over a certain period of time as required. Other parameters 00:00 04:00 08:00 12:00 16:00 20:00 APPLIANCES • Gas such as seasonal variation and local weather can be •Power Consumption • Electricity •On • Generation incorporated to reflect a more accurate output. The outputs can •Standby • Mean/SD •Efficiency be aggregated for a period of time and the required profiles •Programme/Cycle generated for the building in question; only one dwelling (domestic or small commercial) can be treated at any USERS • Number particular time. The output from the energy modelling section • Activity Profile of the toolkit will then feed into the input stream of the •Energy Efficiency Attitude forecasting section. A range of mathematical engines can then Fig. 1. Schematic of energy model data and results. be used to analyse the data inputs and appropriate forecasting

ICRERA 2015 4th International Conference on Renewable Energy Research and Applications Palermo, Italy, 22-25 Nov 2015

Each building type is characterised by a number of III. THE FORECASTING COMPONENT properties which are defined by the user and stored within the Forecaster is a product developed by DNVGL, built on database e.g. floor area, window area, wall U-value etc. The over 30 years’ experience in the forecasting arena, it is number of different building types required will depend on the designed to improve the process of making trading and amount of variation in the building stock of the network to be balancing decisions by providing accurate energy demand studied. Each simulation calculates the building heat loss and forecasts. appliance consumptions on a minute by minute basis for a day. Usually, a large number of simulations (days) are run for each It is a robust business application built to provide a wide building and averaged. A number of different building range of demand forecasts. Forecaster provides the accuracy instances can also be generated. These are all of the same of results, speed of processing and the business construction type (similar heat loss, glazing area etc.), but will communication and publishing to meet and support the needs have different appliances randomly generated based on of today and the evolving energy markets. specified probabilities. The building’s occupants (users) are Forecaster has been designed to be applicable to many simulated on a probabilistic basis around typical activities at players in the energy industry from transporters and different times of the day. The appliance models then simulate distributors to shippers. This has resulted in a product that is the energy consumption/generation behaviour of each easily configured to meet each client’s specific needs. appliance in response to demand inputs (from users or controls) and, where relevant, to internal building Its flexibility provides: temperatures or the state of other related appliances. Performing multiple simulations for each building type  Generic forecasting model methods including: provides diversity in the resulting consumption profiles. Each o Neural Networks appliance, building and user model has a range of parameters that can be changed such as building heat loss, heating o Multiple linear and non-linear demand periods, appliance efficiencies, heating set regression temperatures etc. in order to implement the differences at each o ARIMA (Auto-Regressive Integrated stage of the scenario. Moving Average) Simulations can be run for an ‘average day’ each month. o Bayes For each month, multiple building instances are used, with each building having a different population of appliances. One o Profiler or more simulations are done on each building instance with o Adaptive Combination, several model user behaviour, temperature and solar parameters varying results are combined into one forecast between each run. The result is an average consumption weighted based on recent performance profile (mean and standard deviation) for each month, along with an estimate of the annual consumption (AQ), calculated  Flexible scheduling of all forecasting activities by summing the monthly consumption weighted by the number of days in the month. This approach is useful for  Configurable forecast horizon for short (hourly, testing, as it generates an estimate of AQ which can be daily) or medium (out to a year) or long term compared to known values. The monthly profiles are also (beyond a year) forecasts useful for assessing the changes in consumption behaviour at  Hourly profile forecasts and daily total forecasts different times of the year. Example electricity consumption profiles for a typical January and August are shown in Figure  Flexible definition of model input variables and 2. input data streams without changing the software  A powerful model configuration utility to allow modellers to select model parameters, model Example Electricity Consumption Profiles by Month for 3 Bed specific settings, training data sets and data Terraced House intervals 120

100  The ability to create individual and/or aggregate client forecasts at customised portfolio or 80

Jan operational or geographic levels 60 Aug

40  A combined forecast to automatically choose the best result (using the adaptive combination lectricity Consumptionlectricity (Wh) 20 E model) 0 :00 02:00 04:00 06:00 08:00 10:00 12:00 14:00 16:00 18:00 20:00 22:00 00  The ability to account for special events such as Time national holidays and known shutdowns Fig. 2. Example of energy model consumption profiles.  A variety of graphs and performance metrics showing forecast errors and performance against actual consumptions

ICRERA 2015 4th International Conference on Renewable Energy Research and Applications Palermo, Italy, 22-25 Nov 2015

 Facility to export information to Excel or The Forecaster database also includes a set of database Comma Separated Value files views that simplify the extraction of information from the database. This is known as the “Reporting Layer”, clients can  A comprehensive reporting layer to allow more use their favourite reporting tools to view all of the detailed access to the data stored in Forecaster information in the Forecaster Database. Typically clients will e.g. web-based access or other analysis tools via use the Reporting Layer to source key forecast result ODBC information for display in existing business systems,  Bulk model assignment, training, activation and dashboardsdashboards or control room displays. deleting facilities for clients with large portfolios IV. TEST SITE  Facility to automatically purge old data no Two test sites have been selected for data collection from a longer required for forecasting range of buildings, both commercial and residential, for the VIMSEN project and these data will be used to validate the EMFT. The two test sites are in (Italy) and Athens ForecasterForecaster consists of a number of components in a typical (Greece) and for this paper only data from the Sardinia test 3-tier architecture arrangement (See Figure 3). The database site will be used. Below is a brief outline of the test site in layer consists of an Oracle database which holds all the Sardinia. configuration data, model templates, historical actual and forecast demand, weather and economic data and has a set of is a municipality on the island of Sardinia, Italy. Oracle views to allow easy access to the data from web-based Sedini, as a VIMSEN partner, represents a conglomerate of systesystems.ms. The Oracle database is typically deployed on Wintel four municipalities including Sedini, , and based systems, but has also been deployed on UNIX, . The four municipalities are all located in the same Vax/VMS. vicinity in the nortnorthh of Sardinia, as shown in fig.4 (a) and (b). TheThe Application Server layer consists of the Forecasting Services including the model engines, Scheduler and typically the FlexLm software license manager. The Forecasting Services are responsible for the forecasting process which includes extracting all the required input data and generate the Sedini forecast based on the model templates and storing the results in the database. The Scheduler component is used to import data, run forecasts, retrain models and export results on a user defined schedule. Alternative methods of triggering data import and the forecasting process are also possible and are described later. The FlexLm license manager is used to manage the access of client users. TheThe client side consists of the Power User Interface that is used to manage the configuration of the meters, input data, models and forecasts and can be used to carry out support activities, modelling and ad-hoc forecasts.

Application Server Client(s) (WINTEL) (WINTEL)

Weather File System Licence manager Inbox Historic Load Outbox Archive Forecast Log Results Forecaster Services

IIOP

IIOP IIOP

Forecaster Engines Scheduler / Neural Network Event driven importer ARIMA Regression JDBC Carnak Forecaster Power GUI Combination

ODBC/JDBC

Database Server ODBC (Oracle)

Forecaster Database

Configuration Effector Data Forecast Results 3rd Party Reporting Tool Business Objects Oracle XML Publisher Reporting Layer Sharepoint Any other ODBC supported tool Fig. 4. (a and b). The four municipalities represented by Sedini within VIMSEN. Left: location on the Italian island of Sardinia; Right: closer view Fig. 3. An example of a standard Forecaster implementation architecture. of the location of the four municipalities.

ICRERA 2015 4th International Conference on Renewable Energy Research and Applications Palermo, Italy, 22-25 Nov 2015

The Sedini pilot aims at validating the VIMSEN platform Figure 7 below is the solar panels output at Sedini’s over a group of participants located within different municipal building, collected on the 10th of July 2015 on the geographical areas. The pilot test will be conducted in two Wattics dashboard. phases:  Phase 1: The electricity consumption and production of public buildings and infrastructures spread over the four Sedini municipalities will be measured, as well as the weather conditions for each site, starting from March 2015 until the end of the VIMSEN project.  Phase 2: Smart plugs, relays and gateways will be deployed to remotely actuate the shortlisted circuits for demand response, which will allow full testing of the VIMSEN platform.

V. RESULTS The following results have been collected from the Fig. 7. Power Solar Panels output on 10th July 2015. Municipal building in Sedini. Figure 5 below shows the daily power production from the solar panel cluster over the month of May 2015. The solar irradiance data collected from a laboratory grade smart pyranometer (KIPP & ZONEN SMP3) are shown in Figure 8 below.

Fig. 5. Power output from solar panels for May 2015.

The power consumption for the whole municipal building is shown in Figure 6 below and for comparison the solar panels output are also presented. The data is for the month of May 2015. Fig. 8. Solar Irradiance measurements on 10th July 2015.

It can be seen from the data of figure 7 and the measurements in figure 8 that there is a very good match. The smart pyranometer is installed in close proximity and at the same angle of the solar panel arrays located on the roof of the municipal building in Sedini. The measurements from the pyranometer thus validates the data collected on the Wattics system (Wattbox) and can be used on the Energy Modelling and Forecasting tool being developed for the VIMSEN project.

VI. CONCLUSIONS Fig. 6. Total power consumption and Solar panels outputs of Sedini Municipal building. - A novel Energy Modelling and Forecasting Tool has been here presented and used for the VIMSEN project. These techniques are proposed in order to

ICRERA 2015 4th International Conference on Renewable Energy Research and Applications Palermo, Italy, 22-25 Nov 2015

provide vital support to the energy market, in http://ec.europa.eu/research/energy/pdf/smartgrids_e particular to energy aggregators. n.pdf - Good validation will help with providing more [5] Towards smart power networks, European accurate data, in particular when the tool is used to Commission, 2005 [Online]. Available: forecast energy consumption/generation over a wider Http://Ec.Europa.Eu/Research/Energy/Pdf/Towards_ area of interest such as a town or city. Smartpower_En.Pdf - Accurate forecasting will also enable the market operator/aggregator to speculate for day-ahead [6] S. Per, “Watt matters – smart grid security,” energy demands bid with a higher degree of certainty Infosecurity, Vol. 6, No. 5, pp. 38-40, July–August so that only the amount of energy required, plus the 2009. usual safety margin, is purchased thus preventing [7] E. Miller, “Renewables and the smart grid,” penalties for not using the amount of energy in the Renewable Energy Focus, Vol. 10, No. 2, Pages 67- bid. 69, March–April 2009. [8] Office of Electric Transmission and Distribution, REFERENCES U.S. Dept. Energy, “Grid 2030: A national version for electricity’s second 100 years,” Jul. 2003. [1] Xinghuo Yu, Carlo Cecati, Tharam Dillon, and M. Godoy Simoes, “The New Frontiers of Smart Grid: [9] G.B. Sheble, “Smart grid millionaire,” IEEE Power An industrial Electronics Perspective,” IEEE and Energy Magazine, Vol. 6, No. 1, pp. 22 – 28, Industrial Electronics Magazine, pp. 49-63, Sept. 2008. 2011. [10] P. McDaniel, S. McLaughlin, “Security and Privacy [2] Qiang Sun, Xubo Ge, Lin Liu, Xin Xu, Yibin Zhang, Challenges in the Smart Grid,” IEEE Security & Ruixin Niu, Yuan Zeng, “Review of Smart Grid Privacy, Vol. 7, No. 3, pp.75 – 77, 2009. Comprehensive Assessment Systems,” Energy [11] S. Blumsack, A. Fernandez, “Ready or not, here Procedia, Vol. 12, pp. 219-229, 2011. comes the smart grid!” Energy, Vol. 37, No. 1, pp. [3] A. Massoud Amin, B.F. Wollenberg, “Toward a 61-68, January 2012. smart grid: power delivery for the 21st century,” [12] Robert Liam Dohn, “The business case for IEEE Power and Energy Magazine, Vol. 3, No. 5, microgrids” White Paper, Siemens Research pp. 34 – 41, 2005.

[4] European SmartGrids Technology Platform, European Commission, 2006 [Online]. Available:

ICRERA 2015