Full text
ADVERTIMENT . La consulta d’aquesta tesi queda condicionada a l’acceptació de les següents condicions d'ús: La difusió d’aquesta tesi per mitjà del servei TDX (www.tesisenxarxa.net) ha estat autoritzada pels titulars dels drets de propietat intel·lectual únicament per a usos privats emmarcats en activitats d’investigació i docència. No s’autoritza la seva reproducció amb finalitats de lucre ni la seva difusió i posada a disposició des d’un lloc aliè al servei TDX. No s’autoritza la presentació del seu contingut en una finestra o marc aliè a TDX (framing). Aquesta reserva de drets afecta tant al resum de presentació de la tesi com als seus continguts. En la utilització o cita de parts de la tesi és obligat indicar el nom de la persona autora. ADVERTENCIA. La consulta de esta tesis queda condicionada a la aceptación de las siguientes condiciones de uso: La difusión de esta tesis por medio del servicio TDR (www.tesisenred.net) ha sido autorizada por los titulares de los derechos de propiedad intelectual únicamente para usos privados enmarcados en actividades de investigación y docencia. No se autoriza su reproducción con finalidades de lucro ni su difusión y puesta a disposición desde un sitio ajeno al servicio TDR. No se autoriza la presentación de su contenido en una ventana o marco ajeno a TDR (framing). Esta reserva de derechos afecta tanto al resumen de presentación de la tesis como a sus contenidos. En la utilización o cita de partes de la tesis es obligado indicar el nombre de la persona autora. WARNING. On having consulted this thesis you’re accepting the following use conditions: Spreading this thesis by the TDX (www.tesisenxarxa.net) service has been authorized by the titular of the intellectual property rights only for private uses placed in investigation and teaching activities. Reproduction with lucrative aims is not authorized neither its spreading and availability from a site foreign to the TDX service. Introducing its content in a window or frame foreign to the TDX service is not authorized (framing). This rights affect to the presentation summary of the thesis as well as to its contents. In the using or citation of parts of the thesis it’s obliged to indicate the name of the author
Departament de Teoria del Senyal i Comunicacions Privacy-Preserving Energy Management Techniques and Delay-Sensitive Transmission Strategies for Smart Grids Ph.D. Thesis By Onur Tan Submitted to the Universitat Polit` ecnica de Catalunya (UPC) in partial fulfillment of the requirements for the degree of DOCTOR OF PHILOSOPHY Barcelona, June 2016 Supervised by Dr. Deniz G¨ und¨ uz and Dr. Jes´ us G´ omez Vilardeb´ o Ph.D. program on Signal Theory and Communications
A esta etapa de mi vida
This work has been supported by the Spanish Government under the grant BES-2011-048206 and by the Centre Tecnol` ogic de Telecomunicacions de Catalunya (CTTC) under the Ph.D. scholarship program.
Abstract The smart grid (SG) is the enhancement of the traditional electricity grid that allows bidirectional flow of electricity and information through the integration of advanced monitoring, communication and control technologies. With these technologies, the SG is expected to yield efficiency, reliability and robustness in generation, transmission and distribution of energy, as well as to reduce costs and carbon emissions. In this thesis, we focus on important design problems affecting particularly two critical enabling components of the SG infrastructure that facilitate these monitoring and communication capabilities:smart meters (SMs) and wireless sensor networks (WSNs). SMs measure the energy consumption of the users and transmit their readings to the utility provider in almost real-time. Fine-grained SM readings enable real-time optimization of load management. However, possible misuse of SM readings raises serious privacy concerns for the users. The challenge is thus to design techniques that can increase the privacy of the users while maintaining the critical monitoring and control capabilities SMs provide. Demand-side energy management (EM), achieved thanks to the utilization of storage units and alternative energy sources, has emerged as a potential technique to tackle this challenge. WSNs consist of a large number of low power sensor nodes, which monitor physical parameters and transmit their measurements to control centers (CCs) over wireless links. CCs utilize these measurements to reconstruct the system state. For the reliable and efficient management of the SG, near real-time and accurate reconstruction of the system state at the CC is crucial. Thus, low complexity delay-constrained transmission strategies, which enable sensors to accurately transmit their measurements to CCs, should be investigated rigorously. To address these challenges, this dissertation investigates and designs privacy-preserving EM techniques for SMs and delay-constrained transmission strategies for WSNs. The proposed EM techniques provide privacy to SM users while maintaining the operational benefits SMs provide. On the other hand, the proposed transmission strategies enable WSNs to meet low latency transmission requirements, which in turn, facilitate real-time and accurate state vii
reconstruction; and hence, the efficient and robust management of the SG. First, we consider an SM system with energy harvesting and storage units. Representing the system with a discrete-time finite state model, we study stochastic EM policies from a privacy-energy efficiency trade-off perspective, where privacy is measured by information leakage rate and energy efficiency is measured by wasted energy rate. We propose EM policies that take stochastic output load decisions based on the harvested energy, the input load and the state of the battery. For the proposed policies, we characterize the fundamental trade-off between user’s privacy and energy efficiency. Second, we consider an SM system with a storage unit. Considering a discrete-time power consumption and pricing model, we study EM policies from a privacy-cost trade-off perspective, where privacy is measured by the load variance as well as mutual information between the input and output loads. Assuming non-causal knowledge of the power demand profile and prices, we characterize the optimal EM policy based on the solution of an optimization problem. Then, assuming that the power demand profile is known only causally, we obtain the optimal EM policy based on dynamic programming, and also propose a low complexity heuristic policy inspired from the optimal offline policy. For the proposed policies, we characterize the trade-off between user’s privacy and energy cost. Finally, we consider the problem of transmitting delay-sensitive sensor measurements for state reconstruction in a SG. We study the delay-constrained linear transmission (LT) of composite Gaussian measurements from a sensor to a CC over a point-to-point fading channel. Assuming that the channel state information (CSI) is known by both the encoder and decoder, we propose the optimal LT strategy in terms of the average mean-square error (MSE) distortion under a strict delay constraint, and two LT strategies under general delay constraints. Assuming that the CSI is known only by the decoder, we propose the optimal LT strategy in terms of the average MSE distortion under a strict delay constraint. viii
Resum La xarxa d’energia intel·ligent, en angl` es Smart Grid (SG), ´ es la millora de la xarxa el` ectrica tradicional. La SG permet el flux bidireccional d’informaci´ o i incorpora tecnologies avanc¸ades de supervisi´ o, comunicaci´ o i control per a la millor gesti´ o de la xarxa. Amb aquestes tecnologies, la SG pret´ en incrementar l’efici` encia, confiabilitat i robustesa de la generaci´ o, transmissi´ o i distribuci´ o de l’energia, aix´ ı com reduir els costos i les emissions de gasos d’efecte hivernacle. En aquesta tesi, ens enfoquem en les diferents problem` atiques associades al disseny de dos dels components m´ es cr´ ıtics de la infraestructura de la SG i responsables, en gran part, de les capacitats de supervisi´ o i comunicaci´ o d’aquesta: els mesuradors de consum intel·ligents, en angl` es Smart Meters (SMs), i les xarxes de sensors sense fils, en angl` es Wireless Sensor Networks, (WSNs). Els SMs mesuren el consum d’energia dels usuaris i transmeten les seves mesures al prove¨ ıdor de servei gaireb´ e en temps real. L’alta granularitat amb la qual els SM obtenen aquesta informaci´ o permet l’optimitzaci´ o en temps real de la gesti´ o de c` arrega a la xarxa. No obstant aix` o, el possible mal ´ us d’aquestes mesures planteja preocupacions greus en quant a la privacitat dels usuaris. El desafiament ´ es, per tant, dissenyar t` ecniques que puguin augmentar la privadesa dels usuaris mantenint les capacitats cr´ ıtiques de supervisi´ o i control que proveeixen els SMs. Una soluci´ o tecnol` ogica a aquest desafiament ´ es el disseny de sistemes de gesti´ o d’energia, en angl` es Energy Management (EM), intel·ligents compostos per dispositius d’emmagatzematge i generaci´ o alternativa d’energia. Les WSNs es componen d’un gran nombre de sensors de baixa pot` encia, que mesuren par` ametres f´ ısics i transmeten les seves mesures als centres de control (CCs) mitjanc¸ant enllac¸os sense fils. Els CCs utilitzen aquestes mesures per estimar l’estat del sistema. Per a una gesti´ o eficient i fiable de la SG, una bona reconstrucci´ o de l’estat del sistema en temps real ´ es crucial. Per aix` o, cal investigar estrat` egies de transmissi´ o per a aquestes xarxes de sensors amb estrictes requisits de complexitat i limitacions de lat` encia. Amb l’objectiu d’afrontar aquests desafiaments, aquesta tesi doctoral investiga i dissenya, ix
[C4] D. G¨ und¨ uz, J. G´ omez-Vilardeb´ o, O. Tan and H. V. Poor, “Information theoretic privacy for smart meters,” in Proceedings of the Information Theory and Applications Workshop (ITA), San Diego, CA, USA, Feb. 2013, pp. 1–7. [C5] O. Tan, D. G¨ und¨ uz and H. V. Poor, “Smart meter privacy in the presence of energy harvesting and storage devices,” in Proceedings of the IEEE International Conference on Smart Grid Communications (SmartGridComm), Tainan City, Taiwan, Nov. 2012, pp. 664–669. Master Thesis •O. Tan, “Terrain profile estimation over a synthetic terrain by using pulse-doppler radar,” Supervisor: Prof. Dr. Orhan Arıkan (Bilkent University), June 2010. xvi
Contents 1 Introduction 1 1.1 Motivation..................................... 1 1.1.1 SmartMeters(SMs) ........................... 3 1.1.2 Wireless Sensor Networks (WSNs) . . . . . . . . . . . . . . . . . . . 5 1.2 Dissertation Outline and Research Contributions . . . . . . . . . . . . . . . . . 6 2 State of the Art 11 2.1 Privacy-Invasive Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.1.1 Non-Intrusive Appliance Load Monitoring (NALM) . . . . . . . . . . 11 2.1.2 Use-ModeDetection ........................... 13 2.1.3 Behaviour Deduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2 Privacy-Preserving Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.2.1 Anonymization.............................. 15 2.2.2 Trusted Computation . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.2.3 Cryptographic Computation . . . . . . . . . . . . . . . . . . . . . . . 17 2.2.4 Verifiable Computation . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.2.5 Perturbation................................ 18 2.2.6 Demand-Side Energy Management (EM) Techniques . . . . . . . . . . 20 2.3 Linear Transmission (LT) Strategies . . . . . . . . . . . . . . . . . . . . . . . 22 2.3.1 LinearCoding .............................. 23 3 Increasing Smart Meter Privacy Through Energy Harvesting and Storage Devices 27 3.1 Introduction.................................... 27 3.2 SystemModel................................... 31 3.2.1 A Simplified Binary Model . . . . . . . . . . . . . . . . . . . . . . . . 35 xvii
Contents 3.3 Information Leakage Rate Computation . . . . . . . . . . . . . . . . . . . . . 36 3.4 Numerical Results and Observations . . . . . . . . . . . . . . . . . . . . . . . 40 3.4.1 Effects of Energy Harvesting Rate on Privacy and Energy Efficiency . . 40 3.4.2 Privacy-Energy Efficiency Trade-Off . . . . . . . . . . . . . . . . . . 41 3.4.3 Effects of Battery Capacity on Privacy . . . . . . . . . . . . . . . . . . 45 3.4.4 Privacy at the Expense of Wasting Grid Energy . . . . . . . . . . . . . 46 3.5 Conclusions.................................... 48 4 Privacy-Cost Trade-offs in Demand-Side Management with Storage 51 4.1 Introduction.................................... 51 4.2 SystemModel................................... 54 4.3 Optimal Offline Energy Management (EM) Policy . . . . . . . . . . . . . . . . 57 4.3.1 Implications of Lemmas . . . . . . . . . . . . . . . . . . . . . . . . . 60 4.3.2 Backward Water-Filling Algorithm . . . . . . . . . . . . . . . . . . . 61 4.4 Online Energy Management (EM) Policies . . . . . . . . . . . . . . . . . . . . 64 4.4.1 Optimal Online Policy . . . . . . . . . . . . . . . . . . . . . . . . . . 64 4.4.2 Heuristic Online Policy . . . . . . . . . . . . . . . . . . . . . . . . . . 66 4.5 Information Leakage Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 4.6 Numerical Results and Observations . . . . . . . . . . . . . . . . . . . . . . . 70 4.7 Conclusions.................................... 80 5 Linear Transmission of Composite Gaussian Measurements over a Fading Channel under Delay Constraints 81 5.1 Introduction.................................... 81 5.2 SystemModel................................... 84 5.3 StrictDelayConstraint .............................. 87 5.3.1 Multiple Measurements and Parallel Channels . . . . . . . . . . . . . . 90 5.4 LTStrategies ................................... 93 5.4.1 Linear Transmission Scheme with Hard Matching (LTHM) . . . . . . . 96 5.4.2 Linear Transmission Scheme with Soft Matching (LTSM) . . . . . . . 97 5.5 DistortionLowerBounds............................. 98 5.5.1 The Theoretical Lower Bound (TLB) . . . . . . . . . . . . . . . . . . 98 5.5.2 The Linear Transmission Lower Bound (LLB) . . . . . . . . . . . . . 100 xviii
Contents 5.6 NoCSIattheEncoder ..............................101 5.6.1 Strict Delay Constraint . . . . . . . . . . . . . . . . . . . . . . . . . . 101 5.6.2 Multiple Measurements and Parallel Channels . . . . . . . . . . . . . . 102 5.6.3 The Theoretical Lower Bound (TLB) . . . . . . . . . . . . . . . . . . 103 5.7 Multiple Sensors and Parallel Channels . . . . . . . . . . . . . . . . . . . . . 104 5.7.1 Scheduling Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . 104 5.8 Numerical Results and Observations . . . . . . . . . . . . . . . . . . . . . . . 105 5.9 Conclusions....................................109 5.10Appendix .....................................110 5.11ProofofTheorem1................................110 5.12ProofofLemma3.................................113 6 Conclusions and Future Work 117 6.1 Conclusions....................................117 6.2 FutureWork....................................120 Bibliography 123 xix
List of Figures 1.1 A depiction of the smart grid (SG) [16]. . . . . . . . . . . . . . . . . . . . . . 2 1.2 A commercial SM platform of General Electric. . . . . . . . . . . . . . . . . . 3 1.3 An in-home display of British Gas. . . . . . . . . . . . . . . . . . . . . . . . . 4 2.1 Appliance detection in an electricity demand profile obtained at a household with a time resolution of 30 seconds [5]. . . . . . . . . . . . . . . . . . . . . . 12 3.1 An SM system diagram with energy and information flows. The user, in addition to its connection to the energy grid, also has an EH device and an RB at its use. The energy flow in the system is managed by the EMU. The SM reads only the energy that is supplied by the UP at each interval. The readings are reported to the UP correctly without any tampering, but potentially in an encryptedmanner.................................. 28 3.2 Finite state diagram for the battery-conditioned EM policy with s= 2 states. Each triplet in the figure corresponds to the (x, z, y)values for the corresponding transition. Transition probabilities are also included in the figure. . . . . . . 37 3.3 Minimum information leakage rate, Ip, and the corresponding wasted energy rate, Ew, with respect to harvested energy rate for an EH system with and withoutanRB. .................................. 41 3.4 Information leakage rate, Ip, versus wasted energy rate, Ew, for px= 0.5and pz= 0.5. ..................................... 42 3.5 The Pareto optimal Ip, Ewpairs for px= 0.5and for different pzvalues. Optimal pairs for different pzvalues are illustrated with different markers. . . . 43 xxi
List of Figures 3.6 Finite state diagrams for battery-conditioned EM policies with battery capacities K= 3 and K= 4. Symmetric and complementary transition probabilities are illustrated for the computation of the minimum information leakage rate in case of an equiprobable input load, i.e., px= 0.5. ................ 44 3.7 Minimum information leakage rate, Ip, versus battery capacity, K........ 46 3.8 Information leakage rate, Ip, versus wasted energy rate, Ew, for the case of wastinggridenergy................................. 47 4.1 An SM system diagram with an EMU and an RB at the user’s household. The EMU manages the power flows (solid lines) among the power grid, the appliances and the RB. The SM realizes the information flow (dashed line) by reporting its power readings to the UP at certain time instants. . . . . . . . . . 52 4.2 Illustration of the timelines for the total power demand of the household, and the cost per unit energy. The total power demand, i.e., the input load, changes at time instants tp 1, tp 2, . . . , tp 6, while the price of energy changes at time instants tc 1, tc 2, tc 3, tc 4. .................................... 55 4.3 Depiction of the input loads and initial water levels (a), and the optimal backward water-filling algorithm in the presence of (b) infinite, and (c) finite capacityRBs,respectively. ............................... 62 4.4 (a) The load variance, V, versus the average energy cost, C, and (b) the information leakage rate, Ip, versus the average energy cost, C, resulting from the proposed offline and online EM policies under the RB capacity, Bmax = 0.5 kWh......................................... 75 4.5 (a) The load variance, V, versus battery capacity, Bmax, and (b) the information leakage rate, Ip, versus battery capacity, Bmax, for the proposed offline and online EM policies under θ= 1. ......................... 76 4.6 The average energy cost, C, versus battery capacity, Bmax, resulting from the proposed offline and online EM policies under θ= 0.001............. 77 4.7 Comparison of the original input load profile with the output load profiles resulting from the proposed offline and online EM policies under the RB capacity, Bmax = 1.5kWh, and, (a) θ= 1, (b) θ= 0.001, respectively. . . . . . . . . . . 78 4.8 The load variance, V, versus the average energy cost, C, for the RB capacities, B= 1 kWh, B= 1.5kWh and B= 2 kWh, respectively. . . . . . . . . . . . . 79 xxii
List of Figures 4.9 The total load variance, NV, versus the average energy cost, C, for the RB capacity, B= 1.5kWh, and the load profiles with a time resolution varying on the order of 5,10,15 minutes, and 1hour, respectively. . . . . . . . . . . . . . 79 5.1 The illustration of the transmission model from the perspective of the sensor with multiple channel accesses. . . . . . . . . . . . . . . . . . . . . . . . . . . 85 5.2 Water-filling reflected on a reciprocal mirror. . . . . . . . . . . . . . . . . . . 89 5.3 The block diagram illustration of the proposed LT strategies. . . . . . . . . . . 94 5.4 Illustration of the round-robin scheduling policy for different delay constraints. 105 5.5 Achievable MSE distortion with LTHM with respect to average power for different delay constraints in the discrete fading channel model. . . . . . . . . . . 106 5.6 Achievable MSE distortion with LTSM with respect to average power for various delay constraints in the continuous fading channel model. . . . . . . . . . . 107 5.7 MSE distortion versus delay constraint, d, in the continuous fading channel model for an average power constraint ¯ P= 10 dB. ...............108 5.8 The achievable MSE distortion of LT and the TLB with respect to average power in the discrete fading channel model with and without encoder CSI. . . . 108 xxiii
List of Tables 3.1 RESULTS FROM THE TRADE-OFF PAIRS FOR DIFFERENT pzVALUES . 45 4.1 CORNER POINTS OF THE TRADE-OFF CURVES in Fig. 4.4 . . . . . . . . 72 xxv
Chapter 1. Introduction Figure 1.3: An in-home display of British Gas. U.K. government has already launched the installation of SMs at many households in Britain, with the goal of every home having an SM by 2020 [27]. Despite all potential benefits mentioned above, possible misuse of SM readings raises important privacy and security threats for the users [28–33]. Potential privacy and security vulnerabilities of SGs have been reported by the U.S. National Institute for Standards and Technology (NIST) [34], and specifically, advanced metering infrastructure (AMI) security requirements have been published in OpenSG [35]. According to these reports, SM data can be misused by authorized and non-authorized third parties. On the one hand, authorized third parties, such as energy companies may use SM data for marketing or advertising issues. Additionally, governments may require access to SM data for law enforcement purposes or criminal issues. On the other hand, non-authorized parties can access SM data through illegitimate methods such as hacking, and analyze fine-grained data by employing various privacy-invasive techniques. By doing so, non-authorized parties can extract and deduce private user activities, such as residential occupancy, personal behaviours, life-styles, preferences [36], and appliance usage patterns, such as detecting the television (TV) channel that is being watched [37]. Even the indication of illnesses or life-style changes of an individual can be inferred through long retention of SM data [28–30]. Hence, solid privacy assurances should be provided to users both at legal and technical levels. Regarding legislative frameworks of governments, there are guideline reports such as the one published by NIST [34]. However, there still lacks standardization for the development of robust privacy regulations and policies. For instance, the protection of personal information currently count on the rules of companies and regulators. This is overwhelmingly weak protection since these rules rely solely upon the honesty of all parties. Therefore, privacy regulations and policies should be considered more seriously in the near future. On the other hand, providing privacy assurances at the technical level is also very crucial. This gives rise 4
1.1. Motivation to an urgent need for studying and designing privacy-preserving technologies, that can provide solid and robust privacy assurances to users, as well as maintain the operational benefits SMs provide to the SG. Demand-side energy management (EM), achieved thanks to the utilization of storage units and alternative energy sources, is an emerging technique to tackle this challenge. Hence, these techniques should be investigated rigorously in the near future. 1.1.2 Wireless Sensor Networks (WSNs) Another enabling technology for advanced monitoring and control of the SG is WSN [38–42]. As opposed to the traditional wired monitoring systems, which require high installation and maintenance costs for communication cables [43], WSNs bring significant benefits such as rapid deployment, low cost installation and maintenance of wireless sensor nodes [44]. To that end, WSNs have been deployed in the SG to monitor various physical parameters, such as voltage, current, active/reactive power values, and transmit their measurements to control centers (CCs) over wireless links. CCs exploit these measurements to reconstruct and update the system state. To enable the robust, reliable and efficient management of the grid, with rapid diagnosis and self-healing of potential system faults, near real-time and accurate reconstruction of the system state at the CC become critical. In this regard, wireless sensors should be able to realize near real-time, reliable and accurate transmission of their measurements to CCs. Transmission of rich sources over wireless networks has been already enabled by recent advances in communication and hardware technology. For their applicability to the SG scenario, it’s crucial to identify system limitations and performance metrics, and design wireless system that satisfies the end-to-end average distortion and delay requirements within the power constraint of the transmitter. In this context, low latency and low complexity are critical quality of service requirements that need to be met in the design of wireless transmission strategies for the SG [45], [46]. For instance, the U.S. Department of Energy identifies six major communication requirements for SG technologies in [47], and low latency is mentioned in five of them. All these suggest that the design of low complexity, delay-sensitive transmission strategies for WSNs is needed in order to provide advanced monitoring and control capabilities to SG, and enable, in turn, the robust and efficient management of the SG. Linear transmission (LT) emerges as an attractive strategy for this problem since it reduces both the delay and encoding complexity significantly; and accordingly limits the cost and energy requirements of the sensors. Hence, these strategies should be investigated thoroughly. In summary, the study and design of privacy-preserving EM techniques for SMs are required in order to provide privacy assurances to SM users while maintaining the operational benefits SMs provide to the SG. In addition, delay-sensitive transmission strategies for WSNs 5
Chapter 1. Introduction should be studied and designed so as to enable sensors to accurately transmit their measurements to CCs in near real-time, and facilitate, in turn, real-time and accurate state reconstruction; and hence, the robust and efficient management of the SG. 1.2 Dissertation Outline and Research Contributions This dissertation investigates privacy-preserving EM techniques for SMs and delay-sensitive transmission strategies for WSNs. The proposed EM techniques aim at coping with privacy concerns of SM users while retaining the operational benefits SMs provide to the SG. On the other hand, the proposed transmission strategies aim at enabling WSNs to accommodate low complexity, low latency transmission requirements, and maintaining, in turn, the critical monitoring and control capabilities WSNs provide to the SG. The thesis is structured in six chapters. The current chapter motivates the conducted research and presents the outline and research contributions. Chapter 2 provides a brief state of the art on privacy-invasive and privacy-preserving techniques, as well as on LT strategies. The technical content of the dissertation is organized into three main chapters, namely, Chapters 3, 4 and 5. Chapters 3 and 4 focus on an SM system and study the fundamental trade-offs between privacy and energy efficiency, and privacy and energy cost, respectively. Chapter 5 considers the problem of transmitting delay-sensitive sensor measurements for state reconstruction in SG, and studies delay-constrained LT strategies in a point-to-point communication problem. Finally, Chapter 6 concludes the dissertation and points out some possible future research directions. Chapter 3 studies privacy in an SM system from an information theoretic perspective in the presence of EH and storage units. Focusing on a discrete-time system model, we investigate stochastic battery policies at the energy management unit (EMU) based on the harvested energy, energy demand of the appliances and the state of the storage unit. We show that EH provides increased privacy by diversifying the energy source, while a storage device can be used to increase both the energy efficiency and the privacy of the user. For given input load and EH rates, which denote the probability of having one unit of energy demand and harvested energy, respectively, it is shown that there exists a trade-off between the information leakage rate, which is used to measure the privacy of the user, and the wasted energy rate, which is a measure of the energy-efficiency. The impact of the EH rate and the size of the storage device on this trade-off is also studied. For very sensitive applications, the impact of wasting of grid energy on fulfilling the increased privacy requirements of the user is also investigated. The main contributions of Chapter 3 are: •We investigate stochastic EM policies that provide both privacy and energy efficiency to the user for an SM system with an EH device and an RB. 6
1.2. Dissertation Outline and Research Contributions •For given input load and EH rates, we show that the proposed EM policies lead to an energy efficiency-privacy trade-off. •We study the impact of EH rate on the energy efficiency-privacy trade-off, and show that the privacy of the user improves significantly as the EH rate increases. On the other hand, this also increases the amount of wasted energy. •We numerically investigate the impact of the battery capacity on the information leakage rate, and show that the information leakage rate can significantly be reduced by increasing the RB capacity. •For very sensitive applications, we show that even with a finite capacity RB, increased privacy can be achieved by wasting more energy from the grid. The contributions of Chapter 3 were published in one journal publication [48] and two international conferences [49], [50]: •O. Tan, D. G¨ und¨ uz and H. V. Poor, “Increasing smart meter privacy through energy harvesting and storage devices,” IEEE Journal on Selected Areas in Communications (J-SAC), Vol. 31, No. 7, pp. 1331 - 1341, July 2013. •D. G¨ und¨ uz, J. G´ omez-Vilardeb´ o, O. Tan and H. V. Poor, “Information theoretic privacy for smart meters,” in Proceedings of the Information Theory and Applications Workshop (ITA), San Diego, CA, USA, Feb. 2013, pp. 1–7. •O. Tan, D. G¨ und¨ uz and H. V. Poor, “Smart meter privacy in the presence of energy harvesting and storage devices,” in Proceedings of the IEEE International Conference on Smart Grid Communications (SmartGridComm), Tainan City, Taiwan, Nov. 2012, pp. 664–669. Chapter 4 studies demand-side EM from a privacy-cost trade-off perspective for an SM system with an RB. Time-of-use pricing is considered, and privacy is measured as the variation of the output load from a fixed target value, namely, load variance. Assuming non-causal knowledge of the household’s aggregate power demand profile and the electricity prices at the EMU, the privacy-cost trade-off is formulated as a convex optimization problem, and the optimal EM policy is characterized in the offline setting. Based on the necessary optimal conditions, a low complexity backward water-filling algorithm is proposed to compute the optimal EM policy. While the energy cost is reduced by requesting more energy when the prices are lower, privacy is achieved by a smoother output load. It is shown that both gains can be achieved simultaneously by exploiting an energy storage unit, while the actual privacy-cost 7
Chapter 1. Introduction trade-off depends on the available storage capacity. Next, the problem is studied in the online setting assuming that the power demand profile is known to the EMU only causally, and the optimal EM policy is obtained numerically through dynamic programming (DP). Due to the high computational cost of DP, a low complexity heuristic EM policy with a performance close to the optimal online solution is also proposed based on the water-filling algorithm obtained in the offline setting. As an alternative, information theoretic leakage rate between the input and output load sequences is also evaluated, and it is shown to follow a similar trend as the load variance, which further supports the validity of the load variance as a measure of privacy. Finally, the privacy-cost trade-off, and the impact of the size of the storage unit on this tradeoff are studied through numerical simulations using real SM data in both the offline and online settings. The main contributions of Chapter 4 are: •We study EM policies that aim at providing both privacy and energy cost saving to the user for an SM system with an RB. •Assuming that the user’s power demands and the electricity prices are known non-causally at the EMU, we formulate the optimal privacy-cost trade-off in the offline setting as a convex optimization problem. We identify the structure of the optimal solution for this convex optimization problem and provide a backward water-filling algorithm for computing the optimal EM policy. •Assuming that the user’s power demands are known only causally at the EMU, we propose the optimal EM policy by means of DP solution. We also provide an efficient heuristic algorithm. •We characterize the information leakage rate between the user’s power demand profile and the SM readings, and show that it follows a similar trend as the load variance. •We study the trade-off between the user’s privacy and energy cost as well as the impact of the RB capacity on this trade-off for the proposed offline and online policies. The contributions of Chapter 4 were published in one international conference [51] and were submitted for a journal publication [52]: •O. Tan, J. G´ omez-Vilardeb´ o and D. G¨ und¨ uz, “Privacy-cost trade-offs in demand-side management with storage,” submitted to IEEE Transactions on Information Forensics and Security, 2016. 8
1.2. Dissertation Outline and Research Contributions •O. Tan, D. G¨ und¨ uz and J. G´ omez-Vilardeb´ o, “Optimal privacy-cost trade-off in demandside management with storage,” in Proceedings of the IEEE International Workshop on Signal Processing Advances in Wireless Communications (SPAWC), Stockholm, Sweden, June-July 2015, pp. 370–374. Chapter 5 considers delay-constrained LT strategies for the transmission of composite Gaussian measurements over an additive white Gaussian noise (AWGN) fading channel under an average power constraint. If the channel state information (CSI) is known by both the encoder and decoder, the optimal LT scheme in terms of the average mean-square error (MSE) distortion is characterized under a strict delay constraint, and a graphical interpretation of the optimal power allocation strategy is presented. Then, for general delay constraints, two LT strategies are proposed based on the solution to a particular multiple measurements-parallel channels scenario. We show that the distortion decreases as the delay constraint is relaxed, and when the delay constraint is completely removed, both strategies achieve the optimal performance under certain matching conditions. If the CSI is known only by the decoder, the optimal LT strategy is derived under a strict delay constraint. The extension to general delay constraints is elusive. As a first step towards understanding the structure of the optimal scheme in this case, we show that for the multiple measurements-parallel channels scenario, any LT scheme that uses only a one-to-one linear mapping between measurements and channels is suboptimal in general. The main contributions of Chapter 5 are: •We study delay-constrained LT strategies for the transmission of composite Gaussian measurements from a sensor to a CC over an AWGN fading channel. In a composite Gaussian source model, the source samples follow Gaussian distributions with different variance values. To the best of our knowledge, this source model has not been considered before in an LT framework. •Assuming that both the encoder and decoder know the CSI, we characterize the optimal LT scheme under a strict delay constraint, and provide a graphical interpretation for the optimal power allocation scheme. •We propose two LT strategies for arbitrary delay constraints, and show that the distortion decreases as the delay constraint is relaxed, and when the delay constraint is completely removed, both strategies achieve the optimal performance under certain matching conditions. •Assuming that the CSI is known only at the decoder, we derive the optimal LT strategy under a strict delay constraint. 9
Chapter 1. Introduction •We show that for the multiple measurements-parallel channels scenario, any LT scheme that uses only a one-to-one linear mapping between measurements and channels is suboptimal in general. The contributions of Chapter 5 were published in one journal publication [53] and two international conferences [54], [55]: •O. Tan, D. G¨ und¨ uz and J. G´ omez-Vilardeb´ o, “Linear transmission of composite Gaussian measurements over a fading channel under delay constraints,” IEEE Transactions on Wireless Communications, Vol. 15, No. 6, pp. 4335 - 4347, May 2016. •O. Tan, D. G¨ und¨ uz and J. G´ omez-Vilardeb´ o, “Delay constrained linear transmission of a mixture of Gaussian measurements over a fading channel,” in Proceedings of the IEEE International Conference on Communications (ICC), London, UK, June 2015, pp. 4107–4112. •O. Tan, D. G¨ und¨ uz and J. G´ omez-Vilardeb´ o, “Delay constrained linear transmission of random state measurements,” in Proceedings of the IEEE Sensor Array and Multichannel Signal Processing Workshop (SAM), A Coru˜ na, Spain, June 2014, pp. 53–56. 10
Chapter 2 State of the Art This chapter is divided into three parts: while the first and second part give a brief overview of privacy-invasive and privacy-preserving techniques, respectively, the third part briefly overviews LT strategies. 2.1 Privacy-Invasive Techniques 2.1.1 Non-Intrusive Appliance Load Monitoring (NALM) Non-intrusive appliance load monitoring (NALM) has been proposed as a set of techniques that analyze the aggregated power consumption data with the goal of identifying and tracking detailed appliance usage patterns in a household [56]. NALM techniques are called as nonintrusive since they only need to gather the aggregated power consumption data contrary to the intrusive techniques, which need to gather the power consumption data of individual appliances by connecting intrusive sensors to them. Hence, NALM techniques eliminate the need for deployment of expensive and intrusive sensors. NALM techniques can be used for various purposes such as forecasting the load, detecting failures and enabling demand-side load management with the goal of reducing the energy demand. These potential benefits lead to further research in NALM techniques for extracting individual appliance signatures from the aggregated power consumption. Accordingly, the authors in [57] study the pattern recognition techniques in which energy consumption patterns of domestic appliances can be accurately identified from daily aggregated energy consumption taken at household’s meter every 15 minutes. The authors in [58] present a feasibility study showing that the recognition and identification of a particular appliance from the aggregate current load is possible. The authors in [59] evaluate the performance of an energy monitoring system that recognizes active appliances based on their acoustic signatures, and provide device- 11
Chapter 2. State of the Art Figure 2.1: Appliance detection in an electricity demand profile obtained at a household with a time resolution of 30 seconds [5]. level power consumption profiles by using the correlation between the acoustic signatures and the overall power consumption data obtained from a meter. According to their experiments, the power consumption of individual appliances can be reported within a 10% margin. To extract the trends of a power consumption signal, a data mining algorithm based on an empirical probability distribution is proposed in [60]. The authors consider two types of signals, namely, unprotected signals which are not protected, and protected signals which are protected by a specific privacy algorithm. The authors applied the proposed method both to unprotected and protected signals with the goal of analysing the operation of a set of appliances and evaluating the privacy. They consider different sampling frequencies from 30 seconds to 30 minutes, and observe that the privacy of personal behaviours can be exposed even in the presence of a low sampling rate. They observe that the specific privacy protection algorithm used for protecting the signal leads to a great variation in the empirical probability distribution of the protected signal compared to that of the unprotected signal. They use the proposed method in order to provide a better insight for the performance of the privacy protection algorithm. The authors in [61] study the representation of load characteristics and construction of load taxonomy using the measured voltage and current waveforms of appliances in a household. They propose a taxonomy methodology, which constructs the load signatures as two 12
2.1. Privacy-Invasive Techniques dimensional voltage-current trajectories, extracts shape features, and clusters the appliances by applying hierarchical clustering methods. Then, they compare their taxonomy methodology with the taxonomy methodologies based on the traditional power metrics, and observe that voltage-current trajectories reveal better results in classifying the loads. An example of appliance detection in an aggregated power consumption data is given in Fig. 2.1 [5]. As it can be seen in the figure, active appliances with their unique power signatures can be detected and disaggregated from the total power consumption data. The potential benefits of NALM techniques can be provided through these extracted consumption signatures. However, the possible misuse of the extracted power consumption of individual appliances can raise privacy concerns. These concerns were first expressed by G.W. Hart in [62]. He claimed that NALM techniques could be potentially used as an adverse surveillance technique. For example, burglars can use NALM mechanisms in order to extract the time slots (TSs) in which the users are not at home, and can plan their burglaries. 2.1.2 Use-Mode Detection Use-mode detection techniques go one step beyond and try to recognize the actual activities of particular appliances. As a striking example, the authors in [63] illustrate the possibility of identifying the video being displayed on a TV by analyzing the electro-magnetic interference (EMI) signals being produced by that TV on the power line. The authors conducted an extensive analysis over 8 different TV sets from 3 sizes and 3 manufacturers. They observe that EMI traces produced by the same video are repeatable on the same TV set and highly correlated between different TV sets. They show that movies out of a pool of 1200 known movies can be identified with high accuracy from EMI traces. This gives rise to the identification of TV channels for a known programme and time. Finally, the authors analyze 20 movies in an experimental setting and show that the EMI signature model of an arbitrary TV can be dynamically learned from a known video content without requiring access to that TV. The authors in [37] propose another approach for detecting the channel displayed on a TV and even identifying the content. Using the 0.5Hz SM readings, the authors develop a function that predicts the power consumption of a dynamic back lighting liquid crystal display (LCD) monitor, which is related to the brightness of the content displayed on the TV. They carry out an experiment with three movies displayed on a TV and observe a high correlation between the actual and predicted power consumptions. Then, they show how their approach can be used for identifying the audiovisual content that is displayed on a TV set with dynamic backlighting. The identification of the browsing activity of the user is studied in [64]. Monitoring the computer’s alternating current (AC) power consumption with a sampling rate 1kHz, the authors 13
Chapter 2. State of the Art for billing and load monitoring. Moreover, they mention that the proposed method does not tolerate failures of users. 2.2.6 Demand-Side Energy Management (EM) Techniques In the aforementioned privacy-preserving techniques, privacy is provided by tampering the SM readings before being reported to the UP. As opposed to these techniques, demand-side EM is an emerging technique that can provide privacy to the consumer without tampering the SM readings. Demand-side EM techniques utilize storage units, such as RBs, and alternative energy sources, such as a solar panel, to partially mask the energy usage patterns of the consumers against the UP. Moreover, since the SM readings are reported to the UP without tampering, these techniques maintain unaltered the operational utility of the SM readings. Various EM algorithms have been proposed in the literature to provide privacy to users. In this regard, [85] proposes the best effort algorithm, which intends to hide the load signatures of the consumer from the UP with the utilization of RB. The proposed algorithm charges and discharges the RB in order to maintain a constant SM load level so that appliance usage events cannot be detected. The authors consider three different privacy metrics, namely, relative entropy, cluster classification and correlation/regression analysis, to measure the privacy provided by the proposed algorithm. In [86], a power mixing algorithm is proposed to protect energy consumption events of selected appliances with the utilization of RB. The authors consider the privacy metrics mentioned above and evaluate the performance of the proposed algorithm by using the SM data collected from individual home appliances. The authors indicate that some major factors, such as battery capacity and power, can have an effect on the performance of the proposed algorithm. In [87], a simple RB system is studied. The authors consider a discrete-time system model with binary input-output loads and battery states, and propose stochastic battery policies to provide privacy to the users. Mutual information between the input and output loads is considered as a measure of privacy. The authors compute the mutual information applying a trellis algorithm on the finite state model (FSM). They consider two types of stochastic policies, namely, battery-conditioned policies and battery/output-conditioned policies, and indicate that these policies can leak 26% less information than the algorithm proposed in [85]. In [88], the authors propose a novel technique for hiding sensitive power consumption signatures of the appliances in the total power consumption load of a household. The proposed method modifies the power consumption of the household through the utilization of RB connected to the household’s power supply, with the goal of providing privacy assurances in terms of differential privacy. The authors consider capacity and throughput constraints of batteries 20
2.2. Privacy-Preserving Techniques in realistic scenarios, and propose an integrated method of noise cascading that maintains the differential privacy. The authors in [89] propose a non-intrusive load leveling (NILL) algorithm to protect privacy of the user against the potential privacy invasion that can stem from NALM techniques. The proposed algorithm is used to flatten the consumption of the user to a constant target load, with the goal of removing appliances’ features. NILL uses RBs to flatten the power consumed by appliances. When an appliance turns to ON state, the exerted load exceeds the target load; and thus, NILL discharges the battery for partially satisfying the exerted load and maintaining the target load. Similarly, when an appliance turns to OFF state, the exerted load falls below the target load; and hence, NILM charges the battery with the energy drawn from the UP and maintains the target load. The proposed NILL system comprises an RB along with a control system that charges or discharges the RB based on the present load and battery state. In [90], the authors propose three techniques, namely, fuzzing, targeted entropy maximization and targeted fuzzing. The proposed techniques intend to mask individual load changes with the utilization of RB. These techniques have different ways of choosing load offsets. The first proposed technique is fuzzing. This technique changes the observed load to a desired observed signal, which is chosen randomly over an interval by using a uniform distribution. At first glance, uniform distribution would seem to create the greatest obfuscation for an actual signal change. However, since the sampling interval is built around the actual load change, there are cases where this technique can choose an output signal value that has only one possible underlying actual event. This would lead to the fact that there is no obfuscation at all. The second proposed technique is targeted entropy maximization. This technique chooses the desired load level that maximizes the entropy of possible individual events. To do so, the proposed technique uses the information about the individual loads that contribute to the aggregate signal, and picks up an offset value to minimize the ability of the third parties to deduce any information about the individual appliances in the aggregate load. This technique assumes that the observer is unaware of the masking technique, the battery capacity and the charging/discharging rate. The authors indicate that this technique might fail in providing privacy if this information is available at the observer side, in which case the observer could decode the observed signal to reveal the original signal. The third technique is targeted fuzzing. This technique builds a probability distribution for an observed event taking into account the fact that how this event can be interpreted by an observer. The distribution has bias towards samples that larger numbers of possible actual events can explain. This technique randomly samples an observed change from this distribution, while eliminating any samples that only one actual event can explain. The authors mention that the targeted fuzzing technique prevents the deficiencies of the previous techniques against potential attacks. 21
Chapter 2. State of the Art In [91], the authors propose battery-based load hiding methods to hide appliance loads. They first evaluate the performance of two well-known battery control algorithms, namely, best effort [85] and NILL [89], against the attack of an intruder, and reveal privacy vulnerabilities of these algorithms. Then, they propose a stepping-based algorithms based on maximizing the error between the input and output loads under the RB capacity and charging/discharging rate constraints. They use the mutual information as the privacy measure, and compare the performances of the proposed stepping algorithms against the best effort and NILL algorithms. Using a real energy consumption data, they show that their methods outperform the best effort and NILL algorithms in general. The authors in [92] propose a stochastic control method that jointly decorrelates the SM readings from the user’s actual usage and reduces the energy cost of the user with the utilization of RB. The proposed method is founded based on a stochastic DP. The authors indicate that their method reduces the correlation between the SM readings and the user’s real consumption while maximizing the energy savings of the users. The cost savings are achieved by charging the battery in the low-price zone and satisfy the energy demand from the stored battery energy in the high-price zone. According to their experiments, the authors indicate that the proposed technique achieves higher privacy and cost savings in the presence of low-frequency components in the load profile of the user. In [93], the authors study a DP framework that jointly provides SM data privacy and reduces the energy cost of the user. Assuming that the energy demands and prices are known causally, they reformulate the original problem so that it can be solved by using only the current demand and price information. Then, they propose a low complexity online algorithm based on the Lyapunov optimization technique. The proposed algorithm is parametrized by a positive value, which enables to quantify the impact of the battery capacity on its performance. Using a real energy demand data, the authors demonstrate that their algorithm can provide privacy to the user in a cost-effective manner. 2.3 Linear Transmission (LT) Strategies Shannon’s source-channel separation theorem states that the optimal end-to-end distortion is achieved by concatenating the optimal source and channel codes when there is no delay or complexity constraints, and the source and channel distributions are ergodic [94]. However, if the delay and complexity are considered as system constraints, the optimality of this theorem fails. This gives rise to the need of designing transmission strategies that can accommodate low latency and low complexity constraints. In this regard, LT emerges as a promising strategy, since it reduces both the delay and encoding complexity significantly. 22
2.3. Linear Transmission (LT) Strategies 2.3.1 Linear Coding In [95], the authors obtain the optimal linear coding solution for the transmission of a vector of sources over a vector channel. They consider the problem of designing the optimal linear vector coding method to transmit an r-dimensional vector signal over a k-dimensional AWGN vector channel under a given power constraint and MSE distortion criterion. They assume an r-dimensional discrete-time memoryless Gaussian vector source and a k-dimensional discretetime memoryless AWGN vector channel. They also assume that the source signal and the channel noise are independent from each other, while the individual samples of the source and the channel noise vectors are correlated, i.e., the covariance matrices of the source and noise signals are not necessarily diagonal. They design the linear encoder and decoder that minimize the weighted MSE distortion under the total channel power constraint. In the first step of the optimal linear transformation strategy, the correlated source signal vector and the correlated channel noise vector are transformed into uncorrelated source signal and channel noise vectors; and hence, the original problem is reduced to an equivalent vector signal transmission system with uncorrelated source and noise sequences. In this equivalent system, the optimal decoder is the linear minimum mean-square error (MMSE) estimator, whereas the optimal linear encoder is found based on the following linear transformation steps. In the first step, considering the eigenvalues of the source and channel noise covariance matrices, the source and noise samples are sorted in descending and ascending orders, respectively. The authors measure the quality of the source and the channel noise samples through the eigenvalues of the source and channel noise covariance matrices, i.e., the better source sample implies the larger eigenvalue of the source covariance matrix and the better channel implies the smaller eigenvalue of the channel noise covariance matrix, respectively. Then, the sorted source signal vector is matched to the sorted channel vector in such a way that the largest eigenvalue of the source covariance matrix is assigned to the smallest eigenvalue of the channel noise covariance matrix, and the second largest eigenvalue of the source covariance matrix to the second smallest eigenvalue of the channel noise covariance matrix, and so on so forth. In this optimal matching, each source sample is scaled by its corresponding encoder constant and transmitted through the corresponding channel. The authors also derive the optimal encoder for the special case in which each subchannel has its individual power constraint. In [96], the authors study the transmission of delay-sensitive SG system state measurements over wireless channels. In the SG system under consideration, wireless sensors obtain noisy observations of the system state measurements and deliver them to CCs with the goal of monitoring and controlling the grid. Since the state measurements are delay-sensitive, the authors focus on low complexity memoryless linear coding and decoding strategies under the channel power constraint and MSE distortion criterion. Assuming fading channel, the authors 23
Chapter 2. State of the Art propose the optimal power allocation strategy over the system state measurements and the fading channels. If there is only one system state measurement, the optimal power allocation over time (fading states) is found as the sticky water-filling solution, which is a modified version of the well-known water-filling solution, with a main difference that the water level changes for different values of the fading state. For the multiple system state measurements, the authors consider two cases, namely, the diagonal observation matrix and the general observation matrix. If the observation matrix is diagonal, the optimal power allocation over time is shown to be the sticky water-filling solution. On the other hand, the authors show that the optimal power allocation over the system state measurements is to allocate all available power to the most important measurement. For the general observation matrix, the authors propose a power allocation scheme, which is shown to be asymptotically optimal. In [97], the authors study linear coding for a discrete memoryless Gaussian source transmitted over a discrete memoryless AWGN fading channel under average power constraint and MSE distortion criterion. In linear coding, the encoder linearly maps the source symbols into the channel symbols. The authors analyze the performance of linear coding under the system model mentioned above, and show that among all single-letter codes, linear coding achieves the optimal performance. If the CSI is known both by the transmitter and the receiver, the optimal power allocation is provided in terms of the channel fading state and the average power constraint. If the CSI is known only by the receiver, the optimal power allocation is shown to be uniform over fading states. The authors indicate that increasing the block length does not provide any gain in the performance of linear coding. Hence, the Shannon’s theoretical bound can not be achieved with linear coding in general. However, if the magnitude of the fading gain is constant, then linear coding is shown to achieve the Shannon’s theoretical bound. The gap between the performance of linear coding and the Shannon’s theoretical bound is bounded in terms of the channel fading state and the average power constraint. In the numerical simulations, the authors observe that this gap becomes negligible if the average power constraint or the variance of the channel fading state is relatively small. In [98], the authors study LT of correlated Gaussian vector sources over multi-antenna channels. For static multi-antenna channels, they derive the necessary and sufficient conditions for the optimality of linear coding in terms of MSE and show that the linear coding is optimal when the signal-to-noise ratio (SNR) is below a threshold. Then, the authors consider fast fading multi-antenna channels, and show that the optimal decay rate of the average distortion in the low SNR regime can be achieved by linear coding. They also show that linear coding achieves the optimal exponential decay rate of the average distortion in the high SNR regime under certain settings. In [99], the authors study linear coding of vector Gaussian sources transmitted over fading 24
2.3. Linear Transmission (LT) Strategies multi-antenna channels under average power constraint and MSE distortion criterion. Assuming that the CSI is known only by the receiver, they derive the optimal linear coding solution for the encoder and decoder, and compare its performance with the theoretically achievable optimal performance. For the Rayleigh fading channel model, the authors show that linear coding is suboptimal in general. However, they prove that the performance of linear coding is close to the theoretically achievable optimal performance in the low SNR regime. For some special cases, they prove the same for the Rician fading channel model as well. 25
Chapter 3 Increasing Smart Meter Privacy Through Energy Harvesting and Storage Devices 3.1 Introduction As it has been argued previously, SM data can be easily analyzed for surveillance purposes by tracking appliance usage patterns, employing non-intrusive appliance load monitors and data mining algorithms [56], [60], [61]. At the very least, through SM readings it is possible to infer whether a user is at home or not. But, through more advanced pattern recognition techniques, energy consumption patterns of individual appliances can be identified with high accuracy even when the SM can read only the aggregated household energy consumption [57]. As a striking example, [37] illustrates the possibility of detecting the channel displayed on a TV, and even identifying the content, just by analyzing the power profile of the household. Even assuming that the SM readings are transmitted to the UP in an encrypted manner, preventing third parties from accessing the user’s private energy consumption data, the UP will receive significant personal information about the user. Thus, even if only partially, assuring the privacy of the household’s electrical load profile is essential for users. In this chapter, we study SM privacy from the fundamental information theoretic perspective. We measure the privacy of the user’s energy profile with respect to the UP in terms of the information leakage rate, which denotes the mutual information rate between the real energy consumption of the appliances and the SM readings. Using Shannon entropy to measure privacy is not new. Minimizing the information leakage rate is equivalent to maximizing the equivocation, which was introduced by Shannon in [100] in the context of secure communications. Mutual information has previously been proposed as a measure of privacy in SM systems and several works in [48–50, 52, 86, 87, 89–91, 101–108]. Modeling the input load as 27
Chapter 3. Increasing Smart Meter Privacy Through Energy Harvesting and Storage Devices º ENERGY MANAGEMENT UNIT (EMU) APPLIANCES ENERGY HARVESTING (EH) DEVICE Charging Discharging Harvested Energy Output Load Input Load UTILITY PROVIDER (UP) RECHARGEABLE BATTERY (RB) i X i Y i Z SMART METER (SM) Figure 3.1: An SM system diagram with energy and information flows. The user, in addition to its connection to the energy grid, also has an EH device and an RB at its use. The energy flow in the system is managed by the EMU. The SM reads only the energy that is supplied by the UP at each interval. The readings are reported to the UP correctly without any tampering, but potentially in an encrypted manner. a discrete-time random process, the information leakage rate measures the amount of information the UP learns about the input load after observing the output load, i.e., the energy requested by the user. We assume that the UP may know the statistics of the input load as well as the stochastic behavior of the EM policy; however, it cannot observe the input load or harvested energy directly. The UP has to estimate the realization of the input load based on its statistical knowledge and its observation of the output load. The user wants to minimize the information leakage rate to achieve the highest level of privacy. While cryptographic algorithms rely on mathematical operations and the complexity of their computation by using encryption keys, information theoretic security does not depend on encryption keys and assures reliable privacy regardless of the computational power of an intruder, the UP in our case [109]. We study the privacy of an SM system from the perspective of a single user. In our system model, depicted in Fig. 3.1, we integrate an EH device as an alternative energy source and an RB as an energy storage unit. The energy flow is managed by the EMU. We consider a discretetime system. At each time instant i, the appliances request a certain amount of energy, denoted 28
3.1. Introduction by Xi. This amount is reported to the EMU which is responsible for providing this exact amount to the appliances; that is, we do not allow energy outages or rescheduling of appliance operations in this work. We also consider only the real power consumption of the devices and assume that the SM only reads and reports this quantity. Moreover, we also ignore inefficiencies and mismatches in providing the energy requirement of the appliances from different energy sources, and consider only the energy that is consumed by the appliances. The EMU has access to three different energy sources:the energy grid, the EH device and the energy storage unit. At any time instant it can provide the energy requested by the appliances from one or more of these sources. The goal of the EMU is to increase both the energy efficiency of the system and the privacy of the user. We employ stochastic battery policies based on the harvested energy, energy demand of the appliances and the state of the storage unit. We model the energy generation profile of an EH device as a stochastic process whose behavior depends on the characteristics of the underlying energy source and the device itself. Therefore, it is likely that the harvested energy sometimes does not match the energy required by the system and the extra energy would be wasted if not stored. Introducing an RB for energy storage into the system is essential for better utilization of the harvested energy. On the other hand, considering the increasing use of alternative energy sources (such as solar panels) by households, and the availability of rechargeable storage units (such as EVs) with significantly large storage capacities, it is meaningful to exploit these devices not only to decrease the dependency on the SG and to increase the energy efficiency, but also to provide additional privacy for the users. The equivocation of the UP about the real energy consumption can be manipulated by charging and discharging the RB and by using the harvested energy. Hence, the benefits of the RB are twofold:i)it can increase the energy efficiency of the system by storing extra harvested energy; and ii)it can increase the privacy of the user by hiding the energy consumption profile from the UP. We show in this chapter that there exists a trade-off between energy efficiency and privacy for the optimal EMU operation, and the operating point on this trade-off can be chosen based on the privacy sensitivity of the underlying input load and the cost of energy. As it has been presented in the state of the art in Chapter 2, various techniques have recently been proposed to provide a certain level of privacy for SM users. Anonymization [69], aggregation [70], homomorphism [76] and obfuscation [110] are some of the techniques that have been studied in the literature. In [88], the authors present a method for establishing privacy assurances in terms of differential privacy, i.e., RB is used to modify the energy consumption by adding or subtracting noise and thereby, the energy consumption of the individual appliances can be hidden. Moreover, they also consider various constraints on the RB such as capacity and throughput. In [89] a method to provide privacy against potential NALM techniques is 29
Chapter 3. Increasing Smart Meter Privacy Through Energy Harvesting and Storage Devices not to cause waste and the RB remains charged, i.e., (yi+1 = 0, bi+1 = 1). If the appliances demand zero energy and one unit of energy is harvested, i.e., (xi+1 = 0, zi+1 = 1), the UP is not expected to provide any energy and the RB remains charged, i.e., (yi+1 = 0, bi+1 = 1), while the harvested energy is wasted in this situation. If the appliances demand one unit of energy and no energy is harvested, i.e., (xi+1 = 1, zi+1 = 0), the EMU chooses between keeping the RB charged, i.e., (yi+1 = 1, bi+1 = 1) with probability (1 −p10), or discharging it, i.e., (yi+1 = 0, bi+1 = 0) with probability p10. If the appliances demand one unit of energy and one unit of energy is harvested, i.e., (xi+1 = 1, zi+1 = 1), there is no need to ask for energy from the UP and the RB remains charged, i.e., (yi+1 = 0, bi+1 = 1). 3.3 Information Leakage Rate Computation In this section we focus on the computation of the information leakage rate, Ip. From an information theoretic perspective the operation of the EMU which decides on the energy flow in the system using the EH and RB units resembles data compression where the compression is accomplished through a finite state machine. In this analogy, the input load Xncorresponds to an i.i.d. data sequence to be compressed, and the output load Ynis the compressed version. The problem is similar to a rate-distortion problem in which the goal is to minimize the mutual information between the source sequence and the compressed version while satisfying the distortion requirement. In our model, the energy provided from the EH device is similar to a distortion requirement. While we want to minimize the mutual information between the original data sequence and the compressed version, we are limited by the allowed distortion, the available harvested energy in our case. A different rate-distortion approach for the SM privacy problem is taken in [113]. In [113] the SM is allowed to introduce a certain amount of distortion to its readings before reporting them to the UP, while in our setting distortion is introduced on the real energy consumption values, making the rate-distortion formulation less explicit. See [104] for more on the connection with the rate-distortion theory, where a singleletter information theoretic expression is obtained for the optimal privacy in the absence of an RB. Due to the memory introduced into the system through the battery, a single letter expression is elusive for our problem. However, for a fixed EMU policy, the information leakage rate Ipbetween the input and the output loads can be estimated numerically using the computation method studied in [114]. In the following we summarize this computation method. We first set the values for the transition probabilities and the number of states sin the FSM. For instance, we specify {pa 01, pb 01, p10}labeled on Fig. 3.2 for s= 2, i.e., bi∈ {0,1}. Afterwards, we sample very long sequences (large n) of Xn,Znand Ynby using the FSM. We then compute p(y1, y2,··· , yn)and p(x1, x2,··· , xn, y1, y2,··· , yn). Finally, the information 36
3.3. Information Leakage Rate Computation ( )( ) ( ) a zx ppp 01 111 --- ( ) zx pp -1 ( ) b zx ppp 01 1- ( ) ( ) a z x p p p 01 1 1 - - ( ) z x p p - 1 b zx ppp 01 ( ) 10 1 p p p z x - ( )( ) zx pp -- 11 ( ) z x p p - 1 z x p p ( ) ( ) 10 1 1 p p p z x - - 0 = b 1=b ( energy ) wasted ( ) 0 , 0 , 0 ( ) 0 , 1 , 0 ( ) 0 , 1 , 1 ( ) 1 , 0 , 1 ( ) 0 , 0 , 1 ( ) 1 , 1 , 1 ( ) 0 , 1 , 0 ( ) 1 , 0 , 0 ( ) 0 , 0 , 0 ( ) 1 , 0 , 1 ( ) 0 , 1 , 1 Figure 3.2: Finite state diagram for the battery-conditioned EM policy with s= 2 states. Each triplet in the figure corresponds to the (x, z, y) values for the corresponding transition. Transition probabilities are also included in the figure. 37
Chapter 3. Increasing Smart Meter Privacy Through Energy Harvesting and Storage Devices leakage rate Ipbetween Xnand Ynis estimated as follows: Ip=1 nH(Xn) + H(Yn)−H(Xn, Y n) ≈H(X)−1 nlog p(y1, y2,··· , yn) +1 nlog p(x1, x2,··· , xn, y1, y2,··· , yn).(3.8) The FSM can be represented as a trellis diagram with the state sequence {s0, s1,··· , sn} for the computation of the probabilities p(y1, y2,··· , yn)and p(x1, x2,··· , xn, y1, y2,··· , yn). This computation is basically the forward sum-product recursion of the BCJR algorithm [115]. We define the state metrics as follows: µk(sk),p(sk, y1, y2,··· , yk),(3.9) νk(sk),p(sk, x1, x2,··· , xk, y1, y2,··· , yk).(3.10) Initially, we set the state metrics as follows: µ0(0) = 1, ν0(0) = 1, µ0(m) = 0,for m6= 0, ν0(m) = 0,for m6= 0. Here, we emphasize that the initial values of the state metrics do not affect the final values of p(y1, y2,··· , yn)and p(x1, x2,··· , xn, y1, y2,··· , yn)due to the convergence for long sequences. We then compute the state metrics recursively using the transition probabilities p(xk+1, zk+1, yk+1, sk+1|sk). For the binary system we use the transition probabilities labeled in Fig. 3.2. We have, 38
3.3. Information Leakage Rate Computation µk+1(sk+1) = X zk+1 X xk+1 X sk µk(sk)p(xk+1, zk+1, yk+1, sk+1|sk),(3.11) νk+1(sk+1) = X zk+1 X sk νk(sk)p(xk+1, zk+1, yk+1, sk+1|sk).(3.12) We can compute the probabilities p(y1, y2,··· , yn)and p(x1, x2,··· , xn, y1, y2,··· , yn)as the sum of all the final state metrics as follows: p(y1, y2,··· , yn) = X sn µn(sn),(3.13) p(x1, x2,··· , xn, y1, y2,··· , yn) = X sn νn(sn).(3.14) For large nvalues, the state metrics µk(·)and νk(·)tend to zero. Therefore, in practice the recursion is computed with scale factors as follows: µk+1(sk+1) = λµk+1 X zk+1 X xk+1 X sk µk(sk)p(xk+1, zk+1, yk+1, sk+1|sk),(3.15) νk+1(sk+1) = λνk+1 X zk+1 X sk νk(sk)p(xk+1, zk+1, yk+1, sk+1|sk),(3.16) where positive scale factors {λµ1, λµ2,··· , λµn}and {λν1, λν2,··· , λνn}are chosen such that, X sn µn(sn) = 1,(3.17) X sn νn(sn) = 1.(3.18) Finally, the joint probabilities can be computed from the following equations: −1 nlog p(y1, y2,··· , yn) = 1 n n X i=1 log λµi,(3.19) −1 nlog p(x1, x2,··· , xn, y1, y2,··· , yn) = 1 n n X i=1 log λνi.(3.20) We note here that this computation method applies to any discrete model, including an 39
Chapter 3. Increasing Smart Meter Privacy Through Energy Harvesting and Storage Devices input load with memory, and is not limited to the binary system model considered in this chapter. However, identification of the optimal system parameters becomes computationally intractable with an increase in the size of the input and output alphabets, or the battery size. 3.4 Numerical Results and Observations In this section, we analyze the trade-off between the information leakage rate and energy efficiency numerically using the computation method presented in Section 3.3. Based on these numerical results we provide various observations and conclusions regarding the optimal operation of the EMU from a joint privacy-energy efficiency perspective. In our simulations we focus on the binary model illustrated in Fig. 3.2. We focus on a binary system for its simplicity, as otherwise, the transitions in the state diagram get very complicated and the numerical computation outlined in Section 3.3 becomes intractable. Later in Section 3.4.3 we also consider the system with K > 2in the absence of an EH unit, and study the effects of the battery capacity on the performance. Furthermore, in Section 3.4.4 we consider a system with high privacy requirements in the absence of an EH unit, and allow the user to waste grid energy in order to increase privacy. In our simulations, we perform an exhaustive search by varying the transition probabilities in Fig. 3.2 with 0.1increments and calculate the information leakage rate for each EMU policy. We use n= 106for the computations. 3.4.1 Effects of Energy Harvesting Rate on Privacy and Energy Efficiency We illustrate the effects of EH rate on both privacy and energy efficiency for an EH system with and without an RB, and also show how privacy and energy efficiency change in the presence of an RB. Fig. 3.3 illustrates the minimum information leakage rate Ipand the corresponding wasted energy rate Ewwith respect to the EH rate pzfor an EH system with and without an RB. The results are obtained for an equiprobable input load px= 0.5and different pzvalues. In a system with an EH device the privacy improves with increasing values of pz. This is expected since more energy is provided from the energy harvester as pzincreases; and hence, the UP can learn less about the actual energy consumption of the user. On the other hand, an increase in the EH rate leads to an increase in the wasted energy rate as well. This is due to the independence of the energy generation process and the input load. When the EH device harvests a unit of energy, if there is no demand from the appliances and the RB is already charged, this harvested energy will be wasted. Therefore, we can easily notice the trade-off between the information leakage rate Ipand the wasted energy rate Ewin the system when there is no storage unit. 40
3.4. Numerical Results and Observations 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.25 0.5 0.75 1 Energy Harvesting Rate - pz Minimum Information Leakage Rate - Ip Equiprobable input load (px= 0.5) 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 Energy Harvesting Rate - pz Wasted Energy Rate - Ew System with energy harvesting unit System with energy harvesting and battery unit System with energy harvesting unit System with energy harvesting and battery unit Figure 3.3: Minimum information leakage rate, Ip, and the corresponding wasted energy rate, Ew, with respect to harvested energy rate for an EH system with and without an RB. Comparing the two curves in Fig. 3.3, we observe that introducing an RB into the system improves the trade-off to a certain extent. It reduces both the minimum information leakage rate Ipand the corresponding wasted energy rate Ew. When there is no EH, i.e, pz= 0, the system reduces to the model studied in [87]. In this case, the minimum information leakage rate is found to be Ip= 0.5for px= 0.5. However, when there is an alternative energy source in the system, i.e., pz6= 0, the information leakage rate can be reduced significantly. The EH rate can be considered as a system parameter that defines the achievable privacy-energy efficiency trade-off, and needs to be chosen by the system designer depending on the input load and the desired operating point. 3.4.2 Privacy-Energy Efficiency Trade-Off In Section 3.4.1 we have found the wasted energy rate corresponding to the battery policy that minimizes the information leakage rate. Here, we characterize the whole trade-off between the privacy and energy efficiency for given EH rates. The trade-off for the values of px=pz= 0.5 is illustrated in Fig. 3.4. Each circle in the figure marks an Ip, Ewpair that can be achieved by assigning different transition probabilities labeled on Fig. 3.2. The Pareto optimal trade-off 41
Chapter 3. Increasing Smart Meter Privacy Through Energy Harvesting and Storage Devices 0.14 0.16 0.18 0.2 0.22 0.24 0.1 0.12 0.14 0.16 0.18 0.2 0.22 0.24 0.26 0.28 0.3 Wasted Energy Rate - Ew Information Leakage Rate - Ip px= 0.5 and pz= 0.5 Privacy-energy efficiency pairs for different transition probabilities Optimal trade-off curve Figure 3.4: Information leakage rate, Ip, versus wasted energy rate, Ew, for px= 0.5and pz= 0.5. curve is the one that is formed by the points on the lower-left corner of the figure, i.e., the points for which Ipand Ewcannot be improved simultaneously. The minimum information leakage rate value is Ip= 0.088 for which we have Ew= 0.163. The minimum wasted energy rate is Ew= 0.125 for which we have Ip= 0.171. These two pairs correspond to the corner points of the trade-off curve in Fig. 3.4. According to the requirements of the system, the operating point can be chosen anywhere on the trade-off curve. Note that, we can apply a convexification operation on the set of achievable (Ip, Ew)pairs using time-sharing arguments. We also study the trade-off between the information leakage rate, Ip, and the wasted energy rate, Ew, for different pzvalues to observe the effect of the EH rate on the achievable privacyenergy efficiency trade-off. Fig. 3.5 illustrates the Pareto optimal Ip, Ewpairs for px= 0.5 and for different pzvalues. Each marker in the figure marks an Ip, Ewpair achieved by assigning different transition probabilities, and we include only the points that are not Pareto dominated by any other point. We obtain a different privacy-energy efficiency trade-off for each pzvalue as illustrated in Fig. 3.5. The corner points of these trade-off curves are listed in Table 4.1 for different pzvalues. Since there is no harvested energy in the system for pz= 0, there is no wasted energy and as a result, the optimal operating point is found as the minimum information leakage rate, Ip= 0.5and wasted energy rate, Ew= 0, which is the same as the 42
3.4. Numerical Results and Observations 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 Wasted Energy Rate - Ew Information Leakage Rate - Ip Equiprobable input load (px= 0.5) pz= 0 pz= 0.2 pz= 0.4 pz= 0.6 pz= 0.8 pz= 1 Figure 3.5: The Pareto optimal Ip, Ewpairs for px= 0.5and for different pzvalues. Optimal pairs for different pzvalues are illustrated with different markers. model studied in [87]. Note that while the minimum information leakage rate decreases with increasing values of pz, the minimum wasted energy rate increases. When energy is harvested with pz= 1, the optimal point is found to be Ip= 0 and Ew= 0.5, that is, perfect privacy can be achieved at the expense of wasting half of the harvested energy on average. In this case, there is no information leakage since the user never asks energy from the UP and the wasted energy rate converges to Pr{X= 0}= 1 −px. We also study biased input loads by considering the two cases with px= 0.89 and px= 0.11, which we call the heavy load and light load scenarios. The entropy rate of the input load for both the heavy and light load cases is H(X)=0.5. Note that the input load is biased towards X= 1 for the heavy load system, i.e., the appliances are more likely to demand energy. For the heavy load case when we do not have an EH unit in the system, i.e., pz= 0, we find the minimum information leakage rate to be Ip= 0.23 [87]. When there is an energy harvester in the system with pz= 0.5, the minimum information leakage rate reduces significantly to Ip= 0.026 while the corresponding wasted energy rate is Ew= 0.043. The minimum wasted energy rate is obtained as Ew= 0.011 for which we have Ip= 0.105. It is obvious that wasting energy is less likely in the heavy load case. The energy is wasted only when we have bi= 1, xi+1 = 0, zi+1 = 1 as shown in Fig. 3.2. Thus, when the appliances have higher energy 43
Chapter 3. Increasing Smart Meter Privacy Through Energy Harvesting and Storage Devices Line of Symmetry 1=b 2=b 0 = b 4 = b 3 = b 1 T p ( ) 1 1 T p - 1 T p ( ) 1 1 T p - 2 T p ( ) 2 1 T p - ( ) 2 1 T p - 2 T p 1 = b 2 = b 0 = b 3 = b 1 T p ( ) 1 1 T p - 1 T p ( ) 1 1 T p - 2 T p ( ) 2 1 T p - Line of Symmetry Figure 3.6: Finite state diagrams for battery-conditioned EM policies with battery capacities K= 3 and K= 4. Symmetric and complementary transition probabilities are illustrated for the computation of the minimum information leakage rate in case of an equiprobable input load, i.e., px= 0.5. 44
3.4. Numerical Results and Observations Table 3.1: RESULTS FROM THE TRADE-OFF PAIRS FOR DIFFERENT pzVALUES pzmin IpEwfor min Ipmin EwIpfor min Ew 0 0.5 0 0 0.5 0.2 0.213 0.055 0.02 0.462 0.4 0.118 0.12 0.081 0.243 0.6 0.062 0.213 0.185 0.088 0.8 0.02 0.332 0.32 0.032 1 0 0.5 0.5 0 demands, the user is less likely to face the condition for energy wasting. Similarly, in the light load case, i.e., px= 0.11,Ewincreases as less energy is required by the appliances. For example, the minimum information leakage rate is found to be Ip= 0.027 with Ew= 0.088, and the minimum wasted energy rate is found to be Ew= 0.087 for Ip= 0.03. We observe that both the heavy and light load systems can achieve almost the same level of maximum privacy while the wasted energy rate of the light load system is double the rate of the heavy load system at this point of operation. 3.4.3 Effects of Battery Capacity on Privacy We have observed that alternative energy sources can help reduce the information leakage rate significantly while RBs help improve the energy efficiency as well as privacy. Next, we study the effects of the RB capacity on privacy. It is expected that if we increase the RB capacity K, the trade-off curve illustrated in Fig. 3.4 will move toward the origin, i.e., the privacy and energy efficiency will be improved simultaneously. For example, in the asymptotic limit of infinite storage capacity, perfect privacy can be achieved by charging the battery initially, and never asking for any energy from the UP afterwards. To highlight the effects of the battery capacity on the achievable privacy we consider an RB with capacity K, and no EH device. While the complexity of the numerical analysis grows quickly with the battery size, we have observed that for an equiprobable input load, i.e., px= 0.5, there is a symmetry and complementarity among the optimal transition probabilities in the finite state diagram which significantly reduces the computation time of the minimum information leakage rate. The minimum information leakage rate is achieved when, 1) the sum of transition probabilities between two states is equal to one, and 2) there is a symmetry in the transition probabilities of the two sides of the finite state diagram separated by the line of symmetry. Fig. 3.6 depicts this symmetry and 45
Chapter 4. Privacy-Cost Trade-offs in Demand-Side Management with Storage APPLIANCES SM EMU RB 0> > UP GRID M Report 0< < Figure 4.1: An SM system diagram with an EMU and an RB at the user’s household. The EMU manages the power flows (solid lines) among the power grid, the appliances and the RB. The SM realizes the information flow (dashed line) by reporting its power readings to the UP at certain time instants. over the period of interest. In addition to the load variance, we evaluate an information theoretic privacy measure, the information leakage rate, which is defined as the mutual information rate between the power demands of the appliances and the SM readings. Mutual information has previously been proposed as a measure of privacy in SM systems and several works in [48– 50, 52, 86, 87, 89–91, 101–108]. Note that information theoretic privacy takes into account the statistics of the input load, Xi. Hence, the information leakage rate, which measures the average mutual information between the input and output loads, is also studied as a complementary privacy measure in order to support the validity of the load variance as a valid and robust privacy measure. On the other hand, the average energy cost is measured with a time-varying time-of-use electricity pricing model. Our goal here is to characterize EM policies that jointly increase the privacy of the user and reduce the energy cost over a given period of time under an RB capacity constraint. We first characterize the optimal EM policy under the offline optimization framework which assumes that the energy demands as well as the electricity prices are known non-causally by the EMU over the period of interest. We formulate the joint privacy-energy cost minimization as a convex optimization problem. We identify the structure of the optimal EM policy by solving this convex optimization problem, and based on this structure, we provide a backward water-filling algorithm, which efficiently finds the optimal EM policy. For ease of exposure, we provide a graphical interpretation for the proposed algorithm, in which the energy received from the grid can only be shifted to earlier TSs, and the water levels can be equalized to the extend the RB capacity allows. We next study the online optimization problem considering only causal knowledge of the 52
4.1. Introduction power demands at the EMU, that is, the EMU knows only the energy demand at the current TS. We characterize the optimal online policy using DP. Since DP algorithms are prohibitively complex, we propose a simple yet efficient heuristic online algorithm based on the backward water-filling algorithm obtained in the offline setting. Finally, we numerically evaluate the load variance and the information leakage rate privacy measures, and characterize the trade-off between the user’s privacy and energy cost resulting from the proposed offline and online EM policies. The operating points on this trade-off can be chosen based on the user’s requirements on privacy and energy cost. We also investigate the impact of the RB capacity on the performance of the proposed EM policies. As it has presented in the state of the art in Chapter 2, several techniques have been studied in the literature to provide a certain level of privacy to SM users. On the one hand, privacy can be provided by tampering the SM readings before being reported to the UP. Following this approach, [101] proposes the compression of SM data, [70] considers sending the aggregated energy consumption of a group of users, and [116] considers adding random noise to the SM readings to protect user’s privacy. On the other hand, without tampering the SM readings, privacy can also be achieved by demand-side management with the utilization of storage units, such as RBs [48–52,85,87,89,91–93,102], and alternative energy sources, such as a renewable energy source like a solar panel [48–50], [103], [104]. In [48] and [50] user’s privacy is protected by using an RB and a renewable energy source from an information theoretic perspective. Heuristic algorithms are proposed in [85], [89] and [91]. The joint optimization of privacy and energy cost for SMs with the utilization of an RB is addressed in [92], [93] and [102]. The authors in [92] and [93] propose online control algorithms based on stochastic DP and Lyapunov optimization techniques, respectively. The authors in [102] and [108] study a stochastic control model, formulated as a partially observeable Markov decision process. The optimal stochastic strategy is computationally challenging to obtain due to the continuous state-action space; while approximate solutions can be obtained numerically through discretization, or upper and lower bounds can be derived. The main contributions of this chapter are summarized next: •We consider the SM system illustrated in Fig. 4.1, and study the design of EM policies that aim at minimizing a joint privacy-cost objective. •Assuming non-causal knowledge of the user’s power demands and the electricity prices at the EMU, we formulate the optimal privacy-cost trade-off in the offline setting as a convex optimization problem. We identify the structure of the optimal solution, and provide a backward water-filling algorithm for computing it. •Assuming causal knowledge of the user’s power demands at the EMU, we solve the on- 53
Chapter 4. Privacy-Cost Trade-offs in Demand-Side Management with Storage line optimization problem by means of DP. Additionally, we provide an efficient heuristic algorithm that uses the optimal offline algorithm to solve a particular subproblem constructed at each iteration. •The information leakage rate between the user’s power demand profile, i.e., the input load XN, and the SM readings, i.e., the output load YN, is evaluated and compared to the load variance as a privacy measure. Finally, the performances of the proposed offline and online EM policies are assessed through numerical simulations, using a real power consumption data set. The trade-off between the user’s privacy and the energy cost, as well as the impact of the RB capacity on this trade-off are characterized for the proposed policies. The remainder of the chapter is structured as follows. In Section 4.2, we describe the system model. In Section 4.3, we characterize the optimal offline EM policy and provide the backward water-filling algorithm. The optimal and heuristic online EM policies are proposed in Section 4.4. In Section 4.5, we explain how to characterize the information leakage rate. In Section 4.6, extensive numerical results are presented. Finally, Section 4.7 concludes the chapter. 4.2 System Model We consider a discrete-time power consumption model in a household (see Fig. 4.2(a)). In this model, each appliance consumes constant power for an arbitrary duration when it is active. Appliances can be in active or inactive state at any time. Let tp 0= 0 < tp 1<··· < tp (K−1) < T be the time instants at which there is a change in the state of at least one appliance. We denote the total power consumption within [tp (k−1), tp k]by Xp k(kW) for k={1,2, . . . , K}. We also consider a time-varying electricity pricing model in which the cost per unit energy changes over time at certain time instants, and remains constant in between (see Fig. 4.2(b)). Let tc 0= 0 < tc 1<··· < tc (M−1) < T be the time instants at which the cost of energy changes. We denote the cost per unit energy within [tc (m−1), tc m]by Cc m(cent/kWh) for m= {1,2, . . . , M}. We can combine the time instants at which the power consumption or the cost per unit energy changes into a single time series t0= 0 < t1<··· < tN−1< tN=T (see Fig. 4.2(c)). The duration of the TS between two consecutive time instants is denoted by τi,ti−ti−1(sec), for i= 1,2, . . . , N. We denote the total power consumption and the cost per unit energy within TS ias Xi(kW) and Ci(cent/kWh), respectively. Note that for any two consecutive TSs, either the power demand or the cost per unit energy, or both may change, whereas they remain constant within each TS. In our model, TSs do not necessarily have the 54
4.2. System Model Power 2 3 4 5 6 7 0 0= 0 1 2 3 4 5 6 1 2 3 4 11, 1 1 , 1111, 11 11 , 44 , 4 4 , 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 Power (kW) 1 2 3 4 5 1 a) b) c) 0 0= 0 0 0= 0 time time time Figure 4.2: Illustration of the timelines for the total power demand of the household, and the cost per unit energy. The total power demand, i.e., the input load, changes at time instants tp 1, tp 2, . . . , tp 6, while the price of energy changes at time instants tc 1, tc 2, tc 3, tc 4. same duration. Following the discrete-time power consumption and pricing model illustrated in Fig. 4.2, we study the power input/output system depicted in Fig. 4.1. The input load Xi(kW) and the output load Yi(kW) denote the real power consumption of appliances and the real power drawn from the grid at TS i, respectively. We consider an SM that reports the output load, Yi, to the UP at each TS i, correctly without any tampering1. We integrate an RB with a finite capacity Bmax (kWh), and an EMU which manages the power flow among the grid, the appliances and the RB. The EMU can use both the power grid and the RB to satisfy the user’s power demand Xi, as Xi=Yi+Pi, where Pi(kW) is the power charged to (Pi<0), or discharged from (Pi>0) the RB during TS i, and Yi∈R+, where R+denotes the set of nonnegative real numbers. In this framework, we consider EM policies that jointly increases the privacy and reduces the energy cost of the user within the time frame [0, T]by utilizing the RB. Let us define the input and output load vectors as XN= (X1, X2, . . . , XN)and YN= (Y1, Y2, . . . , YN), respectively. Note that an EM policy corresponds to the vector of output loads YN. We assume that perfect privacy is achieved if the output load Yiis equal to a constant value ¯ Ewithin [0, T]. Ideally, if the user has a flat power demand from the grid at all times, we 1We assume that Yiremains constant within each TS i. In the sequel, we will show that this assumption is indeed optimal. Accordingly, there is no loss of information on the UP side by SM reporting once per TS. 55
Chapter 4. Privacy-Cost Trade-offs in Demand-Side Management with Storage assume that the UP cannot learn anything about the user’s energy consumption behaviour [85]. Accordingly, the privacy of an EM policy is measured by the load variance, defined as: V,1 T N X i=1 τi·(Yi−¯ E)2.(4.1) Observe that perfect privacy is achieved when V= 0, in which case Yi=¯ Efor ∀i. The average energy cost of an EM policy is defined as: C,1 T N X i=1 τi·Yi·Ci.(4.2) We assume that all the energy demands of appliances must be satisfied at the time that they are requested, i.e., we guarantee that the appliances do not incur any outages, and we do not allow rescheduling; hence, assuming that the RB is empty at t= 0, the output load values have to satisfy the following constraints: i X j=1 τj·Xj≤ i X j=1 τj·Yj, i = 1, . . . , N. (4.3) On the other hand, the energy that has been drawn prior to the demand of the appliances needs to be stored in the RB. Since the RB capacity is finite, the battery energy at TS ishould satisfy: Bi, i X j=1 τj·(Yj−Xj)≤Bmax, i = 1, . . . , N. (4.4) We note here that the constraint in (4.4) assumes that energy cannot be drawn from the grid to be wasted solely for the sake of privacy. However, we do not constraint the final battery state to be empty; therefore, more energy than requested by the appliances can be drawn to be left in the battery at the end of TS N. It is possible to show that the set of all achievable (V,C)pairs under constraints (4.3) and (4.4) form a convex region. Then the optimal operating points are characterized by the Pareto boundary of this region. Hence, we use the weighted average of Vand Cto identify all the points on the Pareto boundary. The convex optimization problem can be written as follows: 56
4.3. Optimal Offline Energy Management (EM) Policy minimize Yi≥0 N X i=1 hθ·τi·Yi−¯ E2+ (1 −θ)·τi·Yi·Cii subject to i X j=1 τj·(Xj−Yj)≤0, i = 1, . . . , N, i X j=1 τj·(Yj−Xj)≤Bmax, i = 1, . . . , N, (4.5) where 0< θ ≤1is the parameter that adjusts the trade-off between privacy and energy cost. The value of θcan be set in advance by the user. If θ= 1, then the user is interested only in maximizing the privacy; and if θ= 0, the user aims at only minimizing the energy cost. Since the cost per unit energy and the input load remain constant over each TS, it follows from the convexity of the objective function in (4.5) that the optimal output load must remain constant within a TS [117]. Hence, the assumption of having the SM report only once per TS does not lead to any loss of information on the UP side. In Section 4.3, we identify the optimal offline EM policy as the optimal solution to (4.5), in which all power demands and prices are known non-causally by the EMU in advance at t0= 0. While non-causal knowledge of the user’s future energy consumption may not be realistic for certain appliances, activity patterns of majority of appliances, such as refrigerators, heating, programmable washing machines and dish washers, electrical vehicle charging, etc., are either deterministic or highly predictable during their operation periods [118]. Alternatively, we will also study the online optimization of the EM policy in Section 4.4. 4.3 Optimal Offline Energy Management (EM) Policy We provide the optimal offline EM policy as the solution to the convex optimization problem in (4.5) for 0< θ ≤1. We define the Lagrangian function [119] with Lagrangian multipliers λi≥0,µi≥0and vi≥0,i= 1, . . . , N, as follows: 57
Chapter 4. Privacy-Cost Trade-offs in Demand-Side Management with Storage L= N X i=1 hθτiYi−¯ E2+ (1 −θ)τiYiCii + N X i=1 λii X j=1 τj(Xj−Yj) + N X i=1 µii X j=1 τj(Yj−Xj)−Bmax − N X i=1 viYi.(4.6) Corresponding complementary slackness conditions are: λii X j=1 τj(Xj−Yj)= 0, i = 1, . . . , N, (4.7) µii X j=1 τj(Yj−Xj)−Bmax= 0, i = 1, . . . , N, (4.8) viYi= 0, i = 1, . . . , N. (4.9) We apply the Karush Kuhn Tucker (KKT) necessary conditions on the Lagrangian function: ∂L ∂Yi = 2θτiY∗ i−¯ E+ (1 −θ)τiCi+τi N X j=i (µj−λj)−vi= 0.(4.10) Then the optimal output load at TS i,Y∗ i, is found in terms of the Lagrange multipliers, the weighted cost level, ¯ Ci, and the trade-off parameter θ, as follows: Y∗ i=" N P j=i (λj−µj) 2θ+¯ E!−¯ Ci#+ ,∀i, (4.11) where [x]+is equal to xif x≥0, and 0otherwise, and the weighted cost level,¯ Ci, at TS iis defined as: 58
4.3. Optimal Offline Energy Management (EM) Policy ¯ Ci,(1 −θ)Ci 2θ,∀i. (4.12) We note that the solution in (4.11) resembles the classical waterfilling solution [94], where Yi+¯ Cicorresponds to the water level in TS i. With this correspondence, one can interpret the optimal EM policy as pouring water over TSs. In our model water corresponds to the energy allocated to each TS, and it has to satisfy certain conditions. We next identify some properties of the optimal EM policy based on the KKT conditions in (4.7)-(4.10), which are both necessary and sufficient due to the convexity of the optimization problem in (4.5). Then, we discuss the implications of these properties. Lemma 4.1. In the optimal EM policy, given Yi>0∀i, whenever the water level, i.e., Yi+¯ Ci, increases (decreases) from TS ito TS i+1, i.e., Yi+¯ Ci< Yi+1 +¯ Ci+1 (Yi+¯ Ci> Yi+1 +¯ Ci+1), the RB must be full (empty) at TS i, i.e., Bi=Bmax (Bi= 0). Moreover, if the RB is neither empty nor full at TS i, i.e., 0< Bi< Bmax, then the water level does not change from TS ito TS i+ 1, i.e., Yi+¯ Ci=Yi+1 +¯ Ci+1. Proof. From the slackness conditions in (4.7) and (4.8), we can argue that the RB is full whenever λi= 0 and µi>0, and the RB is empty whenever λi>0and µi= 0. Note that λiand µicannot be positive simultaneously. This is because whenever the i-th constraint in (4.4) is satisfied with equality, i.e., µi>0, the i-th constraint in (4.3) cannot be satisfied with equality, i.e., λi= 0, and vice versa. From (4.11), we see that Yi+¯ Ci< Yi+1 +¯ Ci+1 implies λi= 0 and µi>0, and Yi+¯ Ci> Yi+1 +¯ Ci+1 implies λi>0and µi= 0. Therefore, we can conclude that whenever the water level increases (decreases) from TS ito TS i+ 1, the RB must be full (empty) at TS i. Moreover, if the RB is neither empty nor full at TS i, i.e., 0< Bi< Bmax, the i-th constraints in (4.3) and (4.4) are satisfied with strict inequality. This implies from the slackness conditions in (4.7) and (4.8) that λi= 0 and µi= 0. From (4.11), we can conclude that the water level does not change from TS ito TS i+ 1, i.e., Yi+¯ Ci=Yi+1 +¯ Ci+1, if the RB is neither empty nor full at TS i. Lemma 4.2. In the optimal EM policy, given Y∗ i>0∀i, if the RB is never full from TS ito TS N, i.e., Bj< Bmax for j=i, i + 1, . . . , N, then the optimum water levels from TS ito TS N, i.e., Y∗ j+¯ Cj, for j=i, i + 1, . . . , N, must satisfy Y∗ j+¯ Cj≥¯ E. If the RB is neither empty nor full from TS ito TS N, i.e., 0< Bj< Bmax, for j=i, i + 1, . . . , N, then the optimum water levels from TS ito TS Nshould be equal to ¯ E, i.e., Y∗ j+¯ Cj=¯ E, for j=i, i + 1, . . . , N. Proof. If the RB is never full from TS ito TS N, i.e., Bj< Bmax for j=i, i + 1, . . . , N, the constraints in (4.4) are satisfied with strict inequality. It follows from the slackness conditions 59
Chapter 4. Privacy-Cost Trade-offs in Demand-Side Management with Storage in (4.8) that µj= 0, for j=i, i + 1, . . . , N. From (4.11), this implies that Y∗ j+¯ Cj≥¯ E, and we can conclude that, if the RB is never full from TS ito TS N, the optimum water levels from TS ito TS Nshould satisfy Y∗ j+¯ Cj≥¯ E, for j=i, i + 1, . . . , N. If the RB is neither empty nor full from TS ito TS N, i.e., 0< Bj< Bmax, for j=i, i + 1, . . . , N, the constraints in (4.3) and (4.4) are satisfied with strict inequality. It follows from the slackness conditions in (4.7) and (4.8) that λj= 0 and µj= 0, for j=i, i + 1, . . . , N. From (4.11), this implies that Y∗ j+¯ Cj=¯ E, and we can conclude that, if the RB is neither empty nor full from TS ito TS N, the optimum water levels from TS ito TS Nshould be equal to ¯ E, i.e., Y∗ j+¯ Cj=¯ E, for j=i, i + 1, . . . , N. 4.3.1 Implications of Lemmas Here we discuss the implications of Lemma 4.1 and Lemma 4.2 on the optimal solution. For clarity, we first consider the solution for the infinite RB case, and then discuss the finite RB solution. If Bmax is infinite, the RB is never full and the constraints in (4.4) are never satisfied with equality, i.e., µi= 0,∀i. Then, it follows from Lemma 4.1 that the water level is monotonically decreasing from one TS to the next. This is because the water (energy) can only flow backwards in our model, i.e., the output load can be assigned only to previous TSs, rather than the future ones. Accordingly, whenever the constraint in (4.3) is not satisfied with equality at TS i, i.e., λi= 0, then some energy for future use is drawn in advance within current TS i; in other words, some future output load is allocated to the current TS. Hence if, in the optimal EM policy, some output load is transferred from future TSs to the current one, the water level remains the same from the current TS to the next. Conversely, when there is a water level decrease from the current TS to the next, that is, if λi>0, no output load is allocated from future TSs to the current, i.e., the RB is empty at TS i, as argued in Lemma 4.1. Moreover, from Lemma 4.2, we can conclude that all optimal water levels, i.e., Y∗ i+¯ Ci,∀i, must satisfy Y∗ i+¯ Ci≥¯ E,∀i, since the RB is never full. If Bmax is finite, the amount of energy drawn for future use within TS iis limited by the remaining RB capacity at TS i, i.e., Bmax −Bi. When the energy transferred from future TSs to the current one is less than Bmax −Bi, the constraints in (4.3) and (4.4) are satisfied with strict inequality, i.e., λi= 0 and µi= 0, respectively, and the water level does not change from TS ito TS i+1, as argued in Lemma 4.1. Conversely, when there is a water level increase from TS ito TS i+ 1, that is, if λi= 0 and µi>0, the amount of energy allocated from future TSs to the current one is equal to Bmax −Bi, which implies that the RB is full at TS i. Note that when the RB is full at current TS, this implies that no energy can be allocated from future TSs to the current and previous TSs anymore due to the RB capacity limitation. When there is a water level decrease from TS ito TS i+ 1, that is, if λi>0and µi= 0, no energy is allocated 60
4.3. Optimal Offline Energy Management (EM) Policy from future TSs to the current one, i.e., the RB is empty at TS i, as argued in Lemma 4.1. If the RB is never full from TS ito TS N, i.e., Bj< Bmax for j=i, i + 1, . . . , N, we can conclude from Lemma 4.2 that the optimum water levels from TS ito TS N, i.e., Y∗ j+¯ Cj, for j=i, i + 1, . . . , N, must satisfy Y∗ j+¯ Cj≥¯ E, for j=i, i + 1, . . . , N. 4.3.2 Backward Water-Filling Algorithm All the aforementioned implications of Lemma 4.1 and Lemma 4.2 suggest that, we can satisfy each input load by backward power allocation over the current and previous TSs, starting from the first non-zero input load to the last, under the RB capacity constraint. The RB capacity introduces an upper bound on the output load at each TS, and the water levels can be equalized to the extent the previous water levels and the RB constraints allow. Based on these observations, we next describe the backward water-filling algorithm through an example in Fig. 4.3. The height of the white rectangles correspond to the weighted cost levels, ¯ Ci’s, while their widths correspond to the TS durations, τi’s, for i= 1,2,3. We also fix a target consumption value ¯ E illustrated in Fig. 4.3. Fig. 4.3(a) depicts the input loads, Xi, as the height of the corresponding filled areas on top of the white rectangles. Thus, the initial water levels are given by Xi+¯ Ci, ∀i. Observe that the RB is initially empty at every TS. Observe also that the trade-off between privacy and energy cost can be adjusted through the parameter θ, which affects the value of the weighted cost levels. Accordingly, when θ→1, the significance of user’s energy cost diminishes, i.e., the weighted cost levels become smaller, and when θ→0, the significance of user’s energy cost increases, i.e., the weighted cost levels become larger. Considering the example in Fig. 4.3(a), in Fig. 4.3(b) and Fig. 4.3(c) we illustrate the optimal offline EM policy in the presence of an infinite and a finite capacity RB, respectively. In the infinite RB case, the first power demand X1is satisfied from the grid within the first TS, as seen in the first plot of Fig. 4.3(b). For the input load X2, the algorithm allocates the output load from the second TS to the first by using the water-filling in reverse direction. Since the electricity price is relatively more expensive in the second TS, part of X2is drawn in advance within the first TS, and stored in the RB as seen in the second plot in Fig. 4.3(b). The rest of X2is drawn from the grid within the second TS. Hence, X2is fulfilled from both the RB and the grid. Observe that the RB is not empty at the end of first TS; and hence, the water level does not change from the first TS to the second as argued in Lemma 4.1. For the input demand X3, the algorithm allocates the output load from the third TS to the second and first TSs as seen in the third plot in Fig. 4.3(b). This implies that part of X3is drawn in advance within the first and second TSs and stored in the RB. Hence, X3is satisfied from both the RB and the grid. Observe that the RB is not empty at the end of first and second TSs; and hence, all water levels are equalized as argued in Lemma 4.1. On the other hand, the RB is empty at the end 61
Chapter 4. Privacy-Cost Trade-offs in Demand-Side Management with Storage p(˜ XN) = p(˜ X1) N Y i=2 p(˜ Xi|˜ Xi−1),(4.19a) p(˜ XN,˜ YN) = p(˜ X1,˜ Y1) N Y i=2 p(˜ Xi,˜ Yi|˜ Xi−1,˜ Yi−1).(4.19b) Note that the condition (4.19b) holds when (4.19a) holds, and the output load at time i,Yi, depends only on the current input load, Xi, and the previous input and output loads, (Xi−1, Yi−1). Under these two assumptions, we derive an upper bound on the information leakage rate, Ip, as follows: Ip=1 NI(˜ XN;˜ YN), =1 NH(˜ XN) + H(˜ YN)−H(˜ XN,˜ YN), (a) =1 N N X i=1 H(˜ Xi|˜ Xi−1) + H(˜ Yi|˜ Yi−1)−H(˜ Xi,˜ Yi|˜ Xi−1,˜ Yi−1), (b) ≤1 N N X i=1 H(˜ Xi|˜ Xi−1) + H(˜ Yi|˜ Yi−1)−H(˜ Xi,˜ Yi|˜ Xi−1,˜ Yi−1), (c) =1 N N X i=1 H(˜ Xi|˜ Xi−1) + H(˜ Yi|˜ Yi−1)−H(˜ Xi|˜ Xi−1,˜ Yi,˜ Yi−1) + H(˜ Yi|˜ Xi−1,˜ Yi−1), (d) =1 N N X i=1 H(˜ Xi|˜ Xi−1) + H(˜ Yi|˜ Yi−1) −H(˜ Xi,˜ Xi−1|˜ Yi,˜ Yi−1)−H(˜ Xi−1|˜ Yi,˜ Yi−1) + H(˜ Yi|˜ Xi−1,˜ Yi−1) =1 N N X i=1 H(˜ Xi|˜ Xi−1) + H(˜ Yi|˜ Yi−1)−H(˜ Xi,˜ Xi−1|˜ Yi,˜ Yi−1) −H(˜ Yi|˜ Xi−1,˜ Yi−1)−H(˜ Xi−1|˜ Yi,˜ Yi−1), (e) =1 N N X i=1 H(˜ Xi|˜ Xi−1) + H(˜ Yi|˜ Yi−1)−H(˜ Xi,˜ Xi−1|˜ Yi,˜ Yi−1) −H(˜ Yi,˜ Xi−1|˜ Yi−1)−H(˜ Xi−1|˜ Yi−1)−H(˜ Yi,˜ Xi−1|˜ Yi−1)−H(˜ Yi|˜ Yi−1)! =1 N N X i=1 H(˜ Xi|˜ Xi−1)−H(˜ Xi,˜ Xi−1|˜ Yi,˜ Yi−1) + H(˜ Xi−1|˜ Yi−1), 68
4.5. Information Leakage Rate (f) =1 N N X i=1 H(˜ Xi,˜ Xi−1)−H(˜ Xi−1)−H(˜ Xi,˜ Xi−1|˜ Yi,˜ Yi−1) + H(˜ Xi−1|˜ Yi−1) =1 N N X i=1 H(˜ Xi,˜ Xi−1)−H(˜ Xi,˜ Xi−1|˜ Yi,˜ Yi−1)−H(˜ Xi−1)−H(˜ Xi−1|˜ Yi−1), (g) =1 N N X i=2 H(˜ Xi,˜ Xi−1)−H(˜ Xi,˜ Xi−1|˜ Yi,˜ Yi−1)− N X i=3 H(˜ Xi−1)−H(˜ Xi−1|˜ Yi−1)!, (h) =1 N N X i=2 I(˜ Xi,˜ Xi−1;˜ Yi,˜ Yi−1)− N X i=3 I(˜ Xi−1;˜ Yi−1)!, where (a) follows from the chain rule of entropy; (b) follows from the first-order Markov assumption for ˜ Xiand (˜ Xi,˜ Yi)in (4.19) and the fact that conditioning reduces entropy; (c) follows from the chain rule applied to H(˜ Xi,˜ Yi|˜ Xi−1,˜ Yi−1)in (b); (d) follows from replacing the term H(˜ Xi|˜ Xi−1,˜ Yi,˜ Yi−1)in (c) with its equal expression, i.e., H(˜ Xi|˜ Xi−1,˜ Yi,˜ Yi−1) = H(˜ Xi,˜ Xi−1|˜ Yi,˜ Yi−1)−H(˜ Xi−1|˜ Yi,˜ Yi−1), where this equality is arising from the chain rule applied to H(˜ Xi,˜ Xi−1|˜ Yi,˜ Yi−1); (e) follows from first replacing H(˜ Yi|˜ Xi−1,˜ Yi−1)and H(˜ Xi−1|˜ Yi,˜ Yi−1)in (d) with their equal expressions, i.e., H(˜ Yi|˜ Xi−1,˜ Yi−1) = H(˜ Yi,˜ Xi−1|˜ Yi−1) −H(˜ Xi−1|˜ Yi−1)and H(˜ Xi−1|˜ Yi,˜ Yi−1) = H(˜ Yi,˜ Xi−1|˜ Yi−1)−H(˜ Yi|˜ Yi−1), where these equalities are arising from the chain rule applied to H(˜ Yi,˜ Xi−1|˜ Yi−1)and H(˜ Yi,˜ Xi−1|˜ Yi−1), respectively, and then doing the necessary cancellations; (f) follows from replacing H(˜ Xi|˜ Xi−1)in (e) with its equal expression, i.e., H(˜ Xi|˜ Xi−1) = H(˜ Xi,˜ Xi−1)−H(˜ Xi−1), where this equality is arising from the chain rule applied to H(˜ Xi,˜ Xi−1); (g) is obtained by reorganizing (f), and (h) follows from the definition of the mutual information. We note that (b) holds with equality if we assume that the output load sequence ˜ YNis also a stationary first-order Markov process. This assumption has been made in [91] for the computation of the information leakage rate; however, adding this extra Markov assumption together with the initial ones may not lead to any realistic model or non-trivial EM strategy. Accordingly, the information leakage rate upper bound obtained above will be evaluated numerically as a measure of the information theoretical privacy leakage for the EM policies derived in Section 4.3 and Section 4.4. To numerically evaluate the mutual information expressions for given input and output load sequences, we can explicitly write the information leakage rate Ip, as follows: 69
Chapter 4. Privacy-Cost Trade-offs in Demand-Side Management with Storage Ip=1 N N X i=2 X xi−1∈˜ X ˜yi−1∈˜ YX xi∈˜ X ˜yi∈˜ Y p(˜xi,˜xi−1,˜yi,˜yi−1) log p(˜xi,˜xi−1,˜yi,˜yi−1) p(˜xi,˜xi−1)p(˜yi,˜yi−1) − N X i=3 X xi−1∈˜ X ˜yi−1∈˜ Y p(˜xi−1,˜yi−1) log p(˜xi−1,˜yi−1) p(˜xi−1)p(˜yi−1)!,(4.20) We can compute Ipby estimating all the joint and marginal distibutions in (4.20). We use emprical distributions as the estimates for these distributions, i.e., we count the number of joint or single appearances over all realizations, and normalize them to obtain the corresponding probabilities. Note that, when there is no RB in the system, i.e., Bmax = 0, we have ˜ Yi=˜ Xi,∀i, and Ip=1 NH(˜ XN), i.e., the UP knows the input load perfectly. In this case, the information leakage rate Ipsimplifies to: Ip=1 NH(˜ XN), (a) =1 N N X i=1 H(˜ Xi|˜ Xi−1), (b) =1 N N X i=1 X ˜xi−1∈˜ XX ˜xi∈˜ X−p(˜xi−1,˜xi) log p(˜xi|˜xi−1),(4.21) where (a) follows from the chain rule of entropy and the first-order Markov assumption for ˜ Xi, and (b) follows from the definition of the conditional entropy. 4.6 Numerical Results and Observations In this section, we provide further insights into the proposed offline and online EM policies through numerical simulations. We analyze the trade-off between the user’s privacy and energy cost as well as the effect of the RB capacity on this trade-off. We use the real SM readings obtained from [121] with a time resolution on the order of three seconds. For our simulations we consider the readings from one household for a period of one month and convert the load profile to a time resolution of one-minute. Particularly, the simulations results illustrated in Fig. 4.8 and Fig. 4.9 are obtained by considering a whole-day power consumption data. To 70
4.6. Numerical Results and Observations be consistent with our power consumption model, we assume that the discrete-time instants in Fig. 4.2(a) correspond to the sampling times of the SM. We set the electricity price in our simulations based on the real pricing tariffs [122]:the off-peak price is 5cent per kWh during 00:00 to 12:00, the on-peak price is 20 cent per kWh during 12:00 to 20:00, and the mediumpeak price is 10 cent per kWh during 20:00 to 00:00. For the simulations, we consider the target value ¯ Eas the average power demand of the user, i.e., ¯ E=1 T N P i=1 τi·Xi.4To discretize the state space for the online problem, we use a 4-bit non-uniform mu-law quantizer for the energy demand, and a 2-bit uniform quantizer for the battery state, respectively. For the characterization of the information leakage rate, we discretize the input and output load sequences resulting from the proposed policies by using a 5-bit non-uniform mu-law quantizer. In Fig. 4.4, we illustrate the trade-offs between the user’s privacy and energy cost resulting from the proposed offline and online EM policies with an RB capacity Bmax = 0.5kWh. The Pareto optimal trade-off curves between the load variance, V, and the average energy cost, C, in Fig. 4.4(a), and the trade-off curves between the information leakage rate, Ip, and the average energy cost, C, in Fig. 4.4(b), are formed by varying θvalues. For all the proposed policies, the average energy cost increases, while the load variance and the information leakage rate diminish as θincreases. According to the requirements of the system, the operating point can be chosen anywhere on the trade-off curve. We observe that the load variance and the information leakage rate behave similarly for all the policies. Based on this observation, we can argue that the load variance can be used as a meaningful privacy measure for SM systems. The corner points of the trade-off curves for the proposed policies in Fig. 4.4 are given in Table 4.1. Observe that the heuristic online policy performs close to the optimal online policy both at the maximum privacy and the minimum cost corner points, while the optimal offline policy outperforms both of them as expected. Next, we investigate the effect of the battery capacity on the maximum privacy and minimum cost achieved by the proposed policies, respectively. Regarding the maximum privacy, we plot the load variance, V, versus the RB capacity, Bmax, in Fig. 4.5(a), and the information leakage rate versus Bmax in Fig. 4.5(b), resulting from the proposed offline and online policies for θ= 1. Observe that both the load variance and the information leakage rate diminish as RB capacity increases. Similar behaviours of the load variance and the information leakage rate with respect to the RB capacity further consolidates the argument that the load variance can be used as a proxy for the information leakage rate in SM systems. When there is no RB in the system, i.e., Bmax = 0, the UP knows the input load sequence perfectly, and the information leakage rate reduces to the entropy rate of the input load sequence, which is found to be Ip= 0.952. Observe that the information leakage rate achieved by the optimal offline and 4The target value ¯ Eis known by the offline and online policies in advance. 71
Chapter 4. Privacy-Cost Trade-offs in Demand-Side Management with Storage Table 4.1: CORNER POINTS OF THE TRADE-OFF CURVES in Fig. 4.4 Heuristic Optimal Online Optimal Offline Policy Policy Policy min V0.157 0.139 0.085 min Ip0.612 0.481 0.19 C0.792 0.796 0.801 V0.204 0.178 0.103 Ip0.758 0.536 0.249 min C0.721 0.715 0.702 online policies drops very quickly with even a small RB capacity. While the information leakage rate achieved by the optimal offline policy saturates to its minimum value, the information leakage rates achieved by the optimal and heuristic online policies decrease smoothly as the RB capacity increases. Observe that the heuristic online policy performs close the optimal online policy for both privacy measures. The gain on the performances of the proposed policies can be achieved by virtue of the degree-of-freedom provided by the RB. When Bmax = 1.5(kWh), the information leakage rate of the heuristic online policy is found to be Ip= 0.49, and that of the optimal online and offline policies are found to be Ip= 0.354 and Ip= 0.141, respectively. These results show that a moderate RB capacity leads to a significant reduction in the information leakage rate. For RB capacities beyond 1.5kWh, we do not expect a significant privacy gain. We also expect that the information leakage rate of the heuristic policy approaches to the optimal online policy when RB capacity becomes sufficiently large. Fig. 4.6 illustrates the average energy cost, C, versus the RB capacity, Bmax, resulting from the proposed offline and online policies under θ= 0.001, which corresponds to the scenario in which the consumer is more interested in minimizing the cost of energy rather than privacy. When there is no RB in the system, i.e., Bmax = 0, the consumer has no degree- of-freedom to reduce the energy cost. The highest value for the average energy cost is found to be C= 0.778 (euro/day). The average energy cost decreases with the increasing RB capacity. Observe that the heuristic online policy performs very close to the optimal online policy. When Bmax = 1.5(kWh), the average energy cost of the heuristic online policy is found to be C= 0.624 (euro/day), and that of the optimal online and offline policies are found to be C= 0.61 (euro/day) and C= 0.57 (euro/day), respectively. We see that the user can reduce his/her energy consumption cost significantly with the proposed policies in the presence of a moderate capacity RB. 72
4.6. Numerical Results and Observations We compare the original load profile with the output load profiles resulting from the proposed offline and online EM policies with an RB of capacity, Bmax = 1.5kWh, and θ= 1 and θ= 0.001 values, in Fig. 4.7(a) and (b), respectively. When θ= 1, the proposed policies intend to maximize the privacy of the user. That is, they intend to generate smooth output load profiles in order to mask the peaks in the original load profile. Observe in Fig. 4.7(a) that the optimal offline policy generates a smoother output load profile than the optimal and heuristic online policies as expected. Particularly, if we focus on the peak power of the original load profile between 20.00 and 22.00, we can see that the optimal offline policy masks most of the peak signal, while the optimal and heuristic online policies still have significant peaks in their output loads. On the other hand, they both perform well in masking the peak values at other times of the day. When θ= 0.001, the proposed policies intend to minimize the energy cost of the user. As seen in Fig. 4.7(b), the proposed policies store extra energy in the RB during the off-peak price period, and satisfy the demand of the peak period from the RB in order to reduce the cost. Observe that, in the peak period between 12.00 and 20.00, the optimal offline policy draws nearly constant power from the grid, and satisfies the rest of the demand from the RB; on the other hand, the optimal and heuristic online policies satisfy the demand more from the RB between 12.00 and 16.00, and more from the grid between 16.00 and 20.00. We can envision that as the RB capacity increases, the optimal and heuristic online policies can store more energy in the battery to be used in the peak period, which would reduce the average energy cost. In Fig. 4.8, we characterize the trade-off between the user’s privacy and energy cost resulting from the proposed offline policy for RB capacities B={1,1.5,2}kWhs, respectively, and investigate the effect of the RB capacity on this trade-off. The Pareto optimal trade-off curves between the load variance and the average energy cost are formed by varying θvalues. For the proposed offline policy, the average energy cost increases, while the load variance diminishes as θincreases. When θ= 1, the load variance achieves its minimum value; on the other hand, the average energy cost achieves its minimum value as θbecomes close to 0. According to the requirements of the system, the operating point can be chosen anywhere on the trade-off curve. Observe that the Pareto optimal trade-off curve moves towards the origin as the RB capacity increases. This implies that with increasing RB capacity, the load variance can be reduced further under a fixed average energy cost, and the average energy cost can be reduced further under a fixed load variance. Both gains can be achieved by virtue of the degree-of-freedom provided by the RB. Finally, we investigate the impact of the SM resolution on the trade-off between the user’s privacy and energy cost in Fig. 4.9. To that end, we modify the original load profile into new load profiles with lower resolutions. Accordingly, the new load profiles have time resolutions 73
Chapter 4. Privacy-Cost Trade-offs in Demand-Side Management with Storage varying on the order of 5,10,15 minutes, and 1hour, respectively. We then characterize the Pareto optimal trade-off between the total load variance, NV, and the average energy cost, C, for the load profiles with given resolutions and the RB capacity B= 1.5kWh in Fig. 4.9. We see that the Pareto optimal trade-off curve moves downwards as the SM resolution gets lower. This implies that with a decreasing resolution, the EM policy can provide higher energy consumption privacy under a fixed average energy cost. This is due to the fact that a load sampled at a lower-resolution is smoother, and has a smaller variance compared to the same load sampled at a higher-resolution. 74
4.6. Numerical Results and Observations 0.7 0.72 0.74 0.76 0.78 0.8 0.08 0.1 0.12 0.14 0.16 0.18 0.2 0.22 Average Energy Cost - C(euro/day) Load Variance - V(kW)2 Heuristic Online Policy Optimal Online Policy Optimal Offline Policy (a) increasing θ 0.7 0.72 0.74 0.76 0.78 0.8 0.2 0.3 0.4 0.5 0.6 0.7 0.8 Average Energy Cost - C(euro/day) Information Leakage Rate - Ip Heuristic Online Policy Optimal Online Policy Optimal Offline Policy (b) Figure 4.4: (a) The load variance, V, versus the average energy cost, C, and (b) the information leakage rate, Ip, versus the average energy cost, C, resulting from the proposed offline and online EM policies under the RB capacity, Bmax = 0.5kWh. 75
Chapter 4. Privacy-Cost Trade-offs in Demand-Side Management with Storage 0 0.25 0.5 0.75 1 1.25 1.5 0 0.05 0.1 0.15 0.2 0.25 0.3 Battery Capacity - Bmax (kWh) Load Variance - V(kW)2 Heuristic Online Policy Optimal Online Policy Optimal Offline Policy (a) 0 0.25 0.5 0.75 1 1.25 1.5 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Battery Capacity - Bmax (kWh) Information Leakage Rate - Ip Heuristic Online Policy Optimal Online Policy Optimal Offline Policy (b) Figure 4.5: (a) The load variance, V, versus battery capacity, Bmax, and (b) the information leakage rate, Ip, versus battery capacity, Bmax, for the proposed offline and online EM policies under θ= 1. 76
4.6. Numerical Results and Observations 0 0.25 0.5 0.75 1 1.25 1.5 0.55 0.6 0.65 0.7 0.75 0.8 Battery Capacity - Bmax (kWh) Average Energy Cost - C(euro/day) Heuristic Online Policy Optimal Online Policy Optimal Offline Policy Figure 4.6: The average energy cost, C, versus battery capacity, Bmax, resulting from the proposed offline and online EM policies under θ= 0.001. 77
Chapter 5. Linear Transmission of Composite Gaussian Measurements over a Fading Channel under Delay Constraints removed, both strategies achieve the optimal performance under certain matching conditions. •Assuming that the CSI is known only at the decoder, we derive the optimal LT strategy under a strict delay consraint. •Then, we show that for the multiple measurements-parallel channels scenario, any LT scheme that uses only a one-to-one linear mapping between measurements and channels is suboptimal in general. The rest of the chapter is structured as follows. The system model is presented in Section 5.2. In Sections 5.3 to 5.5 CSI is assumed at both the encoder and decoder. In Section 5.3, we study the optimal LT strategy under a strict delay constraint. Two LT strategies are proposed for general delay constraints in Section 5.4. In Section 5.5, we characterize the TLB and LLB on the achievable MSE distortion. In Section 5.6, the optimal LT strategy is derived under a strict delay constraint along with the TLB, when the CSI is known only by the decoder. In Section 5.7, we consider a particular symmetric scenario with multiple sensors and parallel channels. Section 5.8 presents extensive numerical results, and finally, Section 5.9 concludes the chapter. 5.2 System Model We consider a CC that monitors the operation of a system through a wireless sensor (Fig. 5.1), which is capable of measuring Jdistinct system parameters. The jth system parameter is modelled as a zero-mean Gaussian r.v. with variance σ2 j, i.e., N(0, σ2 j), for j∈[1:J], where [1:J]denotes the set {1,2, . . . , J}. These system parameters are independent from each other, and their realizations are i.i.d. over time. In order to monitor the network operation, the CC requests the measurement of one system parameter from the sensor at each TS. The index of the requested system parameter at each TS is a r.v. denoted by M∈[1:J], with distribution pM(m), which is also i.i.d. over time. Based on these requests, the sensor takes one measurement of the requested parameter mat each TS. Thereby, the model is that of a composite source introduced in Chapter 6of [129]. The source Scan be described as a composite source comprised of Jdistinct components (subsources), each operating independently of the others. In our model, each component produces data according to a Gaussian probability distribution P(·|m) = N(0, σ2 m). The set Gof all subsources comprises the composite source. In our case, G=N(0, σ2 1),N(0, σ2 2),...,N(0, σ2 J).(5.1) 84
5.2. System Model ˆ . . . . . . Sensor Control Center Encoder Decoder Multiple ch. accesses 1 ˆ+ - + - - - 1 m 1 h 1 1 - - s 1 m 1 h 1 1 - - y ˆ ( ) 2 1 ,0 σ ( ) 2 2 ,0 σ ( ) 2 ,0 J σ 0 Figure 5.1: The illustration of the transmission model from the perspective of the sensor with multiple channel accesses. The index of the requested system parameter mgenerates the sequence of positions assumed by the switch in Fig. 5.1. In our model both the encoder and the decoder possess the exact knowledge of this sequence. Notice that, in the particular case in which the encoder and decoder are uninformed about this sequence, the composite source is equivalent to a mixture of Gaussian distributions, i.e., PS(s) = PJ m=1 PM(m)PS|M(s|m). We assume that the CC imposes a maximum delay constraint of d∈Z+on the measurements, that is, the measurement requested in a TS needs to be transmitted within the following dTSs; otherwise, it becomes stale. The collected sensor measurements are transmitted to the CC over a fading channel with zero-mean and unit variance AWGN. The channel output at TS iis given by: yi=hixi+zi, where xiis the channel input, ziis the additive noise with Z∼ N(0,1), and hiis the fading state of the channel. We consider a fading channel model, and assume that the fading coefficient Hi∈Ris modelled as a r.v. i.i.d. over time with probability distribution pH(h). We define ml i= [mi, mi+1, . . . , ml]as the sequence of indices of requested parameters at TSs [i:l]for i≤l. The measurement sequence is defined similarly as sl i= [si, . . . , sl], where the i-th entry siis the measured value of the requested parameter miat TS i. Therefore, the sequence sl ihas independent entries, where the i-th entry comes from a Gaussian distribution with variance σ2 mi. Note that in our composite Gaussian measurements model, conditioned on the requested parameter index, which is known by both the encoder and decoder, the source samples follow Gaussian distributions with different variance values. The channel state and the output sequences at TSs [i:l]are similarly defined as 85
Chapter 5. Linear Transmission of Composite Gaussian Measurements over a Fading Channel under Delay Constraints hl i= [hi, . . . , hl]and yl i= [yi, . . . , yl], respectively. We assume that both the encoder and decoder at TS iknow all the past channel states, hi−1 1, and the indices of requested parameters, mi 1, as well as the statistics of the measured parameters, σ2 m, the parameter requests, pM(m), and the channel, pH(h). In the first part of this chapter we assume that both the encoder and decoder know the current channel state, hi. Note that this assumption might be hard to realize for a fast fading channel model; on the other hand, our system model can be considered as instances of a slow fading channel. Typically, there will be a large number of sensors in the system, and each sensor is going to be scheduled only once in a while; and hence, each TS in our system model can be considered as one instance of a slow fading channel when a particular sensor is scheduled to transmit. Since these instances are separated from each other due to the transmission of other sensors, corresponding channel states are modeled as i.i.d., and are assumed to be known by both the encoder and decoder, as channel estimation and CSI feedback can be carried out between two transmissions of the same sensor. In Section 5.6 we will consider the scenario in which the CSI is known only by the decoder. Encoding Function The encoding function ˆ fi:Ri×Ri×Ri→R, maps si 1,hi 1, and mi 1to a channel input xi at each TS i, i.e., xi=ˆ fi(si 1,hi 1,mi 1). An average power constraint of Pis imposed on the encoding function: ¯ P,lim n→∞ 1 n n X i=1 EM,H,S |Xi|2≤P, where EM,H,S [·]denotes the expectation over M,Hand S. For any generic transmission policy, the encoding function ˆ fi, at TS i, may consider to use any combination of si 1,hi 1, and mi 1to generate xi. This gives rise to a time-varying encoding scheme. Decoding Function At the end of TS i, the goal of the CC is to estimate with the minimum MSE distortion, the measurement si−d+1, which has been requested exactly d−1TSs ago, and is about to expire. The decoding function ˆgi:Ri×Ri×Ri→R, estimates ˆsi−d+1 based on yi 1,hi 1, and mi 1, i.e., ˆsi−d+1 = ˆgi(yi 1,hi 1,mi 1). The MSE distortion is given by: ¯ D,lim n→∞ 1 n n X i=d EM,H,S,Z h|Si−d+1 −ˆ Si−d+1|2i. The decoding function ˆgi, at TS i, reconstructs the measurement using yi 1,hi 1, and mi 1. 86
5.3. Strict Delay Constraint Hence, similarly to the encoder, the decoder may be time-varying. We are interested only in LT policies in which ˆ fi’s are restricted to be linear functions of the sensor measurements, si’s, i.e., ˆ fi(si 1,hi 1,mi 1),fi(hi 1,mi 1)si 1, where fi(hi 1,mi 1)is a vector. Under this linearity constraint, the optimal estimators at the receiver, ˆgi’s, are also linear functions of the channel outputs, yi’s, i.e., ˆgi(yi 1,hi 1,mi 1),gi(hi 1,mi 1)yi 1, where gi(hi 1,mi 1)is a vector. Hereafter, we will refer to fiand gifor the encoding and decoding functions at TS i, respectively. 5.3 Strict Delay Constraint We first derive the optimal LT strategy under a strict delay constraint (d= 1), and characterize the minimum achievable MSE distortion. In this scenario, optimal LT performance is achieved by transmitting only the most recent measurement since all the previous measurements have expired, and transmitting an expired measurement cannot help the estimation of the current measurement since the measurements are independent. Then the encoding function fi(hi, mi) at TS iis a scalar. Given the encoding function, the decoding function gi(hi, mi)that minimizes the MSE for Gaussian r.v.s is the linear MMSE estimator [130], and is also a scalar. In particular, for a measurement siwith variance σ2 mi, and channel output yi=hifi(hi, mi)si+ziat TS i, the decoding function can be written explicitly as: gi(hi, mi) = ES,Z[SiYi] ES,Z[Y2 i]=|hi|fi(hi, mi)σ2 mi |hi|2fi(hi, mi)2σ2 mi+ 1.(5.2) In the following lemma we show that there is no loss of optimality by limiting the encoding function to be time-invariant. Lemma 5.1. Under a strict delay constraint there is no loss of optimality by considering only time-invariant encoding functions, i.e., fi(hi, mi) = f(hi, mi)∀i. Proof. ¯ D= lim n→∞ 1 n n X i=1 EM,H,S,Z h|Si−ˆ Si|2i, = lim n→∞ 1 n n X i=1 EM,H σ2 m |h|2fi(h, m)2σ2 m+ 1,(5.3) ≥EM,H σ2 m |h|2f(h, m)2σ2 m+ 1,(5.4) 87
Chapter 5. Linear Transmission of Composite Gaussian Measurements over a Fading Channel under Delay Constraints where (5.3) is the average MSE distortion under a strict delay constraint (d= 1); and defining f(h, m)2,limn→∞ 1 n n P i=1 fi(h, m)2such that f(h, m)satisfies the average power constraint P, (5.4) follows from the convexity of the function EM,H hσ2 m |h|2fi(h,m)2σ2 m+1iin terms of fi(h, m)2, and the equality holds iff fi(h, m) = f(h, m)for ∀iand due to the strict convexity of the aforementioned function. Thus, the time-invariant encoding function f(h, m), which is a function of only hand σ2 m, does not lead to any loss in optimality. The time-invariant encoding function f(h, m)leads to a time-invariant decoding function g(h, m). In the rest of this chapter, we will consider time-invariant encoding and decoding functions without loss of optimality. Then, the MSE distortion, ¯ D= EM,H,S,Z [|S−ˆ S|2], and the average power, ¯ P= EM,H,S[|X|2], can be written explicitly as functions of hand σ2 m, as follows: ¯ D= J X m=1 pM(m)ZR σ2 m |h|2f(h, m)2σ2 m+ 1pH(h)dh, (5.5) ¯ P= J X m=1 pM(m)ZR f(h, m)2σ2 mpH(h)dh. (5.6) The optimal linear encoding function f∗(h, m)is found as the solution to the convex optimization problem ¯ D∗,minimize f(h,m) ¯ D, subject to the average power constraint ¯ P≤P, which can be written explicitly as follows: ¯ D∗,minimize f(h,m) J X m=1 pM(m)ZR σ2 m |h|2f(h, m)2σ2 m+ 1pH(h)dh subject to J X m=1 pM(m)ZR f(h, m)2σ2 mpH(h)dh≤P. (5.7) From the KKT optimality conditions [119], we obtain: f∗(h, m) = sλ∗ |h|σm−1 |h|2σ2 m+ ,(5.8) where λ∗is the optimal Lagrange multiplier, such that ¯ P=P. 88
5.3. Strict Delay Constraint v * λ * 1 l 12 12 21 2 1 22 22 31 31 32 3 2 11 1 1 22 2 12 1 2 21 2 31 3 32 32 32 1 32 22 1 22 21 1 21 12 1 12 11 1 11 31 1 31 11 11 Reciprocal Mirror ( ) , ˆ * ( ) , ˆ * Figure 5.2: Water-filling reflected on a reciprocal mirror. The optimal power allocation and the corresponding distortion are given by: P∗(h, m) = σm |h|λ∗−1 |h|σm+ ,(5.9) D∗(h, m) = σm |h|min 1 λ∗,|h|σm,(5.10) where ¯ D∗= EM,H [D∗(h, m)] and EM,H [P∗(h, m)] = P. In Fig. 5.2, we present a graphical interpretation of the optimal power allocation and the corresponding distortion for J= 2 parameters with variances σ2 1and σ2 2, which are requested with probabilities pM(1), pM(2), respectively. We also consider a discrete fading channel with three states, where the kth state, ˆ hk, is observed with probability pH(ˆ hk),k= 1,2,3. Fig. 5.2 depicts rectangles that are placed upon a mirror surface and their reciprocally scaled images below. Rectangles represent all possible source-channel pairs {σm,ˆ hk}, where lkm ,1 |ˆ hk|σm and wkm ,σm |ˆ hk|indicate the height and width of the rectangles, respectively. The total power is poured above the level lkm up to the water level λ∗across the rectangles placed upon the mirror. The optimal power allocated to the source-channel pair {σm,ˆ hk}is given by the shaded area below the water level and above lkm. The corresponding distortion values are found by simply looking at the reciprocally scaled reflections of the rectangles and the water level on the mirror. If 1 lkm >1 λ∗, distortion is given by the width wkm times the reciprocal of the water level 1 λ∗, and if 1 lkm ≤1 λ∗, distortion is σ2 m, which are illustrated as dashed areas in Fig. 5.2. We call this as water-filling reflected on a reciprocal mirror. 89
Chapter 5. Linear Transmission of Composite Gaussian Measurements over a Fading Channel under Delay Constraints 5.3.1 Multiple Measurements and Parallel Channels Next, we assume that the CC requests N > 1measurements from the sensor at each TS, and the sensor transmits a length-Nmeasurement vector over Nparallel orthogonal AWGN fading channels under a strict delay constraint (d= 1). For this scenario, we characterize the optimal LT strategy by generalizing the results of [95] derived for Gaussian vector sources to our composite Gaussian measurements model. This scenario differs from the system model defined in Section 5.2, since we allow to take Nmeasurements at each TS as opposed to taking only one measurement at each TS. However, we will exploit the optimal LT strategy in this setting for the construction of the proposed transmission strategies in Section 5.4, as well as for characterizing the LLB in Section 5.5.2. Only for this scenario, we define m= [m1, . . . , mN]as the vector of indices of Nrequested parameters at a particular TS. Then, the sensor takes the length-Nmeasurement vector s= [s1, . . . , sN]according to the parameters indicated by m, i.e., s1is the measured value of parameter m1. For a strict delay constraint (d= 1), the optimal LT performance is achieved by transmitting only the most recent measurement vector. We assume that the Nchannels are i.i.d with distribution pH(h), and His defined as the N×Ndiagonal channel matrix. The diagonal elements of Hare denoted by a channel vector h= [h1, . . . , hN]at a particular TS. Similarly to Lemma 5.1, the encoding function can be limited to a time-invariant N×Nsquare matrix Fh,mwithout loss of optimality, where subscripts hand mindicate the dependence of the encoding matrix on the realizations of hand m. The length-Nchannel output vector at that particular TS is given by: y=Hx +z, where xis the length-Nchannel input vector and zis the length-Nadditive noise vector with z∼ N(0,I). The encoder at any TS maps its measurement vector s, to a channel input vector x, i.e., x=Fh,ms. An average power constraint of Pis imposed on the encoding function: ¯ P=1 NTr EM,H,S[xxT], =1 NTr EM,H [Fh,mCsFT h,m]≤P, (5.11) where Cs= ES[ssT]. 90
5.3. Strict Delay Constraint Given the encoding function, the decoding function that minimizes the MSE for a Gaussian random vector is the N×Nlinear MMSE estimator matrix Gh,m[130], which is also timeinvariant. Similarly to Fh,m, subscripts hand mindicate the dependence of the decoding matrix on the realizations of hand m. For the measurement vector s, and the channel output vector y, at any TS, we have: Gh,m=CsyC−1 y=CsFT h,mHTΦ,(5.12) where Csy = ES,Z[syT],Cy= ES,Z [yyT]and Φ,(HFh,mCsFT h,mHT+I)−1. At any TS, the CC estimates the most recent measurement vector sas ˆs, i.e., ˆs =Gh,my. The MSE distortion is given by: ¯ D=1 NTr EM,H,S,Z[s−ˆs)(s−ˆs)T, =1 NTr EM,H [Cs−CsFT h,mHTΦHFh,mCs].(5.13) The optimal linear encoding matrix F∗ h,m, is found as the solution to the convex optimization problem ¯ D∗,minimize Fh,m ¯ D, subject to the average power constraint ¯ P≤P, which can be written explicitly as follows: ¯ D∗,minimize Fh,m 1 NTr EM,H [Cs−CsFT h,mHTΦHFh,mCs] subject to 1 NTr EM,H [Fh,mCsFT h,m]≤P. (5.14) For a set of static parallel AWGN channels and Gaussian vector sources, the optimal linear encoding matrix transmits one measurement over each channel [95]. The optimal mapping between channels and measurements is as follows: We first reorder the measurement vector sto obtain ¯s = [s(1), . . . , s(N)], such that σ2 m(1) ≤σ2 m(2) ≤ ··· ≤ σ2 m(N), and reorder the channel vector hto obtain ¯ h=h(1), . . . , h(N), such that |h(1)| ≤ |h(2)| ≤ ··· ≤ |h(N)|. Then, the optimal linear encoding matrix F∗ h,mis diagonal with entries f(1)(h(1), m(1)), . . . , f(N)(h(N), m(N)), and it maps the ordered measurements to ordered channel states. In order to find the diagonal entries of F∗ h,m, we can explicitly rewrite the convex optimization problem in (5.14) by using the optimal mappings derived in [95], as follows: 91
Chapter 5. Linear Transmission of Composite Gaussian Measurements over a Fading Channel under Delay Constraints ¯ D∗,minimize f(t)(h(t),m(t))EM(t),H(t)"1 N N X t=1 σ2 m(t) |h(t)|2f(t)(h(t), m(t))2σ2 m(t)+ 1# subject to EM(t),H(t)"1 N N X t=1 f(t)(h(t), m(t))2σ2 m(t)#≤P, (5.15) where the expectation is taken over M(t)and H(t)for t∈[1:N]. The t-th smallest entry of the requested parameter vector m= [m1, m2, . . . , mN], is denoted by the r.v. M(t)∈[1:J]with the order statistics pM(t)(m). Without loss of generality, we assume that ordering the entries of min ascending order, i.e., m(1) ≤m(2) ≤ ··· ≤ m(N), implies ordering the entries of the measurement vector sin ascending variances, i.e., σ2 m(1) ≤σ2 m(2) ≤ ··· ≤ σ2 m(N). Similarly, the t-th smallest entry of the channel vector h= [h1, h2, . . . , hN]is denoted by the r.v. H(t)∈R with the order statistics pH(t)(h). The optimal linear encoding matrix F∗ h,mwith diagonal entries f∗ (t)(h(t), m(t))for t∈ [1:N], can be found from the Lagrange and the KKT conditions as follows: f∗ (t)(h(t), m(t)) = v u u t"δ∗ |h(t)|σm(t)−1 |h(t)|2σ2 m(t)#+ ,(5.16) where δ∗is the optimal Lagrange multiplier, such that ¯ P=Pin (5.15). Similarly, the optimal power allocation and the corresponding distortion can be found by using the water-filling reflected on a reciprocal mirror interpretation. The optimal Lagrange multiplier δ∗depends on pM(t)(m)and pH(t)(h), which can be found explicitly by using the order statistics. In the following lemma, we give the t-th order statistics pM(t)(m)and pH(t)(h), for t∈[1:N]. Lemma 5.2. Let FM(m)and FH(h)denote the cumulative distribution functions of pM(m) and pH(h), respectively. Given FM(m),pM(m),FH(h),pH(h)and N, the t-th order statistics pM(t)(m)and pH(t)(h),t∈[1:N], are found as: pH(t)(h) = tpH(h)N t(FH(h))t−1(1 −FH(h))N−t,(5.17) pM(t)(m) = N X b=tN bFM(m)b(1 −FM(m))N−b−FM(m−1)b(1 −FM(m−1))N−b. (5.18) 92
5.4. LT Strategies Proof. The proof is trivial and achieved through the definition of the cumulative distribution functions of H(t)and M(t). FH(t)(h) = Pr{H(t)≤h}= Pr{at least tof H’s are ≤h},(5.19) = N X b=t N! (N−b)!b!FH(h)b(1 −FH(h))N−b,(5.20) where (5.19) implies a binomial distribution with at least tsuccesses and can be formulated as (5.20). The t-th order statistics pH(t)(h)is found by taking the derivative of (5.20) with respect to h. The same proof holds for M(t). 5.4 LT Strategies In this section, we propose two LT strategies for general delay constraints d≥1. The block diagram of the proposed LT strategies is illustrated in Fig. 5.3. Both strategies are composed of two main blocks, namely, storage and transmission blocks. There are two buffers of size ¯ d measurements, namely, the measurement buffer (MB) and the transmission buffer (TB). Here, we present these two schemes for an odd delay constraint, i.e., d∈ {1,3,5, . . .}, but they can be easily adapted to the case when dis even. In the storage block, given a delay constraint of d= 2 ¯ d−1for ¯ d∈[1:∞], the sensor collects a block of ¯ dconsecutive measurements after ¯ d consecutive TSs, and stores them in the MB. The consecutive blocks of ¯ dmeasurements, taken over successive time intervals, are indexed by ¯ k={1,2, . . .}. Then, the ¯ k-th block consists of the measurements taken within TSs [(1 + (¯ k−1) ¯ d):¯ k¯ d], i.e., s¯ k¯ d (1+(¯ k−1) ¯ d). When the MB gets full with the ¯ dmeasurements of the ¯ k-th block, the sensor removes s¯ k¯ d (1+(¯ k−1) ¯ d)from the MB and loads them into the TB. Then, for the next consecutive ¯ dTSs [¯ k¯ d:((¯ k+ 1) ¯ d−1)], the sensor accesses the channel and transmits a linear function of the measurements in the TB, i.e., s¯ k¯ d (1+(¯ k−1) ¯ d), over the channel states h((¯ k+1) ¯ d−1) ¯ k¯ dsatisfying the delay constraint d. The specifics of these linear functions will be explained below. Note that, while the sensor transmits the measurements in the TB, it starts refilling the MB with new measurements s(¯ k¯ d+¯ d) (¯ k¯ d+1). After ¯ dchannel accesses within TSs [¯ k¯ d:((¯ k+ 1) ¯ d−1)], the MB gets full again and its new ¯ dmeasurements are transferred to the TB for transmission over the next ¯ dTSs. The proposed transmission strategies consist of two sub-blocks, namely, the measurement selection and scaling sub-blocks. This division is motivated by the results of [95] presented in Section 5.3.1, in which Nordered measurements are mapped one-to-one to Nordered chan- 93
Chapter 5. Linear Transmission of Composite Gaussian Measurements over a Fading Channel under Delay Constraints performance when the delay constraint is removed. Theorem 5.1. For the discrete AWGN fading channel model, if the parameter variances and the discrete channel states satisfy σ1 |ˆ h1|=··· =σJ |ˆ hJ|, and pM(m) = pH(ˆ hm), for ∀m∈[1:J], then the TLB is achieved by LTHM and LTSM when the delay constraint is removed, i.e., d→ ∞. Proof. The proof can be found in Appendix. 5.5.2 The Linear Transmission Lower Bound (LLB) We next derive a lower bound on the achievable MSE distortion as a function of the delay and power constraints for any LT strategy. In order to derive this lower bound, we relax the assumption on the causal knowledge of the measurements and channel states, and instead assume that the sensor has the offline (non-causal) knowledge of a certain number of future measurements and channel states. Accordingly, we assume that at any TS the sensor non-causally knows the length-¯umeasurement vector, i.e., s= [s1, . . . , s¯u], taken over the next ¯uTSs. Observe that, for a delay constraint d, each measurement of scan only be transmitted over the following d channel states observed after it is taken, thus the transmission of the vector sspans the following ¯c= (d+ ¯u−1) channel states observed after the first measurement s1is taken. We further assume that the sensor non-causally knows the length-¯cchannel vector h= [h1, . . . , h¯c]. Henceforth, the problem is reduced to optimally transmitting ¯umeasurements over ¯cparallel channels, which is attained by using the optimal LT scheme presented in Section 5.3.1. Accordingly, we first reorder sto get ¯s = [s(1), . . . , s(¯u)], where the variances of the ordered measurements satisfy σ2 m(1) ≤σ2 m(2) ≤ ··· ≤ σ2 m(¯u), and reorder hto get ¯ h=h(1), . . . , h(¯c), such that the ordered fading states satisfy |h(1)|≤|h(2)| ≤ ··· ≤ |h(¯c)|. Then, the ¯cׯu optimal linear encoding matrix F∗ h,mconsists of a ¯uׯusize diagonal partition with entries f(1)(h(1+¯e), m(1)), . . . , f(¯u)(h(¯u+¯e), m(¯u)), and a ¯eׯusize partition with zero entries, where ¯e= ¯c−¯u, and it maps ¯uordered measurements to the ¯uchannels with the largest gains. The optimal entries of F∗ h,mare found as the solution of the following convex optimization problem: ¯ D∗(d, ¯u, P),minimize f(t)(h(t+¯e),m(t))EM(t),H(t+¯e)"1 ¯u ¯u X t=1 σ2 m(t) |h(t+¯e)|2f(t)(h(t+¯e), m(t))2σ2 m(t)+ 1# subject to ¯ P,EM(t),H(t+¯e)"1 ¯u ¯u X t=1 f(t)(h(t+¯e), m(t))2σ2 m(t)#≤P, (5.29) where the expectation is taken over M(t)and H(t+¯e)for t∈[1:¯u]. The t-th and (t+ ¯e)-th order 100
5.6. No CSI at the Encoder statistics pM(t)(m)and pH(t+¯e)(h), are given by Lemma 5.2. The optimal linear encoding matrix with diagonal entries is found as: f∗ (t)(h(t+¯e), m(t)) = v u u t"ζ∗ |h(t+¯e)|σm(t)−1 |h(t+¯e)|2σ2 m(t)#+ ,(5.30) where ζ∗is the optimal Lagrange multiplier, such that ¯ P=Pin (5.29). Assuming non-causal knowledge of ¯umeasurements and ¯cchannel states under the delay constraint dand the average power constraint P, we obtain the optimal distortion ¯ D∗(d, ¯u, P) for any LT strategy. Then, the LLB is derived by finding the ¯uvalue, which maximizes ¯ D∗(d, ¯u, P): ¯ Dl(d, P),max ¯u ¯ D∗(d, ¯u, P).(5.31) Note that we have relaxed the constraint for the causal knowledge of measurements and channel states both at the encoder and decoder. The numerical comparisons of the LLB with the proposed schemes will be presented in Section 5.8. 5.6 No CSI at the Encoder In this section, we assume that the CSI is known only at the decoder. We derive the optimal LT strategy under a strict delay constraint (d= 1), as well as the TLB on the achievable MSE distortion. Additionally, for the multiple measurements-parallel channels scenario studied in Section 5.3.1, we show that if the CSI is available only at the receiver, any LT scheme that is limited to a one-to-one linear mapping from the measurements to the channel input is suboptimal in general. The optimal LT strategy is elusive and it will be a non-trivial function of the source variances and the channel distribution. 5.6.1 Strict Delay Constraint Under a strict delay constraint, the most recent measurement is transmitted at each TS. By applying Lemma 5.1 to this scenario, we can similarly show that there is no loss of optimality by considering time-invariant encoding functions, i.e., fi(m) = f(m),∀i. Hence, the encoding function f(m)is a scalar and time-invariant. The decoding function g(h, m)that minimizes the MSE is the linear MMSE estimator [130], and is also a scalar and time-invariant. Then, 101
Chapter 5. Linear Transmission of Composite Gaussian Measurements over a Fading Channel under Delay Constraints the MSE distortion, ¯ D= EM,H,S,Z [|S−ˆ S|2], and the average power, ¯ P= EM,S [|X|2], can be written explicitly as: ¯ D= J X m=1 pM(m)ZR σ2 m |h|2f(m)2σ2 m+ 1pH(h)dh, (5.32) ¯ P= J X m=1 pM(m)f(m)2σ2 m,(5.33) where P(m),f(m)2σ2 m. The optimal linear encoding function, f∗(m), is found as the solution to the convex optimization problem ¯ D∗,minimize f(m) ¯ D, subject to the average power constraint ¯ P≤P, which can be written explicitly as follows: ¯ D∗,minimize f(m) J X m=1 pM(m)ZR σ2 m |h|2f(m)2σ2 m+ 1pH(h)dh subject to J X m=1 pM(m)f(m)2σ2 m≤P. (5.34) From the KKT conditions [119], we have: f∗(m) = v u u thΨ−1(λ∗ σ2 m)i+ σ2 m ,(5.35) where Ψ−1:R→Ris the inverse of the function Ψ : R→R, that is defined as, Ψ(P(m)) , RR |h|2 (|h|2P(m)+1)2pH(h)dh. The optimal Lagrange multiplier λ∗is chosen such that ¯ P=P in (5.34). 5.6.2 Multiple Measurements and Parallel Channels Next we consider the multiple measurements-parallel channels scenario studied in Section 5.3.1, under the strict delay constraint and the assumption that the CSI is known only at the decoder, and J > 1. In such a scenario, the optimal LT scheme of [95], in which the ordered measurements are mapped one-to-one to ordered channel states, cannot be used directly. This is because, even though the encoder knows the Nmeasurements, it does not know any of the channel states, and hence; cannot order them. For the special case where Nmeasurements are observed from a single Gaussian source (J= 1), in [97] the authors show that the optimal 102
5.6. No CSI at the Encoder performance is achieved by transmitting one measurement over each channel. When J= 1, since Nmeasurements all have the same variance, all orderings are equivalent, and the optimal LT performance is achieved by an LT scheme that uses only a one-to-one mapping between measurements and channels. However, this is not the case in general when J > 1. Since N measurements follow a composite Gaussian source model, the encoder can have measurements with different variances; and hence, we can exploit the diversity of the fading channel by transmitting a single measurement over multiple channels, instead of transmitting each measurement only once. Depending on the source variances, the former may surpass the best LT performance achieved by using only a one-to-one linear mapping. This is shown in the following lemma by considering a particular example. Lemma 5.3. Consider the LT of Nmeasurements of a composite Gaussian source with J > 1 components over Nparallel AWGN fading channels. If the CSI is known only by the decoder, then the LT scheme that uses a one-to-one linear mapping between measurements and channels is suboptimal in general. Proof. The proof can be found in Appendix. 5.6.3 The Theoretical Lower Bound (TLB) Similarly to Section 5.5.1, we derive the TLB on the achievable MSE distortion by using Shannon’s source-channel separation theorem. If the CSI is available only at the decoder and the average power constraint is P, then the ergodic capacity is given by: ¯ Ce,EH1 2log 1 + |h|2P.(5.36) The distortion-rate function of a composite Gaussian source is defined as in Eqn. (5.26) of Section 5.5.1, which leads to the optimal rate allocated to source m,R∗ e(σm), as in Eqn. (5.27) and the corresponding distortion, D∗ e(σm), as in Eqn. (5.28), respectively. The Lagrangian multiplier β∗for this case is chosen such that EM[R∗ e(σm)] is equal to the ergodic capacity ¯ Ce in (5.36). Then the TLB on the achievable MSE distortion by any strategy when the encoder does not have the CSI is given by ¯ De= EM[D∗ e(σm)]. 103
Chapter 5. Linear Transmission of Composite Gaussian Measurements over a Fading Channel under Delay Constraints 5.7 Multiple Sensors and Parallel Channels Following the system model introduced in Section 5.2, here we consider a particular symmetric scenario with multiple sensors and parallel channels. In this symmetric scenario, there are N sensors, each capable of measuring Jdistinct system parameters locally, and Northogonal fading channels for the transmission of the requested measurements. The jth system parameter is modelled as a zero-mean Gaussian r.v. with variance σ2 j, i.e., ∼ N(0, σ2 j), for j∈[1:J]. These system parameters are independent from each other, and their realizations are i.i.d. over time and sensors. In order to monitor the network operation, the CC requests the measurement of one system parameter from each sensor at each TS. The index of the requested system parameter at each TS is a r.v. denoted by M∈[1:J], with distribution pM(m), which is also i.i.d. over time and sensors. Based on these requests, each sensor takes one measurement of the requested parameter mat each TS. As in Section 5.2, the encoder and the decoder possess the exact knowledge of the index of the requested system parameter of each sensor; and thereby, the model is that of a composite source introduced in Chapter 6of [129]. The maximum delay in transmitting a measurement to the CC is d∈Z+, which is same for all the sensors and parameters. There are Northogonal fading channels available. Let h= [h1, . . . , hN]denote the channel vector at any TS, whose entries are i.i.d. with probability distribution pH(h). The channels have AWGN with zero-mean and unit-variance. In this symmetric system model, we assume that the statistics of the measured parameters, σ2 m, the measurement requests, pM(m), and the channels, pH(h), are all i.i.d. over sensors. We assume that both the encoder and decoder know all the past and current channel states and the indices of requested parameters, as well as the statistics of the measured parameters, the parameter requests, and the channels. Scheduling of channels to sensors is done in advance; i.e., it cannot depend on the realizations of the measurements or the channel states. At each scheduled TS for transmission, a sensor transmits all its samples that have been taken within the last dTSs. We are interested only in LT policies in which encoding and decoding functions are restricted to be linear functions of the sensor measurements. We consider an average power constraint of Pat each sensor. The goal is to have an estimate of each requested measurement at the CC within the delay constraint. The performance measure is the total MSE distortion for the requested measurements. 5.7.1 Scheduling Algorithm In this scenario, we consider a round-robin scheduling algorithm. Given a delay constraint d, assuming Nis an integer multiple of d, we group sensors into N/d groups. Each group 104
5.8. Numerical Results and Observations Channels C6 C5 C4 C3 C2 C1 Channels C6 C5 C4 C3 3 C2 C1 Channels Sensor1 Sensor2 Sensor3 Sensor4 Sensor5 Sensor6 Channels C6 C4 C3 C5 C2 C1 C6 C5 C4 C3 C2 C1 ( ) i 1=d )a 2 1 0 3 4 5 6 7 8 time ( ) i 3=d )c 2 1 0 3 4 5 6 7 8 time ( ) i 2=d )b 2 1 0 3 4 5 6 7 8 time ( ) i 6=d )d 2 1 0 3 4 5 6 7 8 time Figure 5.4: Illustration of the round-robin scheduling policy for different delay constraints. is assigned dorthogonal channels. Each sensor transmits once every dTSs, using all the d channels assigned to its own group, and transmits all its measurements from the last dTSs. This round-robin scheduling of channels provides additional degrees-of-freedom to the sensors to match their measurements to a larger number of channels at each transmission round. Fig. 5.4 depicts an example of how N= 6 channels are scheduled to N= 6 sensors for different delay constraints d={1,2,3,6}. Notice that for d= 1, one channel is assigned to each sensor for all the TSs; hence, the sensor has no control on matching the measurements to the channel states. On the other hand, for d > 1, at each transmission round, a sensor can reorder its measurements to match them to the available channels in an optimal manner, or transmit their linear combinations. In this symmetric model, the system performance can be analyzed for a single sensor. Due to symmetry, results will apply to all the sensors. For a delay constraint d, the sensor collects dmeasurements to be transmitted over dorthogonal fading AWGN channels. The optimal LT strategies under strict and general delay constraints, and the TLB can be obtained by using the solutions proposed in Section 5.3, Section 5.3.1 and Section 5.5.1, respectively. 5.8 Numerical Results and Observations Here we provide numerical results to compare the performances of LTHM and LTSM with the lower bounds, and to analyze the impact of the delay and power constraints on the performance. In our simulations, we consider J= 4 Gaussian parameters with variances {10,5,1,0.5}, which are requested with probabilities {0.1,0.3,0.4,0.2}, respectively. For a continuous fading channel, we consider Rayleigh distribution with mean value 3pπ 2, and for a discrete fading channel, we consider four states {√10,√5,1,√0.5}, which are observed with probabilities 105
Chapter 5. Linear Transmission of Composite Gaussian Measurements over a Fading Channel under Delay Constraints −30 −20 −10 0 10 20 30 10−3 10−2 10−1 100 ¯ P(dB) ¯ D∗ d= 1 d= 39 d= 79 d= 199 d= 1999 d= (105−1) TLB Figure 5.5: Achievable MSE distortion with LTHM with respect to average power for different delay constraints in the discrete fading channel model. {0.1,0.3,0.4,0.2}, respectively. We illustrate the achievable MSE distortion versus average power under various delay constraints with LTHM in the discrete channel setting in Fig. 5.5. We observe that the MSE distortion diminishes as the delay constraint is relaxed. This is because a relaxed delay constraint provides a larger number of measurements in the TB; and hence, more flexibility for the sensor in selecting the appropriate measurement for each TS. We note that this statement does not hold when J= 1, in which case increasing the block length does not provide any improvement [95]. As it can be seen in Fig. 5.5, the MSE distortion converges to a fixed value as the average power value increases. This is due to the additional distortion brought in by the untransmitted measurements in the TB. The average number of untransmitted measurements and their effect on the MSE distortion decreases as the delay constraint is relaxed, since having a larger number of measurements in the TB increases the probability of finding a measurement that satisfies the hard matching condition. In particular, when the delay constraint is removed, as seen in Fig. 5.5, LTHM achieves the TLB, and becomes the optimal LT scheme, since the source-channel matching conditions in Theorem 5.1 are satisfied for the setup considered here. In Fig. 5.6, we illustrate the achievable MSE distortion with LTSM with respect to average power under various delay constraints in the continuous channel model. Similarly to LTHM, the MSE distortion diminishes as the delay constraint increases. On the other hand, as opposed 106
5.8. Numerical Results and Observations −20 −10 0 10 20 10−3 10−2 10−1 100 ¯ P(dB) ¯ D∗ d= 1 d= 5 d= 21 d= (105−1) TLB Figure 5.6: Achievable MSE distortion with LTSM with respect to average power for various delay constraints in the continuous fading channel model. to LTHM, the MSE distortion achieved by LTSM decreases monotonically with the average power as illustrated in Fig. 5.6. This is because the performance of LTSM does not suffer from a fixed distortion component due to the untransmitted measurements. In addition, LTSM also approaches the TLB as the delay constraint is relaxed. Although we do not expect the LTSM to meet the TLB in this setting since the matching conditions of Theorem 5.1 do not hold, we observe in Fig. 5.6 that it is very close to the TLB. Next, we compare the performances of LTHM and LTSM with each other and with the TLB and the LLB. Fig. 5.7 shows the achievable MSE distortion of LTHM, LTSM, the LLB and the TLB with respect to delay constraint in the continuous fading channel model for an average power constraint ¯ P= 10 dB. As seen in the figure, the performance of the TLB is constant since it is derived by completely removing the delay and complexity constraints. On the other hand, the LLB decays slowly as the delay constraint increases. As expected, the MSE distortion of LTHM and LTSM decrease as the delay constraint increases. We can see that LTSM meets the LLB under the strict delay constraint. As expected, LTSM always outperforms LTHM, while the gap between the two schemes decreases with the increasing delay constraint. The gap between the TLB and two schemes also decreases with the increasing delay constraint even though we do not expect either of the schemes converge to the TLB in this setting since the matching conditions of Theorem 5.1 do not hold. 107
Chapter 5. Linear Transmission of Composite Gaussian Measurements over a Fading Channel under Delay Constraints 0 20 40 60 80 100 10−2 10−1 100 d ¯ D∗ LTHM LTSM LLB TLB 20 40 60 80 100 10−1.7 10−1.6 Figure 5.7: MSE distortion versus delay constraint, d, in the continuous fading channel model for an average power constraint ¯ P= 10 dB. −30 −20 −10 0 10 20 30 10−3 10−2 10−1 100 ¯ P(dB) ¯ D∗ d= 1 (No Encoder CSI) d= 1 (With Encoder CSI) TLB (No Encoder CSI) TLB (With Encoder CSI) Figure 5.8: The achievable MSE distortion of LT and the TLB with respect to average power in the discrete fading channel model with and without encoder CSI. 108
5.9. Conclusions Finally, in Fig. 5.8, we illustrate the achievable MSE distortion of LT and the TLB with respect to average power in the discrete channel model for the scenarios in which the CSI is known only by the decoder, and by both the encoder and decoder. The MSE distortion of LT under strict delay constraint of d= 1 for both scenarios diminishes as the average power increases. However, there is a constant gap between the optimal performances achieved with and without encoder CSI at higher ¯ Pvalues. On the other hand, the TLB for both scenarios meet as the average power increases since the gain from the optimal power allocation over different channel states disappears in the high power regime. 5.9 Conclusions In this chapter, we have studied the delay-constrained LT of composite Gaussian measurements from a sensor to a CC over an AWGN fading channel. We have considered a wireless sensor that can collect measurements from Jdistinct Gaussian parameters. The CC asks for a measurement of a particular parameter from the sensor with a certain probability at each TS. In this framework, we have presented the optimal LT strategy under a strict delay constraint, and have given a graphical interpretation for the optimal power allocation scheme and the corresponding distortion value. Then, we have proposed two LT strategies, called LTHM and LTSM, under general delay constraints, and have provided numerical results to investigate the impact of the delay and average power constraints on the performance. We have seen that, if the number of parameters, J, is more than one, the MSE distortion decreases as the delay constraint is relaxed. We have also derived lower bounds on the achievable MSE distortion for generic and LT strategies. While LTSM outperforms LTHM at all delay constraints, we have shown analytically that both strategies meet the lower bound when the delay constraint is removed, under certain matching conditions between the parameter and the channel statistics. We have also studied the scenario in which the CSI is known only by the decoder. We have presented the optimal LT strategy under a strict delay constraint. We have derived a TLB on the achievable MSE distortion by relaxing the delay constraint and the linearity requirement. We have also considered the multiple measurements-parallel channels scenario under a strict delay constraint, and have shown that the optimal LT performance cannot be achieved by using only a one-to-one linear mapping between measurements and channels, as opposed to the results derived in [95] and [97]. The design of the optimal LT strategy for the multiple measurementsparallel channels scenario for arbitrary delay constraints is elusive, and is left as future work. 109
Chapter 6 Conclusions and Future Work 6.1 Conclusions This dissertation has focused on two enabling technologies that provide advanced monitoring and control capabilities to SGs, namely, SMs and WSNs, and studied the design of privacypreserving EM techniques for SMs and delay-sensitive transmission strategies for WSNs. The proposed EM techniques have been shown to provide privacy to SM users while maintaining unaltered the operational utility of the SM readings for the SG. In addition to privacy, the proposed EM techniques have taken into account two benefits, namely, energy efficiency and energy cost saving, which have been provided to users thanks to the utilization of storage units, and then explored the fundamental trade-offs between user’s privacy and energy efficiency, and user’s privacy and energy cost, respectively. On the other hand, the proposed LT strategies have been shown to enable wireless sensors to meet low latency, low complexity transmission requirements for real-time and accurate state reconstruction; and thus, efficient and robust management of the SG. In Chapter 3, we have considered an SM system in the presence of EH and storage units, and studied the fundamental trade-off between user’s privacy and energy efficiency. We have integrated an EH unit as an alternative energy source, an RB as an energy storage unit and an EMU as the management unit of the energy flow. The EH unit provides energy packets to the energy consumer at each time instant in an i.i.d. fashion and the finite capacity RB provides both energy efficiency by storing extra energy for future use and increased privacy by masking the load signature of the appliances from the UP. We have considered a discrete-time FSM to represent the whole system, and investigated stochastic EM policies at the EMU based on the harvested energy, energy demand of the appliances and the state of the storage unit. We have measured the privacy of the user from an information theoretic perspective by using the information leakage rate between the input load, i.e., the user’s energy demand profile, and the 117
Chapter 6. Conclusions and Future Work output load, i.e., the SM readings, and the energy efficiency of the user by using the wasted energy rate. We have calculated the information leakage rate by using a numerical method. For the sake of simplicity, we have considered binary input and output loads. We have studied batterydependent EM policies and numerically searched for the EM technique that achieves the best trade-off between user’s privacy and energy-efficiency. We have observed that the information leakage rate can be significantly reduced in the presence of an energy harvester and an RB. As the EH rate increases, we have observed that the privacy of the user improves. On the other hand, this also increases the amount of wasted energy. For a given input load and EH rates, we have numerically characterized the optimal trade-off curve between the achievable information leakage and wasted energy rates. The whole trade-off curve can be characterized by changing the stochastic EM policy used by the EMU. According to the needs of the user, an operating point can be chosen on this trade-off curve. We have also characterized the trade-off curves for different EH rates. Focusing on a system with only an RB, we have studied the impact of the RB capacity on the achievable privacy. We have observed that the information leakage rate can significantly be reduced by increasing the RB capacity. For the system with only an RB, we have also studied the impact of wasting of grid energy on fulfilling the increased privacy requirements of the user. We have observed that even with a finite capacity RB, the higher privacy levels can be provided to the user by wasting more energy from the grid. In Chapter 4, we have considered an SM system in the presence of a finite-capacity energy storage unit, and studied demand-side EM policies from a joint privacy-energy cost optimization perspective. We have considered a discrete-time energy consumption model, in which both the energy consumption and the electricity prices vary over time. We have measured the privacy of the user as the variance of the output load around a predetermined constant target value, and the energy cost by using a time-varying electricity pricing model. First, assuming that the user’s energy demand profile and the electricity prices are known non-causally at the EMU, we have formulated the optimal privacy-cost trade-off as a convex optimization problem, and identified the properties of the optimal offline EM policy. Then, using the implications of these properties on the optimal solution, we have proposed a backward water-filling algorithm which efficiently computes the optimal offline EM policy. We have observed that the energy cost can be reduced by requesting more energy when the prices are lower, and the privacy is obtained by generating a smoother output load. We have shown that both gains can be achieved simultaneously by utilizing the available RB intelligently. Next, assuming that the user’s power consumption profile is known only causally, we have characterized the optimal online policy using DP. Since DP algorithms are prohibitively complex, we have also proposed a low complexity heuristic online EM policy based on the 118
6.1. Conclusions water-filling algorithm for the offline setting. In addition to the output load variance, we have also characterized the information leakage rate between the input and output load sequences. We have assessed the performances of the proposed offline and online EM policies through extensive numerical results using real SM consumption data. We have numerically evaluated both the load variance and the information leakage rate as privacy measures and characterized the trade-offs between privacy and energy cost resulting from offline and online policies. Our results indicate that the privacy-cost trade-offs for output load variance and information leakage rate have very similar behaviours; and therefore, output load variance can be used as a privacy measure for SM systems. The operating point on the trade-offs can be chosen based on the user’s requirements on privacy and energy cost. We have shown through these numerical results that the proposed heuristic online algorithm performs very close to the optimal solution based on DP, which requires significantly higher computational complexity. We have investigated the impact of the RB capacity on the trade-off between privacy and energy cost for the proposed EM policies. We have also shown that most of the privacy gains can be obtained with a relatively small capacity RB. In Chapter 5, we have studied the delay-constrained LT strategies for the transmission of composite Gaussian measurements from a sensor to a CC over an AWGN fading channel in a point-to-point communication problem. We have considered a wireless sensor node that can collect measurements from Jdistinct Gaussian system parameters. Discretizing time into TSs, we have assumed that the CC asks for a measurement of a particular parameter from the sensor with a certain probability at each TS. If the CSI is known by both the encoder and decoder, we have presented the optimal LT strategy in terms of the average MSE distortion under a strict delay constraint, and have given a graphical interpretation for the optimal power allocation scheme and the corresponding distortion value. Then, for general constraints, we have proposed two LT strategies, called LTHM and LTSM, based on the solution to a particular multiple measurements-parallel channels scenario, and have provided numerical results to investigate the impact of the delay and average power constraints on the performance. We have observed that if the number of parameters is more than one, i.e., J > 1, the MSE distortion decreases as the delay constraint is relaxed. We have also derived lower bounds on the achievable MSE distortion for generic and LT strategies. We have observed that LTSM outperforms LTHM at all delay constraints. When the fading channel follows a discrete distribution and the delay constraint is completely removed, we have shown analytically that both strategies meet the lower bound under certain matching conditions between the channel states and the paramater variances; and hence, achieve the optimal performance. We have also considered the case in which the CSI is known only by the decoder, and presented the optimal LT strategy in terms of the average MSE distortion under a strict delay 119
Chapter 6. Conclusions and Future Work constraint. We have derived a lower bound on the achievable MSE distortion for generic LT strategies by relaxing the delay constraint and the linearity requirement. The design of the optimal LT strategy for arbitrary delay constraints is elusive. For this argument, we have considered the multiple measurements-parallel channels scenario under a strict delay constraint and J > 1assumption, and have shown that the optimal LT performance cannot be achieved by an LT scheme that is limited to use only a one-to-one linear mapping between measurements and channels, as opposed to the results derived in [95] and [97]. 6.2 Future Work There are several possible research directions that can be considered to extend the results and findings of this thesis. From a practical standpoint, future work should extend the theoretical and numerical results of this thesis by considering more complex models. Some of the extensions are pointed out below: Regarding the SM systems considered in Chapters 3 and 4, •Numerous practical issues can be incorporated to the problem formulation with more complex models, i.e., storage inefficiencies, battery leakages, battery charging/discharging rates, the cost of repeated charging and discharging on the battery’s lifetime, processing energy costs, voltage and frequency differences between different energy sources, etc. •In the analysis of the proposed EM techniques, we consider SMs that only report the real power consumption of the user. However, SMs can also report variables such as the reactive power, the power factor or various harmonics, which can also be used to make deductions about the input load. These variables can be included to extend the analysis conducted for the proposed EM techniques. •In the analysis, we assume that the energy demand of the appliances is satisfied by transferring an equivalent amount of energy from the RB, EH unit or UP. This model can be extended by considering the effect of the supply voltage, frequency or the characteristics of the appliances on the amount of energy that needs to be requested from the corresponding energy source. •Introducing plug-in EVs, hybrid and battery-run cars, which can be used for distributed energy storage by means of their RBs, would increase the total storage capacity of the system. As an extension, it would be interesting to see the affect of these devices on the user’s privacy, energy efficiency and energy cost. 120
6.2. Future Work •Another interesting extension would be to allow the user to sell his surplus stored or renewable energy to the UP, and see its impact on the performance metrics of the SM systems. Regarding the WSN system considered in Chapter 5, •An important extension would be to come up with advanced transmission techniques that can better approach the TLB for the scenario in which the sensors do not have the CSI. In particular, the design of the optimal LT strategy for the multiple measurements-parallel channels scenario for arbitrary delay constraints would be an interesting and challenging future work. •Another challenging future work would be to study the optimal scheduling scheme in the presence of multiple sensors and parallel channels. 121
BIBLIOGRAPHY Bibliography [1] A. Ipakchi and F. Albuyeh, “Grid of the future,” IEEE Power Energy Magazine, vol. 7, no. 2, pp. 52–62, Mar.-Apr. 2009. [2] S. E. Collier, “Ten steps to a smarter grid,” IEEE Industry Applications Magazine, vol. 16, no. 2, pp. 62–68, Mar.-Apr. 2010. [3] M. Kolhe, “Smart grid: Charting a new energy future: Research, development and demonstration,” The Electricity Journal, vol. 25, no. 2, pp. 88–93, Mar. 2012. [4] S. M. Amin and B. F. Wollenberg, “Toward a smart grid: Power delivery for the 21st century,” IEEE Power and Energy Magazine, vol. 3, no. 5, pp. 34–41, Sept.-Oct. 2005. [5] Z. Fan, P. Kulkarni, S. Gormus, C. Efthymiou, G. Kalogridis, M. Sooriyabandara, Z. Zhu, S. Lambotharan, and W. Chin, “Smart grid communications: Overview of research challenges, solutions, and standardization activities,” IEEE Communications Surveys and Tutorials, vol. 15, no. 1, pp. 21–38, Jan. 2012. [6] X. Fang, S. Misra, G. Xue, and D. Yang, “Smart grid - the new and improved power grid: A survey,” IEEE Communications Surveys and Tutorials, vol. 14, no. 4, pp. 944– 980, Oct. 2012. [7] V. C. Gungor, D. Sahin, T. Kocak, S. Ergut, C. Buccella, C. Cecati, and G. P. Hancke, “Smart grid technologies: Communication technologies and standards,” IEEE Transactions on Industrial Informatics, vol. 7, no. 4, pp. 529–539, Nov. 2011. [8] F. Li, W. Qiao, H. Sun, H. Wan, J. Wang, Y. Xia, Z. Xu, and P. Zhang, “Smart transmission grid: Vision and framework,” IEEE Transactions on Smart Grid, vol. 1, no. 2, pp. 168–177, Sept. 2010. [9] U. S. Department of Energy, “Annual energy outlook 2015 with projections to 2040,” Washington, DC, USA, Apr. 2015. 123
BIBLIOGRAPHY [10] European Comission, “Energy infrastructure priorities for 2020 and beyond: a blueprint for an integrated european energy network,” Nov. 2010. [11] H. Farhangi, “The path of the smart grid,” IEEE Power and Energy Magazine, vol. 8, no. 1, pp. 18–28, Jan.-Feb. 2010. [12] S. Priya and D. J. Inman, Energy Harvesting Technologies. New York, NY, USA: Springer Science+Business Media, 2009. [13] A. Kansal, J. Hsu, S. Zahedi, and M. B. Srivastava, “Power management in energy harvesting sensor networks,” ACM Transactions on Embedded Computing Systems (TECS), vol. 6, no. 4, art. 32, Sep. 2007. [14] S. W. Hadley and A. A. Tsvetkova, “Potential impacts of plug-in hybrid electric vehicles on regional power generation,” The Electricity Journal, vol. 22, no. 10, pp. 56–68, Dec. 2009. [15] C. H. Lo and N. Ansari, “The progressive smart grid system from both power and communications aspects,” IEEE Communications Surveys and Tutorials, vol. 14, no. 3, pp. 799–821, Jul. 2012. [16] Deutsche Telekom, “Deutsche telekom smart gridframework,” available at “http://bit.ly/1UPUixJ”. [17] S. S. S. R. Depuru, L. Wang, and V. Devabhaktuni, “Smart meters for power grid: Challenges, issues, advantages and status,” Renewable and Sustainable Energy Reviews, vol. 15, no. 6, pp. 2736–2742, Aug. 2011. [18] I. Sadinezhad and V. G. Agelidis, “Slow sampling on-line harmonics/interharmonics estimation technique for smart meters,” Electric Power Systems Research, vol. 81, no. 8, pp. 1643–1653, Aug. 2011. [19] H. Li, R. Mao, L. Lai, and R. Qiu, “Compressed meter reading for delay-sensitive and secure load report in smart grid,” in Proceedings of the IEEE International Conference on Smart Grid Communications (SmartGridComm), Gaithersburg, MD, USA, Oct. 2010, pp. 114–119. [20] M. H. Albadi and E. F. El-Saadany, “A summary of demand response in electricity markets,” Electric Power Systems Research, vol. 78, no. 11, pp. 1989–1996, Nov. 2008. [21] F. Rahimi and A. Ipakchi, “Demand response as a market resource under the smart grid paradigm,” IEEE Transactions on Smart Grid, vol. 1, no. 1, pp. 82–88, Jun. 2010. 124
BIBLIOGRAPHY [22] P. Palensky and D. Dietrich, “Demand side management: Demand response, intelligent energy systems, and smart loads,” IEEE Transactions on Industrial Informatics, vol. 7, no. 3, pp. 381–388, Aug. 2011. [23] S. Borenstein, M. Jaske, and A. Rosenfeld, Dynamic pricing, advanced metering, and demand response in electricity markets. Berkeley, CA: Center for the Study of Energy Markets, University of California Energy Institute, Technical Report CSEM WP 105, Oct. 2002. [24] G. Wood and M. Newborough, “Dynamic energy-consumption indicators for domestic appliances: Environment, behaviour and design,” Energy and Buildings, vol. 35, no. 8, pp. 821–841, Sept. 2003. [25] P. Siano, “Demand response and smart grids—A survey,” Renewable and Sustainable Energy Reviews, vol. 30, pp. 461–478, Feb. 2014. [26] S. S. S. R. Depuru, L. Wang, and V. Devabhaktuni, “Electricity theft: Overview, issues, prevention and a smart meter based approach to control theft,” Energy Policy, vol. 39, no. 2, pp. 1007–1015, Feb. 2011. [27] The Institution of Engineering and Technology, “What is a smart grid,” Sept. 2013. [28] P. McDaniel and S. McLaughlin, “Security and privacy challenges in the smart grid,” IEEE Security Privacy, vol. 7, no. 3, pp. 75–77, May-Jun. 2009. [29] E. L. Quinn, “Privacy and the new energy infrastructure,” Social Science Research Network, Feb. 2009. [30] M. Jawurek, F. Kerschbaum, and G. Danezis, “Sok: Privacy technologies for smart grids a survey of options,” Microsoft Technical Report, Nov. 2012. [31] Y. Yan, Y. Qian, H. Sharif, and D. Tipper, “A survey on cyber security for smart grid communications,” IEEE Communications Surveys and Tutorials, vol. 14, no. 4, pp. 998– 1010, Oct. 2012. [32] Y. Mo, T. H.-J. Kim, K. Brancik, D. Dickinson, H. Lee, A. Perrig, and B. Sinopoli, “Cyber–physical security of a smart grid infrastructure,” Proceedings of the IEEE, vol. 100, no. 1, pp. 195–209, Jan. 2012. [33] S. Cui, Z. Han, S. Kar, T. Kim, H. V. Poor, and A. Tajer, “Coordinated data-injection attack and detection in the smart grid: A detailed look at enriching detection solutions,” IEEE Signal Processing Magazine, vol. 29, no. 5, pp. 106–115, Sept. 2012. 125