<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="9788793519091.xsl"?>
<book id="home" xmlns:xlink="http://www.w3.org/1999/xlink">
<bookinfo>
<title>iURBAN: Intelligent Urban Energy Tool</title>
<affiliation><emphasis role="strong">Editors</emphasis></affiliation>
<authorgroup>
<author><firstname>Narcis</firstname>
<surname>Avellana</surname>
</author>
</authorgroup>
<affiliation>Sensing &#x00026; Control, Spain</affiliation>
<authorgroup>
<author><firstname>Alberto</firstname>
<surname>Fernandez</surname>
</author>
</authorgroup>
<affiliation>Sensing &#x00026; Control, Spain</affiliation>
<publisher>
<publishername>River Publishers</publishername>
</publisher>
<isbn>9788793519091</isbn>
</bookinfo>
<preface class="preface" id="preface01">
<title>RIVER PUBLISHERS SERIES IN RENEWABLE ENERGY</title>
<para><emphasis>Series Editor</emphasis></para>
<para><bold>ERIC JOHNSON</bold><?lb?><emphasis>Atlantic Consulting</emphasis><?lb?><emphasis>Switzerland</emphasis></para>
<para>The &#x0201C;River Publishers Series in Renewable Energy&#x0201D; is a series of comprehensive academic and professional books which focus on theory and applications in renewable energy and sustainable energy solutions. The series will serve as a multi-disciplinary resource linking renewable energy with society. The book series fulfils the rapidly growing worldwide interest in energy solutions. It covers all fields of renewable energy and their possible applications will be addressed not only from a technical point of view, but also from economic, social, political, and financial aspect.</para>
<para>Books published in the series include research monographs, edited volumes, handbooks and textbooks. The books provide professionals, researchers, educators, and advanced students in the field with an invaluable insight into the latest research and developments.</para>
<para>Topics covered in the series include, but are by no means restricted to the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Renewable energy</para></listitem>
<listitem>
<para>Energy Solutions</para></listitem>
<listitem>
<para>Energy storage</para></listitem>
<listitem>
<para>Sustainability</para></listitem>
<listitem>
<para>Green technology</para></listitem></itemizedlist>
<para>For a list of other books in this series, visit <check_ext-link>www.riverpublishers.com</check_ext-link></para>
</preface>

<preface class="preface" id="preface02">
<title>Preface</title>
<para>What do I need? How many cartons of milk should I buy? How many tomatoes do I need? Can I afford that? When we do the weekly shopping list, what we really do is to match the amount of food we expect to consume with the money we can spend for it. Can we apply the same simple model to manage our energy usage?</para>
<para>The iURBAN project aimed to apply such model for energy production and consumption in cities. It developed and applied in real pilots in two European cities in Rijeka, the second biggest city in Croatia, and in Plovdiv, the second biggest city in Bulgaria. iURBAN used the SMART urban decision support system (smartDSS) to save energy, to reduce consumption, to alleviate the local grid in high peak times, to help citizens to save money, and ultimately to empower them to make informed decision in their households.</para>
<para>The iURBAN project has been a collaborative effort of 9 organizations from 6 different EU member and associated states (Spain, Italy, Germany, UK, Bulgaria, and Croatia), including 5 representatives of the industry (4 SME and 1 large industry), 2 research organizations, and 2 local authorities.</para>
<para>The consortium was formed by three ICT organizations (Sensing and Control in Spain, Vitrociset in Italy, and Integrated Environmental Solutions in UK) providing the necessary expertise with substantial backgrounds in the field of building automation (building energy management systems), Internet of Things (IoT), sensors and actuators, decision support systems, artificial intelligence software, communication technologies and deployment, sustainability, energy efficiency measurement and verification protocols, and commercialization of such technologies and services. Moreover, in the consortium, there was the participation of two organizations specialized in social and business sciences in the field of energy management and production. From one side, Fraunhofer ISE is an organization with advanced expertise in research of renewable technologies, and the participating department, represented by psychologist of proven reputation in the energy application arena, specialized in social behavior, social awareness, and social acceptance of energy measures and energy technologies. Complementing this, the Institute of Computer Science and Social Studies from University of Freiburghas provided the know-how on business models for energy consumption and production and the acceptance of such business models by the different stakeholders. Also, two energy companies have participated in the project, both linked with the two municipalities selected for the validation phase. Finally, local authorities from Rijeka and Plovdiv reinforced the involvement of cities and citizens. Both cities are highly active in local, national, and international energy efficiency projects and are dedicated to reaching 20-20-20 goal, covenant of mayors, green digital charter among others.</para>
<para>The iURBAN project was started in October 2013 and completed in September 2016. It was one of the highest rated Smart City projects awarded by Europe&#x02019;s 7th Framework Program and funded by the European Commission (EC) with a total budget of 5,6 million , of which 3,8 million was by the EC.</para>
</preface>


<preface class="preface" id="preface03">
<title>Acknowledgments</title>
<para>The editors would like to thank the European Commission for their support during the whole journey of the project of both the proposal and the implementation phase. They would also cordially thank all the authors, contributors of this book, the members of the Smart City Advisory Group, and all the people who participated and devoted their time and passion to make iURBAN project an exceptional piece of work.</para>
<blockquote><para>The editorial team<?lb?>
Narcis Avellana<?lb?>
Alberto Fernandez<?lb?>
Sofia Aivalioti</para></blockquote>
<para>The recommendations and opinions expressed in the book are those of the editors and contributors, and do not necessarily represent those of the European Commission.</para>
</preface>
<preface class="preface" id="preface04">
<title>List of Contributors</title>
<para><bold>Aidan Melia,</bold> <emphasis>Integrated Environmental Solutions, Glasgow, UK</emphasis></para>
<para><bold>Alberto Fernandez,</bold> <emphasis>Sensing &#x00026; Control, Barcelona, Spain</emphasis></para>
<para><bold>Energy Agency of Plovdiv,</bold> <emphasis>Energy Agency of Plovdiv, Plovdiv, Bulgaria</emphasis></para>
<para><bold>Fabrizio Lorenna,</bold> <emphasis>Vitrociset, Roma, Italy</emphasis></para>
<para><bold>Jens Str&#x00FC;ker,</bold> <emphasis>University of Freiburg, Freiburg im Breisgau, Germany</emphasis></para>
<para><bold>Karwe Markus Alexander,</bold> <emphasis>University of Freiburg, Freiburg, Germany</emphasis></para>
<para><bold>Marco Forin,</bold> <emphasis>Vitrociset, Roma, Italy</emphasis></para>
<para><bold>Mike Oates,</bold> <emphasis>Integrated Environmental Solutions, Glasgow, UK</emphasis></para>
<para><bold>Narcis Avellana,</bold> <emphasis>Sensing &#x00026; Control, Barcelona, Spain</emphasis></para>
<para><bold>Sergio Jurado,</bold> <emphasis>Sensing &#x00026; Control, Barcelona, Spain</emphasis></para>
<para><bold>Sofia Aivalioti,</bold> <emphasis>Sensing &#x00026; Control, Barcelona, Spain</emphasis></para>
<para><bold>Stefan Reichert,</bold> <emphasis>University of Freiburg, Freiburg im Breisgau, Germany</emphasis></para>
</preface>
<preface class="preface" id="preface05">
<title>List of Figures</title>
<table-wrap position="float" id="T1">
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<tbody>
<tr>
<tr><td valign="top" width="15%"><emphasis role="strong"><link linkend="F1-1">Figure 1.1</link></emphasis></td><td valign="top" align="left">Overall scenario of the iURBAN project.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F1-2">Figure 1.2</link></emphasis></td><td valign="top" align="left">The iURBAN smartDSS architecture.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-1">Figure 2.1</link></emphasis></td><td valign="top" align="left">Data input&#x02013;output iURBAN platform.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-2">Figure 2.2</link></emphasis></td><td valign="top" align="left">High-level logical architecture of the iURBAN platform.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-3">Figure 2.3</link></emphasis></td><td valign="top" align="left">Logical architecture envisioned.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-4">Figure 2.4</link></emphasis></td><td valign="top" align="left">Business models UCs, user interaction UCs, and their impact with LDSS, CDSS, smartDSS, and VPP.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-5">Figure 2.5</link></emphasis></td><td valign="top" align="left">LDSS component and its relations.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-6">Figure 2.6</link></emphasis></td><td valign="top" align="left">LDSS component.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-7">Figure 2.7</link></emphasis></td><td valign="top" align="left">LDSS HMI interfaces.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-8">Figure 2.8</link></emphasis></td><td valign="top" align="left">nAssist<copy></copy> logic architecture.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-9">Figure 2.9</link></emphasis></td><td valign="top" align="left">CDSS components.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-10">Figure 2.10</link></emphasis></td><td valign="top" align="left">CDSS sub-components.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-11">Figure 2.11</link></emphasis></td><td valign="top" align="left">CDSS description.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-12">Figure 2.12</link></emphasis></td><td valign="top" align="left">CDSS handler interfaces sub-component.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-13">Figure 2.13</link></emphasis></td><td valign="top" align="left">CDSS business component.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-14">Figure 2.14</link></emphasis></td><td valign="top" align="left">CDSS HMI sub-component.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-15">Figure 2.15</link></emphasis></td><td valign="top" align="left">smartDSS components.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-16">Figure 2.16</link></emphasis></td><td valign="top" align="left">smartDSS sub-components.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-17">Figure 2.17</link></emphasis></td><td valign="top" align="left">VPP component.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-18">Figure 2.18</link></emphasis></td><td valign="top" align="left">SCDB.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-19">Figure 2.19</link></emphasis></td><td valign="top" align="left">Digest component.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-20">Figure 2.20</link></emphasis></td><td valign="top" align="left">OPEN API module.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-21">Figure 2.21</link></emphasis></td><td valign="top" align="left">CDSS DB (data warehouse).</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-22">Figure 2.22</link></emphasis></td><td valign="top" align="left">SQL/noSQL LDSS database.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F2-23">Figure 2.23</link></emphasis></td><td valign="top" align="left">iURBAN deployment diagram.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F3-1">Figure 3.1</link></emphasis></td><td valign="top" align="left">iURBAN components connection overview.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F3-2">Figure 3.2</link></emphasis></td><td valign="top" align="left">iURBAN security framework scope.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F3-3">Figure 3.3</link></emphasis></td><td valign="top" align="left">Privacy-preserving data publishing model.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F3-4">Figure 3.4</link></emphasis></td><td valign="top" align="left">Demand response data and interaction.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F3-5">Figure 3.5</link></emphasis></td><td valign="top" align="left">Price-based demand response and interaction.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F3-6">Figure 3.6</link></emphasis></td><td valign="top" align="left">Logical architecture for iURBAN platform feedback loop.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F3-7">Figure 3.7</link></emphasis></td><td valign="top" align="left">Logical view database privacy proxy.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F3-8">Figure 3.8</link></emphasis></td><td valign="top" align="left">Logical view privacy protected query answers.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-1">Figure 4.1</link></emphasis></td><td valign="top" align="left">iURBAN logical view.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-2">Figure 4.2</link></emphasis></td><td valign="top" align="left">User login.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-3">Figure 4.3</link></emphasis></td><td valign="top" align="left">CDSS GUI toolbar.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-4">Figure 4.4</link></emphasis></td><td valign="top" align="left">Management&#x02014;map screenshot.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-5">Figure 4.5</link></emphasis></td><td valign="top" align="left">Management&#x02014;map&#x02014;building detailed information by clicking on the map on a specific icon.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-6">Figure 4.6</link></emphasis></td><td valign="top" align="left">Management&#x02014;map&#x02014;diagnostic losses and DataFlow O&#x0FB04;ine.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-7">Figure 4.7</link></emphasis></td><td valign="top" align="left">Graph filter maker window.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-8">Figure 4.8</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;EnergyView&#x02014;Filter Maker.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-9">Figure 4.9</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;EnergyView&#x02014;Filter button.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-10">Figure 4.10</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;EnergyView&#x02014;Filter Maker&#x02014;Time button.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-11">Figure 4.11</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;EnergyView&#x02014;Filter Maker&#x02014;Time button customizable range.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-12">Figure 4.12</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;EnergyView&#x02014;Chart button.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-13">Figure 4.13</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;EnergyView&#x02014;Filter Maker&#x02014;Chart button: EnergyView consumption.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-14">Figure 4.14</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;EnergyView&#x02014;Filter Maker&#x02014;Chart button: EnergyView production.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-15">Figure 4.15</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;EnergyView&#x02014;Filter Maker&#x02014;Chart button: energy forecast.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-16">Figure 4.16</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;EnergyView&#x02014;Graph Container&#x02014;Bubble Chart.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-17">Figure 4.17</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;EnergyView&#x02014;Graph Container&#x02014;Measurements distribution.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-18">Figure 4.18</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;EnergyView&#x02014;Graph Container&#x02014;Quarters Chart.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-19">Figure 4.19</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;EnergyView&#x02014;Graph Container&#x02014;Quarters Horizontal Chart.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-20">Figure 4.20</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;EnergyView&#x02014;Graph Container&#x02014;Total Bar Chart.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-21">Figure 4.21</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;EnergyView&#x02014;Graph Container&#x02014;Line Chart.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-22">Figure 4.22</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;EnergyView&#x02014;Graph Container&#x02014;Help pop-up.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-23">Figure 4.23</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;Consumption 24H.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-24">Figure 4.24</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;Consumption 7D.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-25">Figure 4.25</link></emphasis></td><td valign="top" align="left">CityEnergyView&#x02014;Consumption 30D.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-26">Figure 4.26</link></emphasis></td><td valign="top" align="left">DR Management&#x02014;DR Program.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-27">Figure 4.27</link></emphasis></td><td valign="top" align="left">DR Management&#x02014;DR Program&#x02014;Action Detail.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-28">Figure 4.28</link></emphasis></td><td valign="top" align="left">DR Management&#x02014;DR Program&#x02014;New Action.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-29">Figure 4.29</link></emphasis></td><td valign="top" align="left">DR Management&#x02014;DR Program&#x02014;New DR Program button.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-30">Figure 4.30</link></emphasis></td><td valign="top" align="left">DR Management&#x02014;DR Program&#x02014;New DR Program&#x02014;New Action.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-31">Figure 4.31</link></emphasis></td><td valign="top" align="left">DR Management&#x02014;Peaks and DR Monitoring.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-32">Figure 4.32</link></emphasis></td><td valign="top" align="left">DR Management&#x02014;Peak and DR Monitoring&#x02014; Add New Peak.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-33">Figure 4.33</link></emphasis></td><td valign="top" align="left">DR Management&#x02014;Peaks and DR Monitoring&#x02014; Status Detail.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-34">Figure 4.34</link></emphasis></td><td valign="top" align="left">DR Management&#x02014;Peaks and DR Monitoring&#x02014; Notification List.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-35">Figure 4.35</link></emphasis></td><td valign="top" align="left">Tariff&#x02014;Tariff Plans.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-36">Figure 4.36</link></emphasis></td><td valign="top" align="left">Tariff&#x02014;Tariff Plans&#x02014;New Tariff Button.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-37">Figure 4.37</link></emphasis></td><td valign="top" align="left">Tariff&#x02014;Tariff Comparison&#x02014;Consumption/Price Curve.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-38">Figure 4.38</link></emphasis></td><td valign="top" align="left">Diagnostic&#x02014;DataFlow O&#x0FB04;ine.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-39">Figure 4.39</link></emphasis></td><td valign="top" align="left">Diagnostic&#x02014;Technical Losses: Hot Water.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-40">Figure 4.40</link></emphasis></td><td valign="top" align="left">Diagnostic&#x02014;Technical Losses: Heating.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-41">Figure 4.41</link></emphasis></td><td valign="top" align="left">Weather Forecast.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-42">Figure 4.42</link></emphasis></td><td valign="top" align="left">User&#x02014;User Information Pop-up.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-43">Figure 4.43</link></emphasis></td><td valign="top" align="left">Configuration&#x02014;Console.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-44">Figure 4.44</link></emphasis></td><td valign="top" align="left">Configuration&#x02014;Console&#x02014;Button Configuration.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-45">Figure 4.45</link></emphasis></td><td valign="top" align="left">Configuration&#x02014;Console&#x02014;New Button.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-46">Figure 4.46</link></emphasis></td><td valign="top" align="left">Configuration&#x02014;Controls.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F4-47">Figure 4.47</link></emphasis></td><td valign="top" align="left">Configuration&#x02014;Controls&#x02014;Control Data.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F5-1">Figure 5.1</link></emphasis></td><td valign="top" align="left">LDSS component and its relations.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F5-2">Figure 5.2</link></emphasis></td><td valign="top" align="left">Access to LDSS GUI.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F5-3">Figure 5.3</link></emphasis></td><td valign="top" align="left">Energy visualization in iURBAN&#x02014;(a) types and (b) default periods.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F5-4">Figure 5.4</link></emphasis></td><td valign="top" align="left">Personalized message.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F5-5">Figure 5.5</link></emphasis></td><td valign="top" align="left">Tree award by day.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F5-6">Figure 5.6</link></emphasis></td><td valign="top" align="left">Energy visualization of energy consumption and energy prediction in iURBAN&#x02014; (a) consumption up to given time of the day, and prediction for the end of the day, (b) detail of electricity consumption and prediction by hours, and (c) detail of electricity consumption and production by days.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F5-7">Figure 5.7</link></emphasis></td><td valign="top" align="left">Energy visualization of energy consumption and energy prediction in iURBAN&#x02014; (a) consumption and production summary, including predictions, (b) graphical view of week day.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F5-8">Figure 5.8</link></emphasis></td><td valign="top" align="left">(a) Heating and (b) water consumption visualization in iURBAN.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F5-9">Figure 5.9</link></emphasis></td><td valign="top" align="left">District heating energy consumption view.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F5-10">Figure 5.10</link></emphasis></td><td valign="top" align="left">Demand response notifications view.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F5-11">Figure 5.11</link></emphasis></td><td valign="top" align="left">Demand response information for (a) consumption demand response and (b) thermostat demand response.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F5-12">Figure 5.12</link></emphasis></td><td valign="top" align="left">Demand response achievements.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F5-13">Figure 5.13</link></emphasis></td><td valign="top" align="left">Z-wave devices management and status views&#x02014; (b) general control, (a) device status, and (c) security device status.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F5-14">Figure 5.14</link></emphasis></td><td valign="top" align="left">Captures from iPhone interface.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F6-1">Figure 6.1</link></emphasis></td><td valign="top" align="left">iURBAN ICT architecture&#x02014;CDSS/VPP relationship diagram.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F6-2">Figure 6.2</link></emphasis></td><td valign="top" align="left">CDSS GUI&#x02014;city model list.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F6-3">Figure 6.3</link></emphasis></td><td valign="top" align="left">CDSS GUI&#x02014;create city model.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F6-4">Figure 6.4</link></emphasis></td><td valign="top" align="left">CDSS GUI&#x02014;example city model.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F6-5">Figure 6.5</link></emphasis></td><td valign="top" align="left">CDSS GUI&#x02014;VPP run settings.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F6-6">Figure 6.6</link></emphasis></td><td valign="top" align="left">CDSS GUI&#x02014;VPP simulation list.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F6-7">Figure 6.7</link></emphasis></td><td valign="top" align="left">Part of an example city model focusing on the electricity distribution network.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F6-8">Figure 6.8</link></emphasis></td><td valign="top" align="left">CDSS GUI&#x02014;Rijeka, Croatia. Red dashed circles denote defined building clusters.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F6-9">Figure 6.9</link></emphasis></td><td valign="top" align="left">CDSS GUI legend.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F6-10">Figure 6.10</link></emphasis></td><td valign="top" align="left">Simple VPP electricity network model&#x02014;Rijeka, Croatia.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F7-1">Figure 7.1</link></emphasis></td><td valign="top" align="left">Random forest scheme containing three different trees.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F7-2">Figure 7.2</link></emphasis></td><td valign="top" align="left">Representation scheme of a three-layer feed forward neural network.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F7-3">Figure 7.3</link></emphasis></td><td valign="top" align="left">Qualitative simulation process diagram (with an example containing three inputs and one output).</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F7-4">Figure 7.4</link></emphasis></td><td valign="top" align="left">Prediction algorithm flow diagram.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F7-5">Figure 7.5</link></emphasis></td><td valign="top" align="left">config.properties file example.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F7-6">Figure 7.6</link></emphasis></td><td valign="top" align="left">Data flow diagram: dynamic tariff comparison and demand response simulation.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F8-1">Figure 8.1</link></emphasis></td><td valign="top" align="left">Monthly energy consumption in 2012 (kWh/y).</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F8-2">Figure 8.2</link></emphasis></td><td valign="top" align="left">Annual energy consumption share by energy carrier in 2012 (kWh/y).</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F8-3">Figure 8.3</link></emphasis></td><td valign="top" align="left">Annual energy consumption share by energy carrier in 2015 (kWh/y).</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F8-4">Figure 8.4</link></emphasis></td><td valign="top" align="left">Monthly energy consumption in 2015 (kWh/y).</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F9-1">Figure 9.1</link></emphasis></td><td valign="top" align="left">Segmentation of eight benefit types connected with the implementation of a Smart City Energy Management Platform.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F9-2">Figure 9.2</link></emphasis></td><td valign="top" align="left">Plovdiv city energy weekly view.</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F9-3">Figure 9.3</link></emphasis></td><td valign="top" align="left">Hot water consumption in the city of Plovdiv (01.01.2016&#x02013;30.04.2016, covering the heating season).</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F9-4">Figure 9.4</link></emphasis></td><td valign="top" align="left">Electricity use over 1 day (23 August 2016)&#x02014; comparison between two kindergartens (<emphasis>left</emphasis>) and two buildings with relatively similar characteristics (<emphasis>right</emphasis>).</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="F9-5">Figure 9.5</link></emphasis></td><td valign="top" align="left">District heating grid scheme.</td></tr>
</tr>
</tbody>
</table>
</table-wrap>
</preface>
<preface class="preface" id="preface06">
<title>List of Tables</title>
<table-wrap position="float" id="T1">
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<tbody>
<tr>
<tr><td valign="top" width="15%"><emphasis role="strong"><link linkend="T2-1">Table 2.1</link></emphasis></td><td valign="top" align="left">LDSS modules</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T2-2">Table 2.2</link></emphasis></td><td valign="top" align="left">LDSS HMI sub-interfaces</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T2-3">Table 2.3</link></emphasis></td><td valign="top" align="left">CDSS component</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T2-4">Table 2.4</link></emphasis></td><td valign="top" align="left">CDSS sub-components</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T2-5">Table 2.5</link></emphasis></td><td valign="top" align="left">Handler interfaces sub-components</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T2-6">Table 2.6</link></emphasis></td><td valign="top" align="left">CDSS business component</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T2-7">Table 2.7</link></emphasis></td><td valign="top" align="left">CDSS HMI sub-component</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T2-8">Table 2.8</link></emphasis></td><td valign="top" align="left">smartDSS sub-components&#x02019; description</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T2-9">Table 2.9</link></emphasis></td><td valign="top" align="left">VPP modules</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T2-10">Table 2.10</link></emphasis></td><td valign="top" align="left">Digest modules</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T2-11">Table 2.11</link></emphasis></td><td valign="top" align="left">OPEN API sub-modules</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T6-1">Table 6.1</link></emphasis></td><td valign="top" align="left">Hypothetical electricity sub-stations 1&#x02013;5</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T6-2">Table 6.2</link></emphasis></td><td valign="top" align="left">Scenario parameters</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T6-3">Table 6.3</link></emphasis></td><td valign="top" align="left">PV array parameters</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T6-4">Table 6.4</link></emphasis></td><td valign="top" align="left">Wind turbine parameters</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T6-5">Table 6.5</link></emphasis></td><td valign="top" align="left">Electrical energy storage parameters</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T6-6">Table 6.6</link></emphasis></td><td valign="top" align="left">Rijeka VPP results, percentage difference against &#x0201C;as is&#x0201D; baseline model</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T8-1">Table 8.1</link></emphasis></td><td valign="top" align="left">Normalized heating energy</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T8-2">Table 8.2</link></emphasis></td><td valign="top" align="left">Normalized electrical energy</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T8-3">Table 8.3</link></emphasis></td><td valign="top" align="left">CO<sub>2</sub> emissions overview</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T9-1">Table 9.1</link></emphasis></td><td valign="top" align="left">Estimated production processing costs and realization of thermal energy</td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="T9-2">Table 9.2</link></emphasis></td><td valign="top" align="left">Executed demand response events number 15 to 19</td></tr>
</tr>
</tbody>
</table>
</table-wrap>
</preface>
<preface class="preface" id="preface07">
<title>List of Abbreviations</title>
<table-wrap position="float" id="T1">
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups"><tbody><tr>
<td valign="top" align="left">AI</td>
<td valign="top" align="left">Artificial Intelligence</td>
</tr>
<tr>
<td valign="top" align="left">ANN</td>
<td valign="top" align="left">Artificial Neural Network</td></tr>
<tr>
<td valign="top" align="left">API</td>
<td valign="top" align="left">Application Programming Interface</td>
</tr>
<tr>
<td valign="top" align="left">BEMS</td>
<td valign="top" align="left">Building Energy Management Systems</td>
</tr>
<tr>
<td valign="top" align="left">BU</td>
<td valign="top" align="left">Business Unit</td></tr>
<tr>
<td valign="top" align="left">CART</td>
<td valign="top" align="left">Classification And Regression Trees</td>
</tr>
<tr>
<td valign="top" align="left">CDH</td>
<td valign="top" align="left">Central District Heating system</td>
</tr>
<tr>
<td valign="top" align="left">CDSS</td>
<td valign="top" align="left">Centralized Decision Support System</td>
</tr>
<tr>
<td valign="top" align="left">CDSS-GUI</td>
<td valign="top" align="left">Central Decision Support System Graphical User Interface</td>
</tr>
<tr>
<td valign="top" align="left">CHP</td>
<td valign="top" align="left">Combined Heat and Power</td></tr>
<tr>
<td valign="top" align="left">CO</td>
<td valign="top" align="left">Carbon Oxide</td>
</tr>
<tr>
<td valign="top" align="left">CO<sub>2</sub></td>
<td valign="top" align="left">Carbon Emission</td>
</tr>
<tr>
<td valign="top" align="left">DER</td>
<td valign="top" align="left">Distributed Energy Resources</td>
</tr>
<tr>
<td valign="top" align="left">DR</td>
<td valign="top" align="left">Demand Response</td>
</tr>
<tr>
<td valign="top" align="left">EC</td>
<td valign="top" align="left">European Commission</td>
</tr>
<tr>
<td valign="top" align="left">ESCO</td>
<td valign="top" align="left">Energy Service COmpany</td>
</tr>
<tr>
<td valign="top" align="left">EU</td>
<td valign="top" align="left">European Union</td>
</tr>
<tr>
<td valign="top" align="left">FIR</td>
<td valign="top" align="left">Fuzzy Inductive Reasoning</td>
</tr>
<tr>
<td valign="top" align="left">GHG</td>
<td valign="top" align="left">GreenHouse Gas</td>
</tr>
<tr>
<td valign="top" align="left">GSPS</td>
<td valign="top" align="left">General System Problem Solving</td>
</tr>
<tr>
<td valign="top" align="left">GUI</td>
<td valign="top" align="left">Graphical User Interface</td>
</tr>
<tr>
<td valign="top" align="left">HTTPS</td>
<td valign="top" align="left">Hypertext Transfer Protocol over SSL</td>
</tr>
<tr>
<td valign="top" align="left">ICT</td>
<td valign="top" align="left">Information and Communications Technology</td>
</tr>
<tr>
<td valign="top" align="left">IPMVP</td>
<td valign="top" align="left">International Performance Measurement and Verification<!--br /-->Protocol</td>
</tr>
<tr>
<td valign="top" align="left">IS</td>
<td valign="top" align="left">Information Systems</td>
</tr>
<tr>
<td valign="top" align="left">iURBAN</td>
<td valign="top" align="left">Intelligent URBAn eNergy tool</td>
</tr>
<tr>
<td valign="top" align="left">KNN</td>
<td valign="top" align="left">K-Nearest Neighbours</td>
</tr>
<tr>
<td valign="top" align="left">KPI</td>
<td valign="top" align="left">Key Performance Indicators</td>
</tr>
<tr>
<td valign="top" align="left">kW</td>
<td valign="top" align="left">Kilowatt</td>
</tr>
<tr>
<td valign="top" align="left">LDSS</td>
<td valign="top" align="left">Local Decision Support System</td></tr>
<tr>
<td valign="top" align="left">LDSS-GUI</td>
<td valign="top" align="left">Local Decision Support System Graphical<!--br /-->User Interface</td>
</tr>
<tr>
<td valign="top" align="left">MBUS</td>
<td valign="top" align="left">Meter-Bus</td></tr>
<tr>
<td valign="top" align="left">NN</td>
<td valign="top" align="left">Neural Networks</td>
</tr>
<tr>
<td valign="top" align="left">OGS</td>
<td valign="top" align="left">Open Geospatial Consortium</td>
</tr>
<tr>
<td valign="top" align="left">PET</td>
<td valign="top" align="left">Privacy-Enhancing Technology</td>
</tr>
<tr>
<td valign="top" align="left">PKI</td>
<td valign="top" align="left">Public-Key Infrastructure</td>
</tr>
<tr>
<td valign="top" align="left">PPDP</td>
<td valign="top" align="left">Privacy-Preserving Data Publishing</td>
</tr>
<tr>
<td valign="top" align="left">PrP</td>
<td valign="top" align="left">Privacy Proxy</td>
</tr>
<tr>
<td valign="top" align="left">PV</td>
<td valign="top" align="left">PhotoVoltaic</td></tr>
<tr>
<td valign="top" align="left">QID</td>
<td valign="top" align="left">Quasi IDentifier</td>
</tr>
<tr>
<td valign="top" align="left">RESTful</td>
<td valign="top" align="left">Systems conform to the constraints of REST</td>
</tr>
<tr>
<td valign="top" align="left">RF</td>
<td valign="top" align="left">Random Forest</td></tr>
<tr>
<td valign="top" align="left">ROI</td>
<td valign="top" align="left">Return On Investment</td>
</tr>
<tr>
<td valign="top" align="left">RSA</td>
<td valign="top" align="left">Algorithm for public-key cryptography</td>
</tr>
<tr>
<td valign="top" align="left">SCDB</td>
<td valign="top" align="left">Smart City DataBase</td>
</tr>
<tr>
<td valign="top" align="left">SCDB-CDSS</td>
<td valign="top" align="left">CDSS part of the Smart City DataBase</td>
</tr>
<tr>
<td valign="top" align="left">SCDB-LDSS</td>
<td valign="top" align="left">LDSS part of the Smart City DataBase</td>
</tr>
<tr>
<td valign="top" align="left">SCPA</td>
<td valign="top" align="left">Smart City Prediction Algorithms</td>
</tr>
<tr>
<td valign="top" align="left">SEC</td>
<td valign="top" align="left">Security framework</td>
</tr>
<tr>
<td valign="top" align="left">smartDSS</td>
<td valign="top" align="left">SMART urban Decision Support System</td>
</tr>
<tr>
<td valign="top" align="left">SMS</td>
<td valign="top" align="left">Smart Metering System</td>
</tr>
<tr>
<td valign="top" align="left">SOA</td>
<td valign="top" align="left">Service-Oriented Architecture</td>
</tr>
<tr>
<td valign="top" align="left">TET</td>
<td valign="top" align="left">Transparency-Enhancing Technology</td>
</tr>
<tr>
<td valign="top" align="left">TLS</td>
<td valign="top" align="left">Transport Layer Security</td>
</tr>
<tr>
<td valign="top" align="left">TTP</td>
<td valign="top" align="left">Trusted Third Party</td>
</tr>
<tr>
<td valign="top" align="left">VPP</td>
<td valign="top" align="left">Virtual Power Plant</td>
</tr>
<tr>
<td valign="top" align="left">WA</td>
<td valign="top" align="left">Weather Analytics</td>
</tr>
<tr>
<td valign="top" align="left">X.509 Certificate</td>
<td valign="top" align="left">SSL Certificates (PKI)</td>
</tr>
<tr>
<td valign="top" align="left">XML</td>
<td valign="top" align="left">Extensible Markup Language</td>
</tr>
<tr>
<td valign="top" align="left">ZKP</td>
<td valign="top" align="left">Zero Knowledge Proof</td></tr>
<tr>
<td valign="top" align="left"></td></tr>
</tbody>
</table>
</table-wrap>
</preface>


<preface class="preface" id="preface06a">
<title>Contents</title>
<table-wrap position="float">
<table cellspacing="5" cellpadding="5" frame="none" rules="none">
<tbody>
<tr><td valign="top"><emphasis role="strong"><link linkend="ch01">1 Introduction</link></emphasis><?lb?>Narcis Avellana and Sofia Aivalioti</td><td valign="top" align="left" width="20%"><ulink url="http://riverpublishers.com/dissertations_xml/9788793519091/pdf/01_Chapter_01.pdf">Download As PDF</ulink></td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="ch02">2 Logic Architecture, Components, and Functions</link></emphasis><?lb?>Alberto Fernandez</td><td valign="top" align="left"><ulink url="http://riverpublishers.com/dissertations_xml/9788793519091/pdf/02_Chapter_02.pdf">Download As PDF</ulink></td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="ch03">3 Data Privacy and Confidentiality</link></emphasis><?lb?>Alberto Fernandez and Karwe Markus Alexander</td><td valign="top" align="left"><ulink url="http://riverpublishers.com/dissertations_xml/9788793519091/pdf/03_Chapter_03.pdf">Download As PDF</ulink></td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="ch04">4 iURBAN CDSS</link></emphasis><?lb?>Marco Forin and Fabrizio Lorenna</td><td valign="top" align="left"><ulink url="http://riverpublishers.com/dissertations_xml/9788793519091/pdf/04_Chapter_04.pdf">Download As PDF</ulink></td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="ch05">5 iURBAN LDSS</link></emphasis><?lb?>Alberto Fernandez</td><td valign="top" align="left"><ulink url="http://riverpublishers.com/dissertations_xml/9788793519091/pdf/05_Chapter_05.pdf">Download As PDF</ulink></td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="ch06">6 Virtual Power Plant</link></emphasis><?lb?>Mike Oates and Aidan Melia</td><td valign="top" align="left"><ulink url="http://riverpublishers.com/dissertations_xml/9788793519091/pdf/06_Chapter_06.pdf">Download As PDF</ulink></td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="ch07">7 iURBAN Smart Algorithms</link></emphasis><?lb?>Sergio Jurado and Alberto Fernandez</td><td valign="top" align="left"><ulink url="http://riverpublishers.com/dissertations_xml/9788793519091/pdf/07_Chapter_07.pdf">Download As PDF</ulink></td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="ch07">8 Solar Thermal Production of Domestic Hot Water in Public Buildings</link></emphasis><?lb?>Energy Agency of Plovdiv</td><td valign="top" align="left"><ulink url="http://riverpublishers.com/dissertations_xml/9788793519091/pdf/08_Chapter_08.pdf">Download As PDF</ulink></td></tr>
<tr><td valign="top"><emphasis role="strong"><link linkend="ch09">9 Business Models</link></emphasis><?lb?>Stefan Reichert and Jens Str&#x00FC;ker</td><td valign="top" align="left"><ulink url="http://riverpublishers.com/dissertations_xml/9788793519091/pdf/09_Chapter_09.pdf">Download As PDF</ulink></td></tr>
</tbody>
</table>
</table-wrap>
</preface>
<chapter class="nosec" id="ch01" label="1" xreflabel="1">
<title>Introduction</title>
<para role="author"><emphasis role="strong">Narcis Avellana and Sofia Aivalioti</emphasis></para>
<para>Sensing &#x00026; Control, Barcelona, Spain</para>
<para><emphasis role="strong">Abstract</emphasis></para>
<para>The energy continues to be produced by exhaustible and polluting fossil fuels endangering the health of citizens and of the surrounding ecosystems. People around the world are concentrating in big urban centres resulting in an even greater demand of energy stressing the existing supply systems and the environment. This book is about the course of the iURBAN project which developed and validated sustainable energy management systems applied in two European cities using novel ICT technologies.</para>
<para><emphasis role="strong">Keywords:</emphasis> Energy management systems, ICT technology, Energy efficiency, Decision support system</para>
<para>Today, roughly half of the world&#x02019;s population lives in urban areas, consuming two-thirds of total primary energy and generating over 70% of global energy-related carbon dioxide (CO<subscript>2</subscript>) emissions. By 2030, it is estimated that around 60% of the world&#x02019;s population projected 8.2 billion people will be housed in urban areas. This means that residents who live and work within a city will consume around 75% of the world&#x02019;s annual energy demand. If most of this demand continues to be met by fossil fuels, then cities maintaining a business-as-usual approach will experience large increases in CO<subscript>2</subscript> emissions, greatly endangering the health of citizens and surrounding ecosystems. Fortunately, many European Union (EU) cities are setting examples to follow in their quest to become energy independent, such as the Swedish city of V&#x00E4;xj&#x00F6;, which meets over 54% of its energy demand with local renewable energy and Copenhagen which covers 43% of its energy needs.</para>
<para>The popularity of singular household-powering solar panel systems has increased notably in Europe and worldwide with many buildings to generate a considerable proportion of energy enough to cover energy needs while reduce their carbon footprint. Technology has been a key driver for such investments and the global shift to alternatives for cleaner and renewable energy sources. Additionally, Information and Communications Technology (ICT) tools assist in the management aspects of the energy production and consumption. In particular, software development, smart meters, actuators, sensors, and user-friendly interfaces help managers, household owners, and tenants to create their own energy plans for exploiting optimally the energy generation and control consumption. ICT tools can increase awareness on energy issues and empower users in all energy related decisions. Likewise, individual energy plans can be combined with data from nearby power plants to create energy &#x0201C;shopping lists&#x0201D; for an entire city. The main output is creating more efficient urban system powered by new and interactive relationships between citizens, energy companies, and local government.</para>
<para>iURBAN project created an intelligent &#x0201C;brain&#x0201D; that helps households, businesses, and public buildings to make their energy shopping lists. The project developed and validated a software platform that integrates different ICT energy management systems (both hardware and software) in two pilot cities, providing useful data to a novel decision support system that makes available the necessary parameters for the generation and further operation of new business models. The business models contribute at a global level to efficiently manage and distribute the energy produced and consumed at a local level (city or neighborhood), incorporating behavioral aspects of the users into the software platform and in general prosumers. <footnote id="fn1_1" label="1"> <para>Consumers and producers.</para></footnote></para>
<para>iURBAN project aimed to achieve the following objectives in different phases (<link linkend="F1-1">Figure <xref linkend="F1-1" remap="1.1"/></link>):</para>
<orderedlist numeration="arabic" continuation="restarts" spacing="normal">
<listitem>
<para><emphasis role="strong">Integration phase</emphasis>: To integrate existing and new smart metering systems for water, heating, gas, and electricity. During this phase, a complete monitoring and synchronization between the metering devices with the <emphasis>Smart City Database</emphasis> (SCDB) has been carried out.</para></listitem>
<listitem>
<para><emphasis role="strong">Smart decision support system development and citizen empowerment phase</emphasis>: To develop a SCDB network where all the energy-related data generated in the city has been stored and a decentralized energy decision support system that collects real-time or near real-time data, aggregates, analyses, and suggest actions of energy consumption and production. These tools support contractual demand control schemes, dynamic multi-tariffs, opportunities for load shifting, load shedding, storage utilization, prioritization of renewable energy, etc.</para></listitem>
<listitem>
<para><emphasis role="strong">ICT and socioeconomic evaluation phase</emphasis>: To validate and evaluate the ICT tools together with the socioeconomic initiatives.</para></listitem></orderedlist>
<fig id="F1-1" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F1-1">Figure <xref linkend="F1-1" remap="1.1"/></link></label>
<caption><para>Overall scenario of the iURBAN project.</para></caption>
<graphic xlink:href="graphics/ch01_fig001.jpg"/>
</fig>
<para>iURBAN project has conceived a SMART urban decision support system (smartDSS), i.e., a customized energy management and control platform in the framework of a city. The smartDSS adapts existing ICT and Building Energy Management Systems (BEMS) in a city and deploy it where necessary. The iURBAN smartDSS allows for scalability and incorporates a two-level decision support system:</para>
<orderedlist numeration="arabic" continuation="restarts" spacing="normal">
<listitem>
<para><emphasis>Local Decision Support System (LDSS)</emphasis>.</para>
<para><emphasis>LDSS</emphasis> engages consumers and prosumers by capturing near real-time data related to their energy consumption, as well as energy production from their installed distributed energy resources (DER), displaying it on a user-friendly interface via smart phones, tablets, PCs, etc., and provides support for decision making.</para></listitem>
<listitem>
<para><emphasis>Centralized Decision Support System (CDSS)</emphasis></para>
<para>CDSS aggregates data from all LDSSs to provide city-level decision support to authorities and energy service providers. The <emphasis>CDSS</emphasis> generates a number of parameters, including citywide energy production and consumption forecasts. For example, the integrated utility in a city uses the CDSS which generates a forecasting for the next 24-hour consumptions and renewable productions in the different districts of the city, as well as advises for local energy market prices. Thus, the CDSS helps to balance citywide supply and demand with electricity generated by local renewable sources and requesting little energy from distant power plants.</para></listitem>
<listitem>
<para>The LDSS communicates directly with the CDSS in order to exchange information for the decision making process. For instance, the LDSS receives the next-day energy prices and recommends to the end user that it is more cost efficient to wash her clothes between 10:00 am and 12:00 pm the next day.</para></listitem></orderedlist>
<para>The two-level <emphasis>smartDSS</emphasis> is a concrete solution comprised of the following:</para>
<orderedlist numeration="arabic" continuation="restarts" spacing="normal">
<listitem>
<para>A tool to measure, predict, and balance energy production, demand, and storage.</para></listitem>
<listitem>
<para>A tool to measure and verify reductions in energy consumption and greenhouse gas (GHG) emissions resulting from city energy use.</para></listitem>
<listitem>
<para>And user-friendly Web portals and functions that inspire new business models for all stakeholders (consumers, prosumers, city authorities, energy service providers, telecommunication companies, etc.). The decision support system leverages the cities&#x02019; intelligent electrical and thermal grids to empower all of the actors involved and enable optimal distribution and trading of decentralized renewable energies production in a city, as well as the integration of combined heat and power (CHP) plants connected to the smart district heating and cooling grid.</para></listitem></orderedlist>
<para>The iURBAN <emphasis>smartDSS</emphasis> is an open software platform integrating local, intelligent energy systems and available communication infrastructures. Based on the nAssist <footnote id="fn1_2" label="2"> <para>The nAssist&#x00A9; middleware platform is commercial property of Sensing and Control S.L. and is the basis of the iURBAN project adapted to accommodate city energy management, as well as the future integration of other city services such as security, health, transport, and waste management. http://www.sensingcontrol.com/es/.</para></footnote> middleware, it serves as an interoperable data and information network, acting as a bridge between stakeholders. Interoperability with existing city infrastructure is ensured as well as taking into account new communication standards for electricity metering created by the International Electrotechnical Commission. <emphasis>smartDSS</emphasis> collects, aggregates, and analyses real-time or near real-time data from public and private city areas, integrating the ICT infrastructure which monitors and controls a wide range of energy-related devices found in European cities: low-voltage demand loads, distributed generation/storage resources, <footnote id="fn1_3" label="3"> <para>According to the IEC, electrical energy storage systems are considered to be a key enabler for wide-scale uptake of DER.</para></footnote> smart district heating/cooling grids, weather data, smart meters, actuators, and electric vehicle charging stations. Outputs from the data analysis includes near real-time consumption and production data for each endpoint, from smart street lighting systems to a CHP plant to a commercial building, together with forecasts of demand response (DR) capabilities and consumption and DER production (<link linkend="F1-2">Figure <xref linkend="F1-2" remap="1.2"/></link>).</para>
<fig id="F1-2" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F1-2">Figure <xref linkend="F1-2" remap="1.2"/></link></label>
<caption><para>The iURBAN smartDSS architecture.</para></caption>
<graphic xlink:href="graphics/ch01_fig002.jpg"/>
</fig>
<para>The <emphasis>smartDSS</emphasis> integrates all possible types of city endpoints. The endpoints in our two city pilots are found in various areas of the city and cannot be isolated on a single microgrid. Thus, DER units have been aggregated under the concept of a virtual power plant (VPP), where dispersed DERs have been integrated into one system. In addition, a simulation framework supports &#x0201C;virtual units&#x0201D; such as batteries, EV charging stations, and other distributed resources, inside the decision support system in order to analyze and understand how these virtual units could affect the current energy situation of the city in terms of consumption, production, CO<subscript>2</subscript> emissions, etc. These models are driven by external information and artificial intelligence (AI) models, and serve to complement the project&#x02019;s city pilot cases.</para>
<para>A key objective of the project was to develop and carry out a systematic procedure for the validation and evaluation of the impacts resulting from the deployment of the iURBAN smartDSS (<link linkend="ch04">Chapter <xref linkend="ch4" remap="4"/></link>). <footnote id="fn1_4" label="4"> <para>smartDSS is an open software platform integrating local, intelligent energy systems and available communication infrastructures.</para></footnote> Economic, environmental, and social key performance indicators (KPIs) have been drawn from the widely used International Performance Measurement and Verification Protocol (IPMVP) <footnote id="fn1_5" label="5"> <para>&#x0201C;International Performance Measurement and Verification Protocol,&#x0201D; International Performance Measurement &#x00026; Verification Protocol Committee, 2002. http://www.nrel.gov/docs/fy02osti/31505.pdf.</para></footnote> and a social cost-benefit analysis has been performed, allowing for robust comparisons across heterogeneous European cities. <footnote id="fn1_6" label="6"> <para>The cost-benefit analysis and key performance indicators included in this project are in accordance with EU Directive 2009/72/EC and are based on the methodology outlined the JRC Reference Report: <emphasis>Guidelines for conducting a cost-benefit analysis of smart grid projects</emphasis> (2012). The methodology includes indicators such as city-level economic impact of lower consumer utility bills, reduced healthcare costs due to less incidences of GHG-related respiratory problems, reduced congestion in the electrical grid and local job creation.</para></footnote> Moreover, this evaluation procedure aims to aid in the future exploitation of the system by demonstrating the system&#x02019;s return on investment (ROI) and its potential as a powerful political tool that city governments can utilize to justify energy policy decisions.</para>
<para>User engagement and openness are fundamental elements and serve as drivers for the design of the smartDSS. A major goal of the project was to enable city authorities to be able to provide to local actors, for instance energy agencies or energy service companies, with a wide range of data sets related to energy production, consumption, and infrastructure investments (i.e., the impact of investing in novel electricity storage units). Moreover, the project leverages knowledge from the behavioral science and behavioral economics fields that allowed the development of novel user-centric business models. Throughout the implementation of the project, surveys and focus groups have been carried out to identify and analyze all aspects that influence the acceptance of new business models in each pilot city, such as the actors&#x02019; needs, cultural concerns, regulatory conditions, and data security issues. However, this book aims only on particular developments and focuses on the technological achievements of this 3-year work.</para>
</chapter>

<chapter class="chapter" id="ch02" label="2" xreflabel="2">
<title>Logic Architecture, Components, and Functions</title>
<para role="author"><emphasis role="strong">Alberto Fernandez</emphasis></para>
<para>Sensing &#x00026; Control, Barcelona, Spain</para>
<para><emphasis role="strong">Abstract</emphasis></para>
<para>This chapter provides an overview1 of iURBAN ICT, describing the overall architecture, main functionalities of each component and interfaces.</para>
<para><emphasis role="strong">Keywords:</emphasis> ICT, Architecture, Functionality, Interfaces</para>
<para>As shown in <link linkend="F2-1">Figure <xref linkend="F2-1" remap="2.1"/></link>, the principle idea behind the iURBAN platform and its architecture is to provide a set of outputs based on the inputs received by the smart metering infrastructure in Plovdiv and Rijeka pilots.</para>
<para>The architecture of iURBAN platform is mainly composed by three main blocks, as <link linkend="F2-2">Figure <xref linkend="F2-2" remap="2.2"/></link> shows: the local decision support system (LDSS), centralized decision support system (CDSS), and the SMART urban decision support system (smartDSS). The three blocks communicate between them in order to provide a set of outputs; on one hand, the CDSS output is target to energy companies, municipalities, and other public authorities, while the LDSS is target to public and private customers. The smartDSS consists of a set of components that are used for both the LDSS and CDSS. Apart from that, the LDSS and CDSS have also its own components.</para>
<para>A global logic view of the architecture is depicted in <link linkend="F2-3">Figure <xref linkend="F2-3" remap="2.3"/></link>. The main components of iURBAN platform are the <emphasis>Smart City Database</emphasis> (SCDB), a set of open <emphasis>interfaces/application program interfaces (APIs)</emphasis> to connect third-party tools and services, and to provide support to internal modules of iURBAN. Within the <emphasis>Orchestrator</emphasis> is located the <emphasis>smartDSS</emphasis> and its business unit (BU), the LDSS, and CDSS. All of them under the security and privacy framework.</para>
<fig id="F2-1" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-1">Figure <xref linkend="F2-1" remap="2.1"/></link></label>
<caption><para>Data input&#x02013;output iURBAN platform.</para></caption>
<graphic xlink:href="graphics/ch02_fig001.jpg"/>
</fig>
<fig id="F2-2" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-2">Figure <xref linkend="F2-2" remap="2.2"/></link></label>
<caption><para>High-level logical architecture of the iURBAN platform.</para></caption>
<graphic xlink:href="graphics/ch02_fig002.jpg"/>
</fig>
<fig id="F2-3" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-3">Figure <xref linkend="F2-3" remap="2.3"/></link></label>
<caption><para>Logical architecture envisioned.</para></caption>
<graphic xlink:href="graphics/ch02_figure2.3.jpg"/>
</fig>
<para>Energy consumed and produced and any related information with energy is provided by either internal or external services to iURBAN. All data is stored in the SCDB.</para>
<para>The four main services are as follows:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para><emphasis role="strong">Utilities</emphasis>: Service to receive energy consumption and production data from utilities&#x02019; smart metering system.</para></listitem>
<listitem>
<para><emphasis role="strong">Smart Home</emphasis>: Smart Home provides contextual information such as internal temperature, humidity, CO<subscript>2</subscript> levels, and luminosity. The energy consumption can be obtained by smart plugs and sub-meters to obtain more detailed home consumption. Furthermore, it provides automation and security functionalities.</para></listitem>
<listitem>
<para><emphasis role="strong">Energy Prices</emphasis>: Service to receive energy prices, so the users can be up to date on bill expenditure.</para></listitem>
<listitem>
<para><emphasis role="strong">Weather Provider</emphasis>: Service to receive historical, current, and future weather information.</para></listitem></itemizedlist>
<para><link linkend="F2-4">Figure <xref linkend="F2-4" remap="2.4"/></link> shows schematically all different function modules of iURBAN; furthermore, it relates each function to a main component (see figure&#x02019;s legend). Notice for instance that the <emphasis>Information and Motivation</emphasis> function module only affects the LDSS; thus, all components affecting this package are fully developed and integrated in the LDSS. Similarly, the <emphasis>Technical Loses</emphasis> function module only affects the CDSS; therefore, all components are inside CDSS package. Furthermore, the demand response (DR) function module affects LDSS and CDSS; then, a component to automatically identify potential DR actions is created within smartDSS components; in this particular case, additional components are also created in the LDSS (historical DR, notification, and advise) and CDSS (generation and validation) to support the use case.</para>
<fig id="F2-4" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-4">Figure <xref linkend="F2-4" remap="2.4"/></link></label>
<caption><para>Business models UCs, user interaction UCs, and their impact with LDSS, CDSS, smartDSS, and VPP.</para></caption>
<graphic xlink:href="graphics/ch02_fig004.jpg"/>
</fig>
<section class="lev1" id="sec2-1">
<title>2.1 Logic View</title>
<section class="lev2" id="sec2-1-1">
<title>2.1.1 Local Decision Support System</title>
<para>The LDSS component of iURBAN is responsible to deliver a set of functions to households. It is composed by a back end and front end (Web- and mobile phone-based graphical user interface (GUI)) build on top of nAssist&#x00A9; IoT service from Sensing and Control (further information can be found in Section 2.2.1.4) (<link linkend="F2-5">Figure <xref linkend="F2-5" remap="2.5"/></link>).</para>
<fig id="F2-5" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-5">Figure <xref linkend="F2-5" remap="2.5"/></link></label>
<caption><para>LDSS component and its relations.</para></caption>
<graphic xlink:href="graphics/ch02_fig005.jpg"/>
</fig>
<para>LDSS main goal is to engage consumers and prosumers by capturing near real-time data related to their energy consumption, as well as energy production from their installed distributed energy resources (DER). The engagement is target throughout a user-friendly interface via smart phones, tablets, PCs, etc. Furthermore, it provides support for decision making; for instance, it advises how to achieve a DR actions, which dynamic tariff is more convenient, deviations compared to similar days/months/weeks and simulations to understand how different parameters affects to the user consumption and comfort. At this aim, the LDSS communicates directly with the CDSS in order to exchange information for the decision making process.</para>
<section class="lev3" id="sec2-1-1-1">
<title>2.1.1.1 Handler data</title>
<para>The handler data is a sub-component of the LDSS component. It manages the interface from different components of iURBAN platform. This sub-component interfaces the LDSS component with the SCDB; it exposes two different interfaces: one for the CDSS central database and other for the LDSS local database to collect data to be sent to the business sub-component.</para>
<para>The handler data also manages command interface with CDSS component to send command in order to notify end user the availability of new DR program and the result of a given DR program ID executed.</para>
</section>
<section class="lev3" id="sec2-1-1-2">
<title>2.1.1.2 Business data</title>
<para>The different sub-modules are depicted in <link linkend="F2-6">Figure <xref linkend="F2-6" remap="2.6"/></link> and its functionalities are shown in <link linkend="T2-1">Table <xref linkend="T2-1" remap="2.1"/></link>.</para>
<fig id="F2-6" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-6">Figure <xref linkend="F2-6" remap="2.6"/></link></label>
<caption><para>LDSS component.</para></caption>
<graphic xlink:href="graphics/ch02_fig006.jpg"/>
</fig>
<table-wrap position="float" id="T2-1">
<label><link linkend="T2-1">Table <xref linkend="T2-1" remap="2.1"/></link></label>
<caption><para>LDSS modules</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Component</td>
<td valign="bottom" align="left">Description</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Consumption benchmark</td>
<td valign="top" align="left">This module benchmarks your consumption and/or production against other peers.</td>
</tr>
<tr>
<td valign="top" align="left">Smart heating</td>
<td valign="top" align="left">This module implements the smart heating control of the home/business, plus the possibility to be controlled (target temperature) by the utility.</td>
</tr>
<tr>
<td valign="top" align="left">Tariff simulator</td>
<td valign="top" align="left">This module visualizes the different dynamic tariffs available and calculates the potential benefits of a time period taking into account its consumption profile (heating, gas, and electricity). It allows also to choose among the different available tariffs.</td>
</tr>
<tr>
<td valign="top" align="left">Demand response</td>
<td valign="top" align="left">This module implements DR programs, including notifications, historical DR actions, and smart heating DR.</td>
</tr>
<tr>
<td valign="top" align="left">Scheduler</td>
<td valign="top" align="left">This module implements the scheduler of DR program and smart thermostat control.</td>
</tr>
<tr>
<td valign="top" align="left">Interactive simulation</td>
<td valign="top" align="left">This module allows the users to see and simulate their consumption/ production profiles in terms of kWh, CO<subscript>2</subscript> emissions, and EUR.</td>
</tr>
<tr>
<td valign="top" align="left">CDSS interface</td>
<td valign="top" align="left">This module provides a service interface for the communication between LDSS and CDSS.</td></tr>
</tbody>
</table>
</table-wrap>
<section class="lev3" id="sec2-1-1-3">
<title>2.1.1.3 Local decision support system user interface</title>
<para>This module provides the user interfaces of LDSS. The interfaces are developed on top of the current nAssist&#x00A9;, either modifying current ones or adding them to actual product. The new interfaces are tailored to increase user&#x02019;s satisfaction on iURBAN, and more concretely to support the user engagement activities and DR programs within the project.</para>
<para><link linkend="F2-7">Figure <xref linkend="F2-7" remap="2.7"/></link> shows the sub-modules of the HMI one, while further describes them. The default client and user interface platform is a Web browser.</para>
<para>The client implements those functions as visual components consuming data from LDSS RESTful API (using HTTPS connection) (<link linkend="T2-2">Table <xref linkend="T2-2" remap="2.2"/></link>).</para>
</section>
<fig id="F2-7" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-7">Figure <xref linkend="F2-7" remap="2.7"/></link></label>
<caption><para>LDSS HMI interfaces.</para></caption>
<graphic xlink:href="graphics/ch02_fig007.jpg"/>
</fig>
<table-wrap position="float" id="T2-2">
<label><link linkend="T2-2">Table <xref linkend="T2-2" remap="2.2"/></link></label>
<caption><para>LDSS HMI sub-interfaces</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Component</td>
<td valign="bottom" align="left">Description</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Energy consumption and production</td>
<td valign="top" align="left">This interface provides to the end user a historical and almost real-time view of their consumptions and productions, provides both kWh and monetary cost. It differentiates between the different energy sources; electricity, water, and heating. The view is split in daily, weekly, and monthly information insights.</td>
</tr>
<tr>
<td valign="top" align="left">Home parameterization</td>
<td valign="top" align="left">This interface allows the user to insert home-related information that is used for the generation of personalized advice and the benchmark computation for energy consumption comparison. This information is additionally used for the user engagement.</td>
</tr>
<tr>
<td valign="top" align="left">Scheduler</td>
<td valign="top" align="left">This interface provides the scheduler for the smart heating use case. It allows to set a temperature in a concrete day of the week and hour (24 &#x000D7; 7 calendar).</td></tr>
<tr>
<td valign="top" align="left">Demand response</td>
<td valign="top" align="left">This interface provides notifications about DR actions sent by the utilities and historical DR actions.</td>
</tr>
<tr>
<td valign="top" align="left">Advise</td>
<td valign="top" align="left">It provides advice for users with the aim to reduce their energy consumptions.</td>
</tr>
<tr>
<td valign="top" align="left">Notifications</td>
<td valign="top" align="left">This interface notifies the user about any communication with the CDSS.</td>
</tr>
<tr>
<td valign="top" align="left">Tariff simulation</td>
<td valign="top" align="left">This interface shows the available dynamic tariffs for the user, and it simulates its performance against the average consumption curve of this user. Moreover, it notifies when a more optimal tariff for the user is detected.</td>
</tr>
<tr>
<td valign="top" align="left">Energy forecast</td>
<td valign="top" align="left">This interface provides the (hourly, daily, 24/48/72 hours) energy consumption and production forecast. It shows an additional bar on plots with the real consumption and production.</td>
</tr>
<tr>
<td valign="top" align="left">Privacy policy</td>
<td valign="top" align="left">This interface provides to user means to decide the privacy policy configuration for his/her own data (energy and user information).</td>
</tr>
<tr>
<td valign="top" align="left">Interactive simulation</td>
<td valign="top" align="left">This interface provides a simulation of the energy building consumption performance. It allows to choose a set of parameters and verify how it affects to the consumption curve.</td>
</tr>
<tr>
<td valign="top" align="left">Home comparison</td>
<td valign="top" align="left">This interface provides the comparison between the user and its neighborhood.</td>
</tr>
<tr>
<td valign="top" align="left">Information and motivation videos</td>
<td valign="top" align="left">This interface provides a video or a link to a video with helpful hints, tips, and short easy videos on how to save energy. It also provides stories about peers telling why they use iURBAN platform and why is good, and what helped them save energy and money.</td></tr>
</tbody>
</table>
</table-wrap>
</section>
<section class="lev3" id="sec2-1-1-4">
<title>2.1.1.4 nAssist&#x00A9;</title>
<para>The core IoT platform of the LDSS architecture is the nAssist&#x00A9; IoT middleware platform, a commercial property of Sensing and Control S.L. It is provided to the iURBAN and adapted to accommodate city energy management, energy engagement functionalities, and advance energy service of the LDSS. The modular architecture of this platform allows it to be adapted very easily to other areas of application. The nAssist&#x00A9; platform has been developed following service-oriented architecture paradigm and therefore constituted by several tiers of processing. The module-based logic view is depicted in <link linkend="F2-8">Figure <xref linkend="F2-8" remap="2.8"/></link>. As shown, the software is divided into four main modules:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Hardware/Software Interface: This module takes care of communication with field devices and external software services. The communication may be bidirectional depending on the type of devices connected and function to be used. Information transferred from remote sources is parsed, cleaned, formatted, and finally sent to upper software layer.</para></listitem>
<listitem>
<para>Business Modules: The central module handles all the processing/intelligence of the software. It has a built-in event manager that handles communication between hardware interfaces and user interfaces, automation routines, and alarm/events handling and auto-generation based on rules. It handles database access.</para></listitem>
<listitem>
<para>User Interfaces: The upper module of the software is the user interface, which works within standard Web clients and smart phones.</para></listitem>
<listitem>
<para>Database: The core of the nAssist&#x00A9; platform provides a data warehouse and business intelligence components to analyze, manage, and comprehend data from devices and meter measurements. It has a relational database and a noSQL database.</para></listitem></itemizedlist>
<fig id="F2-8" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-8">Figure <xref linkend="F2-8" remap="2.8"/></link></label>
<caption><para>nAssist&#x00A9; logic architecture.</para></caption>
<graphic xlink:href="graphics/ch02_fig008.jpg"/>
</fig>
<para>nAssist&#x00A9; is built around special logic module called &#x0201C;framework foundations,&#x0201D; which provides a common interface to access the low-level functions implemented by the middleware. This logic module works on two layers:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Service layer: This includes business domains (user and application authentication, user and application registration, scheduling, etc.). Everything is accessible to both local and remote clients.</para></listitem>
<listitem>
<para>Client layer: Clients are connected to service layer over the wire, meaning that those can work with server infrastructure if they have LAN or Internet connection. A client may be a Web site&#x02014;Web-based products&#x02014;or just a hardware sensor. Both end up using a RESTful Web service API.</para></listitem></itemizedlist>
</section>
</section>
<section class="lev2" id="sec2-1-2">
<title>2.1.2 Centralized Decision Support System</title>
<para>The CDSS component of iURBAN is responsible to aggregate and manage data at city level. That component delivers a set of functions to end users such as authorities, energy service company (ESCO), and municipalities, collecting data that come from other components of the system. The scope of CDSS is to integrate measurements data, with business models and energy production and consumption simulations.</para>
<para>The CDSS allows its users to perform the following activities:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Get a continuous snapshot of city energy consumption and production.</para></listitem>
<listitem>
<para>Manage energy consumption and production.</para></listitem>
<listitem>
<para>Forecast energy consumption.</para></listitem>
<listitem>
<para>Plan new energy &#x0201C;producers&#x0201D; for the future needs of the city.</para></listitem>
<listitem>
<para>Visualize, analyze, and take decisions of all the end points that are consuming or producing energy in a city level, permitting them to forecast and planning renewable power generation available in the city, a real-time optimization and being perfectly scalable (meaning its ability to be enlarged to accommodate growth of data).</para></listitem></itemizedlist>
<para>It composed by a back end and front end (Web- and mobile phone-based GUI). In this task, the GUI for CDSS is developed with a novel framework employing Web technologies (HTML5, CSS3, JScript, Websocket) to provide a Web 3.0 user interface experience. The different modules and sub-modules are depicted in <link linkend="F2-9">Figure <xref linkend="F2-9" remap="2.9"/></link> and its functionalities are shown in <link linkend="T2-3">Table <xref linkend="T2-3" remap="2.3"/></link>.</para>
<fig id="F2-9" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-9">Figure <xref linkend="F2-9" remap="2.9"/></link></label>
<caption><para>CDSS components.</para></caption>
<graphic xlink:href="graphics/ch02_fig009.jpg"/>
</fig>
<table-wrap position="float" id="T2-3">
<label><link linkend="T2-3">Table <xref linkend="T2-3" remap="2.3"/></link></label>
<caption><para>CDSS component</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Component</td>
<td valign="bottom" align="left">Description</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">CDSS central database</td>
<td valign="top" align="left">It is the data warehouse database that also collects all the data at the city level. This database is used as data storage for business intelligent system.</td>
</tr>
<tr>
<td valign="top" align="left">Internal data access services</td>
<td valign="top" align="left">It is a sub-component that exposes services in order to communicate with other components internal to the platform as the CDSS, LDSS, VPP, and smartDSS.</td>
</tr>
<tr>
<td valign="top" align="left">Handler interfaces</td>
<td valign="top" align="left">It is a sub-component that has interfaces in order to
<itemizedlist mark="bullet" spacing="normal">
<listitem><para>invoke VPP and smartDSS functionalities</para></listitem>
<listitem><para>invoke functionalities of internal data access services</para></listitem>
<listitem><para>invoke functionalities related to business data component</para></listitem></itemizedlist></td></tr>
<tr>
<td valign="top" align="left">Business data</td>
<td valign="top" align="left">It is a sub-component that contains functionalities related to business intelligent system in order to perform historical data analysis.</td>
</tr>
<tr>
<td valign="top" align="left">HMI</td>
<td valign="top" align="left">This sub-component contains the CDSS graphical user interfaces for the end users.</td></tr>
</tbody>
</table>
</table-wrap>
<para>The CDSS sub-components into the logical view are as follows (<link linkend="F2-10">Figure <xref linkend="F2-10" remap="2.10"/></link> and <link linkend="T2-4">Table <xref linkend="T2-4" remap="2.4"/></link>):</para>
<fig id="F2-10" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-10">Figure <xref linkend="F2-10" remap="2.10"/></link></label>
<caption><para>CDSS sub-components.</para></caption>
<graphic xlink:href="graphics/ch02_fig010.jpg"/>
</fig>
<table-wrap position="float" id="T2-4">
<label><link linkend="T2-4">Table <xref linkend="T2-4" remap="2.4"/></link></label>
<caption><para>CDSS sub-components</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Component</td>
<td valign="bottom" align="left">Description</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">OGC services</td>
<td valign="top" align="left">It provides services in order to manage geographical information.</td>
</tr>
<tr>
<td valign="top" align="left">HMI</td>
<td valign="top" align="left">It is a sub-component to visualize data and information to the end user of the iURBAN platform side CDSS.</td>
</tr>
<tr>
<td valign="top" align="left">Energy price</td>
<td valign="top" align="left">It is a sub-component to manage tariffs information from utility provider price</td>
</tr>
<tr>
<td valign="top" align="left">Business data interface</td>
<td valign="top" align="left">This sub-component contains the interfaces to invoke functionalities related to business data component</td>
</tr>
<tr>
<td valign="top" align="left">smartDSS command interface</td>
<td valign="top" align="left">This sub-component contains the interfaces to invoke functionalities related to smartDSS component</td>
</tr>
<tr>
<td valign="top" align="left">Internal access service interface</td>
<td valign="top" align="left">This sub-component contains the interfaces to invoke functionalities related to internal access service sub-component</td>
</tr>
<tr>
<td valign="top" align="left">Privacy rules</td>
<td valign="top" align="left">This interface provides user means to decide the privacy policy configuration for his own data (energy and user information)</td>
</tr>
<tr>
<td valign="top" align="left">VPP command interface</td>
<td valign="top" align="left">This sub-component contains the interfaces to invoke functionalities related to VPP component</td></tr>
</tbody>
</table>
</table-wrap>
<section class="lev3" id="sec2-1-2-1">
<title>2.1.2.1 Centralized decision support system central database</title>
<para>The CDSS central database is a data warehouse database used for business intelligent system of iURBAN platform. This database is composed of two sub-components:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Staging Area: It is a suitable database area that collects all the facts related to business intelligent system such as</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Consumption (kWh)</para></listitem>
<listitem>
<para>Consumption (m<superscript>3</superscript>)</para></listitem>
<listitem>
<para>Production (kWh)</para></listitem>
<listitem>
<para>Production (m<superscript>3</superscript>).</para></listitem></itemizedlist>
</listitem></itemizedlist>
<para>These above data are read from LDSS database and stored to the staging area.</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Star Schema: It is a suitable database schema composed by fact tables and dimensional tables. Fact tables contain measurements related to consumption and productions and suitable foreign keys to dimensional tables. Dimensional tables contain information regarding data of</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>geographical</para></listitem>
<listitem>
<para>date&#x02013;time</para></listitem>
<listitem>
<para>tariffs.</para></listitem></itemizedlist>
</listitem></itemizedlist>
<para>The goal of CDSS central database (that is a data warehouse database) is to have a storage that is used by suitable analysis functions in order to have historical data analysis.</para>
<para>This historical data analysis allows the user to aggregate facts (measurements) by dimension like:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>particular geographical zones;</para></listitem>
<listitem>
<para>date&#x02013;time intervals;</para></listitem>
<listitem>
<para>tariffs intervals.</para></listitem></itemizedlist>
<para>The tariffs are stored (to correspondent dimensional table of tariffs) from the energy utilities that provide energy prices. The tariffs are heterogeneous because each type of service operates on its own scheme; additionally, most measurements differ by nature (gas, heat, electricity). The smartDSS invokes functionalities of internal data access services in order to perform suitable data queries (from CDSS database) to obtain predictions regarding measurements (consumption or production).</para>
<para>The simulations data, coming from virtual power plant (VPP) component, are stored to LDSS database as described above. All the measurement data (simulated or not) are stored to staging area (of data warehouse) on the LDSS database. <link linkend="F2-11">Figure <xref linkend="F2-11" remap="2.11"/></link> describes a logical view of CDSS component:</para>
<fig id="F2-11" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-11">Figure <xref linkend="F2-11" remap="2.11"/></link></label>
<caption><para>CDSS description.</para></caption>
<graphic xlink:href="graphics/ch02_fig011.jpg"/>
</fig>
</section>
<section class="lev3" id="sec2-1-2-2">
<title>2.1.2.2 Handler interfaces</title>
<para>The handler interfaces is a sub-component into the CDSS component. It has suitable interfaces in order to invoke functionalities of different internal components of iURBAN platform. These interfaces invoke functionalities of components:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>VPP</para></listitem>
<listitem>
<para>Business data</para></listitem>
<listitem>
<para>smartDSS</para></listitem>
<listitem>
<para>Internal data access services.</para></listitem></itemizedlist>
<para>The handler interface also manages command interfaces. It sends commands to the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>VPP component in order to activate a processing of simulation to know how nonexisting &#x0201C;virtual&#x0201D; units can affect the consumption or saving CO<subscript>2</subscript>.</para></listitem>
<listitem>
<para>smartDSS component in order to perform prediction analysis of consumption and production (<link linkend="F2-12">Figure <xref linkend="F2-12" remap="2.12"/></link> and <link linkend="T2-5">Table <xref linkend="T2-5" remap="2.5"/></link>).</para></listitem></itemizedlist>
<fig id="F2-12" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-12">Figure <xref linkend="F2-12" remap="2.12"/></link></label>
<caption><para>CDSS handler interfaces sub-component.</para></caption>
<graphic xlink:href="graphics/ch02_fig012.jpg"/>
</fig>
<table-wrap position="float" id="T2-5">
<label><link linkend="T2-5">Table <xref linkend="T2-5" remap="2.5"/></link></label>
<caption><para>Handler interfaces sub-components</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Component</td>
<td valign="bottom" align="left">Description</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Interfaces to smartDSS</td>
<td valign="top" align="left">It is able to invoke functionalities of smartDSS component</td>
</tr>
<tr>
<td valign="top" align="left">Interfaces to VPP</td>
<td valign="top" align="left">It is able to invoke functionalities of VPP component</td>
</tr>
<tr>
<td valign="top" align="left">Interfaces to internal data access services</td>
<td valign="top" align="left">It is able to invoke functionalities of internal data access services component</td>
</tr>
<tr>
<td valign="top" align="left">Interfaces to business data component</td>
<td valign="top" align="left">It is able to invoke functionalities of business data component</td></tr>
</tbody>
</table>
</table-wrap>
</section>
<section class="lev3" id="sec2-1-2-3">
<title>2.1.2.3 Business data</title>
<para>This is a sub-component that contains functionalities related to data analysis. In particular, these functionalities allow the user to</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Aggregate measurements of consumption/production following dimensions like</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Date&#x02013;time interval;</para></listitem>
<listitem>
<para>Geographical zones; and</para></listitem>
<listitem>
<para>Tariffs intervals.</para></listitem></itemizedlist>
</listitem>
<listitem>
<para>Detect technical losses: functionalities to calculate the differences between produced and consumed (by user) energy.</para></listitem>
<listitem>
<para>Billing calculation (from consumed energy).</para></listitem>
<listitem>
<para>Insert and validate actions related to DR.</para></listitem>
<listitem>
<para>Dynamic and combined tariffs: manage the dynamic tariffs, update, and insert new dynamic tariff into SCDB (<link linkend="F2-13">Figure <xref linkend="F2-13" remap="2.13"/></link> and <link linkend="T2-6">Table <xref linkend="T2-6" remap="2.6"/></link>).</para></listitem></itemizedlist>
<fig id="F2-13" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-13">Figure <xref linkend="F2-13" remap="2.13"/></link></label>
<caption><para>CDSS business component.</para></caption>
<graphic xlink:href="graphics/ch02_fig013.jpg"/>
</fig>
<table-wrap position="float" id="T2-6">
<label><link linkend="T2-6">Table <xref linkend="T2-6" remap="2.6"/></link></label>
<caption><para>CDSS business component</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Component</td>
<td valign="bottom" align="left">Description</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Detection of technical loss</td>
<td valign="top" align="left">To calculate the differences between produced and consumed (by user) energy.</td>
</tr>
<tr>
<td valign="top" align="left">Auditing/billing</td>
<td valign="top" align="left">Billing calculation</td>
</tr>
<tr>
<td valign="top" align="left">Data analysis</td>
<td valign="top" align="left">To aggregate measurements of consumption/production following dimensions like
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Date&#x02013;time interval;</para></listitem>
<listitem>
<para>Geographical zones; and</para></listitem>
<listitem>
<para>Tariffs intervals.</para></listitem></itemizedlist></td></tr>
<tr>
<td valign="top" align="left">Demand response</td>
<td valign="top" align="left">To insert and validate demand response action and smart heating demand response</td>
</tr>
<tr>
<td valign="top" align="left">Dynamic and combined tariffs</td>
<td valign="top" align="left">To manage the different dynamic tariffs available. Inserts and updates or removes the dynamic tariffs from the system</td></tr>
</tbody>
</table>
</table-wrap>
</section>
<section class="lev3" id="sec2-1-2-4">
<title>2.1.2.4 Centralized decision support system HMI</title>
<para>The CDSS links and shows the data (including citywide energy production and consumption forecasts) generated from iURBAN with the end users via CDSS HMI.</para>
<para>The CDSS HMI component manages the interface with the authorities, the municipalities, the ESCOs, the utility provider services, iURBAN decision maker, etc., in order to display information as DR, dynamic tariffs, simulation VPP data, detection of technical losses, etc.</para>
<para>The GUI allows monitoring the global loads of the grid, supporting the end user to plan suitable activities aimed at improving energy efficiency.</para>
<para>It also provides tools for visualizing and supporting the end user decisions concerning the best business models to apply. In case of existing building energy management systems (BEMS), the necessary adaptations for the correct functioning with the smartDSS should be developed in order to interface it to get data and be able to manage and control (<link linkend="F2-14">Figure <xref linkend="F2-14" remap="2.14"/></link> and <link linkend="T2-7">Table <xref linkend="T2-7" remap="2.7"/></link>).</para>
<fig id="F2-14" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-14">Figure <xref linkend="F2-14" remap="2.14"/></link></label>
<caption><para>CDSS HMI sub-component.</para></caption>
<graphic xlink:href="graphics/ch02_fig014.jpg"/>
</fig>
<table-wrap position="float" id="T2-7">
<label><link linkend="T2-7">Table <xref linkend="T2-7" remap="2.7"/></link></label>
<caption><para>CDSS HMI sub-component</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Component</td>
<td valign="bottom" align="left">Description</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Auditing/billing</td>
<td valign="top" align="left">It is a sub-component to show auditing and/or billing information to the CDSS end user (third party, authorities, etc.)</td>
</tr>
<tr>
<td valign="top" align="left">Publishing consumption data</td>
<td valign="top" align="left">It is a sub-component to show publishing consumption data to the CDSS end user (third parties, authorities, etc.).</td>
</tr>
<tr>
<td valign="top" align="left">Advice local energy market prices</td>
<td valign="top" align="left">It is a sub-component to show results of predictor component in order to advice and help the CDSS end user (third party, authorities, etc.) taking the best solution about aspects of the market.</td>
</tr>
<tr>
<td valign="top" align="left">Manage communication channels</td>
<td valign="top" align="left">It is a sub-component to manage different devices and channels (mobile, portal, etc.) in order to communicate with end users (third parties, authorities, decision maker position).</td>
</tr>
<tr>
<td valign="top" align="left">GUI (decision maker)</td>
<td valign="top" align="left">It is a sub-component to provide an operative position for the decision maker. The info displayed is as follows:
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Dynamic tariffs	</para></listitem>
<listitem>
<para>Demand response</para></listitem>
<listitem>
<para>Detection of the technical losses</para></listitem>
<listitem>
<para>VPP</para></listitem></itemizedlist></td></tr>
<tr>
<td valign="top" align="left">GUI (authorities, ESCOs, etc.)</td>
<td valign="top" align="left">It is a sub-component to provide a monitoring position for the authorities, ESCOs, and municipalities.</td></tr>
</tbody>
</table>
</table-wrap>
<para>Manage communication channel is a sub-component to manage different devices and channels (mobile, portal, etc.) in order to communicate with end users (third parties, authorities, etc.).</para>
<para>iURBAN platform displays an overview of the grid status (electricity, heat and district hot water) for the level selected by the end user.</para>
</section>
</section>
<section class="lev2" id="sec2-1-3">
<title>2.1.3 Smart Decision Support System</title>
<para>The smartDSS component of iURBAN is responsible to deliver a set of functions to be used by the LDSS and CDSS. It is composed by a back end with different business units (<link linkend="F2-15">Figure <xref linkend="F2-15" remap="2.15"/></link>).</para>
<fig id="F2-15" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-15">Figure <xref linkend="F2-15" remap="2.15"/></link></label>
<caption><para>smartDSS components.</para></caption>
<graphic xlink:href="graphics/ch02_fig015.jpg"/>
</fig>
<para>smartDSS&#x02019;s main goal is to generate a set of insights on consumed and produced energy, based on the data stored in the SCDB. The principle idea behind the smartDSS is to generate valuable information and actions that cannot be taken by the LDSS and CDSS alone. There are common functions comparing LDSS, CDSS, and VPP; therefore, there is a need to have a common component capable to provide such output to the rest of components. For instance, the smart city prediction algorithms generate a set of outputs that are used by several packages or the DR actions that affects both the CDSS and LDSS. smartDSS is envisioned to group these components.</para>
<para>The different sub-components are depicted in <link linkend="F2-16">Figure <xref linkend="F2-16" remap="2.16"/></link> and its functionalities are shown in <link linkend="T2-8">Table <xref linkend="T2-8" remap="2.8"/></link>.</para>
<fig id="F2-16" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-16">Figure <xref linkend="F2-16" remap="2.16"/></link></label>
<caption><para>smartDSS sub-components.</para></caption>
<graphic xlink:href="graphics/ch02_fig016.jpg"/>
</fig>
<table-wrap position="float" id="T2-8">
<label><link linkend="T2-8">Table <xref linkend="T2-8" remap="2.8"/></link></label>
<caption><para>smartDSS sub-components&#x02019; description</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Component</td>
<td valign="bottom" align="left">Description</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Prediction algorithms</td>
<td valign="top" align="left">This module is responsible for the forecast models generation of the energy consumption and/or production for a given installation</td>
</tr>
<tr>
<td valign="top" align="left">Detection of technical looses</td>
<td valign="top" align="left">This module detects when there is a significant deviation from the smart meter data at building level and the sum of smart meters data at apartment level, belonging to this building</td>
</tr>
<tr>
<td valign="top" align="left">Consumption and production ranking</td>
<td valign="top" align="left">This module computes the different consumption and production rankings for each of the possible clusters.</td>
</tr>
<tr>
<td valign="top" align="left">Advisor DR program</td>
<td valign="top" align="left">This module advises to the CDSS about demand response actions that potentially could benefit to decrease load peaks and shift the load consumption curve. It generates also the optimal reward assigned to the demand response action.</td>
</tr>
<tr>
<td valign="top" align="left">Consumption/production advises</td>
<td valign="top" align="left">This module generates advises for the LDSS based on the historical and current energy consumption and production with the aim to reduce peak consumptions, CO<subscript>2</subscript> emissions, etc.</td>
</tr>
<tr>
<td valign="top" align="left">Social platform advises</td>
<td valign="top" align="left">This module generates advises for the LDSS to improve the energy ranking and contest.</td>
</tr>
<tr>
<td valign="top" align="left">Forecasting advises</td>
<td valign="top" align="left">This module generates advises for the LDSS based on the forecasted data with the aim to reduce peak consumptions, CO<subscript>2</subscript> emissions, etc.</td></tr>
</tbody>
</table>
</table-wrap>
</section>
<section class="lev2" id="sec2-1-4">
<title>2.1.4 Virtual Power Plant</title>
<para>The VPP component is responsible to deliver outputs stored on the SCDB, which in turn feeds as inputs into the CDSS. The relationship between the VPP and CDSS is as follows. The VPP is to act as the background calculation engine to the CDSS, where the CDSS is to act as an interface to the VPP initiating user commands to the VPP. The different sub-modules are depicted in <link linkend="F2-17">Figure <xref linkend="F2-17" remap="2.17"/></link> and its functionalities are shown in <link linkend="T2-9">Table <xref linkend="T2-9" remap="2.9"/></link>.</para>
<fig id="F2-17" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-17">Figure <xref linkend="F2-17" remap="2.17"/></link></label>
<caption><para>VPP component.</para></caption>
<graphic xlink:href="graphics/ch02_fig017.jpg"/>
</fig>
<table-wrap position="float" id="T2-9">
<label><link linkend="T2-9">Table <xref linkend="T2-9" remap="2.9"/></link></label>
<caption><para>VPP modules</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Component</td>
<td valign="bottom" align="left">Description</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Energy metered data (building level)</td>
<td valign="top" align="left">VPP to access energy demand and generation metered per building/apartment from SCDB.</td>
</tr>
<tr>
<td valign="top" align="left">Smart algorithms (building level)</td>
<td valign="top" align="left">VPP to access smart algorithm data (demand, renewable, tariff) per building/apartment from SCDB.</td>
</tr>
<tr>
<td valign="top" align="left">Energy load aggregation (district level)</td>
<td valign="top" align="left">CDSS to send user commands to the VPP based on user defined and selected levels of interest in the model ranging from high-level city planning to the selection of individual buildings. VPP to carry out load aggregation of near real-time metered energy demand and generation data at building/apartment levels and data derived from smart algorithms, based on grouping schemes discussed above. VPP outputs to be stored on the SCDB for access by the CDSS and visually represented in the CDSS interface.</td>
</tr>
<tr>
<td valign="top" align="left">What-if simulation (building level)</td>
<td valign="top" align="left">CDSS to send user commands to the VPP defining what-if simulations to be carried out by the VPP calculation engine. What-if simulations are defined as simulation of additional distributed energy resources (DER), electricity storage, electric vehicles, etc., at user-defined building and/or city/district level. VPP outputs at building level to be stored on the SCDB.</td>
</tr>
<tr>
<td valign="top" align="left">Energy load aggregation (district level)</td>
<td valign="top" align="left">Same as above, except the focus here being on aggregation of near real-time metered energy demand and generation data at building/apartment levels, data derived from smart algorithms, and data from what-if simulations, based on grouping schemes discussed above. VPP outputs to be stored on the SCDB for access by the CDSS and visually represented in the CDSS interface.</td>
</tr>
<tr>
<td valign="top" align="left">Copy and paste metered data (building level)</td>
<td valign="top" align="left">User to identify lack of information in the CDSS city model (e.g., metered data only available for a small percentage of all buildings in the district/city). <?lb?>CDSS user option to copy and paste metered data at building level to buildings with insufficient metering within the city model.</td>
</tr>
<tr>
<td valign="top" align="left">Energy load aggregation (district level)</td>
<td valign="top" align="left">Same as above.</td>
</tr>
<tr>
<td valign="top" align="left">HMI</td>
<td valign="top" align="left">This module is led by CDSS, as the CDSS GUIs for the end users. VPP uses HMI as a user interface.</td></tr>
</tbody>
</table>
</table-wrap>
</section>
<section class="lev2" id="sec2-1-5">
<title>2.1.5 Smart City Database</title>
<para>The SCDB is depicted in <link linkend="F2-18">Figure <xref linkend="F2-18" remap="2.18"/></link>. It contains the database of iURBAN and provides components to import data from external sources, as depicted in <link linkend="F2-19">Figure <xref linkend="F2-19" remap="2.19"/></link>, and additionally provides interfaces for accessing energy-related data collected from the main modules of iURBAN (LDSS, CDSS, smartDSS, and VPP). There is a special module, which allows access to data externally following the privacy and security policy of iURBAN (explained in <link linkend="ch03">Chapter <xref linkend="ch3" remap="3"/></link>).</para>
<fig id="F2-18" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-18">Figure <xref linkend="F2-18" remap="2.18"/></link></label>
<caption><para>SCDB.</para></caption>
<graphic xlink:href="graphics/ch02_fig018.jpg"/>
</fig>
<fig id="F2-19" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-19">Figure <xref linkend="F2-19" remap="2.19"/></link></label>
<caption><para>Digest component.</para></caption>
<graphic xlink:href="graphics/ch02_fig019.jpg"/>
</fig>
<para>The database is divided into two main blocks, which matches the functionalities target for the LDSS and CDSS. Basically, all energy-related information from meter up to building level is stored in the LDSS database, while all energy-related information above building level is stored in the CDSS database; this include aggregated meter at city-level (district wise and city wise) data and VPP data. Both LDSS and CDSS incorporate a relational database, where the relation of the meters is defined: apartment/home/business, building, district, and city level, and a noSQL database to store massive energy information. Next sub-sections provide information about the different sub-components.</para>
<section class="lev3" id="sec2-1-5-1">
<title>2.1.5.1 Digest component</title>
<para>The digest component of the SCDB is the responsible to acquire data from external sources necessary for business units to execute its function in correct way. It provides six different functions, as shown in <link linkend="F2-19">Figure <xref linkend="F2-19" remap="2.19"/></link>, which are further explained in <link linkend="T2-10">Table <xref linkend="T2-10" remap="2.10"/></link>.</para>
<table-wrap position="float" id="T2-10">
<label><link linkend="T2-10">Table <xref linkend="T2-10" remap="2.10"/></link></label>
<caption><para>Digest modules</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Component</td>
<td valign="bottom" align="left">Description</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Energy data digest</td>
<td valign="top" align="left">It provides Web services for the acquisition of meter data from the utilities. <?lb?>This component is responsible for storing meter data in the smart city database.</td>
</tr>
<tr>
<td valign="top" align="left">Configuration</td>
<td valign="top" align="left">It provides Web services for the setup of the smart city database relational content in relation with the utility meters.</td>
</tr>
<tr>
<td valign="top" align="left">Weather data</td>
<td valign="top" align="left">This module is responsible for fetching current and forecast weather data from external service.</td>
</tr>
<tr>
<td valign="top" align="left">Energy price</td>
<td valign="top" align="left">It provides Web services for the input of energy price.</td>
</tr>
<tr>
<td valign="top" align="left">Smart home</td>
<td valign="top" align="left">This module extends the current capabilities of nAssist&#x00A9; smart home interface providing new communication features in order to fulfill new smart home functions related to iURBAN user engagement and DR programs.</td></tr>
</tbody>
</table>
</table-wrap>
</section>
<section class="lev3" id="sec2-1-5-2">
<title>2.1.5.2 Open data API services</title>
<para>The API service component is responsible for granting access to the energy information collected and computed within iURBAN following the iURBAN security and privacy policy. It provides an open API that allows third parties to offer external services to the users of iURBAN. This component provides a set of different as shown in <link linkend="F2-20">Figure <xref linkend="F2-20" remap="2.20"/></link>, which are further explained in <link linkend="T2-11">Table <xref linkend="T2-11" remap="2.11"/></link>.</para>
<fig id="F2-20" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-20">Figure <xref linkend="F2-20" remap="2.20"/></link></label>
<caption><para>OPEN API module.</para></caption>
<graphic xlink:href="graphics/ch02_fig020.jpg"/>
</fig>
<table-wrap position="float" id="T2-11">
<label><link linkend="T2-11">Table <xref linkend="T2-11" remap="2.11"/></link></label>
<caption><para>OPEN API sub-modules</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Component</td>
<td valign="bottom" align="left">Description</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Energy data</td>
<td valign="top" align="left">This component exposes the energy data stored in iURBAN database. It provides access to current and historical data, from meter level up to city level.</td>
</tr>
<tr>
<td valign="top" align="left">User data</td>
<td valign="top" align="left">This component provides information from users following the privacy policy</td>
</tr>
<tr>
<td valign="top" align="left">Access control</td>
<td valign="top" align="left">This module controls which information can be access through the open API based on the request and the type of external service accessing the data. It logs all the request and all data access from external services.</td>
</tr>
<tr>
<td valign="top" align="left">Privacy policy</td>
<td valign="top" align="left">This module is used to set privacy policies for data access (explained in this chapter).</td></tr>
</tbody>
</table>
</table-wrap>
</section>
<section class="lev3" id="sec2-1-5-3">
<title>2.1.5.3 Centralized decision support system database</title>
<para>CDSS database is a data warehouse database used by business intelligent system of iURBAN platform (<link linkend="F2-21">Figure <xref linkend="F2-21" remap="2.21"/></link>).</para>
<fig id="F2-21" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-21">Figure <xref linkend="F2-21" remap="2.21"/></link></label>
<caption><para>CDSS DB (data warehouse).</para></caption>
<graphic xlink:href="graphics/ch02_fig021.jpg"/>
</fig>
<para>The data types stored to database are as follows:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Consumption (KWh)</para></listitem>
<listitem>
<para>Consumption (m<superscript>3</superscript>)</para></listitem>
<listitem>
<para>Production (KWh)</para></listitem>
<listitem>
<para>Production (m<superscript>3</superscript>).</para></listitem></itemizedlist>
</section>
<section class="lev3" id="sec2-1-5-4">
<title>2.1.5.4 LDSS database</title>
<para>The LDSS database (logic diagram in <link linkend="F2-22">Figure <xref linkend="F2-22" remap="2.22"/></link>) is built by adding new tables, relations, and storage on top of the nAssist&#x00A9;&#x02019;s database.</para>
<fig id="F2-22" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-22">Figure <xref linkend="F2-22" remap="2.22"/></link></label>
<caption><para>SQL/noSQL LDSS database.</para></caption>
<graphic xlink:href="graphics/ch02_fig022.jpg"/>
</fig>
<para>The database is running in the cloud and it is only accessible through dedicated Web API provided by nAssist&#x00A9; enabled service.</para>
<para>Meter data is stored in the actual infrastructure of the nAssist&#x00A9; database. To support LDSS functionalities, the LDSS database stores additional information and relation as follows:</para>
<orderedlist numeration="arabic" continuation="restarts" spacing="normal">
<listitem>
<para>Grid infrastructure at building level.</para>
<orderedlist numeration="alpha" continuation="restarts" spacing="normal">
<listitem><para>Electrical grid</para></listitem>
<listitem><para>Heating grid</para></listitem>
</orderedlist>
</listitem>
<listitem>
<para>Tariffs</para></listitem>
<listitem>
<para>Demand response programs</para>
<orderedlist numeration="alpha" continuation="restarts" spacing="normal">
<listitem><para>Historic events</para></listitem></orderedlist>
</listitem>
<listitem>
<para>Forecast calculations</para>
<orderedlist numeration="alpha" continuation="restarts" spacing="normal">
<listitem><para>Hour basis</para></listitem>
<listitem><para>Day basis</para></listitem>
<listitem><para>24/48/72-hour basis</para></listitem></orderedlist>
</listitem>
<listitem>
<para>Benchmark statistics at city level</para></listitem></orderedlist>
</section>
</section></section>
<section class="lev1" id="sec2-2">
<title>2.2 Deployment View</title>
<para>The diagram below represents the typical production deployment of the iURBAN platform and can be viewed as a high-end configuration. Each sub-component of the platform is represented (<link linkend="F2-23">Figure <xref linkend="F2-23" remap="2.23"/></link>).</para>
<fig id="F2-23" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F2-23">Figure <xref linkend="F2-23" remap="2.23"/></link></label>
<caption><para>iURBAN deployment diagram.</para></caption>
<graphic xlink:href="graphics/ch02_fig023.jpg"/>
</fig>
<para>Almost all components of iURBAN platform are located online on the cloud in particular the LDSS sub-system. The cloud computing approach assures to the platform the following advantages:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para><emphasis role="strong">Reduced Cost</emphasis>: Cloud technology is paid incrementally, saving iURBAN consortium money.</para></listitem>
<listitem>
<para><emphasis role="strong">Increased Storage</emphasis>: The platform can store more data than on private computer systems.</para></listitem>
<listitem>
<para><emphasis role="strong">Highly Automated</emphasis>: No personnel need to worry about keeping software up to date.</para></listitem>
<listitem>
<para><emphasis role="strong">Flexibility</emphasis>: Cloud computing offers much more flexibility than other computing methods.</para></listitem>
<listitem>
<para><emphasis role="strong">More Mobility</emphasis>: Users can access information wherever they are, rather than having to remain at their desks.</para></listitem>
<listitem>
<para><emphasis role="strong">Easy Deployment</emphasis>: Centralized deployment.</para></listitem></itemizedlist>
<para>However, in order to provide a high degree of data security and confidentiality, iURBAN platform is based on a &#x0201C;<emphasis role="strong">Hybrid Mode</emphasis>&#x0201D; deployment, which foresees to have critical components deployed on premises.</para>
</section>
<section class="lev1" id="sec2-3">
<title>2.3 Conclusion</title>
<para>This chapter provides an overview about the main three ICT components of iURBAN tool and their relations. For each component, a sub-component explanation has been given, so the reader is able to have a wide overview of the functions and how those ones are mapped into its respective components and sub-components.</para>
<para>We have use hybrid architecture for deployment. Cloud infrastructure has been selected in order to account for main database, interfaces/API and intensive computation algorithms, and artificial intelligence models (predictions). This allows the reassign ICT and computational resources as smart grid meters grows over the time, which is expected to happen in parallel with number of residential users (LDSS users). CDSS and VPP have been designed to be deployed on premises, the ICT-demanded resources are lower, and it makes more manageable for local deployment.</para>
</section>
</chapter>
<chapter class="chapter" id="ch03" label="3" xreflabel="3">
<title>Data Privacy and Confidentiality</title>
<para role="author"><emphasis role="strong">Alberto Fernandez<superscript><emphasis role="strong">1</emphasis></superscript> and Karwe Markus Alexander<superscript><emphasis role="strong">2</emphasis></superscript></emphasis></para>
<para><superscript>1</superscript>Sensing &#x00026; Control, Barcelona, Spain</para>
<para><superscript>2</superscript>University of Freiburg, Freiburg, Germany</para>
<para><emphasis role="strong">Abstract</emphasis></para>
<para>The transformation of the current electrical gird to a smart grid, enabling a real time analysis as well as response of electrical consumption, poses new security and privacy electricity grid challenges. It is of crucial interest for utilities to obtain precise consumption data, in order to manage the grid. From the security perspective confidentiality as well as integrity must be kept to ensure utilities receiving of correct data. From privacy perspective precise data poses a threat to customers. Precise energy data allows to gain a view into each participating household, which is beyond the original needs of performing grid management. The iUrban pilot builds a bridge between both contrary goals. Data needed for grid management is delivered in a precise form, while data for additional use cases, like analyzing energy consumption of a house, is delivered in a privacy preserving form.</para>
<para><emphasis role="strong">Keywords:</emphasis> Security, Confidentiality, Smart Metering, Privacy, Privacy Enhancing Technologies</para>
<para>Confidentiality (confidentiality, integrity, and availability) <footnote id="fn3_1" label="1"> <para>http://security.blogoverflow.com/2012/08/confidentiality-integrity-availability-the-three-components-of-the-cia-triad/.</para></footnote> is an information security requirement. We understand under confidentiality that only authorized entities shall be able to gain access to data. To ensure confidentiality, we consider the two concepts: access control and encryption. <footnote id="fn3_2" label="2"> <para>Encryption can be seen also as a form of access control. Only entities which have the according key are able to decrypt properly encrypted data. Key management can be seen as access control.</para></footnote> Encryption means that cryptographic operations are performed on plaintext so that only authorized entities are able to decrypt it and read the retrieved plaintext. Access control means that only authorized entities are able to retrieve data from a system; in this case, the iURBAN platform. To ensure that only authorized entities are able to have access to iURBAN platform data, authentication is needed. To guarantee authentication, digital certificates as well as the distribution of log in credentials for platform users are performed. Three main concepts are used to protect the confidentiality of data in iURBAN:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Security and encryption of the communication channels,</para></listitem>
<listitem>
<para>Encryption of stored data,</para></listitem>
<listitem>
<para>Access control to the iURBAN platform.</para></listitem></itemizedlist>
<para><link linkend="F3-1">Figure <xref linkend="F3-1" remap="3.1"/></link> provides an overview of the iURBAN components connection. Between the components, between the data providers and the components, between the data providers and the users of the system as well as the smart city database (SCDB) component and the energy utility, the communication channel is protected in diverse ways. Data stored within the components is encrypted. Access to the system can only be obtained after an access control mechanism checks the validity of the request. The digital certificates as well as the access control rights need to be distributed under the platform users. The &#x0201C;iURBAN platform confidentiality manager&#x0201D; performs this work; this entity takes care for granting people and organization access rights to the platform, takes care for distributing the digital certificates, and is able to revoke both.</para>
<fig id="F3-1" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F3-1">Figure <xref linkend="F3-1" remap="3.1"/></link></label>
<caption><para>iURBAN components connection overview.</para></caption>
<graphic xlink:href="graphics/ch03_fig001.jpg"/>
</fig>
<para>This is part of the administration area in iURBAN project. It is formed by a number of system administrators that have to be in charge of the system operational and security care. As in any other critical IT system, these technical personnel are in a trusted state by the company members of the consortium, but at the same time, they are not exempt of the security control to ensure all the operations they perform are conducted following the highest security levels. Lately, all the actions performed by these personnel are logged and securely stored for further review if necessary.</para>
<section class="lev1" id="sec3-1">
<title>3.1 Confidentiality</title>
<para>The iURBAN system framework, as a whole, is seen as a service-oriented architecture (SOA) paradigm application and therefore constituted by several tiers of processing: data acquisition, data presentations, etc.</para>
<para>Data transmission networks transmit messages and commonly interconnect the several application tiers, which can include a mix of air and cable implementations. The end-to-end communication, across tiers, must be secured in order to ensure the basic security requirements of confidentiality, integrity, accessibility, availability, authenticity, and nonrepudiation and therefore protect the communication channels and messages that run across them (and even the ICT infrastructures).</para>
<para>The iURBAN security framework (SEC) is considering only Internet as the data transmission networks, because we are considering the utility networks as secure (<link linkend="F3-2">Figure <xref linkend="F3-2" remap="3.2"/></link>).</para>
<fig id="F3-2" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F3-2">Figure <xref linkend="F3-2" remap="3.2"/></link></label>
<caption><para>iURBAN security framework scope.</para></caption>
<graphic xlink:href="graphics/ch03_fig002.jpg"/>
</fig>
<para>Confidentiality is an aspect of iURBAN nonfunctional requirements aimed at limiting information access and disclosure to authorized users and preventing access by or disclosure to unauthorized ones.</para>
</section>
<section class="lev1" id="sec3-2">
<title>3.2 Confidentiality and General Security Requirements</title>
<para>To summarize, the security solutions implemented within the iURBAN framework in regard to confidentiality and other security-related aspects (EU directive 95/46/EC; EU recommendations 2012/148/EU; CEN-CENELEC-ETSI):</para>
<orderedlist numeration="upperroman" continuation="restarts" spacing="normal">
<listitem>
<para>Confidentiality</para>
<orderedlist numeration="alpha" continuation="restarts" spacing="normal">
<listitem>
<para>TLS/SSL protocol</para></listitem>
<listitem>
<para>X.509 v3 certificates Class 1 with one-way authorization</para></listitem>
<listitem>
<para>Azure traffic manager</para></listitem></orderedlist>
</listitem>
<listitem>
<para>Integrity</para>
<orderedlist numeration="alpha" continuation="restarts" spacing="normal">
<listitem>
<para>TLS/SSL protocol</para></listitem>
<listitem>
<para>X.509 v3 certificates Class 1 with one-way authorization</para></listitem></orderedlist>
</listitem>
<listitem>
<para>Authenticity</para>
<orderedlist numeration="alpha" continuation="restarts" spacing="normal">
<listitem>
<para>MAC addresses control</para></listitem>
<listitem>
<para>Authentication and authorization (the later existing on the administrators premises)</para></listitem>
<listitem>
<para>TLS/SSL protocol</para></listitem>
<listitem>
<para>X.509 v3 certificates Class 1 with one-way authorization</para></listitem></orderedlist>
</listitem>
<listitem>
<para>Nonrepudiation</para>
<orderedlist numeration="alpha" continuation="restarts" spacing="normal">
<listitem>
<para>TLS/SSL protocol</para></listitem>
<listitem>
<para>X.509 v3 certificates Class 1 with one-way authorization</para></listitem>
<listitem>
<para>MAC addresses control</para></listitem>
<listitem>
<para>Authentication and authorization (the later existing on the administrators premises)</para></listitem></orderedlist>
</listitem>
<listitem>
<para>Accessibility and availability</para>
<orderedlist numeration="alpha" continuation="restarts" spacing="normal">
<listitem>
<para>O&#x0FB04;ine data retention procedures</para></listitem>
<listitem>
<para>High availability on components (load balancing/redundancy provided by Microsoft Azure Cloud)</para></listitem>
<listitem>
<para>Backups/restore plans (provided by Microsoft Azure Cloud)</para></listitem></orderedlist>
</listitem></orderedlist>
</section>
<section class="lev1" id="sec3-3">
<title>3.3 The iURBAN Privacy Challenge</title>
<para>The data minimization principle for smart metering data is in general implemented at the smart meter level. Such an implementation requires knowing in advance which question will be asked. The iURBAN platform is about to be able to ask questions about the data, which are not known in advance, creating the challenge to use a different approach.</para>
<para>Privacy preserving data publishing is a concept enabling to ask those questions, while preserving data privacy.</para>
<para>These privacy-preserving data publishing (PPDP) mechanisms are based on the interaction model where a data publisher uses collected data to issue them in a privacy-preserving manner (<link linkend="F3-3">Figure <xref linkend="F3-3" remap="3.3"/></link>).</para>
<fig id="F3-3" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F3-3">Figure <xref linkend="F3-3" remap="3.3"/></link></label>
<caption><para>Privacy-preserving data publishing model.</para></caption>
<graphic xlink:href="graphics/ch03_fig003.jpg"/>
</fig>
<para>PPDP mechanisms can be roughly classified into two categories based upon different attack scenarios and according to protection requirements. The concepts of the first one try to prevent that an attacker links records, attributes, or tables to a single person. The concepts in the second are based upon the uninformative principle: &#x0201C;<emphasis>The published table should provide the adversary with little additional information beyond the background knowledge. In other words, there should not be a large difference between the prior and posterior beliefs</emphasis>&#x0201D; [<link linkend="bib3-1">1</link>]. Both categories allow to infer information about howl groups of participants but information gained upon an individual is limited which is achieved by reduced data accuracy [<link linkend="bib3-2">2</link>].</para>
<para>While the business potential for fine granular consumption values, provided by smart meters is promising [<link linkend="bib3-3">3</link>], those values pose the threat of privacy sphere invasion. In the Netherlands, this threat was sufficient to put a smart meter roll out on hold [<link linkend="bib3-4">4</link>]. By using customer data and energy values, a demand response aggregator (DRA) is able to find out customers&#x02019; incentive and representing a considerable advantage on determining the compensation amount of an offer [<link linkend="bib3-5">5</link>]. Computer science tries to avoid intermediaries and provides a variety of privacy-enhancing technologies (PETs) such as zero knowledge proofs (ZKP) where only one bit of information is divulged instead of a full consumption trace of fine granular energy data, creating the situation where the question be asked, must be known in advance [<link linkend="bib3-6">6</link>]. The computing penalties are high and the approach is not promising in respect of managing smart grid.</para>
<para><link linkend="F3-4">Figure <xref linkend="F3-4" remap="3.4"/></link>(A) shows a feedback loop of tasks for indirect load control (ILC). ILC is one option to create load shifts, and one form of it was implemented in iURBAN. Another option is direct load control, where a DRA can directly control devices at customer side or tariff-based programs where different prices at different times create incentives to shift load. Without an intermediary in ILC, a DRA makes a proposal directly to residential customers, e.g., households which accepts or rejects it. Out of the accepted, DRA selects a sufficiently large group to perform the intended load shift and sends this group the participation acknowledgement. For program verification and forecasts, DRA obtains energy data from the according household smart meter. We assume that the only way to obtain plain energy data is via access to the smart meter.</para>
<fig id="F3-4" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F3-4">Figure <xref linkend="F3-4" remap="3.4"/></link></label>
<caption><para>Demand response data and interaction.</para></caption>
<graphic xlink:href="graphics/ch03_fig004.jpg"/>
</fig>
<para>In price-based DR as shown in <link linkend="F3-5">Figure <xref linkend="F3-5" remap="3.5"/></link>, a DRA sends price signals to the respective smart meter to influence customer&#x02019;s behavior consumption. In an intermediary setting, the signals are sent through the intermediary forwarding it to related recipients.</para>
<fig id="F3-5" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F3-5">Figure <xref linkend="F3-5" remap="3.5"/></link></label>
<caption><para>Price-based demand response and interaction.</para></caption>
<graphic xlink:href="graphics/ch03_fig005.jpg"/>
</fig>
<para>In both cases, the feedback loop allows DRA to exercise control of households. The loop needs data traces in order to be performed. Those traces leak privacy-sensitive information and thus are a potential privacy threat. <link linkend="F3-4">Figure <xref linkend="F3-4" remap="3.4"/></link>(B) shows how this feedback loop is interrupted by an intermediary. The iURBAN platform acts as the intermediary as shown in <link linkend="F3-6">Figure <xref linkend="F3-6" remap="3.6"/></link>.</para>
<fig id="F3-6" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F3-6">Figure <xref linkend="F3-6" remap="3.6"/></link></label>
<caption><para>Logical architecture for iURBAN platform feedback loop.</para></caption>
<graphic xlink:href="graphics/ch03_fig006.jpg"/>
</fig>
<para>In this feedback loop, all energy data are stored within the SCDB. The other components are accessing the data via the SCDB interfaces. This approach considers SCDB as a central cardinal point to protect PPDP. iURBAN follows the privacy by design approach which consists of seven principle steps:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Proactive not reactive, preventative not remedial</para></listitem>
<listitem>
<para>Privacy as the default setting</para></listitem>
<listitem>
<para>Privacy embedded into the design</para></listitem>
<listitem>
<para>Full functionality&#x02014;positive sum, not zero sum</para></listitem>
<listitem>
<para>End-to-end security&#x02014;full life cycle protection</para></listitem>
<listitem>
<para>Visibility and transparency&#x02014;keep it open</para></listitem>
<listitem>
<para>Respect for user privacy&#x02014;keep it user centric.</para></listitem></itemizedlist>
<para>As intended by EU directive 95/46/EC, the privacy preservation concept of iURBAN is based upon PET and transparency enhancing. The fundament of these concepts is confidentiality as described in the first part of this section. The circumstance that the guarantee holds even in case of arbitrary background knowledge as well as the composability property makes it the suitable technique for the iURBAN project from privacy protection perspective. The impact on data utility and thus the impact on the energy goals need to be balanced with the required level of privacy protection. For transparency enhancing, we use the opt-in approach intended by the amendment of the data protection directive. An opt-in option is provided to the data producer where he can choose to allow direct access to his energy data without further privacy protection.</para>
</section>
<section class="lev1" id="sec3-4">
<title>3.4 Privacy Enhancing via Transparency</title>
<para>Transparency-enhancing technologies (TETs) aim to inform the user how his data are stored, processed, and used for. The new proposal for data protection regulation demands the following points:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Individuals shall fully understand how their data are handled.</para></listitem>
<listitem>
<para>Explicit consent of subject to process their personal data which are achievable via TET.</para></listitem></itemizedlist>
<para>The explicit consent is achieved by providing choice for different levels of data protection. There are several options to provide plaintext access to energy consumption data differing in the level of granularity. Another option is to provide consent for providing their data under the differential privacy guarantee. This choice determines the individual data protection policy. The collected data can be used for all iURBAN platform activities.</para>
<para>Each individual data producer is informed how his data are collected, stored, and processed via local decision support system (LDSS). It achieves this by providing information texts and graphics during the procedure to provide consent.</para>
<para>The user is able to revoke his consent. In this case, the past as well as future data may not be used.</para>
</section>
<section class="lev1" id="sec3-5">
<title>3.5 Privacy Enhancing via Differential Privacy</title>
<para>Following the PPDP model shown in <link linkend="F3-7">Figure <xref linkend="F3-7" remap="3.7"/></link>, SCDB is the data publisher database within the iURBAN architecture. To ensure that data retrieval is only feasible in intended ways, we envision a privacy proxy regulating the access to SCDB and providing answers to request only in a privacy-preserving manner. This privacy proxy encapsulates the SCDB and acts as a trusted third party (TTP). While incoming data by legitimate users are passed to the database directly, all outgoing data are processed to keep privacy of users.</para>
<fig id="F3-7" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F3-7">Figure <xref linkend="F3-7" remap="3.7"/></link></label>
<caption><para>Logical view database privacy proxy.</para></caption>
<graphic xlink:href="graphics/ch03_fig007.jpg"/>
</fig>
<para>Role-based access control is applied to ensure that only legitimate data providers are allowed to put data into the database. Via interfaces and APIs, the privacy proxy receives queries. By access control, it is ensured that only legitimate users can successfully query. For each query, the privacy proxy (PrP) checks whether it is within the scope of the iURBAN privacy policy, respectively checks whether the budget is not exceeded or the request contains data producers who opted-in and those who did not. The proxy retrieves the data from SCDB and processes it to protect the privacy according to policy. Only this privacy protected answer is provided to the inquirer. Note that the only way to retrieve information from SCDB must be via the privacy proxy.</para>
<section class="lev2" id="sec3-5-1">
<title>3.5.1 Privacy-Enhancing Technologies Based on Privacy Protection</title>
<para>The privacy proxy applies two kinds of privacy protection. The first one is temporal aggregation of consumption values of single data producers if they opt-in accordingly. Thus, if the customer stated he allows only access to energy data for a whole hour, the proxy sums up only complete four quarter hour measures.</para>
<para>The second option to protect privacy is to hide values of single customers within a privacy user group, if they did not grant access to plain energy values. This is achieved by using techniques providing the guarantee of differential privacy. Note that it is not possible to request data from producers who opt-in for plaintext access combined with data producers who did not under the differential privacy protection [<link linkend="bib3-7">7</link>] (<link linkend="F3-8">Figure <xref linkend="F3-8" remap="3.8"/></link>).</para>
<fig id="F3-8" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F3-8">Figure <xref linkend="F3-8" remap="3.8"/></link></label>
<caption><para>Logical view privacy protected query answers.</para></caption>
<graphic xlink:href="graphics/ch03_fig008.jpg"/>
</fig>
<para>To mitigate the privacy threats for energy values, requests for differential privacy protected data shall be allowed as long as the following privacy requirements holds:</para>
<para><emphasis>A user of the iURBAN platform shall not be able to learn an exact energy consumption value of a 15-minute interval for a single data producer.</emphasis></para>
<para>To keep this requirement, a privacy budget for requests per data consumer (&#x03B5; - budget) must be settled. As soon as &#x03B5; - budget is used up, no further request shall be allowed. SCDB is continuously updated by the data producers. Differential privacy as a worst case guarantee associates this budget to the whole lifetime of the database with the consequence that in case of a used up budget, future requests of future energy values would be blocked. To prevent such a situation, &#x03B5; - budget is associated with time frames. Only requests for this frame are blocked, if the budget of the frame is used up. A suitable &#x03B5; - budget as well as an appropriate time frame needs to be evaluated during the course of the project.</para>
</section>
<section class="lev2" id="sec3-5-2">
<title>3.5.2 Privacy Protection Implementation</title>
<para>The implementation of the privacy proxy approach is based upon the PINQ differential privacy framework [<link linkend="bib3-8">8</link>]. It is written in C# and follows the privacy budget concept. The framework enforces differential privacy but does not define the access policy to the data base. For enforcing differential privacy, PINQ implements as aggregation operations NoisySum as well as NoisyCount achieved via Laplace-based noise mechanisms and NoisyMedian plus NoisyAvg achieved via an exponential noise mechanism.</para>
<para>The privacy proxy enforces that a differential privacy-preserved request does not contain data of customers who opted-in for providing their precise data. For enforcing access control, the privacy proxy relies on access control mechanisms of the underlying database.</para>
</section>
</section>
<section class="lev1" id="sec3-6">
<title>3.6 Conclusions</title>
<para>This chapter has provided information about the approach implemented within iURBAN with respect to privacy and confidentiality of energy information being captured and stored from the smart grid.</para>
<para>As iURBAN stores public (public buildings) and private (households) energy information, its APIs and interfaces have been built to allow the data to flow transparently or biased depending on the level of privacy that the user would like to maintain.</para>
<para>A proxy has been designed and applied over that data captured by iURBAN for residential buildings. The proxy induces some perturbation on the original data in order to maintain privacy, which depends on the time span of the request and the type of query, meaning that depending on the target of the use of data queried, the corresponding use case can be or not achieved; this implies that this approach can jeopardize the possibility to launch services that can provide benefits the household (which holds the ownership of the data).</para>
</section>
<section class="lev1" id="sec3-9">
<title>References</title>
<orderedlist numeration="arabic" continuation="restarts" spacing="normal">
<listitem>
<para id="bib3-1">Machanavajjhala, A., Gehrke, J., Kifer, D., and Venkitasubramaniam, M. (2006). l-diversity: Privacy beyond k-anonymity. In <emphasis>Proceedings of the 22nd IEEE International Conference on Data Engineering (ICDE)</emphasis>, 2006. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Machanavajjhala%2C+A%2E%2C+Gehrke%2C+J%2E%2C+Kifer%2C+D%2E%2C+and+Venkitasubramaniam%2C+M%2E+%282006%29%2E+l-diversity%3A+Privacy+beyond+k-anonymity%2E+In+Proceedings+of+the+22nd+IEEE+International+Conference+on+Data+Engineering+%28ICDE%29%2C+2006%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib3-2">Chen, R., Fung, B., Wang, K., and Yu, P. (2010). Privacy-preserving data publishing: A survey of recent developments. <emphasis>ACM Comput. Surv. (CSUR)</emphasis>, 42 (4), 2010. <?lb?>Confidentiality, Integrity and availability: http://security.blogoverflow.com/2012/08/confidentiality-integrity-availability-the-three-components-of-the-cia-triad/ <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Chen%2C+R%2E%2C+Fung%2C+B%2E%2C+Wang%2C+K%2E%2C+and+Yu%2C+P%2E+%282010%29%2E+Privacy-preserving+data+publishing%3A+A+survey+of+recent+developments%2E+ACM+Comput%2E+Surv%2E+%28CSUR%29%2C+42+%284%29%2C+2010%2E+Confidentiality%2C+Integrity+and+availability%3A+http%3A%2F%2Fsecurity%2Eblogoverflow%2Ecom%2F2012%2F08%2Fconfidentiality-integrity-availability-the-three-components-of-the-cia-triad%2F" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib3-3">Albert, A., and Rajagopal, R. (2013). Smart meter driven segmentation: What your consumption says about you. <emphasis>IEEE Trans. Power Syst.</emphasis>, 28 (4), November 2013. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Albert%2C+A%2E%2C+and+Rajagopal%2C+R%2E+%282013%29%2E+Smart+meter+driven+segmentation%3A+What+your+consumption+says+about+you%2E+IEEE+Trans%2E+Power+Syst%2E%2C+28+%284%29%2C+November+2013%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib3-4">AlAbdulkarim, L., and Lukszo, Z. (2011). Impact of privacy concerns on consumers&#x02019; acceptance of smart metering in The Netherlands, international conference on networking, sensing and control, Delft Netherlands, 2011. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=AlAbdulkarim%2C+L%2E%2C+and+Lukszo%2C+Z%2E+%282011%29%2E+Impact+of+privacy+concerns+on+consumers%27+acceptance+of+smart+metering+in+The+Netherlands%2C+international+conference+on+networking%2C+sensing+and+control%2C+Delft+Netherlands%2C+2011%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib3-5">Karwe, M, and Str&#x00FC;ker, J. (2014). Privacy in residential demand side management applications. <emphasis>Smart grid security: Second international workshop, SmartGridSec2014</emphasis>, Munich Germany, 2014.</para></listitem>
<listitem>
<para id="bib3-6">Jawurek, M., Kerschbaum, F., and Orlandi, C. (2013). Zero-knowledge using garbled circuits: How to prove non-algebraic statements efficiently. <emphasis>ACM Conference on Computer and Communications Security 2013</emphasis>. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Jawurek%2C+M%2E%2C+Kerschbaum%2C+F%2E%2C+and+Orlandi%2C+C%2E+%282013%29%2E+Zero-knowledge+using+garbled+circuits%3A+How+to+prove+non-algebraic+statements+efficiently%2E+ACM+Conference+on+Computer+and+Communications+Security+2013%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib3-7">Dwork, C., and Smith, A. (2009). Differential privacy for statistics: What we know and what we want to learn. <emphasis>J. Privacy Confident. 2009</emphasis>. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Dwork%2C+C%2E%2C+and+Smith%2C+A%2E+%282009%29%2E+Differential+privacy+for+statistics%3A+What+we+know+and+what+we+want+to+learn%2E+J%2E+Privacy+Confident%2E+2009%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib3-8">McSherry, F. (2009). Privacy integrated queries an extensible platform for privacy-preserving data analysis. <emphasis>SIGMOND</emphasis> 2009. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=McSherry%2C+F%2E+%282009%29%2E+Privacy+integrated+queries+an+extensible+platform+for+privacy-preserving+data+analysis%2E+SIGMOND+2009%2E" target="_blank">Google Scholar</ulink></para></listitem></orderedlist>
</section>
</chapter>
<chapter class="chapter" id="ch04" label="4" xreflabel="4">
<title>iURBAN CDSS</title>
<para role="author"><emphasis role="strong">Marco Forin and Fabrizio Lorenna</emphasis></para>
<para>Vitrociset, Roma, Italy</para>
<para><emphasis role="strong">Abstract</emphasis></para>
<para>Central Decision Support System (CDSS) is the component of iURBAN platform dedicated to those stakeholders that are interested in the analysis of the data related to energy consumption and energy production, as energy providers, municipalities and third parties.</para>
<para>In this chapter, all the functionalities and the tools provided by CDSS will be discussed and presented to the reader, in order to give a complete overview of the capabilities of this component.</para>
<para><emphasis role="strong">Keywords:</emphasis> CDSS, Energy management, Tariff, Chart, Map, Diagnostic, Tools, Demand response</para>
<section class="lev1" id="sec4-1">
<title>4.1 Introduction</title>
<para>Centralized decision support system (CDSS) aggregates data from all LDSSs to provide city-level decision support to authorities and energy service providers. The CDSS generates a number of parameters, including citywide energy production and consumption forecasts. The CDSS component makes available, to different end users (as energy utilities, authorities, and municipalities), a large set of functionalities to monitor and plan the energy consumption/production.</para>
<para>Starting from the analysis of the data context and the users&#x02019; needs, we have defined and describe a detailed set of functional requirements that are implemented by the CDSS platform:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Get a continuous snapshot of city energy consumption and production;</para></listitem>
<listitem>
<para>Provide a near real time regarding the situation of consumption/production of the city for every type of energy (electricity, heating, gas, hot water and cold water);</para></listitem>
<listitem>
<para>Manage energy consumption and production data;</para></listitem>
<listitem>
<para>CDSS HMI: the granularity is the building. The user, of CDSS HMI, can filter aggregated measures by city, district, building, energy type, and time period;</para></listitem>
<listitem>
<para>Forecast of energy consumption data and per meter as well;</para></listitem>
<listitem>
<para>Plan of new energy &#x0201C;producers&#x0201D; for the future needs of the city;</para></listitem>
<listitem>
<para>Provide what-if scenario feature, offered by CDSS HMI (in collaboration with CDSS back end and virtual power plant (VPP));</para></listitem>
<listitem>
<para>Support static and dynamic tariffs;</para></listitem>
<listitem>
<para>Manage demand response (DR) programs;</para></listitem>
<listitem>
<para>Manage technical losses;</para></listitem>
<listitem>
<para>Visualize historical data with a chosen granularity and time period of consumption and production of energy and cold water.</para></listitem>
<listitem>
<para>Detect meters in o&#x0FB04;ine status;</para></listitem>
<listitem>
<para>Provide geographical maps of building locations;</para></listitem>
<listitem>
<para>Analyze International Performance Measurement and Verification Protocol (IPMVP) and key performance indicators (KPI) metrics;</para></listitem>
<listitem>
<para>Make available weather forecasts.</para></listitem></itemizedlist>
<para>In <link linkend="F4-1">Figure <xref linkend="F4-1" remap="4.1"/></link>, a general architecture of the whole CDSS is described, including the connections (regarding data exchanges) with the other iURBAN components:</para>
<fig id="F4-1" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-1">Figure <xref linkend="F4-1" remap="4.1"/></link></label>
<caption><para>iURBAN logical view.</para></caption>
<graphic xlink:href="graphics/ch04_fig001.jpg"/>
</fig>
<para>As depicted in the above architecture schema, CDSS is composed of some sub-components.</para>
<para>In the following, the flow of the data managed by CDSS is described:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Energy providers store real-time and historical measures to LDSS database (a component of Smart City Database (SCDB)) by suitable local decision support system (LDSS) Web services.</para></listitem>
<listitem>
<para>CDSS (the processes of CDSS back end) retrieves the historical and real-time measures, by suitable LDSS Web services, from the LDSS database.</para></listitem>
<listitem>
<para>CDSS GUI (the front end of CDSS) exchanges data with CDSS DB (by suitable CDSS Web services) in order to display measures in the graphical user interface (GUI) or to store data (for example, DR programs) to CDSS database.</para></listitem>
<listitem>
<para>CDSS exchanges data with the VPP in order to</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>VPP retrieves (from CDSS database by suitable Web services) the list of calculation (to do) related to what-if scenario.</para></listitem>
<listitem>
<para>VPP stores to CDSS database (by suitable Web services) the output result of calculation regarding the what-if scenarios.</para></listitem></itemizedlist>
</listitem>
<listitem>
<para>smartDSS exchanges data with CDSS in order to store data related to the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Calculated technical losses</para></listitem>
<listitem>
<para>Prediction algorithms</para></listitem>
<listitem>
<para>Advisor DR program</para></listitem>
<listitem>
<para>Consumption and production advice</para></listitem>
<listitem>
<para>Forecasting advice</para></listitem>
<listitem>
<para>Consumption and production rankings.</para></listitem></itemizedlist>
</listitem>
<listitem>
<para>smartDSS exchanges data with CDSS in order to retrieve data, from CDSS database, to calculate the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Technical losses</para></listitem>
<listitem>
<para>Advisor DR program</para></listitem>
<listitem>
<para>Consumption and production advice</para></listitem>
<listitem>
<para>Consumption and production rankings.</para></listitem></itemizedlist>
</listitem></itemizedlist>
</section>
<section class="lev1" id="sec4-2">
<title>4.2 Graphical User Interface</title>
<para>The CDSS user interfaces are grouped by a suitable GUI that offers a set of functionalities to do the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Check consumption and production with different granularity (city, district, building, installation) and filters that can be customized;</para></listitem>
<listitem>
<para>Manage DR program management;</para></listitem>
<listitem>
<para>Manage tariffs management;</para></listitem>
<listitem>
<para>Visualize city map with involved buildings;</para></listitem>
<listitem>
<para>Provide weather forecast;</para></listitem>
<listitem>
<para>Offer meters diagnostic;</para></listitem>
<listitem>
<para>Make GUI configuration.</para></listitem></itemizedlist>
</section>
<section class="lev1" id="sec4-3">
<title>4.3 Main GUI Functionalities in Detail</title>
<para>The main user functionalities, of the CDSS GUI, including the user authentication and the user roles (the user role indicates that the specified user can access only to a subset of user functionalities) are presented below.</para>
<section class="lev2" id="sec4-3-1">
<title>4.3.1 User Login</title>
<para>The end users of the CDSS GUI are energy providers, local authorities, and municipalities but the login to the iURBAN system CDSS GUI is allowed to the following actors:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para><emphasis role="strong">Super User</emphasis>: They can view, create, and delete all data for every city and every energy type, but they cannot operate on CDSS DB data.</para></listitem>
<listitem>
<para><emphasis role="strong">System Administrator</emphasis>: They can view all data for every city and every energy type and can operate on CDSS DB data.</para></listitem>
<listitem>
<para><emphasis role="strong">Decision Maker</emphasis>: They can view all data for only one city and one energy type at all levels and cannot operate on CDSS DB data.</para></listitem>
<listitem>
<para><emphasis role="strong">Provider</emphasis>: They can view all data for only one city and only one energy type at all levels and cannot operate on CDSS DB data.</para></listitem>
<listitem>
<para><emphasis role="strong">Municipalities, Local Authorities, Industry, and Similar Categories</emphasis>: They can view all data for only one city and every energy type until city level; they cannot operate on CDSS DB data.</para></listitem>
<listitem>
<para><emphasis role="strong">General User</emphasis>: They can view all data for only one city and one energy type at city level and cannot operate on CDSS DB data.</para></listitem></itemizedlist>
<para>The CDSS system manages the user profile and the authentication of the actors of iURBAN system CDSS GUI. The operator can interact with the system only through the features allowed by the assigned profile. The user reaches the GUI toolbar after an authentication consisting of the insertion of the user name and password in a dedicated pop-up presented before the access to the CDSS GUI (<link linkend="F4-2">Figure <xref linkend="F4-2" remap="4.2"/></link>).</para>
<fig id="F4-2" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-2">Figure <xref linkend="F4-2" remap="4.2"/></link></label>
<caption><para>User login.</para></caption>
<graphic xlink:href="graphics/ch04_fig002.jpg"/>
</fig>
</section>
<section class="lev2" id="sec4-3-2">
<title>4.3.2 Toolbar</title>
<para>Toolbar collects the macro functionalities of iURBAN interfaces. They are grouped taking into account the different kind of users (provider of energy, local authority and municipality, decision maker, etc.). The aim is to provide an easy and useful interface to allow the operator to manage data and information in an optimal way. From the toolbar, it is possible to open all the windows and the pop-up at the same time; this characteristic enables to view all data and to do comparison, analysis, and operations without information losses. The toolbar shows different views for each user profile, so the operator can interact with the system only through the features allowed by the assigned profile. The macro functionalities accessible from the toolbar are as follows:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para><emphasis role="strong">Management</emphasis>: It provides a cartographical representation of data and it shows a map of the city in 2D with districts, buildings, installations, meters using smart icons. Moreover, it manages objects (buildings, EV, DERs, etc.) like geometrical items to allow the creation of scenarios.</para></listitem>
<listitem>
<para><emphasis role="strong">CityEnergyView</emphasis>: It provides different views of energy consumption and production for different type (electricity, heating, water, etc.), at different level (city, district, building, etc.), and at different time (real time, last week, last month, last year, and custom range).</para></listitem>
<listitem>
<para><emphasis role="strong">DR Management</emphasis>: It provides interfaces in order to manage DR program (create, modify, view, cancel, etc.) and a list of possible peaks and tools to manage notifications to customers.</para></listitem>
<listitem>
<para><emphasis role="strong">Tariff</emphasis>: It provides interfaces for the tariff management and comparison.</para></listitem>
<listitem>
<para><emphasis role="strong">Diagnostic</emphasis>: It provides information about the status of the installations, whether they are o&#x0FB04;ine and whether there are losses.</para></listitem>
<listitem>
<para><emphasis role="strong">Weather Forecast</emphasis>: It provides weather forecast information.</para></listitem>
<listitem>
<para><emphasis role="strong">User</emphasis>: It provides information about the current user login and manages its logout.</para></listitem>
<listitem>
<para><emphasis role="strong">Configuration</emphasis>: It provides interfaces to configure the console and the controls and allows the operator to check the system status (<link linkend="F4-3">Figure <xref linkend="F4-3" remap="4.3"/></link>).</para></listitem></itemizedlist>
<fig id="F4-3" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-3">Figure <xref linkend="F4-3" remap="4.3"/></link></label>
<caption><para>CDSS GUI toolbar.</para></caption>
<graphic xlink:href="graphics/ch04_fig003.jpg"/>
</fig>
</section>
<section class="lev2" id="sec4-3-3">
<title>4.3.3 Management</title>
<para>From <emphasis>toolbar</emphasis> by selecting <emphasis>Management</emphasis> button, it is possible to manage the city map according to the user profile.</para>
<section class="lev3" id="sec4-3-3-1">
<title>4.3.3.1 Map</title>
<para>User can view the city maps according to his profile. The <emphasis>City Map</emphasis> shows a 2D view of the monitored meter network, and each object is described with an appropriate icon.</para>
<para>On the left side of the screen, the user can access to some useful functionalities to work with the map:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>The tools to drag the map, to zoom in/out, and to calculate distances and areas;</para></listitem>
<listitem>
<para>The legend of the icons used for the buildings on the map;</para></listitem>
<listitem>
<para>The tool to filter the buildings by type and district (<link linkend="F4-4">Figure <xref linkend="F4-4" remap="4.4"/></link>).</para></listitem></itemizedlist>
<fig id="F4-4" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-4">Figure <xref linkend="F4-4" remap="4.4"/></link></label>
<caption><para>Management&#x02014;map screenshot.</para></caption>
<graphic xlink:href="graphics/ch04_fig004.jpg"/>
</fig>
<para>Clicking on an icon showed on the map, the user obtains various detailed information on the chosen object (<link linkend="F4-5">Figure <xref linkend="F4-5" remap="4.5"/></link>).</para>
<fig id="F4-5" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-5">Figure <xref linkend="F4-5" remap="4.5"/></link></label>
<caption><para>Management&#x02014;map&#x02014;building detailed information by clicking on the map on a specific icon.</para></caption>
<graphic xlink:href="graphics/ch04_fig005.jpg"/>
</fig>
<para>User can click on the <emphasis>Diagnostic</emphasis> icon to check whether there are energy losses for that building, or on the <emphasis>DataFlow O&#x0FB04;ine</emphasis> icon. The <emphasis>DataFlow O&#x0FB04;ine</emphasis> informs that the building meter does not send data from more than 24 hours. In addition, the color of the icon suggests whether data are present or not:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Green icon: No data are available.</para></listitem>
<listitem>
<para>Red icon: Data are available (<link linkend="F4-6">Figure <xref linkend="F4-6" remap="4.6"/></link>).</para></listitem></itemizedlist>
<fig id="F4-6" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-6">Figure <xref linkend="F4-6" remap="4.6"/></link></label>
<caption><para>Management&#x02014;map&#x02014;diagnostic losses and DataFlow O&#x0FB04;ine.</para></caption>
<graphic xlink:href="graphics/ch04_fig006.jpg"/>
</fig>
<para>User can click on the <emphasis>Graph</emphasis> icon and a short report on the consumption related to the last 24 hours, 7 days, and 30 days is available. It is possible to open the <emphasis>Graph Filter Maker</emphasis> window to check whether there are energy consumption and production data for that building, clicking on the <emphasis>Chart Building</emphasis> icon. This window is composed by three parts:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para><emphasis>Filter Maker</emphasis></para></listitem>
<listitem>
<para><emphasis>Graph Container</emphasis></para></listitem>
<listitem>
<para><emphasis>Help Area</emphasis></para></listitem></itemizedlist>
<para>The filters are already selected in order to show information related to the chosen object but the user can select filters according to his/hers profile:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para><emphasis>Filter</emphasis></para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Energy type: electricity, heating, water, hot water, etc.</para></listitem>
<listitem>
<para>Level: city, district, building, installation (apartment), meters.</para></listitem></itemizedlist>
</listitem>
<listitem>
<para><emphasis>Time</emphasis></para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Daily, last week, last month, last year, and customizable range.</para></listitem></itemizedlist>
</listitem>
<listitem>
<para><emphasis>Chart</emphasis></para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>EnergyView Consumption and EnergyView Production.</para></listitem></itemizedlist>
</listitem></itemizedlist>
<para>The <emphasis>Graph Filter Maker</emphasis> window provides the user a dashboard with different kinds of data aggregations relative to the energy consumption or production. The objective of this tool is to provide an overview of the energy management trend by several variables, as time, district, and energy type.</para>
<para>In particular, the dashboard is composed of the following charts:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Monthly performance</para></listitem>
<listitem>
<para>Average saving</para></listitem>
<listitem>
<para>Quarters</para></listitem>
<listitem>
<para>Week of month</para></listitem>
<listitem>
<para>Total consumption (<link linkend="F4-7">Figure <xref linkend="F4-7" remap="4.7"/></link>).</para></listitem></itemizedlist>
<fig id="F4-7" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-7">Figure <xref linkend="F4-7" remap="4.7"/></link></label>
<caption><para>Graph filter maker window.</para></caption>
<graphic xlink:href="graphics/ch04_fig007.jpg"/>
</fig>
</section>
</section>
<section class="lev2" id="sec4-3-4">
<title>4.3.4 CityEnergyView</title>
<para>From toolbar by selecting <emphasis>CityEnergyView</emphasis> button, it is possible to manage the <emphasis>EnergyView</emphasis> and <emphasis>Consumption</emphasis> 24H/7D/30D according to the user profile.</para>
<section class="lev3" id="sec4-3-4-1">
<title>4.3.4.1 EnergyView</title>
<para>User can check the consumption and production energy data from <emphasis>EnergyView</emphasis>. User can select filter according to his/her profile. The system can show data at city, district, building, installation, and meter level and for different energy type (electricity, water, hot water, heating, etc.). Moreover, the user can select a period of time: daily, monthly, yearly, or a particular range of time.</para>
<para>The <emphasis>EnergyView</emphasis> button opens a <emphasis>Graph Filter Maker</emphasis> window composed from three parts:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Filter Maker</para></listitem>
<listitem>
<para>Graph Container</para></listitem>
<listitem>
<para>Help Area.</para></listitem></itemizedlist>
</section>
<section class="lev3" id="sec4-3-4-2">
<title>4.3.4.2 Filter Maker</title>
<para>This part allows the user to set the filters to use. The user can access it by clicking on the icon in the left upper corner. The <emphasis>Filter Panel</emphasis> is displayed and the user can choose the filters to apply between three buttons clicking on one of them:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Filter</para></listitem>
<listitem>
<para>Time</para></listitem>
<listitem>
<para>Chart (<link linkend="F4-8">Figure <xref linkend="F4-8" remap="4.8"/></link>).</para></listitem></itemizedlist>
<fig id="F4-8" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-8">Figure <xref linkend="F4-8" remap="4.8"/></link></label>
<caption><para>CityEnergyView&#x02014;EnergyView&#x02014;Filter Maker.</para></caption>
<graphic xlink:href="graphics/ch04_fig008.jpg"/>
</fig>
<para>The <emphasis>Filter</emphasis> button allows the user to choose which cities, districts, buildings, installations, and/or meters and which energy type (electricity, water, heating, etc.) to select. After the filters choice, click <emphasis>Apply</emphasis> to create the charts (<link linkend="F4-9">Figure <xref linkend="F4-9" remap="4.9"/></link>).</para>
<fig id="F4-9" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-9">Figure <xref linkend="F4-9" remap="4.9"/></link></label>
<caption><para>CityEnergyView&#x02014;EnergyView&#x02014;Filter button.</para></caption>
<graphic xlink:href="graphics/ch04_fig009.jpg"/>
</fig>
<para>The <emphasis>Time</emphasis> button allows the user to select temporal ranges. In this panel, the user can select from different default time ranges or a custom date. Once the time range is selected, the graphs will be showed into the <emphasis>Graph Container</emphasis> (<link linkend="F4-10">Figure <xref linkend="F4-10" remap="4.10"/></link>).</para>
<fig id="F4-10" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-10">Figure <xref linkend="F4-10" remap="4.10"/></link></label>
<caption><para>CityEnergyView&#x02014;EnergyView&#x02014;Filter Maker&#x02014;Time button.</para></caption>
<graphic xlink:href="graphics/ch04_fig010.jpg"/>
</fig>
<fig id="F4-11" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-11">Figure <xref linkend="F4-11" remap="4.11"/></link></label>
<caption><para>CityEnergyView&#x02014;EnergyView&#x02014;Filter Maker&#x02014;Time button customizable range.</para></caption>
<graphic xlink:href="graphics/ch04_fig011.jpg"/>
</fig>
<para>The <emphasis>Chart</emphasis> button allows the user to choose a chart view between EnergyView Consumption, EnergyView Production, and Energy Forecast (<link linkend="F4-12">Figure <xref linkend="F4-12" remap="4.12"/></link>).</para>
<fig id="F4-12" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-12">Figure <xref linkend="F4-12" remap="4.12"/></link></label>
<caption><para>CityEnergyView&#x02014;EnergyView&#x02014;Chart button.</para></caption>
<graphic xlink:href="graphics/ch04_fig012.jpg"/>
</fig>
<para>The user can visualize the graphs related to the consumption data by selecting the radio button <emphasis>EnergyView Consumption</emphasis> (<link linkend="F4-13">Figure <xref linkend="F4-13" remap="4.13"/></link>).</para>
<fig id="F4-13" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-13">Figure <xref linkend="F4-13" remap="4.13"/></link></label>
<caption><para>CityEnergyView&#x02014;EnergyView&#x02014;Filter Maker&#x02014;Chart button: EnergyView consumption.</para></caption>
<graphic xlink:href="graphics/ch04_fig013.jpg"/>
</fig>
<para>The user can visualize the graphs related to the production data by selecting the radio button <emphasis>EnergyView Production</emphasis> (<link linkend="F4-14">Figure <xref linkend="F4-14" remap="4.14"/></link>).</para>
<fig id="F4-14" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-14">Figure <xref linkend="F4-14" remap="4.14"/></link></label>
<caption><para>CityEnergyView&#x02014;EnergyView&#x02014;Filter Maker&#x02014;Chart button: EnergyView production.</para></caption>
<graphic xlink:href="graphics/ch04_fig014.jpg"/>
</fig>
<para>The user can visualize the graphs related to the forecast data by selecting the radio button <emphasis>Energy Forecast</emphasis> (<link linkend="F4-15">Figure <xref linkend="F4-15" remap="4.15"/></link>).</para>
<fig id="F4-15" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-15">Figure <xref linkend="F4-15" remap="4.15"/></link></label>
<caption><para>CityEnergyView&#x02014;EnergyView&#x02014;Filter Maker&#x02014;Chart button: energy forecast.</para></caption>
<graphic xlink:href="graphics/ch04_fig015.jpg"/>
</fig>
</section>
<section class="lev3" id="sec4-3-4-3">
<title>4.3.4.3 Graph Container</title>
<para><emphasis>Graph Container</emphasis> is the hearth of the graphical component. It is in the middle of the page; here, six different charts, showing the filtered data, are presented:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Bubble Chart</para></listitem>
<listitem>
<para>Average Saving Chart</para></listitem>
<listitem>
<para>Quarters Chart</para></listitem>
<listitem>
<para>Quarters Horizontal Chart</para></listitem>
<listitem>
<para>Total Bar Chart</para></listitem>
<listitem>
<para>Line Chart.</para></listitem></itemizedlist>
<para>The <emphasis>Bubble Chart</emphasis> is the first graph in the main container. It shows consumption and production as a percentage: the data are grouped in different time ranges. For example, by selecting &#x0201C;year&#x0201D; from the time filter, the graph view shows a representation of consumption or production grouped by month; instead, by selecting &#x0201C;month&#x0201D; from time filter, the graph view shows a representation of consumption or production grouped by week. Each radius bubble is the sum of values divided by the number of values in the list, and the result is multiplied by 100. Therefore, we can have the percentage of total consumption or production for each month. Months range is 1&#x02013;12 (<link linkend="F4-16">Figure <xref linkend="F4-16" remap="4.16"/></link>).</para>
<fig id="F4-16" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-16">Figure <xref linkend="F4-16" remap="4.16"/></link></label>
<caption><para>CityEnergyView&#x02014;EnergyView&#x02014;Graph Container&#x02014;Bubble Chart.</para></caption>
<graphic xlink:href="graphics/ch04_fig00016.jpg"/>
</fig>
<para>The <emphasis>Average Saving</emphasis> Chart is a graph that shows energy savings or average of consumption and/or production in percentage.</para>
<para>For example, by selecting &#x0201C;Consumption&#x0201D; in to the &#x0201C;Chart filter,&#x0201D; the saved percentage compared to the average value of consumption is presented. The consumption over the percentage provides consumption, and the consumption under the average gives a gap from average that representing savings (<link linkend="F4-17">Figure <xref linkend="F4-17" remap="4.17"/></link>).</para>
<fig id="F4-17" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-17">Figure <xref linkend="F4-17" remap="4.17"/></link></label>
<caption><para>CityEnergyView&#x02014;EnergyView&#x02014;Graph Container&#x02014;Measurements distribution.</para></caption>
<graphic xlink:href="graphics/ch04_fig017.jpg"/>
</fig>
<para>The <emphasis>Quarters</emphasis> Chart is a graph that displays the production and consumption data of different time ranges in four parts (quarters, a quarter of month, a week, and a day). The value is expressed as a percentage. For example, by selecting &#x0201C;year&#x0201D; from the time filter, the data are grouped by quarters. Each quarter is Q1 (January/February/March), Q2 (April/May/ June), Q3 (July/August/September), and Q4 (October/November/December) (<link linkend="F4-18">Figure <xref linkend="F4-18" remap="4.18"/></link>).</para>
<fig id="F4-18" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-18">Figure <xref linkend="F4-18" remap="4.18"/></link></label>
<caption><para>CityEnergyView&#x02014;EnergyView&#x02014;Graph Container&#x02014;Quarters Chart.</para></caption>
<graphic xlink:href="graphics/ch04_fig018.jpg"/>
</fig>
<para>The <emphasis>Quarters Horizontal</emphasis> Chart is a graph that is similar to the Pie Quarters Chart, but it shows the quarters in a horizontal way and represents values on the x-axis. For example, by selecting &#x0201C;year&#x0201D; from the time filter, the data are grouped by quarters. Each quarter is similar as above at the Quarters Chart (<link linkend="F4-19">Figure <xref linkend="F4-19" remap="4.19"/></link>).</para>
<fig id="F4-19" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-19">Figure <xref linkend="F4-19" remap="4.19"/></link></label>
<caption><para>CityEnergyView&#x02014;EnergyView&#x02014;Graph Container&#x02014;Quarters Horizontal Chart.</para></caption>
<graphic xlink:href="graphics/ch04_fig019.jpg"/>
</fig>
<para>The <emphasis>Total Bar</emphasis> Chart is a graph that displays the production and consumption data percentage in a stacked bar representation. For example, by selecting &#x0201C;year&#x0201D; from the time filter, the data are grouped by months. Each bar is a month identified by a number between 0 and 11 (<link linkend="F4-20">Figure <xref linkend="F4-20" remap="4.20"/></link>).</para>
<fig id="F4-20" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-20">Figure <xref linkend="F4-20" remap="4.20"/></link></label>
<caption><para>CityEnergyView&#x02014;EnergyView&#x02014;Graph Container&#x02014;Total Bar Chart.</para></caption>
<graphic xlink:href="graphics/ch04_fig020.jpg"/>
</fig>
<para>The <emphasis>Line</emphasis> Chart is at bottom of page, and it shows the production and consumption data line in the selected range.</para>
<para>This graph has two lines: one for the average (blue) and one for the real data (orange). Beneath the x-axis, there is a bar chart that can elect a specific range. For example, by selecting &#x0201C;year&#x0201D; from the time filter, all values in a linear interpolation are showed (<link linkend="F4-21">Figure <xref linkend="F4-21" remap="4.21"/></link>).</para>
<fig id="F4-21" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-21">Figure <xref linkend="F4-21" remap="4.21"/></link></label>
<caption><para>CityEnergyView&#x02014;EnergyView&#x02014;Graph Container&#x02014;Line Chart.</para></caption>
<graphic xlink:href="graphics/ch04_fig021.jpg"/>
</fig>
</section>
<section class="lev3" id="sec4-3-4-4">
<title>4.3.4.4 Help Area</title>
<para><emphasis>Help Area</emphasis> is on the upper right corner of display. This area helps the user with the <emphasis>Help Pop-up</emphasis> component. It provides a short description of each graph. This pop-up is ready to use when clicking on the icon in the upper right corner (<link linkend="F4-22">Figure <xref linkend="F4-22" remap="4.22"/></link>).</para>
<fig id="F4-22" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-22">Figure <xref linkend="F4-22" remap="4.22"/></link></label>
<caption><para>CityEnergyView&#x02014;EnergyView&#x02014;Graph Container&#x02014;Help pop-up.</para></caption>
<graphic xlink:href="graphics/ch04_fig022.jpg"/>
</fig>
<para>The <link linkend="T4-1">Table <xref linkend="T4-1" remap="4.1"/></link> shows the relations between time filter and each grouping of graphs.</para>
<table-wrap position="float" id="T4-1">
<label><link linkend="T4-1">Table <xref linkend="T4-1" remap="4.1"/></link></label>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Grouped By</td>
<td valign="bottom" align="left">Bubble</td>
<td valign="bottom" align="left">Quarter</td>
<td valign="bottom" align="left">Horizontal Quarter</td>
<td valign="bottom" align="left">Total Bar</td>
<td valign="bottom" align="left">Line</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Today</td>
<td valign="top" align="left">Hours of day</td>
<td valign="top" align="left">0&#x02013;6 H = 0&#x02013;6 hours<?lb?>7&#x02013;12 H = 7&#x02013;12 hours<?lb?>13&#x02013;18 H = 13&#x02013;18 hours<?lb?>19&#x02013;24 H = 19&#x02013;24 hours</td>
<td valign="top" align="left">0&#x02013;6 H = 0&#x02013;6 hours<?lb?> 7&#x02013;12 H = 7&#x02013;12 hours<?lb?> 13&#x02013;18 H = 13&#x02013;18 hours<?lb?>19&#x02013;24 H = 19&#x02013;24 hours</td>
<td valign="top" align="left">Hours of day</td>
<td valign="top" align="left">Hours of day</td>
</tr>
<tr>
<td valign="top" align="left">Week</td>
<td valign="top" align="left">Days of week</td>
<td valign="top" align="left">Days of week</td>
<td valign="top" align="left">Days of week</td>
<td valign="top" align="left">Days of week</td>
<td valign="top" align="left">Days of week</td>
</tr>
<tr>
<td valign="top" align="left">Month</td>
<td valign="top" align="left">Weeks of month</td>
<td valign="top" align="left">Weeks of month</td>
<td valign="top" align="left">Weeks of month</td>
<td valign="top" align="left">Days of month</td>
<td valign="top" align="left">Days of month</td>
</tr>
<tr>
<td valign="top" align="left">Year</td>
<td valign="top" align="left">Months of year</td>
<td valign="top" align="left">Q1 = 0&#x02013;2 months<?lb?>Q2 = 2&#x02013;5 months<?lb?>Q3 = 5&#x02013;8 months <?lb?>Q4 = 8&#x02013;11 months</td>
<td valign="top" align="left">Q1 = 0&#x02013;2 months<?lb?>Q2 = 2&#x02013;5 months<?lb?>Q3 = 5&#x02013;8 months <?lb?>Q4 = 8&#x02013;11 months</td>
<td valign="top" align="left">Months of Year</td>
<td valign="top" align="left">Months of Year</td></tr>
</tbody>
</table>
</table-wrap>
<para>On the left column of the table, there are the &#x0201C;time&#x0201D; filters, and on the top row, there are the types of chart. For example, by selecting &#x0201C;Week&#x0201D; as time range in the bubble graph, seven bubbles will be displayed; each of them is a day of the past week, numbered from zero to six.</para>
</section>
<section class="lev3" id="sec4-3-4-5">
<title>4.3.4.5 Consumption 24H/7D/30D</title>
<para>According to his profile, user can check the consumption energy data of last 24 hours, 7 days, or 30 days. A list of energy consumptions for different energy type (electricity, water, hot water, heating, etc.) at building level is showed.</para>
<section class="lev4" id="sec4-3-4-5-1">
<title>Consumption 24H</title>
<para><emphasis>Consumption 24H</emphasis> opens a window that shows a list of the consumption energy data of last 24 hours. Consumption 24H list shows the following data:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>City: city name, related to the showed consumptions</para></listitem>
<listitem>
<para>District: district name, related to the showed consumptions</para></listitem>
<listitem>
<para>Building name: building name, related to the showed consumptions</para></listitem>
<listitem>
<para>Energy type: electricity, water, heating, etc.</para></listitem>
<listitem>
<para>Total consumption: total energy consumption, related to the energy type.</para></listitem></itemizedlist>
<para>XLS icon opens and/or prints the report of the Consumption 24H list (<link linkend="F4-23">Figure <xref linkend="F4-23" remap="4.23"/></link>).</para>
<fig id="F4-23" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-23">Figure <xref linkend="F4-23" remap="4.23"/></link></label>
<caption><para>CityEnergyView&#x02014;Consumption 24H.</para></caption>
<graphic xlink:href="graphics/ch04_fig023.jpg"/>
</fig>
</section>
<section class="lev4" id="sec4-3-4-2">
<title>Consumption 7D</title>
<para><emphasis>Consumption 7D</emphasis> opens a window that shows a list of the consumption energy data of last 7 days. Consumption 7D list shows the following data:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>City: city name, related to the showed consumptions</para></listitem>
<listitem>
<para>District: district name, related to the showed consumptions</para></listitem>
<listitem>
<para>Building name: building name, related to the showed consumptions</para></listitem>
<listitem>
<para>Energy type: electricity, water, heating, etc.</para></listitem>
<listitem>
<para>Total consumption: total energy consumption, related to the energy type.</para></listitem></itemizedlist>
<para>XLS icon opens and/or prints the report of the Consumption 7D list (<link linkend="F4-24">Figure <xref linkend="F4-24" remap="4.24"/></link>).</para>
<fig id="F4-24" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-24">Figure <xref linkend="F4-24" remap="4.24"/></link></label>
<caption><para>CityEnergyView&#x02014;Consumption 7D.</para></caption>
<graphic xlink:href="graphics/ch04_fig024.jpg"/>
</fig>
</section>
<section class="lev4" id="sec4-3-4-3">
<title>Consumption 30D</title>
<para>Consumption 30D opens a window that shows a list of the consumption energy data of last 30 days. Consumption 30D list shows the following data:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>City: city name, related to the showed consumptions</para></listitem>
<listitem>
<para>District: district name, related to the showed consumptions</para></listitem>
<listitem>
<para>Building name: building name, related to the showed consumptions</para></listitem>
<listitem>
<para>Energy type: electricity, water, heating, etc.</para></listitem>
<listitem>
<para>Total consumption: total energy consumption, related to the energy type.</para></listitem></itemizedlist>
<para>XLS icon opens and/or prints the report of the Consumption 30D list (<link linkend="F4-25">Figure <xref linkend="F4-25" remap="4.25"/></link>).</para>
<fig id="F4-25" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-25">Figure <xref linkend="F4-25" remap="4.25"/></link></label>
<caption><para>CityEnergyView&#x02014;Consumption 30D.</para></caption>
<graphic xlink:href="graphics/ch04_fig025.jpg"/>
</fig>
</section>
</section>
</section>
<section class="lev2" id="sec4-3-5">
<title>4.3.5 Demand Response Management</title>
<para>From toolbar by selecting the <emphasis>DR Management</emphasis> button, it is possible to manage the DR program and the peaks monitoring according to the user profile. A DR program can be used to manage any consumption peaks related to any energy (two program kinds are managed: consumption and thermostat). It is composed of a number of actions to manage the demand of energy of the customer in response to the conditions proposed by the supplier, in order to reduce peak situations in the energy distribution grid. The system allows to manage a list of DR programs stored in the database and insert a new one. A DR program archive is designed in order to reuse a program for peaks of the same kind. From the DR program list (a detailed description is in the following &#x0201C;DR Program&#x0201D; paragraph), it is possible to create a DR program pressing the <emphasis>New DR Program</emphasis> button and filling the information required (a detailed description is in the following &#x0201C;DR Program&#x0201D; paragraph). A DR program is closely related to one or more actions that describe what the customer has to perform to fulfill the DR program that was sent. From the New DR program, it is possible to add one or more actions pressing the <emphasis>Action</emphasis> button and filling the information required (a detailed description is in the following &#x0201C;DR Program&#x0201D; paragraph).</para>
<para>Peaks monitoring manages the peak situations in the energy distribution grid identified by the system or manually inserted by the user. From peaks and DR monitoring (a detailed description is in the following &#x0201C;Peaks Monitoring&#x0201D; paragraph), it is possible to manually insert a peak pressing the <emphasis>Add New Peak</emphasis> button and filling the information required (a detailed description is in the following &#x0201C;Peaks Monitoring&#x0201D; paragraph). To reduce peak situations in the energy distribution grid, it is necessary to select a DR program to use, choosing among those previously entered, and link it to the peak from the peaks monitoring list (a detailed description is in the following &#x0201C;Peaks Monitoring&#x0201D; paragraph). When a peak was linked to a DR program, it is time to send the notifications to the customers. From peaks and DR monitoring, it is possible to send one or more notifications to the customers pressing the <emphasis>Pencil</emphasis> icon and filling the information required in the notification list (a detailed description is in the following &#x0201C;Peaks Monitoring&#x0201D; paragraph). Three buttons are proposed to the user in order to manage the notifications: create new notification, save new notification, and send notification to LDSS (a detailed description is in the following &#x0201C;Peaks Monitoring&#x0201D; paragraph). All notifications inserted that have not been sent by the user pressing the <emphasis>Send Notification to LDSS</emphasis> button will be sent anyway by the system at the scheduled time. When the action proposed to the customer is finished, the result related to the peak is presented in the notification list.</para>
<section class="lev3" id="sec4-3-5-1">
<title>4.3.5.1 DR program</title>
<para>DR program opens a window that shows a list with the programs created from the system or from the user (Decision Maker, Supervisor). The DR program list shows the following data:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>DR program name: the name chosen for the DR program.</para></listitem>
<listitem>
<para>Type: demand response type (thermostatdr or consumptiondr).</para></listitem>
<listitem>
<para>Energy type: (electricity, water, heating, etc.).</para></listitem>
<listitem>
<para>Tips: Suggestion should be followed by customer to achieve the goal required by DR program to improve the consumption or production.</para></listitem>
<listitem>
<para>Reward: reward offered to entice the customer to change a behavior or habit.</para></listitem>
<listitem>
<para>Creation date: creation date of the DR program.</para></listitem>
<listitem>
<para>More icon opens a new pop-up that shows more information about DR program and related notifications.</para></listitem>
<listitem>
<para>Delete icon shows whether a DR program can be deleted or not. The user can delete a DR program if there are not peaks or notification joined.</para></listitem></itemizedlist>
<para><emphasis>XLS</emphasis> icon opens and/or prints the report of the DR program list (<link linkend="F4-26">Figure <xref linkend="F4-26" remap="4.26"/></link>).</para>
<fig id="F4-26" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-26">Figure <xref linkend="F4-26" remap="4.26"/></link></label>
<caption><para>DR Management&#x02014;DR Program.</para></caption>
<graphic xlink:href="graphics/ch04_fig026.jpg"/>
</fig>
<para><emphasis>More</emphasis> icon shows the information related to the recommended user actions for a selected DR program. If no action is associated with a DR program, the Action Detail is empty.</para>
<para>In the upper rows of the pop-up is reported information related to the DR program, and in the lower rows, those related to the Action Detail.</para>
<para>The DR program presents the following fields:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>DR ID: demand response identifier.</para></listitem>
<listitem>
<para>DR name: the name chosen for the DR program.</para></listitem>
<listitem>
<para>DR type: demand response type (thermostatdr or consumptiondr).</para></listitem>
<listitem>
<para>Energy type: (electricity, water, heating, etc.).</para></listitem>
<listitem>
<para>Creation date: creation date of the DR program.</para></listitem>
<listitem>
<para>Tips: Suggestion should be followed by customer to achieve the goal required by DR program to improve the consumption or production.</para></listitem>
<listitem>
<para>Reward: reward offered to entice the customer to change a behavior or habit.</para></listitem></itemizedlist>
<para>The Action Detail presents the following fields:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>OfferID: It is the ID related to the offer.</para></listitem>
<listitem>
<para>Action: It describes the behavior or the action to be taken by the user to get the reward.</para></listitem>
<listitem>
<para>Action Operation: It indicates the value below or above the threshold that the user has to check. It is closely linked to Action Values.</para></listitem>
<listitem>
<para>Action Value: Numeric value that indicates the threshold that the user has to check, in order to implement the right action. It is closely linked to Action Operation.</para></listitem>
<listitem>
<para>Modify: Modify icon allows to change the action detail.</para></listitem>
<listitem>
<para>Delete: Delete icon allows to delete the current action detail (<link linkend="F4-27">Figure <xref linkend="F4-27" remap="4.27"/></link>).</para></listitem></itemizedlist>
<fig id="F4-27" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-27">Figure <xref linkend="F4-27" remap="4.27"/></link></label>
<caption><para>DR Management&#x02014;DR Program&#x02014;Action Detail.</para></caption>
<graphic xlink:href="graphics/ch04_fig027.jpg"/>
</fig>
<para><emphasis>New Action</emphasis> button presents a row under the current Action Detail in order to fill the fields to insert a new action.<underline></underline></para>
<para><emphasis>Save Action in DB</emphasis> button saves in the CDSS DB the new action data inserted (<link linkend="F4-28">Figure <xref linkend="F4-28" remap="4.28"/></link>).<underline></underline></para>
<fig id="F4-28" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-28">Figure <xref linkend="F4-28" remap="4.28"/></link></label>
<caption><para>DR Management&#x02014;DR Program&#x02014;New Action.</para></caption>
<graphic xlink:href="graphics/ch04_fig028.jpg"/>
</fig>
<para><emphasis>New DR Program</emphasis> button opens a pop-up where the user (Provider, Decision Maker, SuperUser) can insert a new DR program.</para>
<para>To insert, a DR program need the following fields:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>DR Program Name: mandatory</para></listitem>
<listitem>
<para>DR Type: consumption, thermostat mandatory</para></listitem>
<listitem>
<para>Energy Type: mandatory</para></listitem>
<listitem>
<para>Reward: not mandatory</para></listitem>
<listitem>
<para>Tips: not mandatory.</para></listitem></itemizedlist>
<para>Action button opens a pop-up in order to insert economic offer related to the DR program created. Save button saves the new DR program (<link linkend="F4-29">Figure <xref linkend="F4-29" remap="4.29"/></link>).</para>
<fig id="F4-29" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-29">Figure <xref linkend="F4-29" remap="4.29"/></link></label>
<caption><para>DR Management&#x02014;DR Program&#x02014;New DR Program button.</para></caption>
<graphic xlink:href="graphics/ch04_fig029.jpg"/>
</fig>
<para>With the <emphasis>Action</emphasis> button, the user (Provider, Decision Maker, SuperUser) can insert an action from this window filling the following fields:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Action: action to be performed to get the benefit, mandatory.</para></listitem>
<listitem>
<para>Action Operation: value action (below, above, etc.), mandatory.</para></listitem>
<listitem>
<para>Action Value: value of the action (numeric), mandatory.</para></listitem>
<listitem>
<para>Delete: delete icon allows to delete the current action.</para></listitem></itemizedlist>
<para>The <emphasis>New Action</emphasis> button adds a row to insert a new action. The <emphasis>Save Action</emphasis> button saves the new action inserted if the user saves the DR program (<link linkend="F4-30">Figure <xref linkend="F4-30" remap="4.30"/></link>).</para>
<fig id="F4-30" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-30">Figure <xref linkend="F4-30" remap="4.30"/></link></label>
<caption><para>DR Management&#x02014;DR Program&#x02014;New DR Program&#x02014;New Action.</para></caption>
<graphic xlink:href="graphics/ch04_fig030.jpg"/>
</fig>
</section>
<section class="lev3" id="sec4-3-5-2">
<title>4.3.5.2 Peaks monitoring</title>
<para>The peaks and DR monitoring allows the user to check the peaks generated if the energy production (response) is less than the energy consumption (demand). In this case, the user can try to resolve the problem using a suitable DR program. The peaks are calculated from the system or created manually from the user. It is possible to link a DR program with a peak. The fields showed in the &#x0201C;peaks and DR monitoring&#x0201D; list are the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Type: user or system, inform the user whether the peak is manual or inserted by the system.</para></listitem>
<listitem>
<para>City: city name where the peak should occur.</para></listitem>
<listitem>
<para>Energy Type: kind of peak energy (electricity, water, heating, etc.).</para></listitem>
<listitem>
<para>Start Time: start time of the peak.</para></listitem>
<listitem>
<para>End Time: end time of the peak.</para></listitem>
<listitem>
<para>DR Program: It is the DR program linked to the peak. The field presents a list of DR program stored in the database, by the system or by the user, and related to the energy type of the peak.</para></listitem>
<listitem>
<para>Status Icon: current peak status. It opens a pop-up with more information about peak status.</para></listitem>
<listitem>
<para>Notification Icon: It opens a window in order to create and manage the notifications to the customer for the DR program selected (<link linkend="F4-31">Figure <xref linkend="F4-31" remap="4.31"/></link>).</para></listitem></itemizedlist>
<fig id="F4-31" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-31">Figure <xref linkend="F4-31" remap="4.31"/></link></label>
<caption><para>DR Management&#x02014;Peaks and DR Monitoring.</para></caption>
<graphic xlink:href="graphics/ch04_fig031.jpg"/>
</fig>
<para><emphasis>Add New Peak</emphasis> button allows the user to insert a new peak (manual action) adding a row below the peak list (<link linkend="F4-32">Figure <xref linkend="F4-32" remap="4.32"/></link>).</para>
<fig id="F4-32" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-32">Figure <xref linkend="F4-32" remap="4.32"/></link></label>
<caption><para>DR Management&#x02014;Peak and DR Monitoring&#x02014;Add New Peak.</para></caption>
<graphic xlink:href="graphics/ch04_fig032.jpg"/>
</fig>
<para>The fields showed in the &#x0201C;Status Detail&#x0201D; list are the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Group: associated group.</para></listitem>
<listitem>
<para>Start Time: start time of the peak.</para></listitem>
<listitem>
<para>Expiration Time: expiration time of the peak.</para></listitem>
<listitem>
<para>Action Value: value of the action (numeric).</para></listitem>
<listitem>
<para>Action Operation: value action (below, above, etc.).</para></listitem>
<listitem>
<para>Installation ID: installation identifier.</para></listitem>
<listitem>
<para>Installation Name: name of the installation.</para></listitem>
<listitem>
<para>Results: results obtained (<link linkend="F4-33">Figure <xref linkend="F4-33" remap="4.33"/></link>).</para></listitem></itemizedlist>
<fig id="F4-33" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-33">Figure <xref linkend="F4-33" remap="4.33"/></link></label>
<caption><para>DR Management&#x02014;Peaks and DR Monitoring&#x02014;Status Detail.</para></caption>
<graphic xlink:href="graphics/ch04_fig033.jpg"/>
</fig>
<para>The fields showed in the &#x0201C;Notification List&#x0201D; are the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Group: customers for which the notification is applied.</para></listitem>
<listitem>
<para>Scheduled Time: scheduled time of the peak.</para></listitem>
<listitem>
<para>Start Time: start time of the peak.</para></listitem>
<listitem>
<para>Expiration Time: expiration time of the peak.</para></listitem>
<listitem>
<para>Action: action to be performed to get the benefit.</para></listitem>
<listitem>
<para>Action Value: value of the action (numeric).</para></listitem>
<listitem>
<para>Action Operation: value action (below, above, etc.).</para></listitem>
<listitem>
<para>Notification Status: status of the notification.</para></listitem>
<listitem>
<para>Results: results obtained.</para></listitem></itemizedlist>
<para><emphasis>Create new notification</emphasis> button allows the user to insert a new notification adding a row below the notification list. <emphasis>Save new notification</emphasis> button allows the user to save the new notification. <emphasis>Send notification to LDSS</emphasis> button allows the user to send to LDSS one or more notifications previously selected in the checkbox on the left side of the list. If the user does not send the notification manually, it will be sent anyway at scheduled time by the system (<link linkend="F4-34">Figure <xref linkend="F4-34" remap="4.34"/></link>).</para>
<fig id="F4-34" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-34">Figure <xref linkend="F4-34" remap="4.34"/></link></label>
<caption><para>DR Management&#x02014;Peaks and DR Monitoring&#x02014;Notification List.</para></caption>
<graphic xlink:href="graphics/ch04_fig034.jpg"/>
</fig>
</section>
</section>
<section class="lev2" id="sec4-3-6">
<title>4.3.6 Tariff</title>
<para>From toolbar by selecting tariff button, it is possible to manage the tariff plans and the tariff comparison according to the user profile.</para>
<section class="lev3" id="sec4-3-6-1">
<title>4.3.6.1 Tariff Plans</title>
<para><emphasis>Tariffs Plans</emphasis> manage the tariffs applied to the customers. It is possible to insert new tariff and manage data related to the dynamic tariffs.</para>
<para>Tariffs Plans list presents the following information:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>City: city name where tariff is applied.</para></listitem>
<listitem>
<para>Tariff Name: the name of the tariff.</para></listitem>
<listitem>
<para>Energy Type: energy type related to the tariffs plans.</para></listitem>
<listitem>
<para>Energy Unit: energy measure unit.</para></listitem>
<listitem>
<para>Currency: currency applied.</para></listitem>
<listitem>
<para>Group: customers for which the tariff is applied.</para></listitem>
<listitem>
<para>Creation Date: start range for which the tariff plan is applied.</para></listitem>
<listitem>
<para>Edit: the icon allows to change the tariff data.</para></listitem>
<listitem>
<para>Delete: icon to delete the tariff.</para></listitem></itemizedlist>
<para>XLS icon opens and/or prints the report of the tariff plan list.</para>
<para>The user can visualize the data applying a filter on each field (<link linkend="F4-35">Figure <xref linkend="F4-35" remap="4.35"/></link>).</para>
<fig id="F4-35" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-35">Figure <xref linkend="F4-35" remap="4.35"/></link></label>
<caption><para>Tariff&#x02014;Tariff Plans.</para></caption>
<graphic xlink:href="graphics/ch04_fig035.jpg"/>
</fig>
<para><emphasis>New Tariff Plan</emphasis> button opens a pop-up where the user (Provider, Decision Maker, SuperUser) can insert a new tariff plan.</para>
<para>The mandatory fields are the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>City: the city name where apply the tariff.</para></listitem>
<listitem>
<para>Tariff Name: the name of the tariff plan.</para></listitem>
<listitem>
<para>Group: customer group to whom the tariff plan should be applied.</para></listitem>
<listitem>
<para>Commodity: raw material.</para></listitem>
<listitem>
<para>Unit: measure unit.</para></listitem>
<listitem>
<para>Currency: the currency applied.</para></listitem></itemizedlist>
<para>For each tariff, the user can create a tariff plan composed of one or more level (for the dynamic tariff for each level, it is possible to select a time of validity).</para>
<para>The fields to insert for each level are the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>ID level: level identifier.</para></listitem>
<listitem>
<para>Level name: name of the level.</para></listitem>
<listitem>
<para>Start: validity start date of the tariff plan (dd/mm/yy).</para></listitem>
<listitem>
<para>End: validity end date of the tariff plan (dd/mm/yy).</para></listitem>
<listitem>
<para>allDay: as an alternative to the start date and end date.</para></listitem>
<listitem>
<para>Currency: the currency applied.</para></listitem>
<listitem>
<para>Cost: cost for unit measurement.</para></listitem>
<listitem>
<para>Edit icon: allows to change the tariff data.</para></listitem>
<listitem>
<para>Delete icon: deletes the row.</para></listitem></itemizedlist>
<para>The user can add new level click-on <emphasis>Add Level</emphasis> button that adds new line in the list. To save the tariff plan, the user can click-on <emphasis>Save Tariff</emphasis> button. XLS icon opens and/or prints the report of the tariff plan. On the base of the tariff applied, it will be possible to calculate the bill for each customer (<link linkend="F4-36">Figure <xref linkend="F4-36" remap="4.36"/></link>).</para>
<fig id="F4-36" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-36">Figure <xref linkend="F4-36" remap="4.36"/></link></label>
<caption><para>Tariff&#x02014;Tariff Plans&#x02014;New Tariff Button.</para></caption>
<graphic xlink:href="graphics/ch04_fig036.jpg"/>
</fig>
</section>
<section class="lev3" id="sec4-3-6-2">
<title>4.3.6.2 Tariff comparison</title>
<para>The tariff comparison shows a bar chart representing the comparison between some tariffs applied to the consumptions of the last year (<link linkend="F4-37">Figure <xref linkend="F4-37" remap="4.37"/></link>).</para>
<fig id="F4-37" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-37">Figure <xref linkend="F4-37" remap="4.37"/></link></label>
<caption><para>Tariff&#x02014;Tariff Comparison&#x02014;Consumption/Price Curve.</para></caption>
<graphic xlink:href="graphics/ch04_fig037.jpg"/>
</fig>
<para>In the bar chart, the x-axis represents the months of the year and the y-axis represents the costs applied.</para>
</section>
</section>
<section class="lev2" id="sec4-3-7">
<title>4.3.7 Diagnostic</title>
<para>From toolbar by selecting the <emphasis>Diagnostic</emphasis> button, it is possible to manage the DataFlow O&#x0FB04;ine and the technical losses according to the user profile.</para>
<section class="lev3" id="sec4-3-7-1">
<title>4.3.7.1 DataFlow O&#x0FB04;ine</title>
<para>DataFlow O&#x0FB04;ine shows the list of meters (ID Meters) which do not send information to the system from more than 24 hours. That information can be useful in order to verify the status of the meters.</para>
<para>The DataFlow O&#x0FB04;ine shows the data for the cities and energy type related to the user profile.</para>
<para>The DataFlow O&#x0FB04;ine table gives the following information:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>City: city name.</para></listitem>
<listitem>
<para>Building Name: address of the building or indication of building type (e.g., school, CHP Plant).</para></listitem>
<listitem>
<para>Installation Name: address of the building or indication of building type and floor or apartment number of the installation.</para></listitem>
<listitem>
<para>ID Meter: Id alphanumeric of the meter.</para></listitem>
<listitem>
<para>Data Last Measure: data of the last measure stored on the database.</para></listitem></itemizedlist>
<para>The user can visualize the data applying a filter on each field.</para>
<para>XLS icon opens and/or prints the report of the DataFlow O&#x0FB04;ine list (<link linkend="F4-38">Figure <xref linkend="F4-38" remap="4.38"/></link>).</para>
<fig id="F4-38" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-38">Figure <xref linkend="F4-38" remap="4.38"/></link></label>
<caption><para>Diagnostic&#x02014;DataFlow O&#x0FB04;ine.</para></caption>
<graphic xlink:href="graphics/ch04_fig038.jpg"/>
</fig>
</section>
<section class="lev3" id="sec4-3-7-2">
<title>4.3.7.2 Hot Water Technical Losses</title>
<para><emphasis>Hot Water Technical Losses</emphasis> is a loss of hot water in apartment buildings. It is the deviation calculated comparing the hot water provided to the entire building with hot water consumptions of each apartment of the building. The data of losses presented are described in the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>City: name of the city where the building is situated.</para></listitem>
<listitem>
<para>District: name of the district where the building is situated.</para></listitem>
<listitem>
<para>Building name: name of the building where the loss occurs.</para></listitem>
<listitem>
<para>Building address: address of the building where the loss occurs.</para></listitem>
<listitem>
<para>Building type: kind of the building (sport center, public building, residential building, etc.).</para></listitem>
<listitem>
<para>Date: date of the loss detection.</para></listitem>
<listitem>
<para>Building consumption: total building consumption.</para></listitem>
<listitem>
<para>Apartments consumption: total apartments consumption.</para></listitem>
<listitem>
<para>Deviation: Deviation in percentage calculated by the system (<link linkend="F4-39">Figure <xref linkend="F4-39" remap="4.39"/></link>).</para></listitem></itemizedlist>
<fig id="F4-39" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-39">Figure <xref linkend="F4-39" remap="4.39"/></link></label>
<caption><para>Diagnostic&#x02014;Technical Losses: Hot Water.</para></caption>
<graphic xlink:href="graphics/ch04_fig039.jpg"/>
</fig>
</section>
<section class="lev3" id="sec4-3-7-3">
<title>4.3.7.3 Heating Technical Losses</title>
<para><emphasis>Heating Technical Losses</emphasis> is a loss of heating in apartment buildings. It is the deviation calculated comparing the heating provided to the entire building with heating consumptions of each apartment of the building.</para>
<para>The data of losses presented are described in the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>City: name of the city where the building is situated.</para></listitem>
<listitem>
<para>District: name of the district where the building is situated.</para></listitem>
<listitem>
<para>Building name: name of the building where the loss occurs.</para></listitem>
<listitem>
<para>Building address: address of the building where the loss occurs.</para></listitem>
<listitem>
<para>Building type: kind of the building (sport center, public building, residential building, etc.).</para></listitem>
<listitem>
<para>Date: date of the loss detection.</para></listitem>
<listitem>
<para>Building consumption: total building consumption.</para></listitem>
<listitem>
<para>Apartments consumption: total apartments consumption.</para></listitem>
<listitem>
<para>Deviation: deviation in percentage calculated by the system (<link linkend="F4-40">Figure <xref linkend="F4-40" remap="4.40"/></link>).</para></listitem></itemizedlist>
<fig id="F4-40" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-40">Figure <xref linkend="F4-40" remap="4.40"/></link></label>
<caption><para>Diagnostic&#x02014;Technical Losses: Heating.</para></caption>
<graphic xlink:href="graphics/ch04_fig040.jpg"/>
</fig>
</section>
</section>
<section class="lev2" id="sec4-3-8">
<title>4.3.8 Weather Forecast</title>
<para>From the toolbar by selecting <emphasis>Weather Forecast</emphasis> button, it is possible to see the weather information related to the city of interest (<link linkend="F4-41">Figure <xref linkend="F4-41" remap="4.41"/></link>).</para>
<fig id="F4-41" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-41">Figure <xref linkend="F4-41" remap="4.41"/></link></label>
<caption><para>Weather Forecast.</para></caption>
<graphic xlink:href="graphics/ch04_fig041.jpg"/>
</fig>
</section>
<section class="lev2" id="sec4-3-9">
<title>4.3.9 User</title>
<para>From the toolbar by selecting <emphasis>User</emphasis> button, it is possible to manage the user login and logout according to the user profile. A pop-up is shown containing all the information on the current user; it is possible to logout with the user, clicking on the icon on the upper right corner (<link linkend="F4-42">Figure <xref linkend="F4-42" remap="4.42"/></link>).</para>
<fig id="F4-42" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-42">Figure <xref linkend="F4-42" remap="4.42"/></link></label>
<caption><para>User&#x02014;User Information Pop-up.</para></caption>
<graphic xlink:href="graphics/ch04_fig042.jpg"/>
</fig>
</section>
<section class="lev2" id="sec4-3-10">
<title>4.3.10 Configuration</title>
<para>The <emphasis>Configuration</emphasis> button of the toolbar manages the console and the controls according to the user profile.</para>
<section class="lev3" id="sec4-3-10-1">
<title>4.3.10.1 Console</title>
<para>The <emphasis>Console</emphasis> window manages the iURBAN console adding, modifying, or deleting a button on the toolbar (<link linkend="F4-43">Figure <xref linkend="F4-43" remap="4.43"/></link>).</para>
<fig id="F4-43" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-43">Figure <xref linkend="F4-43" remap="4.43"/></link></label>
<caption><para>Configuration&#x02014;Console.</para></caption>
<graphic xlink:href="graphics/ch04_fig043.jpg"/>
</fig>
<para>Clicking on the <emphasis>button name</emphasis>, listed on the left of the window, all the information related to it will be showed on the right. It is possible to modify or delete it (<link linkend="F4-44">Figure <xref linkend="F4-44" remap="4.44"/></link>).</para>
<fig id="F4-44" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-44">Figure <xref linkend="F4-44" remap="4.44"/></link></label>
<caption><para>Configuration&#x02014;Console&#x02014;Button Configuration.</para></caption>
<graphic xlink:href="graphics/ch04_fig044.jpg"/>
</fig>
<para>Selecting <emphasis>New Button</emphasis>, the fields to be filled to insert a new button will be presented on the right of the window (<link linkend="F4-45">Figure <xref linkend="F4-45" remap="4.45"/></link>).</para>
<fig id="F4-45" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-45">Figure <xref linkend="F4-45" remap="4.45"/></link></label>
<caption><para>Configuration&#x02014;Console&#x02014;New Button.</para></caption>
<graphic xlink:href="graphics/ch04_fig045.jpg"/>
</fig>
</section>
<section class="lev3" id="sec4-3-10-2">
<title>4.3.10.2 Controls</title>
<para>From the <emphasis>Controls</emphasis> window, it is possible to add, modify, or delete the iURBAN Controls (<link linkend="F4-46">Figure <xref linkend="F4-46" remap="4.46"/></link>).</para>
<fig id="F4-46" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-46">Figure <xref linkend="F4-46" remap="4.46"/></link></label>
<caption><para>Configuration&#x02014;Controls.</para></caption>
<graphic xlink:href="graphics/ch04_fig046.jpg"/>
</fig>
<para>Clicking on the control name, listed on the left of the window, all the information related to it will be showed on the right (<link linkend="F4-47">Figure <xref linkend="F4-47" remap="4.47"/></link>).</para>
<fig id="F4-47" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F4-47">Figure <xref linkend="F4-47" remap="4.47"/></link></label>
<caption><para>Configuration&#x02014;Controls&#x02014;Control Data.</para></caption>
<graphic xlink:href="graphics/ch04_fig047.jpg"/>
</fig>
</section>
</section></section>
<section class="lev1" id="sec4-4">
<title>4.4 Conclusion</title>
<para>The CDSS aggregates data from all LDSSs to provide city-level decision support to authorities and energy service providers. The CDSS generates a number of parameters, including citywide energy production and consumption forecasts. CDSS allows the users to do the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Get a continuous snapshot of city energy consumption and production;</para></listitem>
<listitem>
<para>Manage energy consumption and production;</para></listitem>
<listitem>
<para>Forecast energy consumption;</para></listitem>
<listitem>
<para>Plan new energy &#x0201C;producers&#x0201D; for the future needs of the city;</para></listitem>
<listitem>
<para>Visualize, analyze, and take decisions of all the end points that are consuming or producing energy in a city level, permitting them to forecast and planning renewable power generation available in the city, a real-time optimization and being perfectly scalable (meaning its ability to be enlarged to accommodate that growth of data).</para></listitem></itemizedlist>
<para>Analyzing the results gathered in the two pilots of iURBAN project, we can say that the user interface and the interaction paradigm implemented for CDSS are really innovative compared with the systems that usually people from energy utilities and municipalities are used to work with. However, the functionalities and the data reports provided by CDSS must be improved in order to cover all the needs of the users from energy utilities and municipalities. The architecture of CDSS will allow us to easily extend it with new features following the new requirements indicated from the users.</para>
</section>
</chapter>
<chapter class="chapter" id="ch05" label="5" xreflabel="5">
<title>iURBAN LDSS</title>
<para role="author"><emphasis role="strong">Alberto Fernandez</emphasis></para>
<para>Sensing &#x00026; Control, Barcelona, Spain</para>
<para><emphasis role="strong">Abstract</emphasis></para>
<para>This chapter provides an overview of the iURBAN graphical user interface developed targeting households. Provides a summary of functions supported and its corresponding interface.</para>
<para><emphasis role="strong">Keywords:</emphasis> Smart home, Graphical user interface, Energy management, Energy visualization, Demand response, Notifications, Messaging, iOS, Android</para>
<section class="lev1" id="sec5-1">
<title>5.1 Introduction</title>
<para>The local decision support system component of iURBAN, called LDSS, is responsible to deliver a set of functions to households. It is composed by a back end and front end based on Web and mobile phone-based GUI. <link linkend="F5-1">Figure <xref linkend="F5-1" remap="5.1"/></link> shows the component in relation to the Smart City Database (SCDB) and the centralized decision support system (CDSS).</para>
<fig id="F5-1" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F5-1">Figure <xref linkend="F5-1" remap="5.1"/></link></label>
<caption><para>LDSS component and its relations.</para></caption>
<graphic xlink:href="graphics/ch05_fig001.jpg"/>
</fig>
<para>LDSS main goal is to engage consumers and prosumers on the efficient use of energy. The engagement is based on data, captured in near real-time, related to their energy consumption, as well as energy production from their installed distributed energy resources (DER). The engagement is target throughout a user-friendly interface using every-day-use devices such as smartphones, tablets, and PCs. The LDSS is the main tool connecting households with their energy footprint and energy services. LDSS is built on the goal to offer a complete set of smart home functionalities grouped in four main blocks:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Comfort</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Climate control</para></listitem>
<listitem>
<para>Comfort levels (temperature, humidity, and luminance)</para></listitem>
<listitem>
<para>Air quality</para></listitem></itemizedlist>
</listitem>
<listitem>
<para>Energy management</para></listitem>
<listitem>
<para>Security</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Smoke, carbon oxide (CO), flood detection</para></listitem>
<listitem>
<para>Movement detectors</para></listitem>
<listitem>
<para>Magnetic detectors (for doors, windows)</para></listitem>
<listitem>
<para>Arm and disarm function</para></listitem></itemizedlist>
</listitem>
<listitem>
<para>Automation</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Lights</para></listitem>
<listitem>
<para>Smart plugs</para></listitem>
<listitem>
<para>Thermostats</para></listitem></itemizedlist>
</listitem></itemizedlist>
<para>iURBAN LDSS user installations provide data through a set of sensors and actuators based on Z-wave and wireless MBUS pulse reader off-the-shelve products and/or smart meters. The interface can be configured so the user can jump directly to energy information in case they do not have installed other devices than the smart meter (i.e., they do not have smart home enabled functionalities).With regard to energy management, the following features are offered:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Visualization and exploration of energy consumed and produced</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Historical data</para></listitem>
<listitem>
<para>Real-time data</para></listitem>
<listitem>
<para>Comparison</para></listitem>
<listitem>
<para>Export</para></listitem></itemizedlist>
</listitem>
<listitem>
<para>Visualization of energy consumption and production prediction</para></listitem>
<listitem>
<para>Energy visualized</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Electricity, gas, water, and heating</para></listitem></itemizedlist>
</listitem>
<listitem>
<para>Categorization of electricity consumption by means of retrofitting</para></listitem>
<listitem>
<para>User engagement</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Tips</para></listitem>
<listitem>
<para>Energy consumption/production comparison with neighborhood.</para></listitem>
<listitem>
<para>Personalized messages</para></listitem>
<listitem>
<para>Rewards</para></listitem></itemizedlist>
</listitem>
<listitem>
<para>Weather forecast</para></listitem>
<listitem>
<para>Demand response</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Heating</para></listitem>
<listitem>
<para>Electricity</para></listitem></itemizedlist>
</listitem></itemizedlist>
</section>
<section class="lev1" id="sec5-2">
<title>5.2 Graphical User Interface</title>
<para>As the main tool to engage households on energy efficiency, LDSS is responsible for combining energy consumption and production visualization with user engagement.</para>
<para>The graphical design took into account different user levels of interest in relation with energy consumption/production and energy efficiency. At outer level, the tool visualizes information using a simple red/yellow/green color scheme. Red color is used when over consumption or inefficient consumption is detected by the artificial intelligence modules of iURBAN; on the opposite, green color is used to inform users&#x02019; good efficiency on energy consumption if achieved at their home.</para>
<para>From the outer level, the user can dig down on to obtain detailed information about the consumptions/production and forecast, for instance, is able to plot energy consumption/production per hour/day/week/month basis, or even raw data captured by smart meters. The rich set of features associated with energy exploration makes the LDSS a powerful tool to explore and understand the reasons of the energy consumed/produced at home.</para>
<para>LDSS has been also developed taking into account needs of service providers (utilities, energy retailers, telecommunication companies, security companies, facility managers, etc.). LDSS brings a powerful mechanism for them to communicate with clients. Initially target to issue tips to improve energy efficiency, however the mechanism can be extended to send personalized messages to each client. This communication mechanism helps service provider to keep customer loyalty.</para>
<para>Enabling the development of new energy services is easy through the infrastructure provided by iURBAN and the LDSS. LDSS provides an example of new energy services as a way to prove it. The service that has been implemented is demand response programs for climate control and electricity consumption.</para>
<para>LDSS, through different means of communication channels such as SMS, e-mail, and push notifications to iOS and Android devices, allows service provider to notify demand response actions to their customers. Upon reception, LDSS user can modify thermostat settings and energy consumption to achieve the requests. Current LDSS version does not support automatic settings of smart plugs nor climate controllers, due to the context of execution of the pilots; however, automatization at this level can be achieved with extremely low effort. Specific user interfaces have been developing providing users about the benefits of achievement of the demand response as well as how to achieve it.</para>
<para>LDSS has been designed targeting Web and smartphone access. In case of Web interface, LDSS has been designed using the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>ASP.NET MVC. <footnote id="fn5_1" label="1"> <para>http://www.asp.net/mvc.</para></footnote> The Web server has been deployed in Azure Web Sites. <footnote id="fn5_2" label="2"> <para>https://msdn.microsoft.com/en-us/magazine/jj883953.aspx.</para></footnote></para></listitem></itemizedlist>
<para>In case of smartphone, LDSS has been designed for the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Android API version 16 or above.</para></listitem>
<listitem>
<para>iOS 7.0 or above.</para></listitem></itemizedlist>
<section class="lev2" id="sec5-2-1">
<title>5.2.1 Main Graphical User Interface Functionalities</title>
<para>Within this section, the LDSS graphical user interface is explained. The next figures are based on the Web interface, but the reader should take into account that the same principles apply for iOS and Android apps, so the user is finding the same functions and visualizations in the entire ecosystem of visualization.</para>
<para>The service is accessible at https://ServiceURL/Account/Login as shown in <link linkend="F5-2">Figure <xref linkend="F5-2" remap="5.2"/></link>.</para>
<fig id="F5-2" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F5-2">Figure <xref linkend="F5-2" remap="5.2"/></link></label>
<caption><para>Access to LDSS GUI.</para></caption>
<graphic xlink:href="graphics/ch05_fig002.jpg"/>
</fig>
<para>The graphical user interface has been designed to be very simple and friendly. Special effort has been done to represent energy consumption (and production when available) to LDSS users.</para>
<para>Energy information is shown divided into three periods of time by default: (i) day, (ii) week, and (iii) month as shown in <link linkend="F5-3">Figure <xref linkend="F5-3" remap="5.3"/></link>(b). If user is interested in other means of energy exploration, the interface allows them to select different periods of time.</para>
<para>Energy information is shown for the four types of energy being provided by iURBAN utilities and energy agencies: (i) electricity, (ii) heating, (iii) gas, and (iv) water as shown in <link linkend="F5-3">Figure <xref linkend="F5-3" remap="5.3"/></link>(a).</para>
<fig id="F5-3" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F5-3">Figure <xref linkend="F5-3" remap="5.3"/></link></label>
<caption><para>Energy visualization in iURBAN&#x02014;(a) types and (b) default periods.</para></caption>
<graphic xlink:href="graphics/ch05_figure5.3.a.jpg"/>
</fig>
<para>Concepts of user engagement have been introduced in the GUI, as shown in <link linkend="F5-3">Figure <xref linkend="F5-3" remap="5.3"/></link>(b), where energy tips and energy consumption efficiency based on trees achieved is shown.</para>
<para>Personalized messages can be sent every time the operator wishes, or can be scheduled over a period of time. Messages can be persistent or can be shown only during a few seconds. This provides a really powerful tool for communication between utility and their customers. <link linkend="F5-4">Figure <xref linkend="F5-4" remap="5.4"/></link> shows an example.</para>
<fig id="F5-4" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F5-4">Figure <xref linkend="F5-4" remap="5.4"/></link></label>
<caption><para>Personalized message.</para></caption>
<graphic xlink:href="graphics/ch05_figure5.4.jpg"/>
</fig>
<para>The comparison between LDSS users will be performed using a concept called <emphasis>Green Rewards</emphasis>, represented with a tree. An average of the <emphasis>Green Rewards</emphasis> in all the installations included in the iURBAN pilots is performed to show LDSS end users how close are they with regard to the average (in the GUI named <emphasis>neighbors</emphasis>). User can know which day the tree was awarded by clicking a tree as shown in <link linkend="F5-5">Figure <xref linkend="F5-5" remap="5.5"/></link>.</para>
<fig id="F5-5" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F5-5">Figure <xref linkend="F5-5" remap="5.5"/></link></label>
<caption><para>Tree award by day.</para></caption>
<graphic xlink:href="graphics/ch05_figure5.5.jpg"/>
</fig>
<para>Energy consumption and production predictions (for gas, water, and heating) have been also integrated into the user interface. This information is shown to users at the same level of real smart meter data as shown in <link linkend="F5-6">Figure <xref linkend="F5-6" remap="5.6"/></link>, where (a) shows the prediction of electricity consumption at the end of the day, while (b) and (c) provide the prediction of consumption by hours and days, respectively, superimposed with real consumption.</para>
<fig id="F5-6" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F5-6">Figure <xref linkend="F5-6" remap="5.6"/></link></label>
<caption><para>Energy visualization of energy consumption and energy prediction in iURBAN&#x02014;(a) consumption up to given time of the day, and prediction for the end of the day, (b) detail of electricity consumption and prediction by hours, and (c) detail of electricity consumption and production by days.</para></caption>
<graphic xlink:href="graphics/ch05_figure5.6.a.jpg"/>
<para>(a)</para>
<graphic xlink:href="graphics/ch05_figure5.6.b.jpg"/>
<para>(b)</para>
<graphic xlink:href="graphics/ch05_figure5.6.c.jpg"/>
<para>(c)</para>
</fig>
<para>Users producing energy will be able to visualize the production in the same view as is shown energy consumption. So they will find production and consumption summary in a single view as shown in <link linkend="F5-7">Figure <xref linkend="F5-7" remap="5.7"/></link>.</para>
<fig id="F5-7" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F5-7">Figure <xref linkend="F5-7" remap="5.7"/></link></label>
<caption><para>Energy visualization of energy consumption and energy prediction in iURBAN&#x02014; (a) consumption and production summary, including predictions, (b) graphical view of week day.</para></caption>
<graphic xlink:href="graphics/ch05_figure5.7.a.jpg"/>
<para>(a)</para>
<graphic xlink:href="graphics/ch05_figure5.7.b.jpg"/>
<para>(b)</para>
</fig>
<para>As previously commented, iURBAN deals with different types of energy besides electricity; <link linkend="F5-8">Figure <xref linkend="F5-8" remap="5.8"/></link> shows screen captures for heating and water consumption.</para>
<fig id="F5-8" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F5-8">Figure <xref linkend="F5-8" remap="5.8"/></link></label>
<caption><para>(a) Heating and (b) water consumption visualization in iURBAN.</para></caption>
<graphic xlink:href="graphics/ch05_figure5.8.a.jpg"/>
<para>(b)</para>
<graphic xlink:href="graphics/ch05_figure5.8.b.jpg"/>
<para>(b)</para>
</fig>
<para>In Plovdiv, some buildings use district heating as main source of heat to keep the living place warm during winter. For the households within these buildings, the LDSS has incorporated a representation of the energy consumed which is associated with district heating: (i) heat energy, (ii) hot water, and (iii) losses, in order to enable consumption analysis by the owners of the installations. <link linkend="F5-9">Figure <xref linkend="F5-9" remap="5.9"/></link> provides an example of an installation.</para>
<fig id="F5-9" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F5-9">Figure <xref linkend="F5-9" remap="5.9"/></link></label>
<caption><para>District heating energy consumption view.</para></caption>
<graphic xlink:href="graphics/ch05_figure5.9.a.jpg"/>
<para>(a)</para>
<graphic xlink:href="graphics/ch05_figure5.9.a.jpg"/>
<para>(b)</para>
</fig>
<para>The demand response has been introduced in the LDSS by means of two different views: (i) notifications (electricity and heating) and (ii) demand response action request.</para>
<para>The notification arrives each time CDSS sent a demand response action to a given installation. It provides information about the type of demand response and a link of the information related to it. <link linkend="F5-10">Figure <xref linkend="F5-10" remap="5.10"/></link> shows demand response notification for the electricity and heating.</para>
<fig id="F5-10" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F5-10">Figure <xref linkend="F5-10" remap="5.10"/></link></label>
<caption><para>Demand response notifications view.</para></caption>
<graphic xlink:href="graphics/ch05_figure5.10.jpg"/>
</fig>
<para>From notifications view, the user can get further information about the demand response requests. <link linkend="F5-10">Figure <xref linkend="F5-10" remap="5.10"/></link> shows screen captures for the two types. While consumption DR is informative, the thermostat demand response action needs agreement by end user in order to allow LDSS to modify thermostat settings.</para>
<para>Thermostat DR is enabled through the smart home using Z-WAVE thermostats. Upon agreement from customer, the settings to the thermostat are set (i.e., fix thermostat target temperature) by means of scheduled action at a given time.</para>
<para>When a DR action is achieved, the user is informed by means of a notification. At any time, the user can review its achievements (coin icon in <link linkend="F5-11">Figure <xref linkend="F5-11" remap="5.11"/></link>), in comparison with the energy consumed and the trees awarded. The user can review the historical achievements as shown in <link linkend="F5-12">Figure <xref linkend="F5-12" remap="5.12"/></link>.</para>
<fig id="F5-11" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F5-11">Figure <xref linkend="F5-11" remap="5.11"/></link></label>
<caption><para>Demand response information for (a) consumption demand response and (b) thermostat demand response.</para></caption>
<graphic xlink:href="graphics/ch05_figure5.11.a.jpg"/>
<para>(a)</para>
<graphic xlink:href="graphics/ch05_figure5.11.a.jpg"/>
<para>(b)</para>
</fig>
<fig id="F5-12" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F5-12">Figure <xref linkend="F5-12" remap="5.12"/></link></label>
<caption><para>Demand response achievements.</para></caption>
<graphic xlink:href="graphics/ch05_figure5.12.jpg"/>
</fig>
<para>LDSS provides tools to end users to manage Z-wave devices at home. A graphical management interface has been developed in order to provide easy understanding process. Users are able to manage their installation, such as adding new devices to smart home, configuring them, and knowing its status just to provide few examples as shown in <link linkend="F5-13">Figure <xref linkend="F5-13" remap="5.13"/></link>.</para>
<fig id="F5-13" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F5-13">Figure <xref linkend="F5-13" remap="5.13"/></link></label>
<caption><para>Z-wave devices management and status views&#x02014;(b) general control, (a) device status, and (c) security device status.</para></caption>
<graphic xlink:href="graphics/ch05_figure5.13.a.jpg"/>
<para>(a)</para>
<graphic xlink:href="graphics/ch05_figure5.13.b.jpg"/>
<para>(b)</para>
</fig>
<para>As pointed out before, LDSS is also provided by means of Android and iOS app. The app comes with same functionalities as in the Web interface, with the exception of administration functions, which are not included. One of the main complements with respect to the Web interface is the real-time notifications by using the push channels of the smartphones, thus making more usable by the end users, especially for the purpose of demand response.</para>
<para><link linkend="F5-14">Figures <xref linkend="F5-14" remap="5.14"/></link> show a screen capture from iPhone.</para>
<fig id="F5-14" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F5-14">Figure <xref linkend="F5-14" remap="5.14"/></link></label>
<caption><para>Captures from iPhone interface.</para></caption>
<graphic xlink:href="graphics/ch05_figure5.14.a.jpg"/>
<para>(a)</para>
<graphic xlink:href="graphics/ch05_figure5.14.b.jpg"/>
<para>(b)</para>
<graphic xlink:href="graphics/ch05_figure5.14.c.jpg"/>
<para>(c)</para>
</fig>
</section>
</section>
<section class="lev1" id="sec5-3">
<title>5.3 Conclusion</title>
<para>LDSS is a tool target to households and embraces visualization of energy data and engagement functions to foster knowledge on the way energy is consumed and promote energy aware habits.</para>
<para>It has been designed with the help of end users, as they have taken active part during the development of the graphical user interface. We believe this exercise increased the chances to succeed in the acceptance of the final solution by end users, particularly to understand what it is important for them and what is not.</para>
<para>LDSS has been designed as Web interface, but Android and iOS apps have also been developed; in particular, the push notifications offered by the smartphones were extremely useful to drive demand response programs and communication with users more friendly.</para>
<para>The combination of energy information (from the utilities) and the capabilities of smart home of the LDSS have been reported as key for end users to install in their homes, especially the security and remote control of home heating system.</para>
</section>
</chapter>

<chapter class="chapter" id="ch06" label="6" xreflabel="6">
<title>Virtual Power Plant</title>
<para role="author"><emphasis role="strong">Mike Oates and Aidan Melia</emphasis></para>
<para>Integrated Environmental Solutions, Glasgow, UK</para>
<para><emphasis role="strong">Abstract</emphasis></para>
<para>In the context of this chapter the virtual power plant (VPP) is considered as a high level design tool based upon load aggregation of near real-time metered energy demand and generation data at building/apartment levels.</para>
<para>Target users, city planners and utility companies, will be able to use the VPP to gain an understanding of energy demand/generation at user defined and selected levels of interest ranging from high level city planning to the selection of individual buildings or user defined energy networks and so on. &#x2018;What if&#x2019; scenarios aid in future development and planning of cities.</para>
<para>This chapter outlines development and integration of the VPP within the iURBAN ICT architecture. Content is also provided on the VPP; graphical user interface, calculation engine and application via case studies taken from the iURBAN project.</para>
<para><emphasis role="strong">Keywords:</emphasis> Virtual power plant, Central decision support system, iURBAN ICT architecture, City model, High level city planning, Distributed energy resources</para>
<section class="lev1" id="sec6-1">
<title>6.1 Introduction</title>
<para>This chapter outlines the development work required for the virtual power plant (VPP) as part of the iURBAN [<link linkend="bib6-1">1</link>] project.<!--br /--></para>
<para><emphasis>What is a VPP?</emphasis><!--br /--></para>
<para>There are numerous definitions for a virtual power plant. Below are a few examples:</para>
<blockquote>
<para><emphasis>&#x0201C;a VPP is a system that relies upon software and a smart grid to remotely and automatically dispatch and optimize Distributed Energy Resources (DER)s via an aggregation and optimization platform linking retail to wholesale markets.&#x0201D;</emphasis> [<link linkend="bib6-2">2</link>]</para>
<para><emphasis>&#x0201C;a VPP as a system that integrates several types of power sources, (such as micro combined, heat and power (CHP), wind-turbines, small hydro, photovoltaics (PV), back-up generators, batteries etc.) so as to give a reliable overall power supply.&#x0201D;</emphasis> [<link linkend="bib6-3">3</link>]</para>
</blockquote>
<para>Further definitions can be found at [4, 5].</para>
<para>It is reported that due to increased activity in smart meter installations and other smart grid technologies, as well as challenges in balancing variable renewable generation on the grid, it is reported that total annual VPP vendor revenue will grow from $1.1 billion in 2014 to $5.3 billion in 2023 [<link linkend="bib6-6">6</link>].</para>
</section>
<section class="lev1" id="sec6-2">
<title>6.2 Virtual Power Plant in iURBAN</title>
<para>In the context of the iURBAN project, it was agreed that the VPP should not follow that of detailed network modeling software available on the current market, such as GridLAB-D<superscript>TM</superscript> [<link linkend="bib6-7">7</link>]. The VPP is developed as a high-level design tool. The modeling approach of the VPP is based upon load aggregation of near real-time metered energy demand and generation data and modeling of electricity and heat generation at building/apartment and district level. City planners and utility companies will be able to undertake VPP analysis to gain an understanding of energy demand and generation and the associated costs at selected levels of interest, ranging from high-level city planning to the selection of individual buildings or user-defined energy networks.</para>
<para><link linkend="F6-1">Figure <xref linkend="F6-1" remap="6.1"/></link> gives a simplified overview of the iURBAN information and communications technology (ICT) architecture. The broader overview of <link linkend="F6-1">Figure <xref linkend="F6-1" remap="6.1"/></link> iURBAN ICT architecture includes components that combine to form the SMART urban decision support system (smartDSS) developed by the project.</para>
<fig id="F6-1" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F6-1">Figure <xref linkend="F6-1" remap="6.1"/></link></label>
<caption><para>iURBAN ICT architecture&#x02014;CDSS/VPP relationship diagram.</para></caption>
<graphic xlink:href="graphics/ch06_fig001.jpg"/>
</fig>
<section class="lev2" id="sec6-2-1">
<title>6.2.1 smartDSS</title>
<para>The smartDSS consists of the following components (some of which have been described in other chapters):</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Local decision support system graphical user interface (LDSS GUI),</para></listitem>
<listitem>
<para>LDSS part of the Smart City Database (SCDB-LDSS),</para></listitem>
<listitem>
<para>Smart City Prediction Algorithms (SCPA),</para></listitem>
<listitem>
<para>Meteorological data parsed from weather analytics (WA) [<link linkend="bib6-8">8</link>].</para></listitem>
<listitem>
<para>Central decision support system graphical user interface (CDSS GUI).</para></listitem>
<listitem>
<para>CDSS part of the Smart City Database (SCDB-CDSS).</para></listitem>
<listitem>
<para>VPP.</para></listitem></itemizedlist>
</section>
<section class="lev2" id="sec6-2-2">
<title>6.2.2 LDSS</title>
<para>A brief summary of the local decision support system (LDSS) is included for clarity. Within iURBAN, the LDSS GUI is a tool used by occupants of private buildings, apartments, and public municipality buildings such as kindergartens (schools), offices, and leisure centers.</para>
<para>Demand and generation metered data from buildings within the iURBAN demonstrations cities is parsed to the LDSS part of the SCDB-LDSS. These data along with meteorological data from WA are parsed to the SCPA. The SCPA component performs analysis on the data and generates forecast demand and generation data up to 72 hours ahead, which is stored in the SCDB-LDSS. The LDSS GUI primary focus is to educate users on how and where energy is being consumed with a view to encouraging users to make savings, energy, and monetary, and reduce greenhouse gas emissions. The LDSS GUI also includes demand response (DR) actions.</para>
</section>
<section class="lev2" id="sec6-2-3">
<title>6.2.3 CDSS</title>
<para>A brief summary of the central decision support system (CDSS) is included for clarity. The CDSS GUI is a tool used by utilities and municipalities. The CDSS GUI enables users to view metered data at a city scale and focused areas of interest such as district and neighborhood level, to make informed decisions on high-level planning.</para>
<para>There is an application program interface (API) layer that exists between the SCDB-LDSS and the SCDB-CDSS. This API parses stored metered and forecast data from the SCDB-LDSS to the SCDB-CDSS. The SCDB-CDSS and CDSS-GUI are both developed by the iURBAN partner Vitrociset [<link linkend="bib6-9">9</link>].</para>
</section>
<section class="lev2" id="sec6-2-4">
<title>6.2.4 VPP</title>
<para>The VPP, developed by IES [<link linkend="bib6-10">10</link>], is a back end calculation engine to the CDSS GUI which acts as a front end to the VPP. The VPP is parsed, via an API layer, city model data stored on the CDSS part of the Smart City Database (SCDB-CDSS). The VPP writes the results of the calculations back to the SCDB-CDSS for access by the CDSS GUI.</para>
</section>
</section>
<section class="lev1" id="sec6-3">
<title>6.3 User Interface</title>
<para>As discussed, the CDSS GUI acts as the front end to the VPP calculation engine. <link linkend="F6-2">Figures <xref linkend="F6-2" remap="6.2"/></link>&#x02013;<link linkend="F6-6"><xref linkend="F6-6" remap="6.6"/></link> are screenshots of the CDSS GUI focusing on VPP functionality.</para>
<para>City models (explanation given within the following section) are created by CDSS GUI users. <link linkend="F6-2">Figure <xref linkend="F6-2" remap="6.2"/></link> gives an example of saved city models stored on the SCDB-CDSS.</para>
<fig id="F6-2" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F6-2">Figure <xref linkend="F6-2" remap="6.2"/></link></label>
<caption><para>CDSS GUI&#x02014;city model list.</para></caption>
<graphic xlink:href="graphics/ch06_fig002.jpg"/>
</fig>
<para>CDSS GUI users can create a new city model by clicking on the &#x0201C;New City Model&#x0201D; button, as shown in <link linkend="F6-2">Figure <xref linkend="F6-2" remap="6.2"/></link>. Upon clicking the button, a blank &#x0201C;City Model&#x0201D; screen appears, refer to <link linkend="F6-3">Figure <xref linkend="F6-3" remap="6.3"/></link>. Users can create city models for both Plovdiv and Rijeka. As explained within the below section, users define electricity and heating networks by creating network models consisting of site data, commodities, buildings, nodes, and installations.</para>
<fig id="F6-3" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F6-3">Figure <xref linkend="F6-3" remap="6.3"/></link></label>
<caption><para>CDSS GUI&#x02014;create city model.</para></caption>
<graphic xlink:href="graphics/ch06_fig003.jpg"/>
</fig>
<fig id="F6-4" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F6-4">Figure <xref linkend="F6-4" remap="6.4"/></link></label>
<caption><para>CDSS GUI&#x02014;example city model.</para></caption>
<graphic xlink:href="graphics/ch06_fig004.jpg"/>
</fig>
<fig id="F6-5" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F6-5">Figure <xref linkend="F6-5" remap="6.5"/></link></label>
<caption><para>CDSS GUI&#x02014;VPP run settings.</para></caption>
<graphic xlink:href="graphics/ch06_fig005.jpg"/>
</fig>
<fig id="F6-6" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F6-6">Figure <xref linkend="F6-6" remap="6.6"/></link></label>
<caption><para>CDSS GUI&#x02014;VPP simulation list.</para></caption>
<graphic xlink:href="graphics/ch06_fig006.jpg"/>
</fig>
<para>An example of a simple city model is given within <link linkend="F6-4">Figure <xref linkend="F6-4" remap="6.4"/></link> and consists of the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Name: CityModel2</para></listitem>
<listitem>
<para>City: Rijeka</para></listitem>
<listitem>
<para>Site data: Lat. = 40, Long. = 13</para></listitem>
<listitem>
<para>Commodities: Electricity commodity account</para></listitem>
<listitem>
<para>Buildings: Buildings 1&#x02013;4 (names removed)</para></listitem>
<listitem>
<para>Nodes: Electricity root node (ELE1)</para></listitem>
<listitem>
<para>Installations: None, baseline &#x0201C;as is&#x0201D; model.</para></listitem></itemizedlist>
<para><link linkend="F6-4">Figure <xref linkend="F6-4" remap="6.4"/></link> represents an &#x0201C;as is&#x0201D; city model, refer to explanation given within the following section.</para>
<para><link linkend="F6-5">Figure <xref linkend="F6-5" remap="6.5"/></link> illustrates parameters required to enact a VPP simulation run. Users select the city model of interest, type of analysis, start/end dates, step, and time interval. XML files, consisting of city model and VPP simulation run parameters, are parsed to the VPP engine. Metered data resides behind selected buildings of interest and are a driver for VPP calculations.</para>
<para>An example list of VPP simulation runs is shown in <link linkend="F6-6">Figure <xref linkend="F6-6" remap="6.6"/></link>. The CDSS GUI provides a status update. Results can be viewed or downloaded for further analysis.</para>
<para>The above process is repeated to create &#x0201C;what if&#x0201D; variants of the &#x0201C;as is&#x0201D; city model, refer explanation given within the following section.</para>
</section>
<section class="lev1" id="sec6-4">
<title>6.4 City Models</title>
<para>The CDSS GUI enables users to create different models for different purposes such as modeling regions of a city, types of building, energy supply and management technologies, or degrees of modeling detail appropriate to particular tasks.</para>
<para>In addition, city models managed by the CDSS GUI user are conceptually divided into two categories:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>&#x0201C;as is&#x0201D;&#x02014;city models representing the structures and consumption patterns currently in place (the status quo).</para></listitem>
<listitem>
<para>&#x0201C;what if&#x0201D;&#x02014;city models representing possible alternatives.</para></listitem></itemizedlist>
<para>Examples of &#x0201C;what if&#x0201D; variant city model(s) include the addition of DER, electricity storage, modified demand from buildings, and electric vehicles. &#x0201C;What if&#x0201D; variant model(s) can answer questions such as the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>What is the likely effect of adding PV arrays to certain buildings?</para></listitem>
<listitem>
<para>What is the likely effect of adding electricity storage at a certain point in the electricity distribution network?</para></listitem>
<listitem>
<para>What is the likely effect of introducing a district CHP plant to serve a certain area?</para></listitem>
<listitem>
<para>What is the likely effect of introducing a large-scale PV farm to serve a certain area?</para></listitem>
<listitem>
<para>What is the likely effect of introducing tariffs in monetary and energy consumption terms?</para></listitem></itemizedlist>
<para>The &#x0201C;as is&#x0201D; and &#x0201C;what if&#x0201D; city models allow for cross comparisons to be made between models.</para>
</section>
<section class="lev1" id="sec6-5">
<title>6.5 Modeling Approach</title>
<para>City model data parsed to the VPP from the CDSS part of the SCDB-CDSS is referred to as the VPP city model. The VPP city model is formed around the following features: commodity, external supply, commodity account, fuel, carbon dioxide (CO<subscript>2</subscript>) emissions, distribution network, network node, transmission channel, prosumer object, DER object, generator, storage device, and manager, which are illustrated in <link linkend="F6-7">Figure <xref linkend="F6-7" remap="6.7"/></link>. The figure illustrates an electricity distribution network defined for a city model. In this diagram, rectangles with dashed borders represent CDSS GUI objects, which serve as receptacles for VPP objects. VPP objects fall into three basic categories: nodes (colored discs), DER objects (color-filled rectangles), and managers (color-filled diamonds).</para>
<fig id="F6-7" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F6-7">Figure <xref linkend="F6-7" remap="6.7"/></link></label>
<caption><para>Part of an example city model focusing on the electricity distribution network.</para></caption>
<graphic xlink:href="graphics/ch06_fig007.jpg"/>
</fig>
<para>DER objects are further categorized according to type such as the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Electricity network;</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Power station,</para></listitem>
<listitem>
<para>CHP,</para></listitem>
<listitem>
<para>PV array,</para></listitem>
<listitem>
<para>Wind turbine,</para></listitem>
<listitem>
<para>Electrical storage.</para></listitem></itemizedlist>
</listitem></itemizedlist>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Heat network;</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Heat generator,</para></listitem>
<listitem>
<para>Electric heat pump,</para></listitem>
<listitem>
<para>CHP,</para></listitem>
<listitem>
<para>Solar water heating,</para></listitem>
<listitem>
<para>Thermal storage.</para></listitem></itemizedlist>
</listitem></itemizedlist>
<para>The filled rectangles at the base of the diagram are prosumer units by means of which demands represented by input time series are connected to the system. Other VPP objects function algorithmically as a function of other variables in the model.</para>
</section>
<section class="lev1" id="sec6-6">
<title>6.6 Case Study: Rijeka, Croatia</title>
<para><link linkend="F6-8">Figure <xref linkend="F6-8" remap="6.8"/></link> is a CDSS GUI demonstration of the iURBAN metered installations within Rijeka, Croatia, were 3 public kindergartens, 4 public schools, 12 residential, 4 sports centers, 2 culture centers, and 7 heating plant installations. CDSS GUI legend notation is shown in <link linkend="F6-9">Figure <xref linkend="F6-9" remap="6.9"/></link>.</para>
<fig id="F6-8" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F6-8">Figure <xref linkend="F6-8" remap="6.8"/></link></label>
<caption><para>CDSS GUI&#x02014;Rijeka, Croatia. Red dashed circles denote defined building clusters.</para></caption>
<graphic xlink:href="graphics/ch06_fig008.jpg"/>
</fig>
<fig id="F6-9" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F6-9">Figure <xref linkend="F6-9" remap="6.9"/></link></label>
<caption><para>CDSS GUI legend.</para></caption>
<graphic xlink:href="graphics/ch06_fig009.jpg"/>
</fig>
<section class="lev2" id="sec6-6-1">
<title>6.6.1 &#x0201C;As is&#x0201D; Scenario</title>
<para>Due to the sparse nature of building locations, limited network topology information and metered installations within the framework of the iURBAN project the Rijeka case study have been simplified. <link linkend="F6-10">Figure <xref linkend="F6-10" remap="6.10"/></link> illustrates a simple VPP electricity network model for Rijeka.</para>
<fig id="F6-10" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F6-10">Figure <xref linkend="F6-10" remap="6.10"/></link></label>
<caption><para>Simple VPP electricity network model&#x02014;Rijeka, Croatia.</para></caption>
<graphic xlink:href="graphics/ch06_fig010.jpg"/>
</fig>
<para>In reference to the VPP modeling approach in <link linkend="F6-7">Figure <xref linkend="F6-7" remap="6.7"/></link>, five electricity sub-stations have been formed, representative of utility objects. Buildings within close proximity of a sub-station have been grouped together, refer to <link linkend="F6-9">Figures <xref linkend="F6-9" remap="6.9"/></link> and <link linkend="F9-10"><xref linkend="F9-10" remap="9.10"/></link>. Buildings in this context are representative of prosumer objects in <link linkend="F6-7">Figure <xref linkend="F6-7" remap="6.7"/></link>.</para>
<para>Further to sensitivity analysis carried out on the SCDB-CDSS data, the below period of analysis is considered for selected meter installations. The period of analysis was selected on the criteria of having the maximum number of meters with non-missing data for a whole week.</para>
<para>Data summary:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Location: Rijeka (CityModelName calls weather analytics (WA) API for Rijeka weather data).</para></listitem>
<listitem>
<para>Latitude: N/A (WA API).</para></listitem>
<listitem>
<para>Altitude: N/A (WA API).</para></listitem>
<listitem>
<para>Scenario: As is&#x02014;electricity network.</para></listitem>
<listitem>
<para>Start date/time: 2016-03-01 [00:00].</para></listitem>
<listitem>
<para>End date/time: 2016-03-07 [23:00].</para></listitem>
<listitem>
<para>Reporting period: Hourly (on the hour).</para></listitem>
<listitem>
<para>Electricity installations devised into five hypothetical electricity sub-stations, refer to <link linkend="F6-9">Figures <xref linkend="F6-9" remap="6.9"/></link> and <link linkend="F6-10"><xref linkend="F6-10" remap="6.10"/></link>.</para></listitem></itemizedlist>
<para>The iURBAN project does not have access to all utilities, such as electricity, district heating, gas, and water, meter readings for each installation. <link linkend="T6-1">Table <xref linkend="T6-1" remap="6.1"/></link> lists building types used within Rijeka case study and denotes available electricity consumption and production meters. Each building type is grouped to a hypothetical electricity sub-station.</para>
<para>Upon finalization of the &#x0201C;as is&#x0201D; city model within the CDSS GUI, the following extensible markup language (XML) files are created and parsed to the VPP engine via the CDSS part of the SCDB-CDSS:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>CityModel.xml&#x02014;i.e., electricity network topology.</para></listitem>
<listitem>
<para>Commodities.xml&#x02014;i.e., commodity attributes such as CO<subscript>2</subscript> emission factors.</para></listitem>
<listitem>
<para>Run.xml&#x02014;i.e., VPP run specifier settings such as start/end date and time.</para></listitem>
<listitem>
<para>Timeseries.xml&#x02014;i.e., time series meter installation readings.</para></listitem></itemizedlist>
</section>
<table-wrap position="float" id="T6-1">
<label><link linkend="T6-1">Table <xref linkend="T6-1" remap="6.1"/></link></label>
<caption><para>Hypothetical electricity sub-stations 1&#x02013;5</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Hypothetical<?lb?>Sub-stations</td>
<td valign="bottom" align="left">Prosumer<?lb?>Object Name</td>
<td valign="bottom" align="left">Type</td>
<td valign="bottom" align="left">Meter<?lb?>(Consumption)</td>
<td valign="bottom" align="left">Meter<?lb?>(Production)</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="center">1</td>
<td valign="top" align="left">Building 1</td>
<td valign="top" align="left">Public kindergarten</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">Yes</td>
</tr>
<tr>
<td valign="top" align="center">&#x0201C;</td>
<td valign="top" align="left">Building 2</td>
<td valign="top" align="left">Sports center</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">Yes</td>
</tr>
<tr>
<td valign="top" align="center">2</td>
<td valign="top" align="left">Building 3</td>
<td valign="top" align="left">Public school</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">No</td>
</tr>
<tr>
<td valign="top" align="center">3</td>
<td valign="top" align="left">Building 4</td>
<td valign="top" align="left">Public school</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">Yes</td>
</tr>
<tr>
<td valign="top" align="center">&#x0201C;</td>
<td valign="top" align="left">Building 5</td>
<td valign="top" align="left">Public kindergarten</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">Yes</td>
</tr>
<tr>
<td valign="top" align="center">4</td>
<td valign="top" align="left">Building 6</td>
<td valign="top" align="left">Residential</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">No</td>
</tr>
<tr>
<td valign="top" align="center">&#x0201C;</td>
<td valign="top" align="left">Building 7</td>
<td valign="top" align="left">Sports center</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">No</td>
</tr>
<tr>
<td valign="top" align="center">&#x0201C;</td>
<td valign="top" align="left">Building 8</td>
<td valign="top" align="left">Residential</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">No</td>
</tr>
<tr>
<td valign="top" align="center">&#x0201C;</td>
<td valign="top" align="left">Building 9</td>
<td valign="top" align="left">Residential</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">No</td>
</tr>
<tr>
<td valign="top" align="center">&#x0201C;</td>
<td valign="top" align="left">Building 10</td>
<td valign="top" align="left">Residential</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">Yes</td>
</tr>
<tr>
<td valign="top" align="center">&#x0201C;</td>
<td valign="top" align="left">Building 11</td>
<td valign="top" align="left">Culture center</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">No</td>
</tr>
<tr>
<td valign="top" align="center">&#x0201C;</td>
<td valign="top" align="left">Building 12</td>
<td valign="top" align="left">Culture center</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">No</td>
</tr>
<tr>
<td valign="top" align="center">5</td>
<td valign="top" align="left">Building 13</td>
<td valign="top" align="left">Residential</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">No</td>
</tr>
<tr>
<td valign="top" align="center">&#x0201C;</td>
<td valign="top" align="left">Building 14</td>
<td valign="top" align="left">Sports center</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">No</td>
</tr>
<tr>
<td valign="top" align="center">&#x0201C;</td>
<td valign="top" align="left">Building 15</td>
<td valign="top" align="left">Public school</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">No</td>
</tr>
<tr>
<td valign="top" align="center">&#x0201C;</td>
<td valign="top" align="left">Building 16</td>
<td valign="top" align="left">Residential</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">No</td>
</tr>
<tr>
<td valign="top" align="center">&#x0201C;</td>
<td valign="top" align="left">Building 17</td>
<td valign="top" align="left">Residential</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">No</td>
</tr>
<tr>
<td valign="top" align="center">&#x0201C;</td>
<td valign="top" align="left">Building 18</td>
<td valign="top" align="left">Public kindergarten</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">No</td>
</tr>
<tr>
<td valign="top" align="center">&#x0201C;</td>
<td valign="top" align="left">Building 19</td>
<td valign="top" align="left">Public school</td>
<td valign="top" align="left">Yes</td>
<td valign="top" align="left">No</td></tr>
</tbody>
</table>
<table-wrap-foot>
<para><emphasis>Source:</emphasis> Author.</para>
</table-wrap-foot>
</table-wrap>
<section class="lev2" id="sec6-6-2">
<title>6.6.2 &#x0201C;What if&#x0201D;&#x02014;Scenarios</title>
<para>The below &#x0201C;what if&#x0201D; city models are an example of the application of creating variant models for comparison against the &#x0201C;as is&#x0201D; model.</para>
<para><link linkend="T6-2">Table <xref linkend="T6-2" remap="6.2"/></link> outlines selected DER installations for prosumer objects (buildings 1&#x02013;19) and utility objects (sub-stations 1&#x02013;5) across 8 scenarios. For example, scenario 1 includes a 1No. 1 kW (small domestic) photovoltaic (PV) panel assigned individually to all 19 buildings; sub-stations have not been assigned DER installations. Scenario 2 is the same as scenario 1 with the exception that the capacity rating of the PV panel installation is changed from 1 kW to 6 kW (large domestic). Wind turbines are modeled in scenarios 3 and 4. Scenarios 5&#x02013;8 include energy storage device in addition to PV and wind turbines for selected scenarios. For example, scenario 5 includes 1No. 1 kW PV panel and 1No. 50 kWh energy storage device assigned individually to all 19 buildings and so on.</para>
<para>DER installation parameters are shown in <link linkend="T6-3">Tables <xref linkend="T6-3" remap="6.3"/></link>&#x02013;<link linkend="T6-5"><xref linkend="T6-5" remap="6.5"/></link>; installation types refer to the number shown in <link linkend="T6-2">Table <xref linkend="T6-2" remap="6.2"/></link>.</para>
<title>6.6.3 Results</title>
<para>Rijeka case study VPP results for &#x0201C;as is&#x0201D; and &#x0201C;what if&#x0201D; scenarios are shown in <link linkend="T6-6">Table <xref linkend="T6-6" remap="6.6"/></link>. Results are presented for the electricity commodity account, i.e., root node, not for each electricity node in the network.</para>
<para>For scenarios 1&#x02013;4, no electrical energy storage devices, the results reflect the expected behavior of the electricity network when compared against the &#x0201C;as is&#x0201D; scenario, i.e., the baseline scenario. The introduction of renewables, PVs, and wind turbines reduces demand from external supply to the network. This is a result of renewables offsetting electricity demand from buildings 1 to 19. CO<subscript>2</subscript> emissions are also reduced within the model based on the reduction in fossil fuel-based external supply to the network. There is a noticeable difference between the PV and wind turbine scenario results. This difference is due to the variation in wind speed for Rijeka based on its coastal location; average, maximum, and minimum wind speed for the selected period of analysis is 3.44 m/s, 10.19 m/s, and 0.89 m/s. A wide range of wind turbine rated power, 1.5&#x02013;15 kW per installation, is modeled. This may be considered unrealistic, but the model gives an indication of future potential if such solutions were considered feasible to install.</para>
<table-wrap position="float" id="T6-2">
<label><link linkend="T6-2">Table <xref linkend="T6-2" remap="6.2"/></link></label>
<caption><para>Scenario parameters</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left"></td>
<td valign="bottom" align="center">Building</td>
<td valign="bottom" align="center">Building</td>
<td valign="bottom" align="center">Building</td>
<td valign="bottom" align="center">Building</td>
<td valign="bottom" align="center">Building</td>
<td valign="bottom" align="center">Sub-station</td>
<td valign="bottom" align="center">Sub-station</td>
<td valign="bottom" align="center">Sub-station</td>
<td valign="bottom" align="center">Sub-station</td>
<td valign="bottom" align="center">Sub-station</td>
</tr>
<tr>
<td valign="bottom" align="left"></td>
<td valign="bottom" align="center">1</td>
<td valign="bottom" align="center">2</td>
<td valign="bottom" align="center" width="15%">3, 4, &#x02026;, 16, 17</td>
<td valign="bottom" align="center">18</td>
<td valign="bottom" align="center">19</td>
<td valign="bottom" align="center">1</td>
<td valign="bottom" align="center">2</td>
<td valign="bottom" align="center">3</td>
<td valign="bottom" align="center">4</td>
<td valign="bottom" align="center">5</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Scenario 1</td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
</tr>
<tr>
<td valign="top" align="left">PV (kW)</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td valign="top" align="left">Scenario 2</td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
</tr>
<tr>
<td valign="top" align="left">PV (kW)</td>
<td valign="top" align="center">6</td>
<td valign="top" align="center">6</td>
<td valign="top" align="center">6</td>
<td valign="top" align="center">6</td>
<td valign="top" align="center">6</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td valign="top" align="left">Scenario 3</td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
</tr>
<tr>
<td valign="top" align="left">Wind (kW)</td>
<td valign="top" align="center">1.5</td>
<td valign="top" align="center">1.5</td>
<td valign="top" align="center">1.5</td>
<td valign="top" align="center">1.5</td>
<td valign="top" align="center">1.5</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td valign="top" align="left">Scenario 4</td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
</tr>
<tr>
<td valign="top" align="left">Wind (kW)</td>
<td valign="top" align="center">15</td>
<td valign="top" align="center">15</td>
<td valign="top" align="center">15</td>
<td valign="top" align="center">15</td>
<td valign="top" align="center">15</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td valign="top" align="left">Scenario 5</td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
</tr>
<tr>
<td valign="top" align="left">PV (kW)</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">1</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td valign="top" align="left">Energy storage (kWh)</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td valign="top" align="left">Scenario 6</td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
</tr>
<tr>
<td valign="top" align="left">PV (kW)</td>
<td valign="top" align="center">6</td>
<td valign="top" align="center">6</td>
<td valign="top" align="center">6</td>
<td valign="top" align="center">6</td>
<td valign="top" align="center">6</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td valign="top" align="left">Energy storage (kWh)</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td valign="top" align="left">Scenario 7</td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
</tr>
<tr>
<td valign="top" align="left">Wind (kW)</td>
<td valign="top" align="center">1.5</td>
<td valign="top" align="center">1.5</td>
<td valign="top" align="center">1.5</td>
<td valign="top" align="center">1.5</td>
<td valign="top" align="center">1.5</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td valign="top" align="left">Energy storage (kWh)</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td valign="top" align="left">Scenario 8</td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center"></td>
</tr>
<tr>
<td valign="top" align="left">Wind (kW)</td>
<td valign="top" align="center">15</td>
<td valign="top" align="center">15</td>
<td valign="top" align="center">15</td>
<td valign="top" align="center">15</td>
<td valign="top" align="center">15</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td valign="top" align="left">Energy storage (kWh)</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<para><emphasis>Source:</emphasis> Author.</para>
</table-wrap-foot>
</table-wrap>
<table-wrap position="float" id="T6-3">
<label><link linkend="T6-3">Table <xref linkend="T6-3" remap="6.3"/></link></label>
<caption><para>PV array parameters</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Installation<?lb?>Category</td>
<td valign="bottom" align="center">Area<?lb?>(m<superscript>2</superscript>)</td>
<td valign="bottom" align="center">Azimuth<?lb?>(Clockwise<?lb?>from North)</td>
<td valign="bottom" align="center">Inclination<?lb?>(from<?lb?>Horizontal)</td>
<td valign="bottom" align="center">PV Module<?lb?>Nominal<?lb?>Efficiency</td>
<td valign="bottom" align="center">Nominal Cell<?lb?>Temperature<?lb?>(NOCT) (<superscript>&#x02218;</superscript>C)</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="center">PV 1 kW (small domestic)</td>
<td valign="top" align="center">7.2</td>
<td valign="top" align="center">180</td>
<td valign="top" align="center">35</td>
<td valign="top" align="center">0.1100</td>
<td valign="top" align="center">45.0</td>
</tr>
<tr>
<td valign="top" align="center">PV 6 kW <!--br /-->(large domestic)</td>
<td valign="top" align="center">43.2</td>
<td valign="top" align="center">180</td>
<td valign="top" align="center">35</td>
<td valign="top" align="center">0.1100</td>
<td valign="top" align="center">45.0</td></tr>
</tbody>
</table>
</table-wrap>
<para></para>
<table-wrap>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="center">Reference Irradiance<?lb?>for NOCT<?lb?>(W/m2)</td>
<td valign="bottom" align="center">Temp. Coefficient for<?lb?>Module Efficiency<?lb?>(1/K)</td>
<td valign="bottom" align="center">Degradation<?lb?>Factor</td>
<td valign="bottom" align="center">Shading<?lb?>Factor</td>
<td valign="bottom" align="center">Electrical<?lb?>Conversion</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="center">800</td>
<td valign="top" align="center">0.0040</td>
<td valign="top" align="center">0.99</td>
<td valign="top" align="center">1.0</td>
<td valign="top" align="center">0.85</td>
</tr>
<tr>
<td valign="top" align="center">800</td>
<td valign="top" align="center">0.0040</td>
<td valign="top" align="center">0.99</td>
<td valign="top" align="center">1.0</td>
<td valign="top" align="center">0.85</td></tr>
</tbody>
</table>
</table-wrap>
<table-wrap position="float" id="T6-4">
<label><link linkend="T6-4">Table <xref linkend="T6-4" remap="6.4"/></link></label>
<caption><para>Wind turbine parameters</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Installation<?lb?>Category</td>
<td valign="bottom" align="center">Rated Power<?lb?>(kW)</td>
<td valign="bottom" align="center">Hub Height<?lb?>(m)</td>
<td valign="bottom" align="center">Power Curve<?lb?>[wind speed (m/s),<?lb?>Power Output Fraction %]</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Wind 1.5 kW (house)</td>
<td valign="top" align="center">1.5</td>
<td valign="top" align="center">5</td>
<td valign="top" align="center">0 0 4 0.1 7 0.5 12 0.8 25 1</td>
</tr>
<tr>
<td valign="top" align="left">Wind 15 kW (farm)</td>
<td valign="top" align="center">15</td>
<td valign="top" align="center">5</td>
<td valign="top" align="center">0 0 4 0.1 7 0.5 12 0.8 25 1</td></tr>
</tbody>
</table>
</table-wrap>
<table-wrap position="float" id="T6-5">
<label><link linkend="T6-5">Table <xref linkend="T6-5" remap="6.5"/></link></label>
<caption><para>Electrical energy storage parameters</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Installation<?lb?>Category</td>
<td valign="bottom" align="center">Storage Capacity<?lb?>(kWh)</td>
<td valign="bottom" align="center">Initial Storage<?lb?>Energy (kWh)</td>
<td valign="bottom" align="center">Storage Method</td>
<td valign="bottom" align="center">Losses</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">lithium-ion Battery 50 kWh</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">lithium-ion Battery</td>
<td valign="top" align="center">0</td></tr>
</tbody>
</table>
</table-wrap>
<table-wrap position="float" id="T6-6">
<label><link linkend="T6-6">Table <xref linkend="T6-6" remap="6.6"/></link></label>
<caption><para>Rijeka VPP results, percentage difference against &#x0201C;as is&#x0201D; baseline model</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Scenario</td>
<td valign="bottom" align="center">External Supply<?lb?>(% Diff)</td>
<td valign="bottom" align="center">External Indirect<?lb?>CO<subscript>2</subscript> Emission (% Diff)</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">As is (baseline model)</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td valign="top" align="left">Scenario 1&#x02014;1 kW PV</td>
<td valign="top" align="center">0.30</td>
<td valign="top" align="center">0.30</td></tr>
<tr>
<td valign="top" align="left">Scenario 2&#x02014;6 kW PV</td>
<td valign="top" align="center">1.75</td>
<td valign="top" align="center">1.67</td>
</tr>
<tr>
<td valign="top" align="left">Scenario 3&#x02014;1.5 kW wind turbine</td>
<td valign="top" align="center">0.78</td>
<td valign="top" align="center">0.77</td>
</tr>
<tr>
<td valign="top" align="left">Scenario 4&#x02014;15 kW wind turbine</td>
<td valign="top" align="center">7.40</td>
<td valign="top" align="center">7.30</td>
</tr>
<tr>
<td valign="top" align="left">Scenario 5&#x02014;1 kW PV and 50 kWh storage</td>
<td valign="top" align="center">0.31</td>
<td valign="top" align="center">0.31</td>
</tr>
<tr>
<td valign="top" align="left">Scenario 6&#x02014;6 kW PV and 50 kWh storage</td>
<td valign="top" align="center">1.45</td>
<td valign="top" align="center">1.39</td>
</tr>
<tr>
<td valign="top" align="left">Scenario 7&#x02014;1.5 kW wind turbine and 50 kWh storage</td>
<td valign="top" align="center">0.73</td>
<td valign="top" align="center">0.73</td>
</tr>
<tr>
<td valign="top" align="left">Scenario 8&#x02014;15 kW wind turbine and 50 kWh storage</td>
<td valign="top" align="center">5.64</td>
<td valign="top" align="center">5.58</td></tr>
</tbody>
</table>
</table-wrap>
</section>
<section class="lev2" id="sec6-6-3">
<para>In scenarios 5&#x02013;8, which include electrical energy storage in addition to selected renewable technology, external supply and carbon emission reduce when compared to scenarios 1&#x02013;4 with no electricity storage installations. This is a result of model setup where electricity storage devices have been applied at building level. In some cases, on-site electricity generation from renewables at building level exceeds electricity building level demands. In this case, excess electricity generation charges on-site storage prior to being fed back to the electricity network upon electricity storage equaling storage capacity. In other instances, electricity demand at building level exceeds on-site electricity generation. This results in an electricity residual demand from the electricity network, sub-station, and then parent node, which in turn equates to an increase in external supply and CO<subscript>2</subscript> emissions to the model. This could be adverted with better electricity storage controls and storage at sub-station level. Future scenarios will look to address this.</para>
</section>
</section>
<section class="lev1" id="sec6-7">
<title>6.7 Future Work</title>
<para>Future work consists of refining the Rijeka case study based on detailed electricity network topology. Other work includes the modeling of the second iURBAN case study in Plovdiv, Bulgaria.</para>
<para>Future VPP development includes the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>District cooling</para></listitem>
<listitem>
<para>Water networks</para></listitem>
<listitem>
<para>Optimized control strategies.</para></listitem></itemizedlist>
</section>
<section class="lev1" id="sec6-8">
<title>6.8 Conclusion</title>
<para>This chapter has provided information about the approach implemented within iURBAN with respect to virtual power plant development. This chapter also presents a use case example for Rijeka in Croatia, one of the iURBAN demonstration cities.</para>
<para>The VPP is developed as a high-level design tool. The modeling approach of the VPP is based upon load aggregation of near real-time metered energy demand and generation data and modeling of electricity and heat generation at building/apartment and district level.</para>
<para>Through use of the CDSS GUI, city planners and utility companies will be able to undertake VPP analysis to gain an understanding of energy demand and generation and the associated costs at selected levels of interest, ranging from high-level city planning to the selection of individual buildings or user-defined energy networks.</para>
</section>
<section class="lev1" id="sec6-9">
<title>References</title>
<orderedlist numeration="arabic" continuation="restarts" spacing="normal">
<listitem>
<para id="bib6-1">iURBAN. (2016). iURBAN. Available at: <check_ext-link>http://www.iURBAN-project.eu/</check_ext-link>. Accessed 24 May 2016.</para></listitem>
<listitem>
<para id="bib6-2">Asmus, P. (2014). How real are virtual power plants? Available at: <check_ext-link>http://www.elp.com/articles/powergrid_international/print/volume-19/issue-11/features/how-real-are-virtual-power-plants.html</check_ext-link>. Accessed 24 May 2016.</para></listitem>
<listitem>
<para id="bib6-3">Landsbergen, P. (2009). <emphasis>Feasibility, beneficiality, and institutional compatibility of a micro-CHP virtual power plant in the Netherlands. Master Thesis.</emphasis> Published by TU Delft. <check_ext-link>http://repository.tudelft.nl/view/ir/uuid%3Aee01fc77-2d91-43bb-83d3-847e787494af/</check_ext-link> <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Landsbergen%2C+P%2E+%282009%29%2E+Feasibility%2C+beneficiality%2C+and+institutional+compatibility+of+a+micro-CHP+virtual+power+plant+in+the+Netherlands%2E+Master+Thesis%2E+Published+by+TU+Delft%2E+http%3A%2F%2Frepository%2Etudelft%2Enl%2Fview%2Fir%2Fuuid%253Aee01fc77-2d91-43bb-83d3-847e787494af%2F" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib6-4">Greenergy. (2016). <emphasis>The definition of the virtual power plant</emphasis>. [online] Greenergy.hu. Available at: <check_ext-link>http://www.greenergy.hu/vpp_e.html</check_ext-link>. Accessed 18 Jul. 2016.</para></listitem>
<listitem>
<para id="bib6-5">Zurborg, A. (2016). Unlocking customer value: The virtual power plant, Department of Energy. Available at: <check_ext-link>http://energy.gov/oe/downloads/un-locking-customer-value-virtual-power-plant</check_ext-link>. Accessed 18 Jul. 2016. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Zurborg%2C+A%2E+%282016%29%2E+Unlocking+customer+value%3A+The+virtual+power+plant%2C+Department+of+Energy%2E+Available+at%3A+http%3A%2F%2Fenergy%2Egov%2Foe%2Fdownloads%2Fun-locking-customer-value-virtual-power-plant%2E+Accessed+18+Jul%2E+2016%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib6-6">Navigant Research. (2014). Virtual power plants. Available at: <check_ext-link>http://www.navigantresearch.com/research/virtual-power-plants</check_ext-link>. Accessed 24 May 2016. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Navigant+Research%2E+%282014%29%2E+Virtual+power+plants%2E+Available+at%3A+http%3A%2F%2Fwww%2Enavigantresearch%2Ecom%2Fresearch%2Fvirtual-power-plants%2E+Accessed+24+May+2016%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib6-7">GridLAB-D. (2012). GridLAB-D. Available at: <check_ext-link>http://www.gridlabd.org/</check_ext-link>. Accessed 24 May 2016.</para></listitem>
<listitem>
<para id="bib6-8">Weather Analytics. (2016). Weather analytics. Available at: <check_ext-link>http://www.weatheranalytics.com/wa/</check_ext-link>. Accessed 24 May 2016.</para></listitem>
<listitem>
<para id="bib6-9">Vitrociset. (2016). Vitrociset. Available at: <check_ext-link>http://www.vitrociset.it/index.php?lang=en</check_ext-link>. Accessed 24 May 2016.</para></listitem>
<listitem>
<para id="bib6-10">IES Ltd. 2016. Integrated environmental solutions. Available at: <check_ext-link>https://www.iesve.com/</check_ext-link>. Accessed 24 May 2016.</para></listitem></orderedlist>
</section>
</chapter>
<chapter class="chapter" id="ch07" label="7" xreflabel="7">
<title>iURBAN Smart Algorithms</title>
<para role="author"><emphasis role="strong">Sergio Jurado and Alberto Fernandez</emphasis></para>
<para>Sensing &#x00026; Control, Barcelona, Spain</para>
<para><emphasis role="strong">Abstract</emphasis></para>
<para>This chapter presents the smart algorithms developed in iURBAN. Prediction of consumption and production of energy, dynamic tariff comparison and demand response.</para>
<para><emphasis role="strong">Keywords:</emphasis> Energy prognosis, Demand response, Dynamic tariff</para>
<section class="lev1" id="sec7-1">
<title>7.1 Introduction</title>
<para>This chapter outlines details for the following smart algorithm modules:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>&#x0201C;As is&#x0201D; generation and consumption forecasts using artificial intelligence (AI).</para></listitem>
<listitem>
<para>Dynamic tariff comparison and demand response (DR) simulations.</para></listitem></itemizedlist>
<para>The algorithms for DR analysis, renewable energy production analysis, and tariff analysis were developed with respect to the electricity grid. The algorithms are integrated with the virtual power plant (VPP) to perform energy analysis of the overall city in order to enable balancing energy at both local and centralized levels.</para>
<para>Based on forecasting weather data which is be stored in the Smart City Database (SCDB), the prediction algorithms are able to predict the energy consumption, production, transfer, and storage of energy at the city level. For example, for the next 24, 48, and 72 hours, they can advice how to reduce consumption (covered by the local decision support system.), how to integrate new technologies, how to optimize existing technologies, and how to determine the optimum time to buy and sell energy to the electricity and/or vehicle grids or to store energy from centralized DER sources and assist iURBAN decision support systems.</para>
<para>The prediction algorithms consist of 3 modules: the AI module, the tariff analysis module (including DR aspects), and the weather forecast module (weather data are obtained from professional weather data provider <check_ext-link>www.weatheranalytics.com</check_ext-link>).</para>
</section>
<section class="lev1" id="sec7-2">
<title>7.2 &#x0201C;As is&#x0201D; Generation and Consumption Forecasts</title>
<section class="lev2" id="sec7-2-1">
<title>7.2.1 Introduction</title>
<para>A large variety of AI techniques have been applied in the field of short-term electricity consumption forecasting, showing a better performance than classical techniques. Specifically, machine learning has been proven to accurately predict electric consumption under uncertainties. For instance, Khamis proposes in [<link linkend="bib7-1">1</link>] a multilayer perceptron neural network to predict the electricity consumption for a small-scale power system, obtaining a better performance than with traditional methods, while Marvuglia et al. consider Elman neural network for the short forecasting of the household electric consumption with prediction errors under 5% [<link linkend="bib7-2">2</link>]. Also in [<link linkend="bib7-3">3</link>], a study of electric load forecasting is carried out with classification and regression trees (CART) and other soft computing techniques obtaining again better results than classical approaches.</para>
<para>Large-scale studies for comparing machine learning and soft computing tools have focused on the classification domain [<link linkend="bib7-4">4</link>]. On the other hand, very few extensive studies can be found in the regression domain. In [<link linkend="bib7-5">5</link>], Nesrren et al. carried out a large-scale comparison of machine learning models for time series forecasting. The study includes techniques such as K-nearest neighbors (KNN), CART regression trees, multilayer perceptron networks, support vector machines, Gaussian processes, Bayesian neural networks, and radial basis functions. The research reveals significant differences between the methods studied and concludes that the best techniques for time series forecasting are multilayer perceptron and Gaussian regression when applied on the monthly M3 time series competition data (a thousand-time series) [<link linkend="bib7-6">6</link>]. Moreover, in [<link linkend="bib7-7">7</link>], an empirical comparison of regression analysis is carried out, as well as decision trees and artificial neural network (ANN) techniques for the prediction of electricity energy consumption. The conclusion was that the decision tree and the neural network models perform slightly better than regression analysis in the summer and winter phases, respectively. However, the differences between the three types of models are quite small in general, indicating that the three modeling techniques are comparable when predicting energy consumption.</para>
<para>In recent studies, the good omen of AI techniques is shown. For instance, Jurado et al. [<link linkend="bib7-8">8</link>] propose an entropy-based feature selection process to select the most important past consumption values and it is combined with machine learning and soft computing techniques. Moreover, these hybrid methodologies are compared against a typical statistical technique (ARIMA), resulting in higher accuracies for FIR, random forest, and artificial neural networks (NNs). Thus, hybrid methodologies combine the strengths of different techniques to achieve higher accuracies in predictions. The results showed in this study also highlight the adaptability and scalability of these models to buildings with different profiles (location, usage, etc.).</para>
<para>In addition, in contrast to other approaches where o&#x0FB04;ine modeling takes considerable computational time and resources, the models discussed in [<link linkend="bib7-8">8</link>] appear to generate fast and reliable models, with low computational costs. These models can be embedded, for instance, in a second generation of smart meters where they could generate on-site forecasting of the consumption and/or production in the next hours or even trade the excess energy with other smart meters.</para>
<para>Considering the strengths of some AI methodologies reported in the literature (prediction of unexpected changes, predict energy consumptions and productions in different types of buildings, etc.) and the experience inside the consortium with such techniques, AI models are the approach followed for the <emphasis>generation and consumption forecast</emphasis>.</para>
<section class="lev3" id="sec7-2-1-1">
<title>7.2.1.1 Random forest</title>
<para>Random forest (RF) is a set of CART, which was first put forward by Breiman [<link linkend="bib7-9">9</link>]. In RF, the training sample set for a base classifier is constructed by using the Bagging algorithm [<link linkend="bib7-10">10</link>]. In traditional CART, each inner node is a subset of the initial data set and the root node contains all the initial data. RF is a combination of tree predictors such that each tree depends on the values of a random vector sampled independently and with the same distribution for all trees in the forest. RFs for regression are formed by growing trees depending on a random vector such that the tree predictor takes on numerical values as opposed to class labels. The RF predictor is formed by taking the average over <emphasis>B</emphasis> of the trees. <link linkend="F7-1">Figure <xref linkend="F7-1" remap="7.1"/></link> shows a scheme of the random forest.</para>
<fig id="F7-1" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F7-1">Figure <xref linkend="F7-1" remap="7.1"/></link></label>
<caption><para>Random forest scheme containing three different trees.</para></caption>
<graphic xlink:href="graphics/ch07_fig001.jpg"/>
</fig>
<para>Assuming the following basic notations:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Let the number of training cases be <emphasis>N</emphasis> and the number of variables be <emphasis>P</emphasis></para></listitem>
<listitem>
<para>Input data point &#x02192; v = (x<subscript>1</subscript>,&#x02026;<span style="margin-left:0.3em" class="thinspace"></span>,x<subscript>P</subscript>) &#x02208; &#x0211D;<superscript>P</superscript></para></listitem>
<listitem>
<para>Output variable &#x02192; c</para></listitem>
<listitem>
<para>Let the number of trees be <emphasis>B</emphasis></para></listitem></itemizedlist>
<para>The schematic RF algorithm is the following:</para>
<orderedlist numeration="arabic" continuation="restarts" spacing="normal">
<listitem>
<para>For <emphasis>b =</emphasis> 1 to <emphasis>B</emphasis></para>
<orderedlist numeration="loweralpha" continuation="restarts" spacing="normal">
<listitem>
<para>Draw a bootstrap sample <emphasis>Z&#x0002A;</emphasis> of size <emphasis>N</emphasis> from the training data</para></listitem>
<listitem>
<para>Grow a random forest tree <emphasis>T<subscript>b</subscript></emphasis> to the bootstrapped data, by recursively repeating the following steps for each terminal node of the tree, until the stopping criteria is reached:</para>
<orderedlist numeration="lowerroman" continuation="restarts" spacing="normal">
<listitem>
<para>Select <emphasis>m</emphasis> variables at random from the <emphasis>P</emphasis> variables</para></listitem>
<listitem>
<para>Pick the best variable/split point among the <emphasis>m</emphasis></para></listitem>
<listitem>
<para>Split the node into two daughter nodes</para></listitem></orderedlist>
</listitem></orderedlist>
</listitem>
<listitem>
<para>Output the ensemble of trees <inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="graphics/ch07_in1.jpg" mime-subtype="jpeg"/></para></listitem></orderedlist>
<para>The size <emphasis>N</emphasis> of the bootstrap sample <emphasis>Z&#x0002A;</emphasis> can go from a small size to the size of the whole data set. However, with large training data sets, assuming the same size can significantly affect computational cost. In addition, for big data problems such as the forecasting of consumption/production of all the buildings in a city, a good definition of the parameter <emphasis>N</emphasis> is mandatory. Moreover, there are different stopping criteria; two of the most commonly used are as follows: (1) until the minimum node size <emphasis>n</emphasis><subscript>min</subscript> is reached and (2) when a maximum tree depth is reached.</para>
<para>Although RF has been observed to overfit some data sets with noisy classification/regression tasks [<link linkend="bib7-11">11</link>], it usually provides accurate results, generalizes well, and learns fast. In addition, it is suitable to handle missing data and provides a tree structured method for regression [<link linkend="bib7-12">12</link>].</para>
</section>
<section class="lev3" id="sec7-2-1-2">
<title>7.2.1.2 Artificial neural network</title>
<para>NNs are a very popular data mining and image processing tool. Their origin stems from the attempt to model the human thought process as an algorithm which can be efficiently run on a computer. Its origins date back to 1943, when neurophysiologist W. McCulloch and mathematician W. Pitts wrote a paper on how neurons might work [<link linkend="bib7-13">13</link>], and they modeled a simple NN using electrical circuits. Some years later, in 1958, F. Rosenblatt created the perceptron, an algorithm for pattern recognition based on a two-layer learning computer network using simple addition and subtraction [<link linkend="bib7-14">14</link>].</para>
<para>Many time series models are based on NN [<link linkend="bib7-15">15</link>]. Despite the many desirable features of NNs, constructing a good network for a particular application is a nontrivial task. It involves choosing an appropriate architecture (the number of layers, the number of units in each layer, and the connections among units), selecting the transfer functions of the middle and output units, designing a training algorithm, choosing initial weights, and specifying the stopping rule.</para>
<para>It is widely accepted that a three-layer feed forward network with an identity transfer function in the output unit and logistic functions in the middle-layer units can approximate any continuous function arbitrarily well given sufficient amount of middle-layer units [<link linkend="bib7-16">16</link>]. Thus, the network used in this research is a three-layer feed forward network (<link linkend="F7-2">Figure <xref linkend="F7-2" remap="7.2"/></link>). The inputs are connected to the output via a middle layer.</para>
<fig id="F7-2" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F7-2">Figure <xref linkend="F7-2" remap="7.2"/></link></label>
<caption><para>Representation scheme of a three-layer feed forward neural network.</para></caption>
<graphic xlink:href="graphics/ch07_fig002.jpg"/>
</fig>
<para>When working with univariate time series, the neurons of the input layer contain the present value and the relevant past values of the univariate time series, while the output is the value for the next time period, computed as described in Equation (7.1).</para>
<para><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="graphics/ch07_eq1.jpg" mime-subtype="jpeg"/></para>
<para>where n is the number of past values of variable s and f is a nonlinear function approximated by a multilayer feed forward neural network (FNN) [<link linkend="bib7-17">17</link>].</para>
<para>Recurrent neural networks are able to obtain very good prediction performance, since their architecture allows that the connections between units form a directed cycle, which allows it to exhibit dynamic temporal behavior. Unlike feed forward NNs, recurrent networks can use their internal memory to process arbitrary sequences of inputs. Therefore, recurrent NNs are very powerful, but they can be very complex and extremely slow compared to feed forward networks. As mentioned earlier, one of the main objectives of this research is to find powerful prediction methodologies with low computational costs, which could be embedded in a smart meter and generate on-site forecasting of the consumptions and/or productions. This is the reason why recurrent NNs have been rejected in this work and a cooperative approach has been chosen instead, i.e., FSP and a feed forward neural network that uses, as input variables, the most relevant past consumptions values.</para>
</section>
<section class="lev3" id="sec7-2-1-3">
<title>7.2.1.3 Fuzzy inductive reasoning</title>
<para>The conceptualization of the fuzzy inductive reasoning (FIR) methodology arises from the general system problem solving (GSPS) approach proposed by Klir [<link linkend="bib7-18">18</link>]. This methodology of modeling and simulation has the ability to describe systems that cannot be easily described by classical mathematics or statistics, i.e., systems for which the underlying physical laws are not well understood [<link linkend="bib7-19">19</link>]. A FIR model is a qualitative nonparametric model based on fuzzy logic. Visual FIR is a tool based on the FIR methodology (runs under Matlab environment), which offers a new perspective to the modeling and simulation of complex systems. Visual FIR designs process blocks that allow the treatment of the model identification and prediction phases of FIR methodology in a compact, efficient, and user-friendly manner [<link linkend="bib7-20">20</link>]. The FIR model consists of its structure (relevant variables or selected features) and a pattern rule base (a set of input/output relations or history behavior) that are defined as if-then rules. Once the best structure (mask) has been identified, it is used to obtain the pattern rule (called behavior matrix) from the fuzzified training data set. Each pattern rule is obtained by reading out the class values through the &#x0201C;holes&#x0201D; of the mask (the places where the mask has negative values) and place each class next to each other to compose the rule.</para>
<para>Once the behavior matrix and the mask are available, a prediction of future output states of the system can take place using the FIR inference engine, as described in <link linkend="F7-3">Figure <xref linkend="F7-3" remap="7.3"/></link>. This process is called qualitative simulation. The FIR inference engine is based on the KNN rule, commonly used in the pattern recognition field. The forecast of the output variable is obtained by means of the composition of the potential conclusion that results from firing the <emphasis>k</emphasis> rules whose antecedents have best matching with the actual state.</para>
<fig id="F7-3" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F7-3">Figure <xref linkend="F7-3" remap="7.3"/></link></label>
<caption><para>Qualitative simulation process diagram (with an example containing three inputs and one output).</para></caption>
<graphic xlink:href="graphics/ch07_fig003.jpg"/>
</fig>
<para>The mask is placed on top of the qualitative data matrix (fuzzified test set), in such a way that the output matches with the first element to be predicted. The values of the inputs are read out from the mask and the behavior matrix (pattern rule base) is used, as it is explained latter, to determine the future value of the output, which can then be copied back into the qualitative data matrix. The mask is then shifted further down one position to predict the next output value. This process is repeated until all the desired values have been forecast. The fuzzy forecasting process works as follows: The input pattern of the new input state is compared with those of all previous recordings of the same input state contained in the behavior matrix. For this purpose, a normalization function is computed for every element of the new input state and an Euclidean distance formula is used to select the KNN, the ones with smallest distance, that are used to forecast the new output state. The contribution of each neighbor to the estimation of the prediction of the new output state is a function of its proximity. This is expressed by giving a distance weight to each neighbor, as shown in <link linkend="F7-3">Figure <xref linkend="F7-3" remap="7.3"/></link>. The new output state values can be computed as a weighted sum of the output states of the previously observed five nearest neighbors.</para>
<para>The FIR methodology is, therefore, a modeling and simulation tool that is able to infer the model of the system under study very quickly and is a good option for real-time forecasting. Moreover, it is able to deal with missing data as has been already proved in a large number of applications [<link linkend="bib7-19">19</link>]. On the other hand, some of its weaknesses are that as long as the depth and complexity increase, the computational cost increases too, and also the parameters to choose during the fuzzification phase (which can be mitigated using evolutionary algorithms to tune the parameters).</para>
</section>
</section>
<section class="lev2" id="sec7-2-2">
<title>7.2.2 AI Generation and Consumption Forecast</title>
<section class="lev3" id="sec7-2-2-1">
<title>7.2.2.1 Model generation</title>
<para>After an empirical analysis, we have finally selected RF for the first version of the prediction models. In contrast to most of the approaches previously explained, where o&#x0FB04;ine modeling takes considerable computational time and resources, the technique used in the prediction algorithms, RF, appear to generate fast and reliable models, with low computational costs.</para>
<para>FIR is also a suitable technique with higher accuracies than RF but its development and implementation are more difficult than RF.</para>
<para>To perform a prediction, it is necessary to first generate a model. There are multiple strategies for the model generation, for instance to cluster similar installations and create a single model that would fit with all the installations within this cluster. The main advantage of this strategy is that only one model is created, and therefore, the computational cost and the storage capacity needed are very low. On the other hand, the accuracy may be lower than the approach, <emphasis>one model one installation,</emphasis> where a single model is created for each installation. In iURBAN, the model generated is unique for each installation. This would not be the best solution for a pilot with thousands of installations, because it would take high computational costs and increase storage capacity needs. However, since the iURBAN pilot has around 100 installations, the approach <emphasis>one model one installation</emphasis> is an affordable solution.</para>
<para>In <link linkend="F7-4">Figure <xref linkend="F7-4" remap="7.4"/></link>, the process to generate a prediction model and the online predictions is explained. In the left side of the figure, the <emphasis>Model Generation</emphasis> (1) is created/updated every week as default. The model is built-up taking all the historical past consumptions from the <emphasis>Data Warehouse</emphasis> (2) in the cloud. After the model is created/updated, it is stored in the <emphasis>Local Data Warehouse</emphasis> (3) of the PC/server where it is executed.</para>
<para>On the other hand, in the right side of <link linkend="F7-4">Figure <xref linkend="F7-4" remap="7.4"/></link>, the <emphasis>Prediction</emphasis> (1) is performed every hour as default. When a prediction model is available in the <emphasis>Local Data Warehouse,</emphasis> it is loaded and used for the online prediction (2). The prediction is performed taking the last hours/days historical past consumptions from the <emphasis>iURBAN SCDB</emphasis> (3). After the prediction is performed, the results are sent to the <emphasis>iURBAN SCDB</emphasis> (4), where are available for any component in iURBAN.</para>
<fig id="F7-4" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F7-4">Figure <xref linkend="F7-4" remap="7.4"/></link></label>
<caption><para>Prediction algorithm flow diagram.</para></caption>
<graphic xlink:href="graphics/ch07_fig004.jpg"/>
</fig>
</section>
<section class="lev3" id="sec7-2-2-2">
<title>7.2.2.2 Model and prediction configuration parameters</title>
<para>The granularity of the predictions is an important parameter because it defines the prediction intervals. Depending on the use case of the prediction data, granularity will be determined. For example, if the use case is to analyze potential blackouts, variability of renewables in the electricity grid, solar, and wind forecasting or real-time demand fluctuations, then the granularity level should be high because it requires a prediction at second level or even millisecond. This is not the case of iURBAN. On the other hand, if the use case is to create awareness about possible consumption/production at the end of the day, week, and/or month, at which hour is expected a peak, detect a day where higher consumptions or productions are expected, etc., then lower levels of granularity are needed. This is the case of iURBAN.</para>
<para>Highest granularity of data in Plovdiv and Rijeka is 15 min and 1 min, respectively. The smart algorithm modules are developed to accept any granularity level; however, based on the initial requirements of iURBAN, specifications, and LDSS/CDSS functionalities and graphical user interface (GUI), it has been decided that a good compromise of prediction interval is 60 min. The model is updated once per week.</para>
</section>
<section class="lev3" id="sec7-2-2-3">
<title>7.2.2.3 Grids and levels</title>
<para>Prediction models run for master sensors of water, heating, gas, and electricity, as well as for global production of electricity and heating. Master sensors are those sensors measuring the total consumption or production in apartments, buildings, substations (heating), and combined heat and power (CHP) plants.</para>
</section>
</section>
<section class="lev2" id="sec7-2-3">
<title>7.2.3 Development and Implementation</title>
<section class="lev3" id="sec7-2-3-1">
<title>7.2.3.1 Code</title>
<para>The code was developed in Java. It consists of six different packages:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para><emphasis>iurban.predictionengine.webapi</emphasis> (contains one class):</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para><emphasis>WebApiConsumer</emphasis>. This class contains all the methods to interact with the SCDB; <emphasis>HttpPost</emphasis> and <emphasis>HttpGet</emphasis> to download historical consumption data and upload forecasting values.</para></listitem></itemizedlist>
</listitem>
<listitem>
<para><emphasis>iurban.predictionengine.models</emphasis> (contains 5 classes):</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para><emphasis>Attributes, Gap, Granularity, Outlier, Result, Stats, WeatherAnalytics, Sensor, Prediction, Installation, TimeSeries.</emphasis> These classes contain the data structure to handle correctly the data obtained through the API.</para></listitem></itemizedlist>
</listitem>
<listitem>
<para><emphasis>iurban.predictionengine.utils</emphasis> contains 15 classes. These classes contain common methods used in several processes of the model generation and prediction.</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para><emphasis>ArrayUtils, Comparators, ErrorUtils, VectorUtils, WekaUtils, PropertiesUtils, etc.</emphasis></para></listitem></itemizedlist>
</listitem>
<listitem>
<para><emphasis>iurban.predictionengine.predictionmodel</emphasis> that contains the two main classes for the prediction values generation:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para><emphasis>WekaTechnology.</emphasis> This class contains the technology to design and generate the models in Weka.</para></listitem>
<listitem>
<para><emphasis>FirTechnology.</emphasis> This class contains the technology to design and generate the models with FIR technique.</para></listitem>
<listitem>
<para><emphasis>PredictionOnTheFly.</emphasis> Within this class, there are all the methods to perform the predictions with the model already generated.</para></listitem></itemizedlist>
</listitem>
<listitem>
<para><emphasis>iurban.predictionengine.prediction</emphasis> is the package with the classes containing the main programs for the model generation and forecasting values generation.</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para><emphasis>PredictionModelMain.</emphasis> Class containing the main to create the models.</para></listitem>
<listitem>
<para><emphasis>PredictionOnTheFlyMain.</emphasis> Class containing the main to generate the predictions.</para></listitem></itemizedlist>
</listitem></itemizedlist>
</section>
<section class="lev3" id="sec7-2-3-2">
<title>7.2.3.2 Deployment</title>
<para>In order to deploy the AI forecasting models, it is necessary to first generate a <emphasis>jar file</emphasis> containing all the aforementioned classes, as well as the necessary libraries. The <emphasis>jar</emphasis> file can run in any PC or local/cloud server that has a Java Virtual Machine.</para>
<para>It has to be taken into account that the models generated are stored locally in the machine where the <emphasis>jar</emphasis> file is running.</para>
<para>Along with the <emphasis>.jar</emphasis> file, it is necessary to create a <emphasis>config.properties</emphasis> file containing the following information:</para>
<fig id="F7-5" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F7-5">Figure <xref linkend="F7-5" remap="7.5"/></link></label>
<caption><para>config.properties file example.</para></caption>
<graphic xlink:href="graphics/ch07_fig005.jpg"/>
</fig>
<para><emphasis role="strong"><emphasis>DirectoyNameModel</emphasis></emphasis><emphasis>:</emphasis> Path where the models generated are stored.</para>
<para><emphasis role="strong"><emphasis>URL</emphasis></emphasis><emphasis>:</emphasis> Web API.</para>
<para><emphasis role="strong"><emphasis>User</emphasis></emphasis><emphasis>:</emphasis> iURBAN user with credentials to use the data.</para>
<para><emphasis role="strong"><emphasis>Password</emphasis></emphasis><emphasis>:</emphasis> Password of the user.</para>
<para><emphasis role="strong"><emphasis>Aggregation</emphasis></emphasis><emphasis>:</emphasis> Desired aggregation for the prediction in minutes. For instance, in the example above, the models and predictions are performed with daily (aggregation of 1440 min, which is equal to 24 h) and hourly data (aggregation of 60 min, which is equal to 1 h).</para>
<para><emphasis role="strong"><emphasis>WindowForecasting</emphasis></emphasis><emphasis>:</emphasis> Horizon of the prediction. In the example above, the first value (&#x0201C;31&#x0201D;) corresponds to the aggregation value &#x0201C;1440&#x0201D;; therefore, it is a daily prediction for the next 31 days. The second value (&#x0201C;72&#x0201D;) corresponds to the aggregation value &#x0201C;60&#x0201D;; thus, it is an hourly prediction for the next 72 hours.</para>
<para><emphasis role="strong"><emphasis>PredicitonCategory</emphasis></emphasis><emphasis>:</emphasis> ConsumptionCategories of sensors that will be predicted.</para>
<para><emphasis role="strong"><emphasis>PredicitonTypes</emphasis></emphasis><emphasis>:</emphasis> Type of sensors that will be predicted.</para>
<para><emphasis role="strong"><emphasis>SleepTimeExecutionModel</emphasis></emphasis><emphasis>:</emphasis> How often the models are updated in minutes.</para>
<para><emphasis role="strong"><emphasis>SleepTimeExecutionPredictionOnTheFly</emphasis></emphasis><emphasis>:</emphasis> How often the prediction is performed in minutes.</para>
<para><emphasis role="strong"><emphasis>InstallationsToStudy</emphasis></emphasis><emphasis>:</emphasis> Installations in the data warehouse to perform the prediction.</para>
<para><emphasis role="strong"><emphasis>InstallationsToDiscard</emphasis></emphasis><emphasis>:</emphasis> Installations discarded to perform the prediction.</para>
<para><emphasis role="strong"><emphasis>Attributes</emphasis></emphasis><emphasis>:</emphasis> Attributes used to create the models and perform the predictions.</para>
<para><emphasis role="strong"><emphasis>ExternalWeatherInfo</emphasis></emphasis><emphasis>:</emphasis> Use of weather information to train the model and predicts.</para>
<para>The deployment of the AI forecasting models has been done in the cloud. The cloud service has been subcontracted to <emphasis>Microsoft Azure.</emphasis> The specifications of the instance are as follows:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Windows server 2012 R2</para></listitem>
<listitem>
<para>Number of CPU cores: 2</para></listitem>
<listitem>
<para>RAM: 3.5 GB</para></listitem>
<listitem>
<para>Local resource: 496.664 MB (496 GB)</para></listitem></itemizedlist>
</section>
</section></section>
<section class="lev1" id="sec7-3">
<title>7.3 Dynamic Tariff Comparison and Demand Response Simulation</title>
<section class="lev2" id="sec7-3-1">
<title>7.3.1 Functionality</title>
<para>Dynamic tariff comparison and demand response simulation functionality are implemented as VPP functionality. The VPP is a back end calculation engine only. This means that there is no direct interaction between iURBAN tool users and the VPP. Users interact with the VPP via the CDSS GUI.</para>
<para>Based on historical consumption data for one or more city model prosumer objects, the VPP provides following functionality:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Calculate energy costs for different dynamic tariffs <footnote id="fn7_1" label="1"><para>Note: In the context of iURBAN, the term &#x0201C;dynamic tariff&#x0201D; simply means that energy cost is a function of time. Dynamic tariffs are defined well in advance (e.g., adjusted only once every X months) and do not change in the short term. Other than dynamic tariffs, &#x0201C;(near-)real-time&#x0201D; tariffs change in the short term (e.g., announced 24 h in advance for the next day based on renewables generation forecast). &#x0201C;(Near-)real-time&#x0201D; tariffs are out of scope of iURBAN.</para></footnote> (in the following called <emphasis>test tariffs</emphasis>) against a tariff currently in place.</para></listitem>
<listitem>
<para>Account for potential user behavior changes: Simulate how dynamic tariffs could influence consumption patterns of the selected city object(s)&#x02014;e.g., reduced consumption during high price hours, increased consumption during low price hours (based on T3.3 work).</para></listitem></itemizedlist>
</section>
<section class="lev2" id="sec7-3-2">
<title>7.3.2 Stimulus/Response Sequence</title>
<para>The user interacts with the CDSS GUI to initiate tariff comparison and demand response simulation calculations. The user&#x02019;s simulation request is passed to the VPP via the SCDB-CDSS as shown in <link linkend="F7-6">Figure <xref linkend="F7-6" remap="7.6"/></link>.</para>
<fig id="F7-6" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F7-6">Figure <xref linkend="F7-6" remap="7.6"/></link></label>
<caption><para>Data flow diagram: dynamic tariff comparison and demand response simulation.</para></caption>
<graphic xlink:href="graphics/ch07_fig006.jpg"/>
</fig>
<para>Per selected prosumer object <emphasis>i</emphasis>, the VPP expects the following input data:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>&#x0201C;As is&#x0201D; energy consumption time series (historical data): cons_as is<subscript>i</subscript>(t)</para></listitem>
<listitem>
<para>&#x0201C;As is&#x0201D; energy tariff currently in place as a function of time: tarif<span style="margin-left:0.3em" class="thinspace"></span>f_as is<subscript>i</subscript>(t).</para></listitem></itemizedlist>
<para>Optional input data per prosumer object <emphasis>i</emphasis>:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Up to two alternative <emphasis>test tariffs</emphasis> selected for comparison tarif<span style="margin-left:0.3em" class="thinspace"></span>f_test<subscript>i,j</subscript>(t),</para></listitem>
<listitem>
<para>Three floating point values representing low, medium, and high price elasticity of demand: elast<subscript>i</subscript> = (elast<subscript>i,low</subscript>, elast<subscript>i,medium</subscript>, elast<subscript>i,high</subscript>).</para></listitem></itemizedlist>
<para>If energy consumption or tariff data are missing for any of the selected city objects, the VPP does not carry out a calculation and returns an error message.</para>
<para>If all required data are available, the VPP carries out calculations and provides the following results data per selected prosumer object <emphasis>i</emphasis>:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>&#x0201C;As is&#x0201D; energy consumption time series: cons_as is<subscript>i</subscript>(t)</para></listitem>
<listitem>
<para>&#x0201C;As is&#x0201D; energy cost time series: cost_as is<subscript>i</subscript>(t)</para></listitem>
<listitem>
<para>If <emphasis>test tariff(s)</emphasis> (up to 2) have been supplied, per test tariff:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>3 energy consumption time series according to low, medium, and high price elasticity of demand</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para><emphasis>cons_test_low<subscript>i</subscript>(t), cons_test_medium<subscript>i</subscript>(t), cons_test_high<subscript>i</subscript>(t)</emphasis></para></listitem></itemizedlist>
</listitem>
<listitem>
<para>4 energy consumption cost time series according to none, low, medium, and high price elasticity of demand</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para><emphasis>cost_test_none<subscript>i,j</subscript>(t), cost_test_low<subscript>i,j</subscript>(t), cost_test_medium<subscript>i,j</subscript>(t), cost_test_high<subscript>i,j</subscript>(t)</emphasis></para></listitem></itemizedlist>
</listitem></itemizedlist>
</listitem></itemizedlist>
</section>
<section class="lev2" id="sec7-3-3">
<title>7.3.3 User Workflow</title>
<orderedlist numeration="arabic" continuation="restarts" spacing="normal">
<listitem>
<para> <emphasis role="strong">CDSS</emphasis> user actions:</para>
<orderedlist numeration="loweralpha" continuation="restarts" spacing="normal">
<listitem>
<para>The user opens the CDSS GUI tariffs analysis module.</para></listitem>
<listitem>
<para>The user selects a commodity of interest (e.g., electricity or gas).</para></listitem>
<listitem>
<para>The user selects one or more prosumer object, i.e., buildings or other city objects of interest.</para></listitem>
<listitem>
<para>For each prosumer object selected, the user assigns</para>
<orderedlist numeration="lowerroman" continuation="restarts" spacing="normal">
<listitem>
<para>The current tariff (note: The CDSS is to provide a tariff database so that a user can easily select tariffs previously defined).</para></listitem>
<listitem>
<para>0 to 2 alternative tariffs (<emphasis>test tariffs</emphasis>) (note: To speed up the process, the CDSS GUI probably provides functionality to assign the same tariff to all selected objects).</para></listitem>
<listitem>
<para>Optional: Values for low, medium, and high elasticity of demand (note: The CDSS GUI provides default values per commodity).</para></listitem></orderedlist>
</listitem>
<listitem>
<para>The user saves the simulation request under a specific name.</para></listitem></orderedlist>
</listitem>
<listitem>
<para>User input is stored in the <emphasis role="strong">SCDB-CDSS</emphasis> and parsed to the VPP from the SCDB-CDSS.</para></listitem>
<listitem>
<para><emphasis role="strong">VPP</emphasis> actions:</para>
<orderedlist numeration="loweralpha" continuation="restarts" spacing="normal">
<listitem>
<para>A new calculation job is created and added to the job queue.</para></listitem>
<listitem>
<para>The simulation job is carried out.</para></listitem>
<listitem>
<para>Simulation job results parsed back to the SCDB-CDSS.</para></listitem></orderedlist>
</listitem>
<listitem>
<para>The simulation results are stored in the <emphasis role="strong">SCDB-CDSS</emphasis>.</para></listitem>
<listitem>
<para><emphasis role="strong">CDSS user</emphasis> actions:</para>
<orderedlist numeration="loweralpha" continuation="restarts" spacing="normal">
<listitem>
<para>The user analyses simulation results.</para></listitem>
<listitem>
<para>The user can select to see aggregated results for a selected group of objects. Aggregation calculations required for this are carried out by the CDSS.</para></listitem></orderedlist>
</listitem></orderedlist>
</section>
<section class="lev2" id="sec7-3-4">
<title>7.3.4 Calculation Methodology</title>
<section class="lev3" id="sec7-3-4-1">
<title>7.3.4.1 Price elasticity background</title>
<para><emphasis>Price elasticity of demand</emphasis> is a simple concept used in economics to estimate the change of demand of a certain good if its price changes.</para>
<para>It is defined as follows:</para>
<para><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="graphics/ch07_eq2.jpg" mime-subtype="jpeg"/></para>
<para>University of Freiburg carried out research on how well this concept can be applied in the context of energy demand.</para>
<para>Suggested reasonable ranges for elasticity factors for electricity and gas:</para>
<table-wrap position="float" id="T7-1">
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left"></td>
<td valign="bottom" align="center">Residential Electricity</td>
<td valign="bottom" align="center">Commercial Electricity</td>
<td valign="bottom" align="center">Residential Natural Gas</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Short-run elasticity</td>
<td valign="top" align="center">&#x02013;0.24</td>
<td valign="top" align="center">&#x02013;0.21</td>
<td valign="top" align="center">&#x02013;0.12</td>
</tr>
<tr>
<td valign="top" align="left">Long-run elasticity</td>
<td valign="top" align="center">&#x02013;0.32</td>
<td valign="top" align="center">&#x02013;0.97</td>
<td valign="top" align="center">&#x02013;0.36</td></tr>
</tbody>
</table>
</table-wrap>
<para>Absolute values of long-run elasticity were found to be higher than short-run ones. This indicates that users seem to require some time to adjust to different prices.</para>
<para><emphasis role="strong">Note 1:</emphasis> When applying elasticity factors, the total consumption changes:</para>
<para><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="graphics/ch07_eq3.jpg" mime-subtype="jpeg"/></para>
<para>This is in agreement with real-world observations: Customer DR initiated by flexible tariffs has both load shifting and energy saving/&#x0201C;wasting&#x0201D; components:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Load shifting: Equipment is used at a different time of the day, but in total, the same amount of energy is consumed.</para></listitem>
<listitem>
<para>Energy saving: Consumption is reduced, e.g. by dimming light intensity during high-price periods.</para></listitem>
<listitem>
<para>Energy &#x0201C;wasting&#x0201D;: Consumption is increased, e.g., do not switch off the light in non-occupied rooms because electricity is cheap anyway.</para></listitem></itemizedlist>
</section>
<section class="lev3" id="sec7-3-4-2">
<title>7.3.4.2 Dynamic tariff comparison and demand response formula</title>
<para>If all required data are available, the VPP carries out calculations and provides the following results data per selected prosumer object <emphasis>i</emphasis>:</para>
</section>
<section class="lev4" id="sec7-3-4-3">
<title>Demand response:</title>
<para>&#x0201C;As is&#x0201D; consumption</para>
<para><emphasis>= cons_as_is<eubscript>i</eubscript>(t)</emphasis></para>
<para>Furthermore, if test tariffs (up to 2) have been provided consumption time series adjusted by price elasticity (low, medium, high) of demand:</para>
<para><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="graphics/ch07_eq4.jpg" mime-subtype="jpeg"/></para>
</section>
<section class="lev4" id="sec7-3-4-4">
<title>Dynamic tariff:</title>
<para>&#x0201C;As is&#x0201D; energy cost:</para>
<para><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="graphics/ch07_eq5.jpg" mime-subtype="jpeg"/></para>
<para>Furthermore, if <emphasis>test tariffs</emphasis> (up to 2) have been provided:</para>
<para><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="graphics/ch07_eq6.jpg" mime-subtype="jpeg"/></para>
</section>
</section>
<section class="lev2" id="sec7-3-5">
<title>7.3.5 Assumptions and Limitations</title>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>In contrast to other VPP calculations, tariff comparison and DR simulation calculations are carried out for historical data only (considering forecast data as well would not provide extra value).</para></listitem>
<listitem>
<para>The user may not define the time span for tariff analysis: Per default, up to one year of historical data is analyzed.</para></listitem>
<listitem>
<para>Tariff analysis and DR calculations are to be carried out on prosumer object level only. This means that no aggregation to a higher level or re-calculation of VPP network status based on changed consumption patterns of city objects is required.</para></listitem>
<listitem>
<para>The VPP shall provide some kind of job batch queue mechanism to allow a user to schedule several tariff comparison and demand response simulation runs. This implies that different tariff comparison and demand response jobs are carried out independently from each other. If a user requests to store results of more than one tariff comparison and DR simulation at a time, this needs to be implemented as functionality of the system connecting to the VPP (SCDB-CDSS).</para></listitem>
<listitem>
<para>Tariff comparison and DR simulation consider energy consumption only; energy generation is not considered. <footnote id="fn7_2" label="2"><para>One reason for this decision is that feed-in tariff structures are comparatively complex in iURBAN demo cities. The project consortium agreed to focus on energy consumption only.</para></footnote></para></listitem>
<listitem>
<para>The dynamic tariff data model only needs to support tariffs of a format which can be expressed as function of time (=time series). Aspects such as standing charges and capacity charges are not supported.</para></listitem></itemizedlist>
</section>
</section>
<section class="lev1" id="sec7-6">
<title>7.6 Conclusions</title>
<para>This chapter has presented the two main smart algorithms within iURBAN. Prediction of consumption and production of energy were demanded by households as a must feature, receiving good feedback about its representation through the graphical user interface.</para>
<para>Variable tariff and demand response simulation capabilities have been describing initial assumptions as well as a use case showing the expected iteration of end users with VPP (the tool which integrates the algorithms) through the CDSS interface.</para>
</section>
<section class="lev1" id="sec7-7">
<title>References</title>
<orderedlist numeration="arabic" continuation="restarts" spacing="normal">
<listitem>
<para id="bib7-1">Khamis, M. F. I., Baharudin, Z., and Hamid, N. H. (2011). Electricity forecasting for small scale power system using artificial neural network. <emphasis>Power Engineering and Optimization Conference (PEOCO) 5th International</emphasis>, pp. 54&#x02013;59. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Khamis%2C+M%2E+F%2E+I%2E%2C+Baharudin%2C+Z%2E%2C+and+Hamid%2C+N%2E+H%2E+%282011%29%2E+Electricity+forecasting+for+small+scale+power+system+using+artificial+neural+network%2E+Power+Engineering+and+Optimization+Conference+%28PEOCO%29+5th+International%2C+pp%2E+54-59%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib7-2">Marvuglia, A., and Messineo, A. (2012). Using recurrent artificial neural networks to forecast household electricity consumption. <emphasis>Energy Procedia</emphasis>, 14, 45&#x02013;55. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Marvuglia%2C+A%2E%2C+and+Messineo%2C+A%2E+%282012%29%2E+Using+recurrent+artificial+neural+networks+to+forecast+household+electricity+consumption%2E+Energy+Procedia%2C+14%2C+45-55%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib7-3">Tranchita, C., and Torres, A. (2004). Soft computing techniques for short term load forecasting. <emphasis>Power Syst. Conf. Expo.</emphasis>, 1, 497&#x02013;502.</para></listitem>
<listitem>
<para id="bib7-4">Caruana, R., and Niculescu-Mizil, A. (2006). An empirical comparison of supervised learning algorithms. <emphasis>Proceedings of the 23rd International Conference on Machine Learning (ICML2006)</emphasis>, pp. 161&#x02013;168. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Caruana%2C+R%2E%2C+and+Niculescu-Mizil%2C+A%2E+%282006%29%2E+An+empirical+comparison+of+supervised+learning+algorithms%2E+Proceedings+of+the+23rd+International+Conference+on+Machine+Learning+%28ICML2006%29%2C+pp%2E+161-168%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib7-5">Nesreen, A. K., Amir, A. F., Neamat, G., and Hisha, E. H. (2010). An empirical comparison of machine learning models for time series forecasting. <emphasis>Econometric Rev.,</emphasis> 29, 594&#x02013;621.</para></listitem>
<listitem>
<para id="bib7-6"><check_ext-link>http://www.forecasters.org/data/m3comp/m3comp.htm</check_ext-link></para></listitem>
<listitem>
<para id="bib7-7">Tso, G. K. F., and Yau, K. K. W. (2007). Predicting electricity energy consumption: A comparison of regression analysis, decision tree and neural networks. <emphasis>Energy</emphasis>, 32, 1761&#x02013;1768. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Tso%2C+G%2E+K%2E+F%2E%2C+and+Yau%2C+K%2E+K%2E+W%2E+%282007%29%2E+Predicting+electricity+energy+consumption%3A+A+comparison+of+regression+analysis%2C+decision+tree+and+neural+networks%2E+Energy%2C+32%2C+1761-1768%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib7-8">Jurado, S., Nebot, A., and Mugica F. (2015). Hybrid methodologies for electricity load forecasting: Entropy-based feature selection with machine learning and soft computing techniques. <emphasis>Energy</emphasis>, 86, 276&#x02013;291. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Jurado%2C+S%2E%2C+Nebot%2C+A%2E%2C+and+Mugica+F%2E+%282015%29%2E+Hybrid+methodologies+for+electricity+load+forecasting%3A+Entropy-based+feature+selection+with+machine+learning+and+soft+computing+techniques%2E+Energy%2C+86%2C+276-291%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib7-9">Breiman, L. (2001). Random forests. <emphasis>Machine Learning</emphasis>, 45 (1), 5&#x02013;32. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Breiman%2C+L%2E+%282001%29%2E+Random+forests%2E+Machine+Learning%2C+45+%281%29%2C+5-32%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib7-10">Breiman, L. (1996). Bagging predictors. <emphasis>Machine Learning</emphasis>, 24 (2), 123&#x02013;140. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Breiman%2C+L%2E+%281996%29%2E+Bagging+predictors%2E+Machine+Learning%2C+24+%282%29%2C+123-140%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib7-11">Kleinberg, E. (1996). An overtraining-resistant stochastic modeling method for pattern recognition. <emphasis>Annals of Statistics</emphasis> 24 (6), 2319&#x02013;2349. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Kleinberg%2C+E%2E+%281996%29%2E+An+overtraining-resistant+stochastic+modeling+method+for+pattern+recognition%2E+Annals+of+Statistics+24+%286%29%2C+2319-2349%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib7-12">Li, Y., Wang, S., and Ding, X. (2010). Person-independent head pose estimation based on random forest regression. <emphasis>17th IEEE International Conference on Image Processing (ICIP)</emphasis>, pp. 1521&#x02013;1524. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Li%2C+Y%2E%2C+Wang%2C+S%2E%2C+and+Ding%2C+X%2E+%282010%29%2E+Person-independent+head+pose+estimation+based+on+random+forest+regression%2E+17th+IEEE+International+Conference+on+Image+Processing+%28ICIP%29%2C+pp%2E+1521-1524%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib7-13">McCulloch, W., and Pitts, W. (1943). A logical calculus of ideas immanent in nervous activity. <emphasis>Bullet. Mathematic. Biophy.</emphasis>, 5(4), 115&#x02013;133. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=McCulloch%2C+W%2E%2C+and+Pitts%2C+W%2E+%281943%29%2E+A+logical+calculus+of+ideas+immanent+in+nervous+activity%2E+Bullet%2E+Mathematic%2E+Biophy%2E%2C+5%284%29%2C+115-133%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib7-14">Rosenblatt, F. (1958). The perceptron: A probalistic model for information storage and organization in the brain. <emphasis>Psychol. Rev.</emphasis>, 65(6), 386&#x02013;408. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Rosenblatt%2C+F%2E+%281958%29%2E+The+perceptron%3A+A+probalistic+model+for+information+storage+and+organization+in+the+brain%2E+Psychol%2E+Rev%2E%2C+65%286%29%2C+386-408%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib7-15">Alon, I., Qi, M. and Sadowski, R. J. (2001). Forecasting aggregate retail sales: A comparison of artificial neural networks and traditional methods. <emphasis>J. Retail. Consum. Serv.</emphasis>, 8, 147&#x02013;156. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Alon%2C+I%2E%2C+Qi%2C+M%2E+and+Sadowski%2C+R%2E+J%2E+%282001%29%2E+Forecasting+aggregate+retail+sales%3A+A+comparison+of+artificial+neural+networks+and+traditional+methods%2E+J%2E+Retail%2E+Consum%2E+Serv%2E%2C+8%2C+147-156%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib7-16">White, H. (1990). Connectionist nonparametric regression: multilayer feed forward networks can learn arbitrary mappings. <emphasis>Neural Networks</emphasis>, 3, 535&#x02013;549. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=White%2C+H%2E+%281990%29%2E+Connectionist+nonparametric+regression%3A+multilayer+feed+forward+networks+can+learn+arbitrary+mappings%2E+Neural+Networks%2C+3%2C+535-549%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib7-17">Chow, T. W. S., and Cho, S. Y. (2007). Neural Networks and Computing: Learning Algorithms and Applications. 7, 14&#x02013;15. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Chow%2C+T%2E+W%2E+S%2E%2C+and+Cho%2C+S%2E+Y%2E+%282007%29%2E+Neural+Networks+and+Computing%3A+Learning+Algorithms+and+Applications%2E+7%2C+14-15%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib7-18">Klir, J., and Elias, D. (2002). <emphasis>Architecture of systems problem solving</emphasis>, 2nd. Edn. Plenum Press, New York. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Klir%2C+J%2E%2C+and+Elias%2C+D%2E+%282002%29%2E+Architecture+of+systems+problem+solving%2C+2nd%2E+Edn%2E+Plenum+Press%2C+New+York%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib7-19">Nebot, A., Mugica, F., Cellier, F., and Vallverd&#x00FA;, M. (2003). Modeling and simulation of the central nervous system control with generic fuzzy models. <emphasis>Trans. Society Model. Simulat.,</emphasis> 79(11), 648&#x02013;669. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Nebot%2C+A%2E%2C+Mugica%2C+F%2E%2C+Cellier%2C+F%2E%2C+and+Vallverd%FA%2C+M%2E+%282003%29%2E+Modeling+and+simulation+of+the+central+nervous+system+control+with+generic+fuzzy+models%2E+Trans%2E+Society+Model%2E+Simulat%2E%2C+79%2811%29%2C+648-669%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib7-20">Escobet, A., Nebot, A., and Cellier, F. E. (2008). Visual-FIR: A tool for model identification and prediction of dynamical complex systems. <emphasis>Simulat. Modell. Practice Theory</emphasis>, 16, 76&#x02013;92. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Escobet%2C+A%2E%2C+Nebot%2C+A%2E%2C+and+Cellier%2C+F%2E+E%2E+%282008%29%2E+Visual-FIR%3A+A+tool+for+model+identification+and+prediction+of+dynamical+complex+systems%2E+Simulat%2E+Modell%2E+Practice+Theory%2C+16%2C+76-92%2E" target="_blank">Google Scholar</ulink></para></listitem></orderedlist>
</section>
</chapter>
<chapter class="chapter" id="ch08" label="8" xreflabel="8">
<title>Solar Thermal Production of Domestic Hot Water in Public Buildings</title>
<para role="author"><emphasis role="strong">Energy Agency of Plovdiv</emphasis></para>
<para>Energy Agency of Plovdiv, Plovdiv, Bulgaria</para>
<para><emphasis role="strong">Abstract</emphasis></para>
<para>This current chapter addresses the energy production situation in the pilot city of Plovdiv as investigated under the iURBAN project co-funded under the FP7 call. The focus of the article is the case study of one of seven public buildings with solar thermal installations realised with national and municipal funding. The pilot buildings are socially significant facilities &#x2013; public kindergartens, located per urban residential area. Their study draws conclusions over the effectiveness and usefulness of such installations in public buildings and builds upon their role as prosumers in the urban energy balance.</para>
<para><emphasis role="strong">Keywords:</emphasis> Energy production, Prosumers, Domestic hot water, Energy efficiency, Renewable energy resources, CO<subscript>2</subscript> reduction</para>
<section class="lev1" id="sec8-1">
<title>8.1 Introduction</title>
<para>The current chapter addresses the energy production situation in the pilot city of Plovdiv as investigated by the iURBAN project. The focus is a case study of one of seven public buildings with solar thermal installations realized through national and municipal funding. The pilot buildings are socially significant&#x02014;i.e., public kindergartens, distributed evenly in the pilot city residential areas. The study draws conclusions on the effectiveness and usefulness of solar monitoring installations in public buildings and builds upon their role in detecting prosuming and feeding the information to the urban energy balance.</para>
<section class="lev2" id="sec8-1-1">
<title>8.1.1 The Pilot</title>
<para>The city of Plovdiv is the second largest city in Bulgaria, approximately 152 km southeast of the Bulgarian capital of Sofia. The population is over 376,000, and there are approximately 300,000 visitors per year, including 80,000 foreign tourists.</para>
<para>Within the iURBAN project, the pilot city of Plovdiv built energy monitoring and management facilities for both energy consumption and production in 30 public and residential buildings. In the research and development framework of the project, it applied novel ICT and cloud-based services for promoting energy efficiency and renewable energy sources utilization on its territory.</para>
<para>Even though the energy management and monitoring systems in Plovdiv are not new to the residential buildings, only a few public buildings operate such. The mission of the iURBAN project was to expand their use and bring new perspective on the building and urban energy balance. Its integrated and validated ICT energy management systems (<link linkend="ch04">Chapter <xref linkend="ch4" remap="4"/></link>) gathered data useful for the local energy planning and development.</para>
<para>Monitoring of energy production was never realized in the city of Plovdiv up till the implementation of the iURBAN project. Putting a new, prosumer perspective on the realization of energy efficiency in the public sector, the seven public kindergartens were chosen&#x02014;they would produce domestic hot water (DHW) for their own use and thus indirectly reduce the need for centralized hot water provision.</para>
</section>
</section>
<section class="lev1" id="sec8-2">
<title>8.2 Public Solar Prosumers Background</title>
<section class="lev2" id="sec8-2-1">
<title>8.2.1 Background</title>
<para>Traditionally, solar thermal installations in the city of Plovdiv are realized in the residential sector for single-family houses. Still, their usefulness and effectiveness outreach to the public users.</para>
<para>The seven pilot prosumers were renovated in 2013 with national and municipal funding, i.e., energy efficiency measures were realized&#x02014;new external wall insolation, change of windows, change of lighting, and refurbishment of heating installation, along with the introduction of solar thermal installations for DHW.</para>
</section>
<section class="lev2" id="sec8-2-2">
<title>8.2.2 How Is the Energy Management and Monitoring Architecture Established?</title>
<para>In late 2014, an energy consumption and production monitoring and management installation was introduced by the iURBAN project.</para>
<para>The deployed solar prosumer smart metering system is independent and parallel to the utility energy consumption monitoring system. Its architecture is realized so that each prosumer kindergarten has its own smart solar meter with communication facilities to transmit data to a centralized data collection center which forwards the data to the iURBAN Cloud. The equipment includes communication modules and a <emphasis>blind</emphasis> PC to manage reading, writing, and transmitting data on site. It is possible to update PC software from only reading and transmission to managing the entire heating system. The <emphasis>blind</emphasis> PC then sends the data to a local centralized data collection center where the data are kept and forwarded to the iURBAN cloud.</para>
<para>This type of system reduces the transmission failure risk as the solar meter, the <emphasis>blind</emphasis> PC and the buffering server back up data before sending it to the iURBAN cloud. In addition, data granularity can be adjusted to any transmission pattern, which can be defined by both the data receiver and the data sender.</para>
<para>The parallel prosumer smart metering system is connected to the iURBAN data cloud, and though consumption and production data are sent from two different sources, this does not affect the data visualization on the iURBAN platform.</para>
<para>In the future, the prosumer system can be expanded beyond by registering new solar prosumers, so that it forms a regional system for monitoring of the heat production, thus to become municipal prosumer data center, relevant to the local authorities, public end users, and community.</para>
</section>
</section>
<section class="lev1" id="sec8-3">
<title>8.3 Case Study of a Prosuming Kindergarten</title>
<section class="lev2" id="sec8-3-1">
<title>8.3.1 Introduction</title>
<para>The kindergarten studied is a public kindergarten, with solar panels installed through national and municipal funding. The iURBAN system was built additionally to capture electricity, heating, and DHW consumption from the local utility and production of domestic hot water by solar thermal installation.</para>
<para>The solar system in the kindergarten has 12 solar vacuum pipe collectors, with a total number of 260 pipes in a system of mixed type. All of them are propylene glycol collectors, which influences the metering characteristics of the smart meter for the solar installation.</para>
<para>The kindergarten has two water tanks of 1 000l each and 2 serpentines per tank&#x02014;one for propylene glycol and second one for the local utility heat supply. Additional heating of the water inside the tanks could be done through two electric heaters per tank, i.e., four electrical heaters in total.</para>
</section>
<section class="lev2" id="sec8-3-2">
<title>8.3.2 What We&#x02019;re Interested in and How Data Can Tell It?</title>
<para>The current analysis is pointed toward the effectiveness of introducing solar thermal installations in a public building and the cost benefit of integrating monitoring system to it. We will be also looking at the relations between the usage of centralized DHW and own production of DHW and how this affect the general energy balance of the building. Finally, we will have a look at the overall financial benefits of the case and if they have implications in regard to their role as energy and finance saving measure.</para>
<para>For the purposes of these analyses, we will be using data from the baseline year 2012 and the monitoring year 2015. Data are acquired through distant metering in 2012 and real-time metering in 2015 through the iURBAN platform service. The data sets used for 2012 are electricity and heat energy consumption only. The data sets used for 2015 are electricity consumption, heat consumption divided into two subsets&#x02014;heating energy and DHW energy, and solar DHW production. Only one data gap in March and April 2015 was identified&#x02014;data were filled through normal distribution based on the working days. Data in January split into heating and DHW was not present so the distribution was made based on the closest month proportion; this approach was chosen to the annual average one due to seasonal concerns.</para>
<para>Weather data for the two periods are acquired through online service and then used for normalization of the heat data.</para>
<para>The evaluation is based on a comparison between 2012 where no energy efficiency and renewable energy sources measures were realized and 2015 where all measures were fully realized and operational.</para>
</section>
<section class="lev2" id="sec8-3-3">
<title>8.3.3 What the Results Tell Us for Baseline and Post-retrofit Periods?</title>
<section class="lev3" id="sec8-3-3-1">
<title>8.3.3.1 What was happening when no energy efficiency measure was implemented back in 2012?</title>
<para>The total annual energy consumption in 2012 was 472 MWh out of which 48 MWh (10%) was dedicated to electricity consumption and 425 MWh (90%) to heat consumption.</para>
<para><link linkend="F8-1">Figure <xref linkend="F8-1" remap="8.1"/></link> promptly shows the seasonal character of the heat energy use&#x02014;high in the winter season and low in the summer. The reason for the high winter values is the lack of energy efficiency measures implemented and poor building condition.</para>
<fig id="F8-1" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F8-1">Figure <xref linkend="F8-1" remap="8.1"/></link></label>
<caption><para>Monthly energy consumption in 2012 (kWh/y).</para></caption>
<graphic xlink:href="graphics/ch08_fig001.jpg"/>
</fig>
<para>The correlation between outside temperature and the heat consumed in the kindergarten is &#x02013;0.95, which corresponds to the prediction that with the rise of the outside temperature, the heat demand is reduced.</para>
<para><link linkend="F8-2">Figure <xref linkend="F8-2" remap="8.2"/></link> shows the share by energy type of the consumed energy. The share of electricity is 10% and that of the heat energy is 90%. The disproportion is due to the peculiarity of this type of public buildings&#x02014;kindergartens spend most of their electricity energy for lighting and the kitchen needs, and the heat energy is used for keeping the indoor comfort up to the national requirements and domestic hot water needs in the kitchen.</para>
<para>In 2012, the electricity use in the kindergarten has produced 39.17 t CO<subscript>2</subscript> (24%) and the heat energy use 123.14 t CO<subscript>2</subscript> (76%). <!--br /--></para>
<fig id="F8-2" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F8-2">Figure <xref linkend="F8-2" remap="8.2"/></link></label>
<caption><para>Annual energy consumption share by energy carrier in 2012 (kWh/y).</para></caption>
<graphic xlink:href="graphics/ch08_fig002.jpg"/>
</fig>
</section>
<section class="lev3" id="sec8-3-3-2">
<title>8.3.3.2 What happened when the building was deeply renovated and RES was introduced in 2015?</title>
<para>In summer 2013, energy renovation took place&#x02014;insulation and new windows, and solar thermal installation for DHW was introduced. In autumn 2014, the iURBAN energy management system was introduced for energy consumption and production alike. Thus, the impact of energy efficiency measures and renewable energy sources introduction is visible throughout 2015.</para>
<para>The total annual energy consumption in 2015 is 282 MWh distributed as follows in <link linkend="F8-3">Figure <xref linkend="F8-3" remap="8.3"/></link>&#x02014;electricity (21%), heat energy for heating (58%), heat energy for DHW from centralized heating supply (16%), and DHW from solar thermal production (5%).</para>
<fig id="F8-3" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F8-3">Figure <xref linkend="F8-3" remap="8.3"/></link></label>
<caption><para>Annual energy consumption share by energy carrier in 2015 (kWh/y).</para></caption>
<graphic xlink:href="graphics/ch08_fig003.jpg"/>
</fig>
<fig id="F8-4" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F8-4">Figure <xref linkend="F8-4" remap="8.4"/></link></label>
<caption><para>Monthly energy consumption in 2015 (kWh/y).</para></caption>
<graphic xlink:href="graphics/ch08_fig004.jpg"/>
</fig>
<para>The annual energy consumption and distribution in 2015 are shown in <link linkend="F8-4">Figure <xref linkend="F8-4" remap="8.4"/></link>. Winter months are high in heating demand (January, February, March, April, October, November, December). The correlation between outside temperature and the overall heat consumed in the kindergarten is &#x02013;0.94, which is slightly lower than 2012, but again corresponds to the notion that the outside temperature and the heat demand are inversely proportional; looking at the heating demand only the correlation is &#x02013;0.94 and at the DHW is &#x02013;0.63.</para>
<para>On the other hand, DHW demand is constant throughout the year, but is also dependant on the number of children. In winter, the DHW consumption from centralized heat supply is 85% of the total annual DHW consumption and is due to the high number of children attending and lower capabilities of the solar installation to produce. In summer, the consumption is 58% of the total annual and corresponds to lower number of children attending and the increased capacity of the solar installation to produce.</para>
<para>The DHW produced by the solar thermal installation accounts for 23% of the total DHW consumption. Its RES nature and the technology used define low seasonality of the production&#x02014;data show that production in the winter season is 44% and in summer season is 56% of the total annual production. Regarding the reduction in the DHW by centralized supply, the solar installation accounts for 15% of the DHW in winter and for 42% in summer. The correlation between the outside temperature and the solar production is 0.76 which shows direct positive effect of the warm weather on the production performance. In 2015, the correlation between DHW usage and solar production is &#x02013;0.43.</para>
<para>In 2015, the CO<subscript>2</subscript> emissions by the kindergarten show significant reduction. The electricity use produced 47.81 t CO<subscript>2</subscript>; the heating use, 47.57 t CO<subscript>2</subscript>; and the domestic hot water use, 13.29 t CO<subscript>2</subscript> including the RES savings. The solar installation produced energy that saved 3.99 t CO<subscript>2</subscript>.<!--br /--></para>
</section>
<section class="lev3" id="sec8-3-3-3">
<title>8.3.3.3 So how did EE and RES measures bring change in the kindergarten energy balance?</title>
<para>The weather data are acquired through the local meteo online service performance. Based on the values, outside temperatures are normalized and so is the heating energy consumed. The heat consumption is reduced due to the introduction of the energy efficiency measures, including iURBAN energy monitoring, with 337 kWh/m<superscript>2</superscript> or 68%. Normalized data are presented in <link linkend="T8-1">Table <xref linkend="T8-1" remap="8.1"/></link>:</para>
<para>Normalization for the electrical energy use is not needed as the kindergarten does not heat or cool on electricity. Still, the electricity use has risen from 49.14 kWh/m<superscript>2</superscript> to 59.97 kWh/m<superscript>2</superscript> or 22% (<link linkend="T8-2">Table <xref linkend="T8-2" remap="8.2"/></link>).</para>
<table-wrap position="float" id="T8-1">
<label><link linkend="T8-1">Table <xref linkend="T8-1" remap="8.1"/></link></label>
<caption><para>Normalized heating energy</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="center"></td>
<td valign="bottom" align="center">Heating<?lb?>Area<emphasis role="cline"/></td>
<td valign="bottom" align="center">Heating Energy<?lb?>Consumed<emphasis role="cline"/></td>
<td valign="bottom" align="center"></td>
<td valign="bottom" align="center"></td>
<td valign="bottom" align="center">Calibrated<?lb?>Heating Energy<emphasis role="cline"/></td>
</tr>
<tr>
<td valign="bottom" align="center">Year</td>
<td valign="bottom" align="center">m<superscript>2</superscript></td>
<td valign="bottom" align="center">kWh/y</td>
<td valign="bottom" align="center">HDD</td>
<td valign="bottom" align="center">HDD for This Climate Zone</td>
<td valign="bottom" align="center">kWh/m<superscript>2</superscript></td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="center">2012</td>
<td valign="top" align="center">973.28</td>
<td valign="top" align="center">424,630</td>
<td valign="top" align="center">2552.5</td>
<td valign="top" align="center">2241.8</td>
<td valign="top" align="center">496.75</td>
</tr>
<tr>
<td valign="top" align="center">2015</td>
<td valign="top" align="center">973.28</td>
<td valign="top" align="center">164, 045</td>
<td valign="top" align="center">2093.8</td>
<td valign="top" align="center">2241.8</td>
<td valign="top" align="center">157.42</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap position="float" id="T8-2">
<label><link linkend="T8-2">Table <xref linkend="T8-2" remap="8.2"/></link></label>
<caption><para>Normalized electrical energy</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left"></td>
<td valign="bottom" align="center">Heating Area</td>
<td valign="bottom" align="center">Electricity Consumed</td>
<td valign="bottom" align="center">Calibrated Electrical Energy</td>
</tr>
<tr>
<td></td>
<td colspan="4"><emphasis role="cline"/></td>
</tr>
<tr>
<td valign="bottom" align="left">Year</td>
<td valign="bottom" align="center">m<superscript>2</superscript></td>
<td valign="bottom" align="center">kWh/y</td>
<td valign="bottom" align="center">kWh/m<superscript>2</superscript></td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left"><emphasis role="strong">2012</emphasis></td>
<td valign="top" align="center">973.28</td>
<td valign="top" align="center">47,826</td>
<td valign="top" align="center">49.14</td>
</tr>
<tr>
<td valign="top" align="left"><emphasis role="strong">2015</emphasis></td>
<td valign="top" align="center">973.28</td>
<td valign="top" align="center">58,371</td>
<td valign="top" align="center">59.97</td></tr>
</tbody>
</table>
</table-wrap>	
<para>Thus, the energy intensity per person per square meter of the kindergarten is 1.82 kWh/m<superscript>2</superscript>/p in 2012 and 1.09 kWh/m<superscript>2</superscript>/p in 2015, i.e., 40% reduction.</para>
<para><link linkend="T8-3">Table <xref linkend="T8-3" remap="8.3"/></link> shows that the overall CO<subscript>2</subscript> emissions produced in 2012 are 162.31 t CO<subscript>2</subscript> and in 2015, 108.67 t CO<subscript>2</subscript>, i.e., 0.2t CO<subscript>2</subscript> per kid. This corresponds to overall reduction of 33% of the CO<subscript>2</subscript> emissions&#x02014;there is 22% increase in the emission from electricity use and 51% reduction in the emissions from heat energy use. The solar energy in 2015 has 3.99 t CO<subscript>2</subscript> not realized which is 7% of the heat energy.</para>
</section>
<section class="lev3" id="sec8-3-3-4">
<title>8.3.3.4 What is the overall impact of becoming a prosumer?</title>
<para>The solar installation and its monitoring infrastructure contribute significantly to the reduction in energy intensity and overall CO<subscript>2</subscript> savings in the kindergarten.</para>
<table-wrap position="float" id="T8-3">
<label><link linkend="T8-3">Table <xref linkend="T8-3" remap="8.3"/></link></label>
<caption><para>CO<subscript>2</subscript> emissions overview</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left"></td>
<td valign="bottom" align="center"></td>
<td valign="bottom" align="center" colspan="2">Heat Energy<emphasis role="cline"/></td>
<td valign="bottom" align="center"></td></tr>
<tr>
<td valign="bottom" align="left"></td>
<td valign="bottom" align="center">Electricity</td>
<td valign="bottom" align="center">Heating</td>
<td valign="bottom" align="center">DHW</td>
<td valign="bottom" align="center">Total t CO<subscript>2</subscript> Produced</td></tr>
<tr>
<td></td>
<td colspan="4"><emphasis role="cline"/></td>
</tr>
<tr>
<td valign="bottom" align="left">Year</td>
<td valign="bottom" align="center">t CO<subscript>2</subscript></td>
<td valign="bottom" align="center" colspan="2">t CO<subscript>2</subscript></td>
<td valign="bottom" align="center">t CO<subscript>2</subscript></td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">2012</td>
<td valign="top" align="center">39.17</td>
<td valign="top" align="center" colspan="2">123.14</td>
<td valign="top" align="center">162.31</td>
</tr>
<tr>
<td valign="top" align="left">2015</td>
<td valign="top" align="center">47.81</td>
<td valign="top" align="center" colspan="2">60.86</td>
<td valign="top" align="center">108.67</td>
</tr>
<tr><td valign="top" align="left" colspan="5"><emphasis role="cline"/></td></tr>
<tr>
<td valign="top" align="left"></td>
<td valign="top" align="center"></td>
<td valign="top" align="center">47.57</td>
<td valign="top" align="center">13.29</td>
<td valign="top" align="center"></td></tr>
</tbody>
</table>
</table-wrap>
<para>The particular solar installation in the studied kindergarten has produced 13.77 MWh energy for DHW in 2015 only. This corresponds to 3.99 t CO<subscript>2</subscript> saved and has brought a financial benefit of 607.54 EUR in 2015. The investment for establishment of the monitoring system is 1 246 EUR and will require 10% upon-demand technical support cost per year in the future. Its reimbursement will take 2, 4 years with the technical support.</para>
</section>
</section>
<section class="lev2" id="sec8-3-4">
<title>8.3.4 Discussion</title>
<para>The current study brought up real-time data acquired through iURBAN energy management and monitoring platform to show the benefits of introducing energy efficiency measures and utilization of renewable energy resources. The iURBAN architecture and data gathering provide reliable, qualitative, and quantitative approach toward evaluating the introduction of energy measures.</para>
<para>The introduction of iURBAN provides direct observation over the technical status of the installations and the reduction in the energy consumption. The presence of the iURBAN software is valuable for regular check of the technical status of the solar installation and its functioning, i.e., additional setup of the system could bring up to 50% improvement in the solar energy production. In addition, iURBAN could be used to detect energy leaks&#x02014;lighting left switched on, heating being on during weekends, etc., and thus to reduce energy costs.</para>
<para>Moreover, there could be direct evaluation of the impact&#x02014;in the case of the studied kindergarten, it is 51% heat energy reduction, 22% increase in the electricity use, and general energy reduction of 33%. The introduction of the solar thermal installations was estimated to account for 23% of the DHW supply and the CO<subscript>2</subscript> emissions.</para>
<para>Relating to the cost-benefit of the iURBAN architecture and service, in this case, a reimbursement period of 2.4 years was calculated, but this high reimbursement is due to the low readiness of the solar installation system and additional technical setup made. In the future, other facilities could achieve even lower reimbursement period, which <emphasis role="strong"><emphasis>strongly justifies</emphasis></emphasis> the introduction of real-time energy monitoring and management systems.</para>
</section>
</section>
<section class="lev1" id="sec8-4">
<title>8.4 Conclusion</title>
<para>The introduction of the iURBAN architecture and services in the city of Plovdiv proved valuable novel experience for the public users. It proved significant energy reduction results and facilitated for further improvement of their energy status. In the studied kindergarten, iURBAN uncovered energy reduction of 40% and CO<subscript>2</subscript> reduction of 33%, and 6% contribution by RES utilization to the energy balance and 23% to the CO<subscript>2</subscript> emission reduction. It also spurred new setup of the kindergarten energy systems and planning for new energy efficiency measures.</para>
<para>In the future, based on the iURBAN platform feedback, different prosumer profiles will be identified, thus facilitating optimization through prediction models and dynamic and demand response tariffs. The use of the local decision support system by the prosumers engages them, thus bringing them to aim higher at introducing more energy efficiency measures and achieving greater energy savings.</para>
</section>
</chapter>
<chapter class="chapter" id="ch09" label="9" xreflabel="9">
<title>Business Models</title>
<para role="author"><emphasis role="strong">Stefan Reichert and Jens Str&#x00FC;ker</emphasis></para>
<para>University of Freiburg, Freiburg im Breisgau, Germany</para>
<para><emphasis role="strong">Abstract</emphasis></para>
<para>In this chapter, we describe the potential impacts of the use-cases on the business activities of the involved market actors as well as the implications from testing the smartDSS functionalities in the context of the Bulgarian and Croatian energy market. It can be concluded that the use of smartDSS assists the daily business of utilities, municipalities, and probably also energy managers and creates new opportunities for their business models in the sense of providing the ground on which new services can be built. Regulatory barriers in the energy markets of Croatia and Bulgaria remain a significant constraint for exploiting the full potential of the energy management system.</para>
<para><emphasis role="strong">Keywords:</emphasis> Business Models, Energy Management system, Regulatory Framework, Demand-Side Management</para>
<section class="lev1" id="sec9-1">
<title>9.1 Introduction</title>
<para>The increasing digitization in most aspects of today&#x02019;s society is one of the fundamental changes for the daily lives of all involved individuals. The so-called Internet of things (IoT) allows people and devices to connect with each other at any given time independent from their current location. This opens up a wide array of opportunities of how and when we can access information. These developments are mainly targeted to increase customers&#x02019; comfort, flexibility, and the potential to save money, as transaction and information costs are reduced notably. However, in some other cases, the increasing digitalization is becoming also a necessity. This becomes evident in energy sectors that are aiming to reach a high share of renewable energy. Many countries around the world have set ambitious targets to reduce greenhouse gas emissions and subsequently aim to replace fossil energy sources with renewable energies, such as wind and solar power. Besides the reduction in greenhouse gases, the transition of the energy sector is oftentimes linked to broader sustainability goals, such as supporting electric mobility or raising energy efficiency. By extending energy generation from renewable sources, countries can replace existing non-renewable energy sources, such as coal and nuclear power. For instance, Germany strives for a twofold change consisting of nuclear phase-out and a concurrent abolishment of most fossil fuels [<link linkend="bib9-1">1</link>]. Local generation and the inclusion of new actors such as prosumers are key to achieve the energy efficiency targets for the next years.</para>
<para>However, rising shares of volatile renewable energies are also posing many challenges for the energy supply. A successful transformation of the energy sector is often seen as inseparably linked with a smarter grid, as the old paradigm that supply follows demand can no longer hold. Information systems (IS) may constitute a key element of a smarter grid, as they provide the tools for more accurate measurements and predictions. The installation of smart meters in buildings is one of the main parts of required infrastructure. Up to now, individual countries have made very different experience regarding the installation of such smart meters and the development of a smart grid. In order to provide these benefits and meet EU targets, the smart grid must be able to seamlessly integrate various existing and/or new technologies&#x02014;meters, sensors, data processing systems, etc.&#x02014;with the physical infrastructure required to generate, transmit, and distribute electric power [<link linkend="bib9-2">2</link>].</para>
<para>Utilities and city authorities have long been using network systems such as SCADA to optimize resources and monitor assets to carry out preventative maintenance. However, the rich data sets generated and stored in these &#x0201C;silo&#x0201D; systems are found in a variety of formats and are not easily accessed by third parties, thus preventing the optimal management, control, and efficiency of many city services (i.e., utilities, security, health, transportation, street lighting, and local government administration). Therefore, new systems are required that are fully functional within a smart grid and allow different market actors to access required data without violating the privacy of connected consumers and prosumers.</para>
</section>
<section class="lev1" id="sec9-2">
<title>9.2 Benefit Framework for the Operation of an Energy Management Platform</title>
<section class="lev2" id="sec9-2-1">
<title>9.2.1 Evaluation Framework</title>
<para>As with all information systems and technologies, the benefits of the implementation of an energy management system, such as the proposed smartDSS, need to be determined ex ante. We use a framework consisting of several benefit types for the identification of all potential business uses.</para>
<para>There are a number of existing methodologies for the quantification of benefits connected with the implementation of new technologies, such as decision support systems. For the smartDSS, there are a number of potential operators, which can yield different individual benefits. One common methodology suggests following a path similar to that applied to most other technological innovations [<link linkend="bib9-3">3</link>]. This approach proposes the adjustment and application of well-established methods from the fields of capital budgeting and performance measurement. Mostly this method above addresses the problem of how to achieve overall quantification with the aim of establishing a basis for decisions regarding the initiation or postponement of an investment in a new technology (or, for that matter, decisions in respect of any investment accompanied by cost&#x02013;benefit consequences that are insufficiently understood).</para>
<para>While some studies indirectly address ex ante benefit evaluation (namely field studies and live tests that require an actual implementation of the new technology), the remainder focus on only one or two of the three main aspects of benefit evaluation: classification frameworks, such as [<link linkend="bib9-4">4</link>] help in identifying potential benefits of new applications without addressing quantification issues. Forecast models, such as the one presented by [<link linkend="bib9-5">5</link>], address the forecast problem of investments, which is, on predicting the extent to which the number of processes and activities and/or resource consumption change, while largely neglecting the financial side. Finally, assessment models, such as [<link linkend="bib9-6">6</link>] focus on the assessment problem, that is, on attaching a monetary value to multiple process improvements, while using &#x0201C;expert estimations&#x0201D; to bypass the forecast problem.</para>
<para>Based on the work from [<link linkend="bib9-7">7</link>], the mentioned results can be adjusted in an ex ante evaluation framework that splits up potential benefits from the implementation of a decision support system into 3 benefit types:</para>
<para><emphasis><underline>Information</underline></emphasis>: The measurement, collection, and visualization of production and consumption levels. As the smartDSS collects and displays detailed near real-time consumption and production data, it allows to create an overview of the current status of the grid and local areas. These information benefits do not require modified structures and processes. They might, however, include additional data gathering, which is not economically feasible without a smartDSS.</para>
<para><emphasis><underline>Optimization</underline></emphasis>: Active balancing of production and consumption levels. As the smartDSS comprises both a centralized (CDSS) and local component (LDSS), it also allows to activate additional capacities, e.g., through demand-side management. This can happen both through immediate action (direct load control) and through long-term based changes in the pricing structure (e.g., the creation of new real-time tariffs). Equivalently, potential optimization benefits can comprise the optimal activation or deactivation of additional production and storage units.</para>
<para><emphasis><underline>Transformation</underline></emphasis><underline>:</underline> Re-engineering of existing business processes and investment decisions. Based on information and analytics functionalities of the smartDSS, decisions about investments into new infrastructure can be made, e.g., new solar panels in areas with high solar power potential or about the enhancement and reinforcement of the grid. Detailed information about consumption and production at all times allows an optimal market behavior and restructuring of the supply chain management.</para>
<para>While these three effects are helpful for identifying and categorizing benefits of the implementation of a decision support system, they offer only limited guidance for selecting and applying concrete instruments for an ex ante benefit quantification of a smartDSS operation. Therefore, these three benefit types can be further split up to help in identifying the related business potential in a case-specific setting and that are linked to specific quantification, i.e., forecast and assessment instruments.</para>
<para><emphasis><underline>Direct Benefits</underline></emphasis><underline>:</underline> Direct benefits of the operation of a smartDSS are understood to be effects that are immediately positive results of introducing the technology.</para>
<para><emphasis><underline>Indirect Benefits</underline></emphasis>: Indirect benefits result from changes in decisions or systems that are enabled by a purposeful distribution and utilization of the data. They are therefore delayed in time and may be realized at different locations than where the data were collected.</para>
<para>As per definition, there exist no direct transformational benefits, as long-term changes within the organization or new investment decisions are only realized indirectly from the utilization of the data. These direct and indirect benefits can be further split up into operational and managerial benefits:</para>
<para><emphasis><underline>Operational Benefits</underline></emphasis><underline>:</underline> Operational benefits are created through improved work processes on a day-to-day basis. These benefits are therefore not based on a restructuring or implementation of new work processes but on a refinement of existing ones.</para>
<para><emphasis><underline>Managerial Benefits</underline></emphasis><underline>:</underline> Managerial benefits denote effects stemming from enhanced management support with integrated, aggregated, energy data which, in most cases, has been further refined and are targeted toward long-term positive results of the business processes. Managerial benefits require a data pool that is integrated and aggregated, and that stores historical data. Managerial benefits are by definition always indirect since they are based on data usage and are not realized in the short run (<link linkend="F9-1">Figure <xref linkend="F9-1" remap="9.1"/></link>).</para>
</section>
<section class="lev2" id="sec9-2-2">
<title>9.2.2 Assessment of Benefits for Energy Providers</title>
<para>By sub-categorizing information, optimization, and transformation benefits further into direct/indirect and operational/managerial benefits, we derive in total eight benefit types for the operator of a Smart City Energy Management Platform, as visualized in <link linkend="F9-2">Figure <xref linkend="F9-2" remap="9.2"/></link>. As an operator, we thereby assume an energy provider or a utility that manages the delivery of energy to the end consumer.</para>
<fig id="F9-1" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F9-1">Figure <xref linkend="F9-1" remap="9.1"/></link></label>
<caption><para>Segmentation of eight benefit types connected with the implementation of a Smart City Energy Management Platform.</para></caption>
<graphic xlink:href="graphics/ch09_fig001.jpg"/>
</fig>
<para><underline>Type 1</underline>&#x02014;<emphasis>Automated notifications of unusual consumption and production levels</emphasis>: This benefit type can be directly generated from displaying information within the smartDSS and setting thresholds for which the system automatically gives a signal when it is reached. Unforeseen fluctuations in the energy production levels of solar and wind power installations can seriously jeopardize grid stability or cause significant costs to the energy provider by the activation of expensive balancing energy. Simultaneously, aggregated consumption levels can change unexpectedly, oftentimes in response to weather conditions as well. Automated notifications thereby help to anticipate critical grid situations. They lay the basis for further actions, e.g., optimization through sending out demand response requests.</para>
<para><underline>Type 2</underline>&#x02014;<emphasis>Monitoring of consumption and production levels/energy consumption overview</emphasis>: The smart meter data captures continuous consumption data, which enables the identification of inefficient consumption behaviors, especially for public buildings, since energy consumers here have little incentives to use energy efficiently, as they do not have to pay for the costs. For instance, public buildings may be kept heated on weekends, even though they are not used. The analysis of smart meter data helps to detect those inefficiencies in consumption patterns and significantly reduce energy costs. In contrast to benefit type 1, this benefit type is generated indirectly, through the manual analysis of data.</para>
<para><underline>Type 3</underline>&#x02014;<emphasis>Handling of unforeseen outages or critical grid situations</emphasis>: Based on the monitoring of production and consumption data, as well as their graphical display within the energy management system, specific bottlenecks within the grid can be detected. This allows to create strategies of how to handle situations, in which certain components of the smart grid become unavailable, e.g., during the replacement or failure of existing battery storages. Since the handling of unforeseen outages can cause very high costs, in the worst case through the blackout of the whole system, the required strategies can only be created on a managerial basis, through the careful evaluation of all existing data.</para>
<para><underline>Type 4</underline>&#x02014;<emphasis>Scheduling demand response requests</emphasis>: An active demand-side management can generally reduce the need to call expensive backup capacity in times of peak demand. For instance, some older power plants are no longer used on regular basis, but are infrequently activated to cover the peak demand on some days. This operation is not efficient both economically and environmentally. An active demand-side management as alternative to the activation of costly backup capacity can result in considerable savings for energy providers [<link linkend="bib9-8">8</link>].</para>
<para><underline>Type 5</underline>&#x02014;<emphasis>Setting price levels for automated demand response requests</emphasis>: Based on the direct benefits from scheduling demand response events, the results from previous requests and customers&#x02019; reactions can be analyzed for the adjustment of incentive schemes that are required for the participation of consumers.</para>
<para><underline>Type 6</underline>&#x02014;<emphasis>Customer segmentation and creation of new demand response programs and dynamic tariffs</emphasis>: Based on the benefit types 4 and 5, conclusions on a managerial basis can be taken regarding the segmentation and clustering of certain types of consumers. As some groups of consumers might exhibit a high price elasticity while others do not, the implementation of specifically tailored dynamic tariff schemes can help to ensure customer retention, while at the same time influencing aggregated demand in a beneficial way for the energy provider.</para>
<para><underline>Type 7</underline>&#x02014;<emphasis>What-if scenarios</emphasis>: A powerful functionality within the energy management system is a planning tool that allows to calculate the effects of adjustments or new installations in the grid. For instance, large amounts of additional PV panels, wind turbines, or battery storages might cause large effects on a certain part of the grid or even to the whole system. The tool allows estimating these effects prior to the installation. The connected benefits therefore arise indirectly through the transformation of existing business processes.</para>
<para><underline>Type 8</underline>&#x02014;<emphasis>Investment decisions and root problem detection</emphasis>: Lastly, the energy management platform can yield benefits that are only realized in the long run on an indirect and managerial basis from restructuring whole business processes. For instance, an active demand-side management reduces dependencies on suppliers of backup capacities. This can prove beneficial for the negotiation of future long-term contracts or the portfolio management at wholesale markets. Additionally, benefits arise from the detection of root problems in the infrastructure or existing business processes.</para>
</section>
</section>
<section class="lev1" id="sec9-3">
<title>9.3 Business Benefits for Related Use Cases</title>
<para>This section contains a brief description of the use cases that are related to the CDSS on an operational level, as well as an outline of the associated benefits in the energy market.</para>
<section class="lev2" id="sec9-3-1">
<title>9.3.1 Creation of City Energy View</title>
<para>A key component of smart grids and other energy supply systems is to have sufficient information about the current status of the system through a variety of measurement points. These embedded processing and digital communications enable the energy grid to be:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem><para>observable (able to measure the states of all grid elements)</para></listitem>
<listitem><para>controllable (able to affect the state of any grid element)</para></listitem>
<listitem><para>automated (able to adapt and self-heal)</para></listitem>
<listitem><para>fully integrated (fully interoperable with existing systems and have the capacity to incorporate a diversity of energy sources).</para></listitem>
</itemizedlist>
<para>The ability to display all relevant information from the supply chain to the end consumers, most importantly supply and demand levels, is one of the central and basic components of the smartDSS. It will include data for historical, current, and forecasts for future time horizons:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem><para>Visualization of the near real-time energy status of the city.</para></listitem>
<listitem><para>Visualization of the forecast (24/48/72 hours) for the energy status of the city.</para></listitem>
<listitem><para>Visualization of the history (e.g., last day/week/month/year) for the energy status of the city.</para></listitem>
</itemizedlist>
<para>To capture and display, all relevant data can create already a variety of different benefits, such as the detection of inefficient consumption patterns. The smart meter data capture continuous consumption behavior in the buildings in the pilot cities with installed equipment. As was found out during the first period after the installation of smart meters, one school building in Rijeka was fully heated over weekends when building was vacant. It turned out that the housekeeper responsible for the building was leaving the heating on over the weekend. The analysis of smart meter data helps to detect those inefficiencies in consumption patterns and significantly reduce heating costs.</para>
<para>The city energy view has the option to display all relevant consumption and production data as basis for the decision making process. The identification of trends in the consumption and production data (seasonalities, working day/weekend, hours of the day) allows the effective management of the supply and demand side. For instance, the detection of certain trends can help to optimize the purchases of needed quantities of energy supply, e.g., at the wholesale market. This is because it is usually cheaper for an energy retailer to make purchases of needed quantities early in advance. Short-term energy supply purchases are mostly connected with higher risks, e.g., higher price volatility at the intraday market, and necessity to activate balancing energy. Alternatively, peaks in consumption can be met through the creation of new dynamic tariffs or specific demand response events. For this, it is needed to clearly detect when exactly peaks in demand occur and how strong they are. Equivalently, the connection of certain weather conditions to production and consumption levels is enabling the utility to make better forecasts, which in turn allows an effective supply and demand-side management.</para>
<para>Connected benefits to the creation of a city energy overview are therefore:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem><para>Tool for quickly capturing an overview of data and energy flows.</para></listitem>
<listitem><para>Detection of inefficiencies or unusual production/consumption levels within the regional area.</para></listitem>
<listitem><para>Basis for decisions about certain actions (e.g., sending out demand response requests, shutting off certain energy production units).</para></listitem>
<listitem><para>Identification of bottlenecks in the system or areas for grid enhancement.</para></listitem>
<listitem><para>Identification of trends in the consumption and production data (seasonalities, working day/weekend, hours of the day).</para></listitem>
<listitem><para>Decision basis for portfolio optimization at wholesale market, i.e., day-ahead or intraday markets.</para></listitem>
<listitem><para>Decision basis for the creation of new demand-side management measures, e.g., creation of dynamic tariffs or demand response events.</para></listitem>
</itemizedlist>
<section class="lev3" id="sec9-3-1-1">
<title>9.3.1.1 Testing and validation in the pilot of Plovdiv</title>
<para>The energy view option is the first step: The utility company can take to an effective energy management. With a view to the greater digitalization of the energy market, close to real-time energy view is a pre-condition for building the future complex processes and relations.</para>
<para>Through the monitoring tool, the utility can obtain the information needed for the decision making process which aims at energy efficiency and reduction in costs for investment and maintenance and repairmen. All the measures and decisions which are taken are on the basis of the information for the consumption (resp. production)&#x02014;historical, current, and future forecast. After decision and implementation of action, the energy view option again gives feedback if the action taken achieves the desired results or not.</para>
<para>Thus, as stated, the energy view option is the basis on which the future actions are planned (Chart 9.1).</para>
<para>The CDSS provided to EVN TP and EVN EP (the heat and distribution grid companies), the means for monitoring the status of the consumption of heat (electricity) energy of a building, region, or the whole city, and at the same time to track also the energy production. The software presents a unique opportunity for grid operators (heat or electricity) to have an overview on the energy flows&#x02014;production and consumption in close to real time.</para>
<fig id="F9-1" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label>Chart 9.1</label>
<caption><para>Data and decision process.</para></caption>
<graphic xlink:href="graphics/ch09_chart001.jpg"/>
</fig>
<para>Thus, through the use of the CDSS, EVN TP has overcome a technical limitation in the use of a more user-orientated software which can be used both from technical and customer relations departments (Chart 9.2).</para>
<emphasis role="strong"></emphasis> 
<fig id="F9-1" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label>Chart 9.2</label>
<caption><para>Use of the smartDSS in the pilot of Plovdiv.</para></caption>
<graphic xlink:href="graphics/ch09_chart002.jpg"/>
</fig>
<fig id="F9-2" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F9-2">Figure <xref linkend="F9-2" remap="9.2"/></link></label>
<caption><para>Plovdiv city energy weekly view.</para></caption>
<graphic xlink:href="graphics/ch09_fig002a.jpg"/>
<graphic xlink:href="graphics/ch09_fig002a.jpg"/>
</fig>
<para>The city energy view option is helpful in the energy planning and balancing. Thus, it is also supported by a forecast function. In this way, the actual use of the CDSS could help the utility companies to achieve higher reliability of the grid infrastructure and at the same time lower costs and achieve energy efficiency. If the software encompasses the whole city consumption, then the tool will be very helpful in terms of the medium- and long-term planning of investment in new capacities, facilities, and energy infrastructure as a whole. In the case of the city of Plovdiv which is period of re-industrialization and opening of new factories and production capacities, a good overview of the energy consumption and production equips the utility with a mechanism or monitoring and analyzing of the needs of a region or the whole city.</para>
<para>Through the energy consumption view option, we have monitored the consumption patterns in the participating buildings. We identified when the peak times for energy consumption are. For electricity consumption, these are the morning hours between 6:30 am and 8:00 am, and in the evening 18:00&#x02013;21:00 pm. For heating, the peak hours of consumption are the evening 17:00&#x02013;21:00 pm.</para>
<para>The historical consumption option provides a handy tool of tracking the deviations in consumption pattern which can be due to not just energy savings but some technical problems. For instance, <link linkend="F9-3">Figure <xref linkend="F9-3" remap="9.3"/></link> gives an overview of the hot water consumption in Plovdiv and the days with the peaks. This provides an indication for the utility to have a closer observation and check for the reasons for the increased consumption.</para>
<para>On the basis of the historical and current consumption and pattern tracking, we could identify possible additional services which we can offer to the customers. When there is a potential for savings, we could offer or even develop tailor-based solutions for the buildings to optimize their energy consumption and reach higher level of energy efficiency. Furthermore, the building comparing option helps to identify whether the implemented energy efficient measures in a comparable similar building gives results compared to a building with no such measures taken (<link linkend="F9-4">Figure <xref linkend="F9-4" remap="9.4"/></link>).</para>
<fig id="F9-3" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F9-3">Figure <xref linkend="F9-3" remap="9.3"/></link></label>
<caption><para>Hot water consumption in the city of Plovdiv (01.01.2016&#x02013;30.04.2016, covering the heating season).</para></caption>
<graphic xlink:href="graphics/ch09_fig003.jpg"/>
</fig>
<fig id="F9-4" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F9-4">Figure <xref linkend="F9-4" remap="9.4"/></link></label>
<caption><para>Electricity use over 1 day (23 August 2016)&#x02014;comparison between two kindergartens (<emphasis>left</emphasis>) and two buildings with relatively similar characteristics (<emphasis>right</emphasis>).</para></caption>
<graphic xlink:href="graphics/ch09_fig004.jpg"/>
</fig>
<para>The energy forecast option gives us an idea what will be the demand for the following period. Thus, this has allowed us as power plant operator to align the production based on the estimated consumption. However, the results which are visible through the software are only representative. Still the significant number of the DH customers in Plovdiv use metering devices which do not allow hourly reading or their internal heating installation is vertical without individual metering devices.</para>
</section>
<section class="lev3" id="sec9-3-1-2">
<title>9.3.1.2 Testing and validation in the pilot of Rijeka</title>
<para>The CDSS provided for municipal and utility users in Rijeka had the goal to provide users with consumption details for buildings included in project. Also, both types of users could make parallel testing and validation of data shown in the system with the data shown in other data systems (installed by manufacturer of metering equipment or other proprietary databases).</para>
<para>Municipal users had the opportunity to monitor consumptions of several energy sources used in each building and to help them decide what measures might be taken in the future to try and reduce (or control) the consumptions. From their experience with the CDSS, the municipality deems the following:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem><para>Application is user-friendly</para></listitem>
<listitem><para>It provides service management of energy consumption</para></listitem>
<listitem><para>Users must have a basic technical knowledge to use this application</para></listitem>
<listitem><para>It provides quick response with unusual consumption</para></listitem>
<listitem><para>It reduces reaction time for detect failures and losses on installations or devices. That way, we can reduce negative impact on the environment and reduce the financial losses</para></listitem>
<listitem><para>The user can control the consumption indicated in the invoice supplier.</para></listitem>
</itemizedlist>
<para>The CDSS has enabled us to respond more quickly to energy issues. It enables to identify specific situations where there are discrepancies in consumption that were not consistent with historical data or operations. Being able to identify these anomalies, the CDSS allows to dig deeper to identify issues that could be corrected. Now, the municipality can respond quickly and avoid costs in the future as well as to control operations beyond its normal cycle.</para>
<para>For example, in one elementary school, we detected increased heat consumption over the weekend. In a short time, we determined the cause. We separated the heating system that is used by the school facilities (5 days a week) and the other parts of the building that are consuming heating energy the whole week. We could not say with certainty the total amount of savings achieved by this action as during the same period the school was reconstructed (new facade with 16 cm of thermal insulation).</para>
<para>Overall, the implementation experience of CDSS has been valuable. Increased visibility of energy issues has aided in goal setting and overall promotion of energy management efforts. CDSS helps us to do proactive energy management and building the City&#x02019;s energy program and metrics around it. Utility users had the same possibilities as municipal users but with the addition of some extra options that have been tested and reported through demand response program.</para>
<para>Energy view that has been tested here has shown great benefit to utility company because utility users could monitor consumptions and at the same time monitor the influence of user-driven actions on the gas grid that utility manages. As described in demand response paragraph, utility had tested part of interface that is used for communication with private users by sending notifications about how users could act in order to influence gas network and overall gas consumption.</para>
<para>Based on these data about user behavior and participation in given notifications and actions, utility would get feedback how to balance gas network and daily consumption curve. This type of system enables direct communication with customers and at the same time gives direct real-time readings that are needed in this type of energy business due to obligation of utility company to buy and reserve amounts of gas on everyday basis. This system, being quick and responsive, and paired with, e.g., SCADA system with gas prediction and optimization modules, gives great opportunities to utility companies to optimize their gas networks and costs regarding gas transport and overall management. If this software would be used to cover all aspects of energy consumption and all utilities, it would be excellent for energy planning and balancing actions, and therefore widely mentioned energy efficiency.</para>
</section>
</section>
<section class="lev2" id="sec9-3-2">
<title>9.3.2 What-if Scenarios</title>
<para>The &#x0201C;what-if&#x0201D; analysis can be a powerful tool for the energy provider, DSO, TSO, or other market actors, such as municipalities, as it gives them the possibility to evaluate the impact of certain actions on the energy system.</para>
<para>Distribution grid operators, for instance, are responsible for the maintenance, expansion, and reinforcement of the low-voltage grid and at the forefront for integrating distributed renewable energy sources into the grid. While the traditional system required the delivery of electricity from large power plants to densely populated urban areas, distribution grids now have to cope with the feeding in of large quantities of renewable energies and thus are required to support bidirectional energy flows. Demand response, along with other measures, can serve as alternative to extensive grid capacity enhancement, as it is able to ease temporal congestion of the grid. Large amounts of small decentralized production units, such as solar panels and windmills, can oftentimes be a big challenge for securing the stability of the grid, as their production is intermittent and difficult to predict. Therefore, grid operators can use the &#x0201C;what-if&#x0201D; functionality of the smartDSS to simulate certain events. For instance, the feed in of large quantities of solar and wind power on a sunny and windy day or an outage of an important power plant.</para>
<para>Equivalently, &#x0201C;what-if&#x0201D; scenarios can be used to detect or evaluate the necessity and benefits of investments in new infrastructure. This could be the construction of a new array of solar panels with a large capacity in a remote area of the grid system. Simulations of how the influx of large quantities of renewable energies might influence the grid system can identify the need for additional investments in infrastructure and grid enhancement.</para>
<para>Energy retailers can optimize their portfolio of buying energy at the spot market if they can evaluate the impact of certain weather conditions on the overall levels of energy production and consumption. An execution of a &#x0201C;what-if&#x0201D; analysis for the future (e.g., 24, 48, 72 h) for the energy status of the city allows making precise decisions about energy transactions at the day-ahead or intraday market. For instance, when it is forecasted that the next day is going to be cloudy and windy, this results in certain production levels from solar and wind power and consequently in certain requirements for short-term portfolio optimization.</para>
<para>In general, the &#x0201C;what-if&#x0201D; analysis can create the following benefits:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem><para>Short-term portfolio optimization at day-ahead or intraday markets for energy retailers in response to expected weather conditions</para></listitem>
<listitem><para>Simulation of certain levels of solar and wind power production and their effects on the energy system</para></listitem>
<listitem><para>Better possibilities to maintain grid stability for grid operators by the accurate activation or avoidance of balancing energy</para></listitem>
<listitem><para>Possibility to identify most suitable production units for shut-off in case of overproduction of renewable energies</para></listitem>
<listitem><para>Investment decisions in new capacities or grid enhancement when bottlenecks are detected</para></listitem>
<listitem><para>Evaluation of effects of the installation of additional power plants, such as windmills or solar panels.</para></listitem>
</itemizedlist>
</section>
<section class="lev2" id="sec9-3-3">
<title>9.3.3 Auditing/Billing</title>
<para>The functionality of auditing and billing allows the energy provider to manage and implement new tariff schemes efficiently. This will be especially valuable as the number of available tariffs is expected to increase due to the liberalization of the market and the possibility to implement dynamic tariffs.</para>
<para>With the implementation of such tariffs, the energy sector can balance out demand levels and benefits from a reduced infrastructure needed to generate and distribute power at peak times. It can also cut energy procurement costs through lower peak prices and reduce vulnerability to service failures such as blackouts.</para>
<para>Responsive demand driven by dynamic pricing can also reduce greenhouse gases and local pollutants. Enhanced price signals can cause customers to shift demand away from peak times, avoiding emission-intensive generators used to serve system peak in some regions. Customers may also cut demand entirely due to enhanced price signals and better consumption information from smart metering.</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem><para>Fixed&#x02014;in which the consumer is charged the same amount for the electricity used no matter what time of day it is used. A fixed rate energy tariff is typically set for 1&#x02013;2 years. During that time the consumers pays the same amount for their electricity regardless of any price changes in the market.</para></listitem>
<listitem><para>Time of use (TOU)&#x02014;in which electricity prices are set for a specific time period in advance, typically not changing more often than twice a year. Prices paid for energy consumed during these periods are pre-established and known to consumers in advance, allowing them to vary their usage in response to such prices and manage their energy costs by shifting usage to a lower cost period or reducing their consumption overall.</para></listitem>
<listitem><para>Critical peak pricing (CPP)&#x02014;High price periods may or may not occur depending in the status of current consumption and production levels. Price signals are provided to the user on an advanced or forward basis, reflecting the utility&#x02019;s cost of generating and/or purchasing electricity at the wholesale level.</para></listitem>
<listitem><para>Real-time pricing (RTP)&#x02014;Prices may change on an hourly basis or even in short time periods. Price signals reflect the current status of the grid or wholesale market prices as well as the general level of production and consumption.</para></listitem>
</itemizedlist>
<para>Customers can benefit from a dynamic tariff if their overall energy bills decrease. As the energy provider does not need to charge risk premiums on top of a single tariff, the overall price levels can decrease from the adoption of dynamic tariffs. In general, peak demand is one of the most expensive cost parts for the energy provider (e.g., keeping backup generators available). Therefore, with the ability to influence the demand side, the energy provider might be able to reduce overall costs, allowing it to forward parts of the savings to customers as reduced tariffs.</para>
<para>The functionality to manage tariffs at the smartDSS can have further benefits for the billing process for customers, as it possible to accurately measure when and where energy has been consumed. This can help to create detailed bills on an automated basis. Being able to take exact measurements of consumption without having to read out meters manually any time it is necessary, can reduce costs of these process significantly. It is easier for the energy supplier to detect which customers are consuming energy but not paying their bills. Complaints and law suits from customers might be settled easier and faster as it is possible to proof exact amounts of consumption on an automated basis.</para>
</section>
<section class="lev2" id="sec9-3-4">
<title>9.3.4 Technical and Non-technical Losses</title>
<para>Generally, in electricity supply to final consumers, losses refer to the amounts of electricity injected into the transmission and distribution grids that are not paid for by users. Total losses have two components: technical and non-technical. Technical losses occur naturally and consist mainly of power dissipation in electricity system components such as transmission and distribution lines, transformers, and measurement systems. Non-technical losses are caused by actions external to the power system and consist primarily of electricity theft, non-payment by customers, and errors in accounting and record-keeping. These three categories of losses are respectively sometimes referred to as commercial, non-payment, and administrative losses.</para>
<para>From a regulatory or governmental perspective, it is beneficial to reduce the total amount of technical and non-technical losses as much as possible, as its reduction means that less energy has to be produced overall. This is generally connected with lower costs in the energy sector, which has benefits to the society overall.</para>
<para>Especially, non-technical losses represent also an avoidable financial loss for the utility. As an effect, customers being billed for accurately measured consumption and regularly paying their bills are subsidizing those users who do not pay for electricity consumption. A classic case is a theft of electricity through an illegal connection to the grid or manipulation of a consumption meter. But examples also include unmetered consumption by utility customers who are not accurately metered for a variety of reasons.</para>
<orderedlist numeration="arabic" continuation="restarts" spacing="normal">
<listitem><para>Detect inefficiencies in power distribution</para></listitem></orderedlist>
<para>Having a variety of different measurement points between the point of generation of energy, its transmission and distribution, and the final area of consumption helps to detect where any losses on its way occur. Especially for electricity, the supply chain typically involves the transfer of electricity through the high-voltage grid, medium-voltage grid, and the low-voltage grid. At the same time, several market actors are involved in the supply chain, including producers, TSOs, DSOs, and the energy retailer, which typically have incomplete information about the status in the other parts of the delivery chain.</para>
<para>Having measurement points at these different parts of the supply chain can help to detect at which part inefficiencies or defaults occur. The visualization on a graphical map makes it possible to track exact locations. The information taken from the smartDSS allows restructuring process or enables decisions about investments in the corresponding infrastructure.</para>
<para><emphasis role="strong">Identification of energy theft:</emphasis> Energy theft is a serious problem in many energy markets worldwide and can occur in many different forms, the most prominent contain the following:</para>
<orderedlist numeration="arabic" continuation="restarts" spacing="normal">
<listitem><para>Direct hooking from line, where the consumer taps into a power line from a point ahead of the energy meter. This energy consumption is unmeasured and procured with or without switches.</para></listitem>
<listitem><para>Bypassing the energy meter, where the input terminal and output terminal of the energy meter is short-circuited, preventing the energy from registration in the energy meter.</para></listitem>
<listitem><para>Injecting foreign element into the energy meter, where meters are manipulated via a remote by installing a circuit inside the meter so that the meter can be slowed down at any time. This kind of modification can evade external inspection attempts because the meter is always correct unless the remote is turned on.</para></listitem>
<listitem><para>Physical obstruction or other form of manipulation of the smart meter. Often a foreign material is placed inside the meter to obstruct the free movement of the disk with traditional meters. A slower rotating disk signals less energy consumption.</para></listitem></orderedlist>
<para>With the smartDSS, significant deviations between the smart meter data at building level and the sum of smart meters data at apartment level are detected. Alternatively, the smartDSS can also filter for regional or district level. This makes it much easier to identify any form of energy theft, as the supplier does not have to rely purely on the energy meter. In addition, with a rollout of smart meters, it is not directly possible to physically alter or manipulate the work process within the meter.</para>
<para><emphasis role="strong">Identify non-payment by customers:</emphasis> The identification of non-payment by customers can especially valuable for the case of heating in big residential buildings with multiple parties that rely on heat-cost allocators. Due to the characteristics of physical distribution of heat through the residential buildings, it is not possible to completely exclude some customers from heating even though they choose not to pay their bills. If some customers decide to opt-out of their tariffs, the fixed part of the costs of heating supply gets reallocated to the remaining customers in the building, which in turn have increasing incentives to opt-out. Therefore, customers that do not share their part of the costs are getting subsized by the paying customers, as apartments still receive heating from the flow through the building. As a result, in energy suppliers, such as EVN in Plovdiv, face large numbers of law suits from customers who feel that they are unjustly treated, mostly those who have to take the additional costs.</para>
<para>Being able to take exact measurements of consumption without having to read out meters manually any time it is necessary, can reduce costs of these process significantly. It is easier for the energy supplier to detect which customers are consuming energy but not paying their bills. Complaints and law suits from customers might be settled easier and faster as it is possible to proof exact amounts of consumption on an automated basis.</para>
<para><emphasis role="strong">Avoid errors in accounting:</emphasis> Similar as to the detection of energy theft, the smartDSS here has the functionality to detect significant deviations between the smart meter data at building level and the sum of smart meters data at apartment level. Therefore, the energy utility can double-check any errors that might have occurred during the metering, accounting, or billing processes. In addition, processes of re-billing, e.g., after a customer complaint, can be done much easier and faster, which is connected to lower costs of the billing system.</para>
<section class="lev3" id="sec9-3-4-1">
<title>9.3.4.1 Testing and validation in the pilot of Plovdiv</title>
<para>The so-called technical losses in the heat distribution grid refer to the costs from transportation of the energy from the point of production to the point of consumption in Bulgaria. As with all other goods, for the good &#x0201C;heat energy,&#x0201D; there are also costs for transportation of the good between the producer and the consumer. These costs in the transportation of the energy are not paid as energy by the customers as they cannot be avoided and are associated with the transportation of heat energy to the buildings. They are taken into consideration by the Regulator in Bulgaria when determining the end price for heat energy for the DH companies. Thus, they are not directly covered by the end customers but are part of the end&#x02014;price for the heat energy.</para>
<para>Estimated production processing costs and realization of thermal energy for heating, cooling, and domestic hot water/hot water/for Plovdiv over the years will be as follows:</para>
<para>In contrast, what is denoted in the CDSS software as technical losses is actually the loss of energy (for heating and hot water) in the heating substation and the internal installations of the buildings as it measures the difference between the energy supplied to the building and the energy consumed in the individual apartments. However, this is not necessary a loss as such, as the internal installation also releases heat for which energy is needed and it cannot be considered a loss as the energy is used to warm the building same as with the radiators in the individual apartments.</para>
<table-wrap position="float" id="T9-1">
<label><link linkend="T9-1">Table <xref linkend="T9-1" remap="9.1"/></link></label>
<caption><para>Estimated production processing costs and realization of thermal energy</para></caption>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="left">Activity</td>
<td valign="bottom" align="center">Measure</td>
<td valign="bottom" align="center">2014</td>
<td valign="bottom" align="center">2015</td>
<td valign="bottom" align="center">2016</td>
<td valign="bottom" align="center">2017</td>
<td valign="bottom" align="center">2018</td>
<td valign="bottom" align="center">2019</td>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Production</td>
<td valign="top" align="center">MWh</td>
<td valign="top" align="center">310,833</td>
<td valign="top" align="center">353,257</td>
<td valign="top" align="center">355,804</td>
<td valign="top" align="center">357,389</td>
<td valign="top" align="center">358,454</td>
<td valign="top" align="center">361,476</td>
</tr>
<tr>
<td valign="top" align="left">Technology expenses</td>
<td valign="top" align="center">MWh</td>
<td valign="top" align="center">118,948</td>
<td valign="top" align="center">132,057</td>
<td valign="top" align="center">128,737</td>
<td valign="top" align="center">126,675</td>
<td valign="top" align="center">123,756</td>
<td valign="top" align="center">121,474</td>
</tr>
<tr>
<td valign="top" align="left">Technology expenses</td>
<td valign="top" align="center">%</td>
<td valign="top" align="center">38.27</td>
<td valign="top" align="center">37.38</td>
<td valign="top" align="center">36.18</td>
<td valign="top" align="center">35.44</td>
<td valign="top" align="center">34.52</td>
<td valign="top" align="center">33.60</td>
</tr>
<tr>
<td valign="top" align="left">Realization</td>
<td valign="top" align="center">MWh</td>
<td valign="top" align="center">191,885</td>
<td valign="top" align="center">221,200</td>
<td valign="top" align="center">227,067</td>
<td valign="top" align="center">230,714</td>
<td valign="top" align="center">234,699</td>
<td valign="top" align="center">240,002</td></tr>
</tbody>
</table>
</table-wrap>
<para>In accordance with the Energy Act in Bulgaria, the internal installation for heating and for domestic hot water in a multi-dwelling building is considered also part of the &#x0201C;common parts&#x0201D; of the building, and hence, the maintenance and management of the common parts rests with all the owners in the buildings in proportion to their share percentage of the common parts. In the same vein, the costs for the energy used in the internal heating installation are shared among the apartments using the service in proportion to the heated volume of their apartments. The distribution of the heat released by the internal building installation is made following a complex methodology approved in Ordinance &#x00B9; &#x00B9;16-334/2007 for share distribution of heat energy in multi-dwelling buildings (&#x0201C;the methodology&#x0201D;). The methodology incorporates a complex mechanism which takes into account the type and the thermo-physical characteristics of the building and the heating system.</para>
<para>However, the CDSS took a more generalized approach which can be applied in a number of different situations and does not follow strictly the approach set out in the methodology in Bulgaria. Thus, the approach of the CDSS can be applied to various buildings in various countries and the logic stays the same&#x02014;difference between supplied energy to the whole building and sum of the consumed energy in the individual apartments (<link linkend="F9-5">Figure <xref linkend="F9-5" remap="9.5"/></link>).</para>
<para>The function in the CDSS gives a basis for review of the mode of consumption for different buildings and provides a basis for analysis why the &#x0201C;technical losses&#x0201D; in certain buildings are lower than in others and what measures are taken to diminish them. This analysis is a basis for the utility to make a plan what kind of services for maintenance and improvement can be offered to a building with high values of technical losses. Thus, the CDSS offers the possibility for creating building profile and possible list of consultancy or additional services which can be offered to customers in this building.</para>
<fig id="F9-5" position="float" xmlns:xlink="http://www.w3.org/1999/xlink">
<label><link linkend="F9-5">Figure <xref linkend="F9-5" remap="9.5"/></link></label>
<caption><para>District heating grid scheme.</para></caption>
<graphic xlink:href="graphics/ch09_fig005.jpg"/>
</fig>
<para>Furthermore, the function in the CDSS is also a helpful tool to detect some deviations in the technical losses and investigate the reasons for. They can be due to leakages, improper use of energy, or some technical problem. At least in Bulgaria, the maintenance of the internal installation is a responsibility of the inhabitants of the building, but the information for the technical losses in the CDSS represents an overview of the building and gives signals for possible improper use. Overall, reduction in the technical losses leads to reduction in the consumption of energy and less GHG emissions.</para>
</section>
</section>
<section class="lev2" id="sec9-3-5">
<title>9.3.5 Demand Response</title>
<section class="lev3" id="sec9-3-5-1">
<title>9.3.5.1 The model</title>
<para>Demand response relates only to electricity energy. Through demand response, final consumers (households or businesses) provide flexibility to the electricity system by voluntarily changing their usual electricity consumption in reaction to price signals or to specific requests, while at the same time benefiting from doing so. <footnote id="fn9_1" label="1"> <para>Eurelectric, &#x0201C;Everything You Always Wanted to Know about Demand Response,&#x0201D; D&#x00E9;p&#x00F4;t legal D/2015/12.105/11, available at &#x0003C;http://www.eurelectric.org/media/176935/demand-response-brochure-11-05-final-lr-2015-2501-0002-01-e.pdf>, p. 3 (&#x0201C;Eurelectric Demand Response Report&#x0201D;).</para></footnote></para>
<para>In order to provide the necessary IT tools to make this happen, the CDSS provides the following functionalities:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem><para>User can create/modify/delete DR programs (every DR program is associated with a peak of energy consumption);</para></listitem>
<listitem><para>User can get information about peaks of energy consumption;</para></listitem>
<listitem><para>User can manually create a peak of energy consumption;</para></listitem>
<listitem><para>User can create/modify/delete notifications related to associated peak of energy consumption;</para></listitem>
<listitem><para>User can get information about peak of energy consumption;</para></listitem>
<listitem><para>User can get information about the status result about every notification associated to a chosen peak of energy consumption.</para></listitem>
</itemizedlist>
<para><emphasis role="strong">Testing and validation in the pilot of Plovdiv</emphasis></para>
<para>The demand response business case was not implemented in the city of Plovdiv. There are two major barriers before the implementation of demand response in Bulgaria at the time the project was realized:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem><para>Regulated prices by law for customers connected to low-voltage network and no justification of expenses for rewards for shift in the consumption.</para></listitem>
<listitem><para>No economic benefit for customers to switch to the free market due to regulation of the prices for purchasing electricity and margin of the utility.</para></listitem>
</itemizedlist>
</section>
<section class="lev3" id="sec9-3-5-2">
<title>9.3.5.2 Regulatory environment</title>
<para>As it has been mentioned on several occasions in previous documents, demand response has not been tested in Plovdiv due to some legal impediments which prevented implementation.</para>
<para>The full liberalization of the electricity market in Bulgaria was launched as of July 1, 2007 and it is a step-by-step process which started with liberalization of the wholesale market and gradually continues with the retail one.</para>
<para>Customers connected to the low-voltage (residential and small business customers, i.e., the participants in iURBAN project) are still on the regulated market where the prices are regulated and fixed by the Energy and Water Regulation Commission of the Republic of Bulgaria (&#x0201C;EWRC&#x0201D;). <footnote id="fn9_5" label="5"> <para>See Article 21 and 30 (1) of the Energy Act.</para></footnote> The prices determined by the Regulator are not a ceiling or a framework within which the prices should be. On the contrary, the prices approved by the EWRC are fixed and binding on the DSO and the electricity supplier and represents the price which is billed to the end customer. <footnote id="fn9_6" label="6"> <para>See Ordinance No. 1 of 18.03.2013 on the Regulation of Prices for Electricity issued by the Chairman of the State Energy and Water Regulation Commission (&#x0201C;Ordinance on the Regulation of the Prices for Electricity&#x0201D;).</para></footnote> The EWRC stipulates the grid connection and distribution fees, the price for electricity for the end customer (BGN per kWh), and other ancillary services for a certain regulatory price period (which is usually a year and starts on 1st of July and continues up until 30th June in the following year). <footnote id="fn9_7" label="7"> <para>See Article 30 (1) of the Energy Act.</para></footnote> All customers participating in the project are supplied with electricity on regulated prices by the company EVN Bulgaria Elektrosnabdiavane EAD.</para>
<para>Furthermore, it is essential for demand response to provide a reward to induce the shift in the consumption. The current situation of the regulation in Bulgaria does not allow expenses for rewards for shift in the consumption to be justified under the regulated market prices. From accounting and tax perspective, the company would make an expense and next to it there is no profit or benefit because the EVN Bulgaria Elektrosnabdiavane EAD buys electricity on flat rate and sells it to customers on fixed price. Such actions on the regulated market could certainly raise concerns and check by the authorities.</para>
</section>
<section class="lev3" id="sec9-3-5-3">
<title>9.3.5.3 No real economic benefit</title>
<para>Customers connected to the low-voltage can opt out and choose a supplier of electricity energy and negotiate the price for electricity with it (important note is that the grid service fees are still regulated). However, customers do not have economic incentives to go on the free market, as currently the price determined by EWRC for household customers is significantly lower than what is offered at the liberalized market due to the cross-subsidy of the prices between business and household on the regulated market. EWRC artificially keeps the prices of the electricity for the household customers low at the expense of the prices for the business customers. Thus, there is no real price competition on the market and the household customers (mainly the participants in iURBAN) have no economic benefit to switch to the free market where the supplier can offer more flexible price options and include demand response as well.</para>
<para>To illustrate the situation, the average price for electricity at the regulated market currently is 106 BGN/MWh or 69,50 BGN without the public obligations fee. The price for electricity at the liberalized market is at the average&#x02014;76 BGN/MWh. The difference of ab. 6, 5 BGN/MWh is obvious and enough deterrent for residential customers to switch to a new supplier.</para>
<para><emphasis role="strong">Testing and validation in the pilot of Rijeka</emphasis></para>
<para>Demand response program in Rijeka has been tested and implemented with 8 private users. Selected customers use natural gas as a primary heating energy source. The largest gas consumptions occur in the morning (period before people go to work) and in the afternoon (when people are back from work).</para>
<para>Misbalance in consumptions during day is not good for the distribution network, so the goal of DR actions was to influence consumption peaks in gas optimization. Users are motivated to set their thermostats in accordance with the requirements of the DR action in order to reduce the consumptions during the periods of increased consumptions. Demands are appointed by the utility in relation to the consumption overshoot.</para>
<para>At first, enControl needed to be installed. It is a system for home management and control of energy consumption. Through this system, it is possible to operate the home heating system in such way that the temperature of each radiator (thermo-head) and room thermostat can be set separately to achieve most of level comfort for users, while at the same time, users can try to be most energy efficient (lower temperature set points for rooms that are not that frequently used, etc.). The control is provided both through mobile application (smartphones) and online via cloud service application where each user can log in with assigned username and password.</para>
<para>DR actions have been created a few days before a certain optimization needed to take place and were sent to users in the form of a notification through the Web application. These notifications could then be forwarded to users via any of pre-set ways&#x02014;via e-mail, SMS, or mobile application (according to the user&#x02019;s selection). The tasks users needed to do in order to fulfill the request consisted of some form of action regarding the main thermostat. Users were instructed the temperature that needed to be set and the time period for which the setting needed to be active (e.g., set your thermostat to 21degC or below, time period: 7 AM&#x02013;9 AM). If the user would successfully complete the request, he would be notified about successful participation in DR action and would be awarded a coin. Additional coin was assigned to users who fulfilled at least five DR actions during each month of the program. Users who have met all the required DR actions would be awarded additional five coins.</para>
<para><link linkend="T9-2">Table <xref linkend="T9-2" remap="9.2"/></link> gives an overview of all DR actions and results for each user. Every DR action shown in the table has several additional pieces of information like the time when notification was sent (scheduled time) and the time when the action took place (action time). Furthermore, it shows the required thermostat temperature during the DR action and outside temperature during this period. In part of the table which gives an overview of the performance for each action by individual user, notification delivery report (first column) is shown. The second column shows whether the user has successfully performed a given task. The aim of each particular DR action is given at the bottom of the table, as well as additional remarks related to the action.</para>

<table-wrap position="float" id="T9-2">
<label><link linkend="T9-2">Table <xref linkend="T9-2" remap="9.2"/></link></label>
<caption><para>Executed demand response events number 15 to 19</para></caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="graphics/ch09tab02.jpg" mime-subtype="jpeg"/>
</table-wrap>

<para>During the demand response program, 19 DR actions took place. The first two were unsuccessful because of notification sending and receiving issues, but the following 17 DR actions were conducted successfully. Altogether, 132 demands were sent by utility and received by users which resulted in 96 demands that have been completed, in total 72.7% positive responses.</para>
<para>It is important to note that participants of DR programs can be described as younger and middle-aged users, familiar with everyday use of computers and other IT devices, so general usage of Web (and mobile) application did not represent a problem for them. Despite all mentioned, the large level of engagement needed for DR actions followed by high rate of sent DR notifications finally did represent a problem for almost all users and had become too intense for them.</para>
<para>As conclusion, if results shown here could be achieved in real terms, on a daily basis, flattening of consumption peaks would be achieved. Therefore, the purpose of the DR program would be accomplished.</para>
</section>
<section class="lev3" id="sec9-3-5-4">
<title>9.3.5.4 Demand response&#x02014;lessons learnt</title>
<itemizedlist mark="bullet" spacing="normal">
<listitem><para><emphasis role="strong"></emphasis>The utility is performing DR program for peak shaving on its supply side. Expected savings should be used to cover incentives to the customers who successfully fulfill DR condition and to partially cover the investment in smart installation needed to pursue DR actions. Customers shift their consumption toward before or after the DR interval. Utility&#x02019;s intention is not to reduce the consumption in general, but to shift it from the peak interval. If the overall consumption decreases a lot, the whole DR concept might be endangered.</para></listitem>
<listitem><para>Installation in 8 private homes consists of the following: thermostatic valves, smart thermostat, smart plugs, magnetic door/window sensors, motion detector, thermometer, humidity meter, lux meter, and gas smart meter. Each system measured overall gas consumption and partial electricity consumption (smart plugs).</para></listitem>
<listitem><para>Initial installation costs for smart homes and smart installations used in the project are very high to justify its feasibility, in iURBAN that was done on purpose, to test and prove usability of different components. In further cases, if only DR is objective, the installation cost should be kept low&#x02014;just GW and remote thermostat. Thus, utility can co-finance that investment from future savings based on DR actions. If customers want more functionality, the rest of installation could be bought by them.</para></listitem>
<listitem><para>Customers reacted very well, but probably also due to the fact that they knew they were part of a test. It is expected that, in the case of the long-term commitment, the level of successful DRs would be lower.</para></listitem>
<listitem><para>The customer&#x02019;s feedback related to complexity of the DR process shows that the level of automation needs to be increased, especially on the customer&#x02019;s side, in order to make a viable use case => less interaction from customer needed. If the level of automation can be increased, we also expect that the needed financial incentives can be lower, as there is less discomfort for the customers to deal with the DR request.</para></listitem>
<listitem><para>Customers have expressed their wishes to not interact, but they want to keep option to &#x0201C;overwrite&#x0201D; DR requests, i.e., to keep final control over consumption. On the other side, that would reduce savings on utility&#x02019;s side and lower the DR incentives. One further research question could be directed toward exploring how often customers use the overwriting function.</para></listitem>
<listitem><para>Number of customers included in the DR program was 8. The sample is quite small; the program needs to be tested on a larger scale to give more relevant results.</para></listitem>
<listitem><para>Business case does not seem to be very favorable for gas, but maybe more for electricity. It strongly depends on saving potential, specific for each market/country. The most feasible gas DR program is viable only for customers who use gas for heating/cooling, where the consumption is significant enough and that leads to sufficient savings for utilities to finance investment and incentive costs.</para></listitem>
</itemizedlist>
</section>
</section>

<section class="lev2" id="sec9-3-6">
<title>9.3.6 Variable Tariff Simulation</title>
<section class="lev3" id="sec9-3-6-1">
<title>9.3.6.1 The model</title>
<para>Variable tariffs are the basis of the implicit demand response (also called &#x0201C;price-based&#x0201D;) <footnote id="fn9_8" label="8"> <para>Eurelectric Demand Response Report, p. 3; ACER, &#x0201C;Demand Side Flexibility: The Potential Benefits and State of Play in the European Union&#x0201D;, ACER/OP/DIR/08/2013/LOT 2/RFS 02, available at &#x0003C;http://www.acer.europa.eu/official_documents/Acts_of_the_Agency/References/DSF_Final_Report.pdf>, p. 5.</para></footnote>&#x02014;consumers are responding to time-varying electricity prices that reflect the value and cost of electricity in different time periods. Consumers can shift their electricity consumption away from times of high prices and thereby reduce their energy bill. The economic benefits are duly described in Deliverable 6.2.</para>
<para>The CDSS software is also designed to allow the energy supplier to offer to its customers time-varying prices: Different tariff plans can be made through the CDSS and the supply can create/modify/delete tariff plans and can specify various attributes, for every tariff plan, like</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem><para>City: the city name where the tariff apply</para></listitem>
<listitem><para>Tariff Name: the name of the tariff plan.</para></listitem>
<listitem><para>Group: customer group to whom the tariff plan should be applied.</para></listitem>
<listitem><para>Commodity.</para></listitem>
<listitem><para>Unit: measure unit of commodity.</para></listitem>
<listitem><para>Currency: The currency applied.</para></listitem>
<listitem><para>Date/time period.</para></listitem>
</itemizedlist>
<para>The software also allows for comparison of tariffs, getting information about tariffs costs (month by month) related to the last year.</para>
</section>
<section class="lev3" id="sec9-3-6-2">
<title>9.3.6.2 Testing and validation in the pilot of Plovdiv</title>
<para>As with demand response, the implementation of time-varying tariffs is not an option currently in Bulgaria for the customers participating in iURBAN project, although they have the technical equipment (i.e., metering devices taking data at 15-min intervals) to be able to participate in such a program.</para>
<para>The EWRC approved the tariff time zones in the seasons according to which different tariffs apply&#x02014;day and night tariff for the household customers, and day, night, and peak tariff for the non-household once. <footnote id="fn9_9" label="9"> <para>Price Decision <inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="graphics/ch09_in1.jpg" mime-subtype="jpeg"/>-002 of the State Energy and Water Regulation Commission as of 29.03.2002.</para></footnote></para>
<para>Tariff zones for <emphasis role="strong">non-household</emphasis> customers:</para>
<table-wrap position="float" id="T9-3">
<label><link linkend="T9-3">Table <xref linkend="T9-3" remap="9.3"/></link></label>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="center" colspan="2">November&#x02013;March</td>
<td valign="bottom" align="center"></td>
<td valign="bottom" align="center" colspan="2">April&#x02013;October</td></tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Day</td>
<td valign="top" align="right">6.00&#x02013;8.00</td>
<td valign="top" align="center"></td>
<td valign="top" align="left">Day</td>
<td valign="top" align="right">7.00&#x02013;8.00</td>
</tr>
<tr>
<td valign="top" align="left"></td>
<td valign="top" align="right">11.00&#x02013;18.00</td>
<td valign="top" align="center"></td>
<td valign="top" align="left"></td>
<td valign="top" align="right">12.00&#x02013;20.00</td>
</tr>
<tr>
<td valign="top" align="left"></td>
<td valign="top" align="right">21.00&#x02013;22.00</td>
<td valign="top" align="center"></td>
<td valign="top" align="left"></td>
<td valign="top" align="right">22.00&#x02013;23.00</td>
</tr>
<tr>
<td valign="top" align="left">Night</td>
<td valign="top" align="right">22.00&#x02013;6.00</td>
<td valign="top" align="center"></td>
<td valign="top" align="left">Night</td>
<td valign="top" align="right">23.00&#x02013;7.00</td>
</tr>
<tr>
<td valign="top" align="left">Peak</td>
<td valign="top" align="right">8.00&#x02013;11.00</td>
<td valign="top" align="center"></td>
<td valign="top" align="left">Peak</td>
<td valign="top" align="right">8.00&#x02013;12.00</td>
</tr>
<tr>
<td valign="top" align="left"></td>
<td valign="top" align="right">18.00&#x02013;21.00</td>
<td valign="top" align="center"></td>
<td valign="top" align="left"></td>
<td valign="top" align="right">20.00&#x02013;22.00</td></tr>
</tbody>
</table>
</table-wrap>
<para>Tariff zones for <emphasis role="strong">household</emphasis> customers:</para>
<table-wrap position="float" id="T9-4">
<label><link linkend="T9-4">Table <xref linkend="T9-4" remap="9.4"/></link></label>
<table cellspacing="5" cellpadding="5" frame="hsides" rules="groups">
<thead>
<tr>
<td valign="bottom" align="center" colspan="2">November&#x02013;March</td>
<td valign="bottom" align="center"></td>
<td valign="bottom" align="center" colspan="2">April&#x02013;October</td></tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Day</td>
<td valign="top" align="center">6.00&#x02013;22.00</td>
<td valign="top" align="center"></td>
<td valign="top" align="left">Day</td>
<td valign="top" align="center">7.00&#x02013;23.00</td>
</tr>
<tr>
<td valign="top" align="left">Night</td>
<td valign="top" align="center">22.00&#x02013;6.00</td>
<td valign="top" align="center"></td>
<td valign="top" align="left">Night</td>
<td valign="top" align="center">23.00&#x02013;7.00</td></tr>
</tbody>
</table>
</table-wrap>
<para>Thus, variable tariffs currently cannot be tested in Plovdiv since there are tariff zones (day and night tariff) approved by EWRC. Furthermore, in accordance with the Energy Act, the EWRC sets mandatory quotas for certain types of producers on the basis of which the public supplier&#x02014;NatsionalnaElektricheskaKompania EAD (NEK)&#x02014;sells electricity on the regulated price to the end supplier (supplying with electricity customers on the regulated market). <footnote id="fn9_10" label="10"> <para>See Article 21, para 1, point 21 of the Energy Act in connection with Ordinance on the Regulation of the Prices for Electricity.</para></footnote> The energy suppliers buy electricity on a flat rate from NEK which is regulated by the EWRC. <footnote id="fn9_11" label="11"> <para>Article 15, para.2, point 2, of Rules for Trading with Electricity issued by the Energy and Water Regulation Commission, in force as of May 9, 2014.</para></footnote> EVN end supplier cannot sell electricity to customers at a price below costs because this qualifies as dumping and the company will be sanctioned by the competition protection commission.</para>
<para>Apart from the fixed time zones when tariffs apply, there is another limitation on the implementation of variable tariffs&#x02014;the metering device in place of the customer. Although the customers participating in iURBAN project have metering devices allowing remote and hourly metering, not all customers in Bulgaria have such meters installed. On the liberalized market, customers which do not have the technical facilities for hourly metering have standard load profiles. Thus, variable tariffs actually cannot be applied as there are standard consumption curve applicable for the month. Furthermore, the Energy Regulator also in its decision from 2013 ruled that installation of smart meters is not mandatory and it is up to the grid companies to decide whether they would invest money in that.</para>
<para>In conclusion, there are two limitations on the implementation of variable tariffs in their strict sense and in the forms as described in Deliverable 6.2&#x02014;regulatory and technical. As the different types of variable tariffs require frequent data gathering, this is a test for the remote metering system and communication. In a more simplified form, we can actually say that the day and night tariffs are a form of variable tariffs and as such have been tested within the iURBAN project. As the customers participating in the project, pay their energy according to the prices determined for the two tariffs by EWRC.</para>
</section>
</section>

<section class="lev2" id="sec9-3-7">
<title>9.3.7 Consultancy Services</title>
<para>Lastly, to offer consultancy services to the end consumers can be an applicable business service for municipalities or third-party operators. Especially, municipalities or other local or regional authorities or organizations have typically a number of big buildings with many employees or visitors, such as schools, kindergartens, public libraries, and city council. The number of people that are frequenting these buildings is usually quite high, but these people do not pay for the costs of energy consumption, which increases the risk of inefficient consumption behavior. Therefore, if the municipality is operating the smartDSS, it can critically analyze the consumption patterns within the buildings and detect any sources of inefficiencies (e.g., heating or lighting at night or during weekends) or high consumption devices that might be turned off or replaced. Furthermore, optimal heating patterns can be established through smart heating devices or specifically educated energy managers for the building can be trained to keep inefficient consumption low. Necessary investments in better insulation within the building can be detected as this is oftentimes a major source of energy inefficiency, especially in countries such as Bulgaria and Croatia. In general, these services can raise awareness about consumption patterns and might positively influence behavior as a consequence. Private customers might benefit especially from these services as they reduce their overall energy costs.</para>
<para>If the characteristics of consumption exhibit certain peaks throughout the day/week or any high-load devices are existing, e.g., heat pumps or air conditioning, it might be financially profitable to engage in certain demand-side management measures. This could be</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem><para>Participation in specific demand response programs that are tailored toward the characteristics and needs of the building and consumers.</para></listitem>
<listitem><para>Switching from fixed tariff rate to dynamic tariff if a high price responsiveness can be obtained, e.g., through the installation of smart devices that are able to shift/store loads or the appointment of an energy manager for the building.</para></listitem>
</itemizedlist>
<para>Offering consultancy services is also a possible business service for third-party operators, as these can specialize in connected business models and build up further competencies. It is less applicable for utilities, specifically energy retailers, as their business model is based on selling as much energy as possible.</para>
<para>Potential benefits for the market actors can therefore be</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem><para>Possibility to make decisions about investment in better insulation within the building.</para></listitem>
<listitem><para>Raising awareness about high consumption devices within the building or other sources of additional energy consumption, e.g., open windows.</para></listitem>
<listitem><para>Detection of unnecessary consumption devices, e.g., lighting at night, air condition.</para></listitem>
<listitem><para>Establishment of optimal heating patterns within the building, e.g., turning off heating at night or during times of vacancy.</para></listitem>
<listitem><para>Decisions about investment in further smart systems, such as smart heating installations, automated air conditioning.</para></listitem>
<listitem><para>Evaluation of profitability to take part in specific demand response programs, e.g., direct load control.</para></listitem>
<listitem><para>Switching from fixed to dynamic tariff if high price responsiveness can be obtained, e.g., through smart devices or appointment of energy manager.</para></listitem>
</itemizedlist>
</section>


</section>

<section class="lev1" id="sec9-4">
<title>9.4 Conclusion and Policy Implications</title>
<para>In this chapter, we have outlined the outcomes from the testing and simulation of the selected use cases pertaining to general business case of the iURBAN project. Following the review made, it could be concluded that the use of CDSS assists the daily business of utilities, municipalities, and probably also energy managers and creates new opportunities for their business models in the sense of providing the ground on which new services can be built (e.g., city energy view, technical loss) or providing opportunities for cost reduction (e.g., demand response), or allowing grid expansion without investment in new infrastructure (VPP and what if analysis). The analysis made for the European replicability also supports that and outlines the current situation with market enablers and obstacles for major European markets.</para>
<para>Consequently, the utilities will need to adapt their business models to capture the opportunities created for them by the new technologies and respond to the demands of their customers, which are becoming more active players in the new energy systems. In turn, municipalities will also need to amend their city policies to be in line with their citizens&#x02019; needs or expectations. Energy and facility managers also compete on a rough market and offering services with added value such as smart energy management will give them competitive advantage. Thus, ICT tools such as CDSS comes as a right ally to help its end users to respond more adequately to the needs of their customers/citizens and position better on the market.</para>
<para>Data-driven technologies such CDSS will play important role in the energy systems, which are now undergoing transformation and become more and more digitalized. However, it becomes evident in the course of the project implementation, that certain use cases (such as demand response) could not yet be implemented in the pilot cities due to the regulatory and legal restrictions.</para>
<para>Therefore, the penetration of new technologies and the development of a sector such as the energy should go hand in hand with the reformation of the legislation and sufficient communication to the end users. Besides that, adequate protection of personal data and sensitive information (such as consumption pattern or way of bill payment) should be ensured. Through the implementation of use cases in the pilot, it has been highlighted that creating general understanding and knowledge in customers about innovative technologies is equally important for their acceptance and actual implementation as it had been the case with the pilot of Plovdiv (city energy view) and Rijeka (demand response). Finally, a European market for energy services can be created if there is a level of harmonization of national laws is achieved allowing the energy systems to function in similar market-based way and safeguarding the personal data of end users.</para>
<para>The implementation of the business cases of the CDSS calls for harmonization across the EU and corresponding changes in the legislation in different Member States, allowing the implementation of new technologies along with the demand response and dynamic tariffs which helps customers save energy, money, and GHG emissions.</para>
<para>The following general needs regarding adjustments in the regulatory framework have been identified in the pilot cities:</para>
<itemizedlist mark="bullet" spacing="normal">
<listitem>
<para>Allow the flexibilization of tariff schemes, i.e., the implementation of dynamic tariff for end consumers and private households. This can both help to prevent critical load situations and the implementation of new innovative energy services. So far, grid fees and most other energy price components remain fixed, which hinders forwarding incentives down the value chain. The price regulation for customers on low voltage should be abandoned together with the firm fixation of the tariff plans.</para></listitem>
<listitem>
<para>The participation of third parties in the energy sector is mostly not possible yet, e.g., for demand response aggregators or other service providers. Opening the market for new entrants should facilitate further innovative energy services, which in turn can increase the awareness of consumers about energy efficient behavior.</para></listitem>
<listitem>
<para>It is recommended to enable regulatory innovation zones or settings that invite for experimenting with ICT measures and new business models. Investments into innovative smart energy tools are hindered by a high degree of uncertainty regarding the regulatory framework as well as a general lack of transparency with the decisions of the regulator in the energy sector.</para></listitem>
<listitem>
<para>Existing balancing options are focused solely on generation. The integration of demand response measures can constitute a cost-efficient alternative. The inclusion of DR at the electricity spot market and ancillary service market is recommended to allow for effective business cases related to demand response. At the same time, pooling of different demand resources should be made possible in order to reach the necessary threshold and size regarding the minimum requirements at the different energy markets if prequalification for balancing energy can be made at the aggregated pool level.</para></listitem>
<listitem>
<para>The communication between a presumably increasing number of market actors and with a large number of consumers should be made easier regarding the communication infrastructure. Therefore, we recommend the consideration to adopt communication standards for smart infrastructure from an early point on, e.g., the open ADR standard to standardize demand response events between different market actors with heterogeneous smart grid infrastructure. In general, technical communication standards for the IT infrastructure could significantly reduce transaction costs for involved market actors and facilitate connected investments. Policy makers might encourage the use of such open standards by incorporating them in their digital agenda.</para></listitem></itemizedlist>
</section>
<section class="lev1" id="sec9-5">
<title>References</title>
<orderedlist numeration="arabic" continuation="restarts" spacing="normal">
<listitem>
<para id="bib9-1">Scholz, R., Beckmann, M., Pieper, C., Muster, M., and Weber, R. (2014). Considerations on providing the energy needs using exclusively renewable sources. Energiewende in Germany. <emphasis>Renew. Sust. Energ. Rev.</emphasis>, 35, 109&#x02013;125. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Scholz%2C+R%2E%2C+Beckmann%2C+M%2E%2C+Pieper%2C+C%2E%2C+Muster%2C+M%2E%2C+and+Weber%2C+R%2E+%282014%29%2E+Considerations+on+providing+the+energy+needs+using+exclusively+renewable+sources%2E+Energiewende+in+Germany%2E+Renew%2E+Sust%2E+Energ%2E+Rev%2E%2C+35%2C+109-125%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib9-2">&#x0201C;Cities, Towns and Renewable Energy: Yes in My Front Yard&#x0201D;, International Energy Agents (IEA), 2009. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=%22Cities%2C+Towns+and+Renewable+Energy%3A+Yes+in+My+Front+Yard%22%2C+International+Energy+Agents+%28IEA%29%2C+2009%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib9-3">Boer, P. F. (1999). <emphasis>The valuation of technology: Business and financial issues in R&#x00026;</emphasis>D. Wiley, New York. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Boer%2C+P%2E+F%2E+%281999%29%2E+The+valuation+of+technology%3A+Business+and+financial+issues+in+R%26D%2E+Wiley%2C+New+York%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib9-4">Curtin, J. P., Gaffney, R. L., and Riggins, F. J. (2009). The RFID e-valuation framework&#x02014;determining the business value from radio frequency identification. In <emphasis>Proceedings of the 42nd Hawaii International Conference on System Sciences</emphasis>. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Curtin%2C+J%2E+P%2E%2C+Gaffney%2C+R%2E+L%2E%2C+and+Riggins%2C+F%2E+J%2E+%282009%29%2E+The+RFID+e-valuation+framework-determining+the+business+value+from+radio+frequency+identification%2E+In+Proceedings+of+the+42nd+Hawaii+International+Conference+on+System+Sciences%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib9-5">Lee, H., and &#x00D6;zer, &#x00D6;. (2007). Unlocking the value of RFID. <emphasis>Prod. Oper. Manag.,</emphasis> 16(1), 40&#x02013;64. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Lee%2C+H%2E%2C+and+%D6zer%2C+%D6%2E+%282007%29%2E+Unlocking+the+value+of+RFID%2E+Prod%2E+Oper%2E+Manag%2E%2C+16%281%29%2C+40-64%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib9-6">Laubacher R., Kothari, S. P., Malone T. W., and Subirana, B. (2006). What is RFID worth to your company? MIT Sloan School Paper #224, Cambridge, USA. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Laubacher+R%2E%2C+Kothari%2C+S%2E+P%2E%2C+Malone+T%2E+W%2E%2C+and+Subirana%2C+B%2E+%282006%29%2E+What+is+RFID+worth+to+your+company%B4+MIT+Sloan+School+Paper+%23224%2C+Cambridge%2C+USA%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib9-7">Baars, H., Gille, D., and Str&#x00FC;ker, J. (2009). Evaluation of RFID applications for logistics: A framework for identifying, forecasting and assessing benefits. <emphasis>Eur. J. Inform. Syst.,</emphasis> 1&#x02013;14. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Baars%2C+H%2E%2C+Gille%2C+D%2E%2C+and+Str%FCker%2C+J%2E+%282009%29%2E+Evaluation+of+RFID+applications+for+logistics%3A+A+framework+for+identifying%2C+forecasting+and+assessing+benefits%2E+Eur%2E+J%2E+Inform%2E+Syst%2E%2C+1-14%2E" target="_blank">Google Scholar</ulink></para></listitem>
<listitem>
<para id="bib9-8">Feuerriegel, S., and Neumann, D. (2014). Measuring the financial impact of demand response for electricity retailers. <emphasis>Energy Policy,</emphasis> 65, 359&#x02013;368. <ulink url="https://scholar.google.com/scholar?hl=en&amp;q=Feuerriegel%2C+S%2E%2C+and+Neumann%2C+D%2E+%282014%29%2E+Measuring+the+financial+impact+of+demand+response+for+electricity+retailers%2E+Energy+Policy%2C+65%2C+359-368%2E" target="_blank">Google Scholar</ulink></para></listitem></orderedlist>
</section>
</chapter>
<chapter class="nosec" id="ch10">
<title>About the Editors</title>
<para><emphasis role="strong">Dr. Narcis Avellana, PhD, CEO</emphasis>. Narcis Avellana is responsible for the vision, strategy, and leadership of Sensing &#x00026; Control Systems. He is also responsible for the company&#x02019;s financial management. Under his leadership, S&#x00026;C has grown to become one of the top 20 most innovative companies in Barcelona. Narcis co-founded S&#x00026;C with Alberto Fernandez in 2006. Prior to S&#x00026;C, he was a Marketing Director and Key Account Manager for the Application Specific Integrated Circuits (ASIC) Division at Epson Europe Electronics where he increased turnover from 200K to 7.5 M. In 2001, he returned to Barcelona to establish the Seiko-Epson Business &#x00026; R&#x00026;D Center, where he was General Manager for 6 years. Along his professional career, Narcis has published more than 40 scientific articles and is an <emphasis>Approved Expert Evaluator and Reviewer for</emphasis> the European Commission. He received his Ph.D. in Microelectronics, <emphasis>summa cum laude</emphasis>, developed in the University of Ulm, Germany, his BA in Computer Science from the University of Barcelona and his MSc in Business Administration from the Autonomous University of Barcelona.<!--br /--></para>
<para><emphasis role="strong">Alberto Fernandez</emphasis> is Operations Director in S&#x00026;C for 10 years where he is responsible for developing hardware, software and firmware solutions. He has a track record of more than 20 years&#x02019; experience developing technological solutions. Alberto holds a Computer Science MSc in microelectronics from the Autonomous University of Barcelona. He worked in the R&#x00026;D department of the Spanish Microelectronics Centre for 3 years. Then he worked as R&#x00026;D engineer at Microson, a Spanish leading company in the development of hearing aid products for the global market for more than 5 years. Following this, he was the Technical Manager of the Seiko Epson Barcelona Design Centre, at the R&#x00026;D department for 6 years.<!--br /--></para>
</chapter>
<chapter class="nosec" id="ch11">
<title>About the Authors</title>
<para><emphasis role="strong">Aidan Melia</emphasis> is a project manager working on commercial and research and development (R&#x00026;D) projects. Working for IES for over 3 years Aidan has managed 3 European projects, such as FP7 and H2020. His focus is on the areas of smart cities and ICT developments, as well as more recently on areas such as gamification. He has studied in a number of countries such as Ireland, the US, Spain and Germany.</para>
<para><emphasis role="strong">Energy Agency of Plovdiv (EAP), Bulgaria</emphasis> is the first energy management agency established in Bulgaria under the SAVE II program of the European Commission (EC). The EC and others have considered EAP a huge success in the country and in the region since its inception in 2000. It is now a leading body in the field of sustainable energy development. EAP promotes energy efficiency (EE) and renewable energy sources (RES) on local, regional and national level, develops action plans, and performs feasibility studies promoting sustainable energy development. EAP also develops energy concepts and projects for municipalities and for small and medium-sized enterprises (SMEs), arranges financing, and provides expertise and consultations. EAP builds strategic partnerships with municipalities, governmental and non-governmental organisations, associations, networks, universities and businesses in Bulgaria and all other EU member states. It is a member of FEDARENE and ENER.</para>
<para><emphasis role="strong">Fabrizio Lorenna</emphasis> received the High School Diploma in telecommunication specialization in 1986 and a Certificate of Professional Qualification for Computer Technologist, at ELIS Centre (Rome), in 1992. Since November 1992 he works at the company Vitrociset S.p.A. (Rome) as Analyst Programmer. During his work, he was employed in various projects mainly regarding: Satellite data management (production chains, archiving, data quality control, image processing) at ESA-ESRIN (European Space Agency&#x02014;European Space Research Institute) in Frascati (Italy); Middleware, following CORBA standard, used for ATC (Air Traffic Control) at Selex-SI (Finmeccanica) in Rome; &#x0201C;Billing Request&#x0201D; for the department Business Information Systems of Vitrociset S.p.A.; Tool for the management of an hardware inventory regarding the Lazio Region, for LAIT S.p.A. in Rome; Development and Research project for &#x0201C;Reward&#x0201D; and &#x0201C;iURBAN&#x0201D;.</para>
<para><emphasis role="strong">Jens Str&#x00FC;ker</emphasis> has a habilitation in business informatics and economics. He is dean in the Faculty of Economics and Media at Fresenius University of Applied Sciences in Frankfurt and managing director of the Institute of Energy Economics (INEWI). His research focus is the identification, evaluation and marketing of flexibility in energy generation and consumption. </para>
<para><emphasis role="strong">Karwe Markus Alexander</emphasis> is a doctoral candidate at the University of Freiburg, Germany. He obtained his Diploma with honors in Information Science at University Siegen. His research is in the field of Smart Metering Privacy with special focus on Privacy Enhancing Technologies in Residential Demand Response Systems.</para>
<para><emphasis role="strong">Marco Forin</emphasis> is a computer science engineer with more than 10 years&#x02019; experience in developing of technological solutions. Working in Vitrociset, he has the technical leadership of commercial and R&#x00026;D projects, such as FP7 and H2020. During the last years, Marco has got to work on different applicative domains, starting from real-time systems for Italian Defence, to Smart City solutions for public administrations. Marco received a Bachelor Degree in Computer Science Engineering at &#x0201C;La Sapienza&#x0201D; University of Rome.</para>
<para><emphasis role="strong">Mike Oates PhD</emphasis>, is technical analyst on commercial, and research and development (R&#x00026;D) projects. Working for IES for over 3 years Michael has been technical lead/analyst on 6 European projects, FP7, H2020, and Marie Curie etc., http://www.iesve.com/research. Research project topic areas included glazing (electrochromic glazing), retrofit technologies, manufacturing, city modelling, and application development including gamification. </para>
<para><emphasis role="strong">Sergio Jurado</emphasis> has 5 years of experience in the energy sector and is specialised in electric systems. He is a Ph.D. candidate in the Universitat Politecnica de Catalunya (UPC) in Artificial Intelligence applied to the energy efficiency. He worked in areas such as quality control, production line and teaching computer science in C++ for two years. He also worked in the R&#x00026;D department of S&#x00026;C for FP7, EUROSTARS and other R&#x00026;D European projects as project engineer, project manager, as well as, performing data analysis tasks, developing and integrating Artificial Intelligence algorithms for the energy domain, and in the systems developed by the company. His Ph.D. is based on improving the predictions of consumptions and productions for prosumers and how negotiations can be performed among key stakeholders in the future Smart Grid. Nowadays, he is business manager of energy and utilities in a technological consultancy firm.</para>
<para><emphasis role="strong">Sofia Aivalioti</emphasis> works for the R&#x00026;D department of S&#x00026;C as a dissemination and exploitation officer for European projects. She has a 5-years&#x02019; experience as a consultant for international and regional development projects with specific focus on environmental sustainability. She worked for the Ministry of Finance of Greece for the finalization of the cross-border cooperation programme Interreg III-A and on FP7 and H2020 R&#x00026;D project. She received a B. Eng in Civil Infrastructure Engineering from the A.T.E.I. of Thessaloniki, a M.Sc. in Environment and International Development at the University of Edinburgh and the Joint European Master in Environmental Studies &#x02013; Cities &#x00026; Sustainability where she also worked on a research project for the Columbia Law School.</para>
<para><emphasis role="strong">Stefan Reichert</emphasis> is a doctoral candidate at the University of Freiburg, Germany. He obtained his M.Sc. in Economics at University of Freiburg and his B.Sc. at University of Heidelberg. His research focuses on the evaluation of flexibility in energy generation, consumption and storage, as well as data-driven business models in the energy sector. </para>
</chapter>
</book>
