Next Article in Journal
Novel Multi-Time Scale Deep Learning Algorithm for Solar Irradiance Forecasting
Previous Article in Journal
Experimental Study of Absorbent Hygiene Product Devolatilization in a Bubbling Fluidized Bed
Previous Article in Special Issue
Standardization Challenges, Opportunities and Recent Evolutions for the G3-PLC Technology
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Sensitivity-Informed Bayesian Inference for Home PLC Network Models with Unknown Parameters

Sandia National Laboratories, 7011 East Ave., Livermore, CA 94550, USA
*
Author to whom correspondence should be addressed.
Energies 2021, 14(9), 2402; https://doi.org/10.3390/en14092402
Submission received: 19 February 2021 / Revised: 16 April 2021 / Accepted: 19 April 2021 / Published: 23 April 2021

Abstract

:
Bayesian inference is used to calibrate a bottom-up home PLC network model with unknown loads and wires at frequencies up to 30 MHz. A network topology with over 50 parameters is calibrated using global sensitivity analysis and transitional Markov Chain Monte Carlo (TMCMC). The sensitivity-informed Bayesian inference computes Sobol indices for each network parameter and applies TMCMC to calibrate the most sensitive parameters for a given network topology. A greedy random search with TMCMC is used to refine the discrete random variables of the network. This results in a model that can accurately compute the transfer function despite noisy training data and a high dimensional parameter space. The model is able to infer some parameters of the network used to produce the training data, and accurately computes the transfer function under extrapolative scenarios.

1. Introduction

Power Line Communications (PLC) are expected to be a key component of smart-grids, allowing grid usage to be monitored without adding extensive infrastructure. PLC systems use existing power lines as two-way communication channels and can be implemented in a broad range of scenarios, including home/office networks, device-specific billing, smart energy management, automatic meter reading, and power outage detection [1,2,3,4,5,6]. PLC systems are classified into three categories based on bandwidth: ultra narrowband (UNB) systems have frequencies ranging from 0.3–3 kHz, narrowband (NB) systems have a frequency range of 3–500 kHz, and broadband (BB) systems have frequencies of 1.8–250 MHz [7]. Lower frequencies are less affected by transmission losses and are therefore more effective over long distances, but have a lower data transmission rate. Devices for remote meter reading and monitoring power grid conditions generally use UNB or NB systems. In contrast, BB systems target applications within a home network such as home automation and control, energy management systems, and decreasing energy consumption and cost [8]. The issue with PLC systems is that because they use existing power lines that are not designed for carrying communication signals, and can have high variability in the loads and wiring, the conditions are highly dependent on the specific network topology and loads. Therefore, PLC systems have to be tweaked for specific environments based on the network frequencies, noise, electromagnetic compatibility, and power source. It is important to develop models that can characterize transmission pathways for specific networks to be able to effectively and reliably transmit communications.
There are two existing methods of modeling transmission pathways: top-down and bottom-up models [9,10]. The top-down modeling approach views conductive propagation as an unknown function to be estimated based on training data, and so does not use any prior information such as the network topology or component connections, but rather implements a parametric model based on transmission line (TL) theory [11]. This model, best suited for when the network topology is unavailable, was first proposed by Philips [12], later augmented by Zimmerman and Dostert [13], and it is based on the superposition of signal reflections at various loads predicted by TL theory. The primary disadvantage of a top-down model is that it cannot predict the impact of topology on the conductive propagation pathway, nor how this pathway varies given a change in this topology.
In contrast to a top-down model, bottom-up modeling views conductive propagation as a deterministic quantity of the network topology and its network components. Assuming knowledge of the power network, the network elements can be modeled mathematically to compute the conductive pathway characteristics [14]. Voltage ratios, ABCD matrices, and s-parameters are three popular methods [15] to rigorously incorporate TL theory into models for signal propagation. The bottom-up approach is closely related to the physics of power networks, being derived from electromagnetic wave propagation in transmission line networks, and so can be used for network-related system modeling. On the other hand, the bottom-up approach is computationally complex, and it cannot account directly for unknown network components [14]. There have been many bottom-up network models for different applications and of varying complexity [9,10,16,17,18,19,20]. A recent review of contributions to PLC modeling is provided by Masood et al. [7].
This work combines elements of both top-down and bottom-up modeling to create models with the same framework as bottom-up models, but which use network-specific data to estimate parameters as in top-down models. The frequency response of a network is calculated using TL theory to maintain a physics-driven model, but the parameter estimation results in a network model that closely matches network-specific data. This allows models to be calibrated for specific networks with unknown loads or wires.
We use Bayesian inference to calibrate unknown parameters in a home network topology. Bayesian inference is a method of calibrating system parameters with noisy data, and does not require gradients as in most optimization methods [21]. Bayesian inference has been used for parameter estimation in a wide variety of fields, but to the authors’ knowledge, it has not been applied to power line communication models. We employ a Markov Chain Monte Carlo (MCMC) approach to draw samples from the high-dimensional joint posterior distribution for all model parameters, and specifically use a variant of this algorithm, namely transitional MCMC (TMCMC), which is designed to evaluate models in parallel and draw samples from challenging distributions [22].
This paper is organized as follows: Section 2 describes the network topology and load models, Section 3 describes the modeling framework, Section 4 shows results of the calibrated model, and Section 5 has conclusions and suggestions for future works.

2. PLC Network Topology

The PLC network topology used in this work is a modified version of the network used in Marrocco et al. [16] and models a home network at frequencies up to 10 MHz. The loads in each room are connected through wires to a junction box (JB). There are two types of wiring connection structures connecting the loads to each JB, similar to those used in Marroco et al. [16] and Huang et al. [23]. In a star connection, each load is at the termination of a wire, so a single wire connects the load to the JB. In a bus connection, only two wires are directly connected to the JB, and the other loads are connected via parallel connections to the wiring, except those at the terminations of the two wires. Figure 1 shows schematics of both room types. The JB in each room is connected to a service panel through which power is provided to the house, shown in Figure 2. Two outlets in the house are connected to a transmitter and receiver, respectively, which are used to measure the transfer function of the voltage between them. The transmitter and receiver have constant resistance loads with variable magnitude. The service panel and JBs do not have loads.

2.1. Cable Modeling

The cables are modeled using TL theory [24]. The resistance, inductance, capacitance, and conductance ( R , L , C , and G , respectively) are used to calculate a propagation constant γ and characteristic impedance Z 0 using Equations (1) and (2).
γ = ( R + j 2 π f L ) ( G + j 2 π f C )
Z 0 = R + j 2 π f L G + j 2 π f C
The wire properties are obtained from Ref. [25] and generalized to the equal radius, two-wire case. Skin depth is defined as:
δ = 1 / π μ 0 σ f
where μ 0 = 4 π · 10 7 [H/m] is the vacuum permeability and σ = 5.8 · 10 7 S/m is the conductivity of copper. The wire properties are given by:
R = 1 π σ r w 2 , if r w 2 δ 1 2 r w μ 0 f π σ , if r w 2 δ
L = μ 0 π log ( d c r w ) , C = μ 0 ϵ L 1 , G = 2 π f tan ( δ ) C
where r w is the wire radius in meters, d c is the distance between conductors, and ϵ = 3.19 · 10 11 [F/m] is the dielectric constant of PVC.
The distance between conductors d c is assumed to be equal to the insulator diameter. A linear fit is used to approximate d c as a function of r w based on wire gauge sizes between 6 and 16 with Thermoplastic High Heat-resistant Nylon (THHN) insulation. The insulation dimensions are obtained from Ref. [26]. The relation is:
d c = 4 · 10 4 + 3.02 r w
In reality, wires are available in wire gauge sizes, and therefore have discrete valued properties rather than continuous valued properties. Various other PLC model studies have used wire properties in discrete wire types [9,16,27,28]. However, it is difficult to infer discrete valued parameters using in a high-dimensional inference setting. Sampling methods such as jump-diffusion [29] and reversible-jump Metropolis-Hastings [30] were developed to infer discrete parameters, but they are extremely computationally expensive in a high-dimensional system. We therefore chose to use a continuous wire model rather than attempting to infer discrete wire parameters. Continuous wire models have also been used in several PLC modeling studies, including Refs. [10,17,31].

2.2. Load Modeling

Appliances in home networks are classified as one of four different types: constant impedances, time-invariant but frequency-selective impedances, time-varying harmonic impedances, and time-varying commuted impedances [9]. Various previous studies have developed PLC models using these load types, including Refs. [9,16,17,18]. The frequency-selective, time-varying harmonic, and time-varying commuted loads all have impedances based on a parallel RLC circuit, but have different variations in time.
Constant impedance loads are characterized by their power P r , which can be converted to resistance by:
R = U 2 / P r ,
where U = 120 V in the United States, the voltage provided to the network. The impedance Z of a constant impedance load is equal to the resistance, Z = R . Time-invariant frequency-selective loads are derived from a parallel RLC circuit model [9]. The impedance is given by:
Z ( ω ) = R 1 + j Q f ω ω 0 ω 0 ω
where Q f is the quality factor, ω = 2 π f , and the resonance frequency is f 0 = ω 0 2 π .
Both time-varying harmonic and time-varying commuted impedances vary over the mains period, which is 16.67 ms (60 Hz) in North America and 20 ms (50 Hz) in most of the world. Time-varying harmonic impedances are calculated as follows. Z B ( ω ) is a frequency-selective load calculated with (8), and Z A = 50 Ω . The impedance of a time-varying harmonic load is:
Z ( ω , t ) = Z A ( ω ) + Z B ( ω ) s i n 2 π t + ϕ f o r 0 t 1
where ϕ is the phase, and t is the discrete time, which is defined with M intervals between 0 and 1. The impedance of a time-varying harmonic load varies between Z A and Z A + Z B over the mains period.
The impedance of time-varying commuted loads is defined as follows. Z B ( ω ) is a frequency-selective load calculated with (8), and Z A ( ω ) = 0.5 Z B ( ω ) . The impedance is:
Z ( ω , t ) = Z A ( ω ) if ( 0 t D ) or ( T + D t 0.5 + D ) or ( 0.5 + T + D t 1 ) Z B ( ω ) if ( D < t T + D ) or ( 0.5 + D < t 0.5 + T + D )
Here, D and T are parameters that define the timing of the impedance variations.

2.3. Network Parameter Generation

In the previous sections, we described the equations pertaining to wire and load properties. We now describe the parameters employed for this study. The home appliances modeled here have power P r between 5 W and 5000 W. Appliance power data and approximate usage is obtained from several online sources [32,33,34]. The appliances are grouped into categories based on their power. Table 1 shows the power groups and probabilities that each load belongs to each group. These probabilities are estimated by considering the average usage of appliances in each group. This provides a more realistic load power distribution than a uniform distribution.
The load types (constant, frequency-selective, time-varying commuted, time-varying harmonic) are randomly generated with equal probability. The resonant frequency f 0 = ω 0 / 2 π is generated over the range [ 300 kHz , 30 MHz ] . The quality factor Q f has a uniform distribution over [ 5 , 25 ] . For time-varying harmonic loads, the phase ϕ has a uniform distribution over [ 0 , π ] . For time-varying commuted loads, T has a uniform distribution over [ 0 , M / 4 ] , and D has a uniform distribution over [ 0 , M / 2 T ] . For both harmonic and commuted time-varying loads, Z B is a frequency-selective load with randomly chosen P r , f 0 , Q f as described earlier.
The wires between the service panel and junction boxes are randomly generated with radii in the range [ 1.03 , 2.06 ] mm (corresponding to wire gauge size between 12 and 6) and have length in the range [5, 20] m. The wires in the rooms are randomly generated with radii in the range [ 0.81 , 1.29 ] mm (corresponding to wire gauge size between 10 and 14) and have length in the range [2, 5] m.
The model network is solved over a frequency range from 300 kHz to 30 MHz, with a frequency resolution of 300 kHz. In the time-domain, M = 20 ; however, both time-varying loads are periodic with a period half the mains period, so solving the network over a discrete time t between 0 and 1 / 2 of the mains period is sufficient.
The network topology used here is shown in Figure 2 and has four rooms, each with four outlets. Two of the rooms have star connections, and the other two have bus connections. The transmitter and receiver are connected to outlets in different rooms, and all outlets except those containing the transmitter and receiver have loads. The loads are labeled Lx-y, where x is a number corresponding to the room and y designates the load number in the room.

3. Modeling

Several mathematical tools are used here for modeling a network frequency response, and a summary of each is given in this section.

3.1. Network Simulation

The channel transfer function H is calculated from a fully defined network using two-port network theory [24,35]. The channel transfer function is defined as the ratio of the transmitter voltage V t r a n s and the receiver voltage V r e c .
H = V r e c / V t r a n s
The transfer function is computed using ABCD matrices. The matrix elements corresponding to a cable are calculated from Z 0 and γ as:
A B C D = cos h ( γ l ) Z 0 sin h ( γ l ) 1 Z 0 sin h ( γ l ) cos h ( γ l )
These components are computed for each cable and load, and are then combined for all the loads and wires between the transmitter and receiver. The channel transfer function (in decibels) is then calculated using (13) [16].
H = 20 l o g 10 R r e c A R r e c + B + R t r a n s ( C R r e c + D )
where A , B , C , D are the matrix elements of the combined ABCD matrix, R t r a n s is the transmitter impedance, and R r e c is the receiver impedance. See the Appendix A for more details on how the transfer function is computed using two-port networks.
The network solver was written in Python and interfaced with the Bayesian inference code. The solver was verified against the code of Cañete et al. [9] for a simplified network.

3.2. Bayesian Inference

We employ a probabilistic framework to estimate model parameters based on data [21]. Specifically, we cast the inference in a Bayesian framework, which helps update our prior knowledge about the model parameters by comparing the model predictions with the available data. From the Bayes rule:
p ( θ | d ) p ( d | θ ) p ( θ )
where d R N d is the observed data, θ is the set of model parameters, and p ( ) designates a probability. p ( θ ) is called the prior probability and encodes any prior knowledge, including expert opinion, one might have about the model in the context of a particular application. p ( d | θ ) , called the likelihood, measures the agreement between the model and the data for select parameter values. Close agreement between the model and the data will result in higher values for the posterior p ( θ | d ) .
For this work, the prior was set to a uniform distribution between the bounds set for the model parameters. We employ a Gaussian approximation for the likelihood:
p ( d | θ ) = i = 0 N d N ( d i y i , σ 2 )
where y R N d is the output of the proposed, and N ( μ , σ 2 ) denotes a normal distribution with mean μ and variance σ 2 . Since σ is unknown, it is inferred as one of the parameters.
To apply Bayesian inference, parameter samples must be drawn from the prior distribution and the likelihood evaluated via (15). If the samples are drawn randomly from the prior distribution, it can take a prohibitively large number of samples to reasonably approximate the posterior, unless the number of parameters N θ is very small. Instead, Markov chain Monte Carlo (MCMC) methods are generally used to draw samples from the distribution of p ( d | θ ) . MCMC methods take a sample and propose a modification to the sample, then estimate the likelihood at the proposed point. The proposed sample can be accepted or rejected depending on the posterior value at the new location. Therefore, samples are more likely be drawn to regions of parameter space with high posterior values. For details, see Refs. [21,36].
There are a variety of MCMC methods that could be used. Single chain methods such as the Metropolis-Hastings method [37], adaptive Metropolis (AM) [38], or delayed rejection adaptive Metropolis (DRAM) [39] update a single sample many times, making a single chain. This work uses transitional Markov chain Monte Carlo (TMCMC), which has been shown to be more robust for high dimensional parameter spaces than single chain methods [22,40,41]. TMCMC uses a series of intermediate distributions, given in (16), to  transition a set of samples from the prior to the posterior distribution:
p j ( θ | d ) p ( d | θ ) β j p ( θ ) , j = 0 , . . . , m , 0 = β 0 < β 1 < . . . < β m = 1
β j is a parameter that is increased from 0 to 1 to transition the samples gradually from the prior to the posterior. This gradual change prevents the samples from immediately clustering in locally favorable regions without exploring a larger region of parameter space.
For the PLC networks presented here, the parameters θ correspond to the wire length l, wire radius r w , load power P r , resonance frequency f 0 , phase ϕ , load parameters D and T, and the standard deviation σ for the discrepancy between the model and the data. There are additional network parameters Q f , but a sensitivity analysis showed that they had marginal effects on the transfer function, so they are ignored when performing Bayesian inference to keep the parameter space lower dimensional. The load types can also be considered parameters, but they only take on discrete values and are not directly calibrated with TMCMC. Therefore, the load types are considered a separate set of discrete parameters Θ and the parameters that take on continuous values are the continuous parameters θ . The continuous parameters have a direct dependence on the discrete parameters, so θ ( Θ ) . Furthermore, the number of continuous parameters θ is dependent on the discrete parameters Θ because a load will have a different number of continuous parameters depending on the load type (constant loads have one continuous parameter, frequency selective loads have two, time-varying harmonic loads have three, and time-varying commuted loads have four).
Because of the dependence of continuous parameters on discrete parameters, θ ( Θ ) , for this work we will infer θ for fixed Θ choices. The Bayesian inference update rule, in (14), becomes:
p ( θ | d , Θ ) p ( d | θ , Θ ) p ( θ | Θ ) p ( Θ )
For simplicity, and since we are not comparing models across different sets of Θ , the dependence of continuous parameters on the discrete parameters is left out of the notation in this work.

3.3. Sensitivity Analysis

We employ Global Sensitivity Analysis (GSA) to estimate how the change in network modeling output can be apportioned to changes in the continuous parameters θ . With the focus on statistical model calibration, we employ variance-decomposition methods where the total output variance is decomposed into fractions associated with the model parameters and their interactions.
The effects of input parameters θ = { θ 1 , , θ N θ } and their interactions on a model output M , are quantified through Sobol indices [42,43,44]. The first order Sobol indices are given by:
S i = Var θ i [ E θ i ( M | θ i ) ] Var θ [ M ] , i = 1 , , N θ
where θ i = { θ 1 , , θ i 1 , θ i + 1 , , θ N θ } , E θ i [ · ] is the expectation with respect to θ i , and Var θ i [ · ] is the variance with respect to θ i . Note that, in this context, subscript i can denote one parameter or a group of parameters. The first-order Sobol indices estimate the fractional contribution of each input parameter θ i to the total variance of the model output.
Sobol indices are computed using UQ Toolkit [45], an open-source library for uncertainty quantification. The UQ Toolkit estimates Sobol indices using Monte Carlo (MC) algorithms proposed by Ref. [46].

3.4. Sensitivity-Informed Bayesian Inference

The network topologies in this work generally have over 50 continuous parameters θ that could be optimized, but a 50 parameter space is too high-dimensional to directly pursue a statistical inference study. Many of the parameters are for loads and wires far from the main path between the transmitter and receiver, and likely have an negligible effect on the transfer function. The objective of sensitivity-informed Bayesian inference is to perform Bayesian inference only on parameters that have a significant effect on the transfer function. We use Sobol indices to calculate how sensitive the frequency response is to each continuous parameter and only perform Bayesian inference on the d t most sensitive parameters. For a network with randomly generated discrete parameters Θ , Sobol indices are computed for all continuous parameters θ , then Bayesian inference is performed on a subset of θ designated as the trainable parameters θ t θ , consisting of the d t most sensitive parameters.
Sensitivity-informed Bayesian inference can only calibrate θ for assumed Θ . Therefore, random search methods are applied to identify the discrete parameters Θ in a three-part process. First, sensitivity-informed Bayesian inference is applied to N r 1 different realizations of the network, each with different randomly generated Θ . The different realizations are independent and can be run in parallel to speed up the computational time. In the second part, further refinements are made with a random greedy search on the discrete parameters. For N r 2 iterations, a single discrete parameter Θ j is randomly regenerated, and Bayesian inference is performed only on the dependent parameters θ ( Θ j ) . Every third iteration, three random parameters θ are selected and inference is performed on them to ensure that the wires length and radius are also updated, as those parameters are not dependent on discrete parameters Θ . At each stage, the new model is saved only if it is more accurate than the previous model, making it a greedy algorithm. In the third part, a single run of sensitivity-informed Bayesian inference is performed to ensure the most sensitive parameters are calibrated and to obtain an accurate sample distribution for error analysis.
To compare different calibrated models, the continuous ranked probability score (CRPS) is used [47,48,49]. CRPS provides an aggregate value expressing a prediction error for probabilistic outputs. The advantage of the CRPS over simply using the standard deviation is that it accounts for non-Gaussian distributions. See Ref. [49] for details.
The full algorithm for calibrating the network model is given in Algorithm 1.
Algorithm 1: Algorithm for calibration network model
Energies 14 02402 i001
To summarize Algorithm 1, in the initial inference step, sensitivity-informed Bayesian inference is run on a number of randomly generated network realizations. In the random search step, the most accurate model is repetitively modified, and Bayesian inference is applied only to a few parameters. In the final refinement step, sensitivity-informed Bayesian inference is applied to the most accurate model to generate parameter samples from the posterior distribution for accurate error analysis. The model calibration is all done in an offline stage, where computational resources are not a significant barrier. Model predictions of the calibrated model can then be made in an online stage very quickly.

3.5. Predictive Assessment

We will employ both pushed-forward distributions and Bayesian posterior-predictive distributions [50] to assess the predictive skill of the transfer function. The pushed-forward distribution is the model distribution computed directly from the samples, and the Bayesian posterior-predictive distribution is the model distribution inclusive of the statistical discrepancy between the model and the data (and therefore accounts for model form and/or measurements errors). The process used to generate push-forward posterior estimates is formalized as:
p ( θ | d ) { θ ( 1 ) , , θ ( m ) Posterior Samples } H ( θ ) { d ( pf , 1 ) , , d ( pf , m ) } p pf ( d ( pf ) | d ) .
Here, d ( pf ) denotes hypothetical data and p pf ( d ( pf ) | d ) denotes the push-forward probability density of the hypothetical data d ( pf ) conditioned on the observed data d . We start with samples from the posterior distribution p ( θ | d ) . These samples are readily available from the TMCMC exploration of the parameter space. Using these samples, we evaluate the transfer function H and collect the resulting d ( pf ) = H ( θ ) samples that correspond to the push-forward posterior distribution p pf ( d ( pf ) | d ) .
The pushed-forward posterior does not account for the discrepancy between the data d and the model predictions, subsumed into the definition of the likelihood function in (15). The Bayesian posterior-predictive distribution, defined in (20), is computed by marginalization of the likelihood over the posterior distribution of model parameters θ :
p pp y ( pp ) | d = θ p ( y ( pp ) | θ ) p ( θ | d ) d θ .
In practice, we estimate p pp y ( pp ) | d through sampling. The sampling workflow is similar to the one shown in (19). After the model evaluations d = H ( θ ) are completed, we add random noise consistent with the likelihood model settings presented in (15). The resulting samples are used to compute summary statistics of p pp d ( pp ) | d . For example, the modeled transfer function is the mean of p pp d ( pp ) | d .

4. Results

All results shown here are for the network topology shown in Figure 2. Bayesian inference is done using the network frequency response for four combinations of the transmitter and receiver resistances at 20 Ω and 100 Ω . The frequency response computed at the different resistances and different times is concatenated to form the model output. To test the inference methodology, it is more appropriate to use simulation data rather than actual measurements in order that the parameters of the model are known exactly. Therefore, the “true” network transfer function is calculated with a set of randomly generated Θ and θ . Noise is added to the “true” transfer function to simulate experimental measurement noise. The noise is zero mean Gaussian noise with a standard deviation on 0.1 dB. The resulting data d is then used to calibrate the network model.
There are several algorithm parameters that must be determined, namely N s 1 , N s 2 , N r 1 , N r 2 , and d t . A convergence study was done to ensure that a sufficient number of samples is used in TMCMC and that a sufficient number of parameters are optimized during the Bayesian inference. The convergence study found that using N s 1 = 30 , 000 , N s 2 = 300 and optimizing the d t = 20 most sensitive parameters resulted in accurate inferences. The number of realizations were set at N r 1 = 10 and N r 2 = 200 . A larger number of realizations did not improve the model. For computing Sobol indices, 3000 samples were drawn for each dimension of parameter space. For brevity the convergence study is not shown here. All results shown are from the final refinement step of Algorithm 1.
This section is organized as follows: Section 4.1 examines Sobol indices of parameters from a baseline case, and Section 4.2 examines marginal distributions in the parameter space. Section 4.3 shows results on the baseline case and Section 4.4 shows results in an extrapolative scenario. Section 4.5 shows results from 30 different realizations to show how reliably network parameters are inferred.

4.1. Sensitivity Analysis

The Sobol indices are computed in the final refinement step of Algorithm 1 to identify the most sensitive parameters. Table 2 shows the 20 most sensitive parameters for the calibrated model of a single network realization along with the corresponding Sobol indices. The two most sensitive parameters are the load power and resonance frequency of load L4-3, which is the only load directly adjacent to the main path between transmitter and receiver. All other parameters have Sobol indices below 0.021, but the 20 most sensitive parameters have Sobol indices about 0.005. Note that parameters with a low Sobol index can still be important to the model. Sobol indices measure the importance of each parameter to the overall output variance, and the L4-3 load power is most important in determining the magnitude of the transfer function, i.e., changing load power will change the magnitude, but not significantly affect the shape of the transfer function. However, the other parameters need to be calibrated to accurately model the frequency dependence of the transfer function.

4.2. Marginal Parameter Distributions

The Bayesian methods used to calibrate the PLC model are equipped to deal with heterogeneous sources of uncertainty, in this case from our modeling assumptions, i.e., model and parametric uncertainties, as well as experimental errors. The samples drawn from the posterior can be used to examine the correlations between model parameters and the impact of modeling assumptions on the predictive capabilities of the model. Here, the samples are used to compute marginal density functions using kernel density estimation [51,52] with a Gaussian kernel.
The 1D and 2D marginal density functions are shown in Figure 3 for the 20 most sensitive parameters listed in Table 2. The logarithm of σ is included as the final parameter. The plots on the diagonal of Figure 3 show the 1D density functions normalized such that the values are between 0 and 1. The off-diagonal plots show the 2D joint marginals for pairs of parameters. Some of the off-diagonal plots exhibit a skewed marginal density, suggesting some level of correlation for the corresponding pair of parameters. For example, parameters 4 and 15 (fifteenth row, fourth column) show a negative correlation. These parameters are wire lengths of adjacent wires, so it is not surprising that they are correlated. There are also correlations between the load power and frequency of load L4-3 (second row, first column), as well as several wires connected to the service panel ( θ 6 , θ 8 ). Uncertainty quantification methods often assume uncorrelated parameter distributions, which sometimes leads to summary statistics that are wider than expected. Accounting for correlations or dependencies between model parameters in a Bayesian framework will lead to more accurate error bounds.

4.3. Network Inference

Figure 4 shows the modeled transfer function computed from the calibrated model at R r e c = R t r a n s = 100 Ω . The error bounds shown are the 95% confidence intervals computed from the standard deviation of p pp y ( pp ) | d . The calibrated model reproduces the true data reasonably well despite being trained on the noisy data. Slight discrepancies are observed at approximately 15 MHz, but the modeled transfer function generally captures the peak frequencies accurately.
Figure 5 shows the model transfer function at each of the four transmitter/receiver resistance combinations along with the true data. The model replicates the true transfer function accurately for each different set of resistances.
It is of interest to know how accurate the calibrated model is at identifying load and wire parameters. Table 3 shows the load types and several load parameters (load power and resonance frequency) for the true network and calibrated model. The model correctly inferred the load type of L4-3 and accurately identified the load power and resonance frequency for that load. However, the load types are less accurately identified for most other loads. Note that load L4-3 is the only load directly adjacent to the main path between the transmitter and receiver. Overall, eight of the fourteen (57%) loads types are modeled correctly, but if the model randomly chose load types, only 25% of them would be correct. The load parameters of most loads are highly inaccurate as a result of the load types being inaccurate.
A similar comparison of wire radii and wire lengths is shown in Table 4. The error shown is normalized by the total range, shown in Equation (21). This is done because the wires can have different lengths depending on the position in the network, as explained in Section 2.3.
% E r r o r r = 100 % · | T r u e M o d e l | M a x M i n
It should be noted that the % E r r o r r can vary between 0% and 100%, and has a mean of 33.3% if both the true and model values are chosen randomly. The error normalized by the range therefore gives more information on whether parameters are actually inferred than error normalized by the true value. Table 4 shows that for most wires, the model is poor at identifying both radius and length. However, the model identifies the wire length with reasonable accuracy for four wires connected to the service panel. This is a high dimensional system and with noisy training data, so it is unsurprising that the model incorrectly identifies many of the parameters.

4.4. Model Predictions at Other Resistances

A more rigorous test of the calibrated model is determining its accuracy when extrapolating. The calibrated network model is physics-based, meaning the model uses equations based on the underlying physics of the network topology and TL theory. Physics-based models have been found to perform better than basic data-fitting methods in many physical science applications [53]. One benefit of physics-based models is that they generally perform better when the inputs are outside the range of the training data, whereas non-physics-based data fitting methods such as machine learning generally give highly inaccurate predictions under extrapolative scenarios.
In this section, the calibrated model is tested with different transmitter and receiver resistances in extrapolative scenarios. In Figure 6, the transfer function of the inferred model is calculated with four transmitter and receiver resistance combinations at resistances of 10 Ω and 400 Ω . Despite being trained on transmitter/receiver resistances at 20 Ω and 100 Ω , the model is very accurate at the other resistances. Slight inaccuracies are observed in the 15–20 MHz range, particularly for the R t r a n s = 400 Ω , R r e c = 10 Ω case. However, the model generally gives very accurate predictions within the model error bounds.
For comparison, the transfer functions for four cases when the transmitter and receiver resistances are equal are plotted together in Figure 7. A non-physics-based model would have to predict the transfer function at R t r a n s = R r e c = 10 and R t r a n s = R r e c = 400 based on the other two transfer functions, whereas the model presented here can use data when the transmitter and receiver resistances are not equal to improve the model. Note that there are many frequencies when trends between different resistances are difficult or impossible to predict just based on the 20 Ω and 100 Ω cases; for example at 3 MHz, the transfer function at R t r a n s = R r e c = 100 Ω and 20 Ω are almost equal, but is lower at 400 Ω and 10 Ω . This trend would be impossible to predict using non-physics-based models with data only at 20 Ω and 100 Ω , but is accurately predicted using the calibrated model.

4.5. Statistical Analysis of Multiple Network Realizations

The results shown previously all use a single realization of the network to analyze how accurately the model parameters are inferred. Here calibrations are done for 30 different realizations of the network to analyze statistically how accurately the calibration infers network parameters.
Figure 8 shows the true and modeled transfer function at R t r a n s = R r e c = 100 Ω for the first ten realizations. In each realization, the modeled transfer function accurately reproduces the true transfer function, showing that the calibration method is robust. From the earlier analysis of a single realization, the only load that was accurately inferred was load L4-3, so it is of particular interest to know how well the network infers that load. Table 5 shows the load type, power, and resonance frequency of load L4-3 for the first 15 realizations (for brevity only 15 are shown). Most load type and resonance frequencies are estimated well by the model. The modeled load power is less accurately inferred, but is always within a factor of 8 × . For reference, the load power can vary by a factor of 1000 × , so load power is reasonably well inferred. Out of the 30 realizations, the load type was correctly inferred in 23 of them (77%).
Table 6 shows the % E r r o r r for wire radius and wire length averaged over the 30 realizations. The 95% confidence intervals of % E r r o r r are ± 8 % for both wire radius and wire length, calculated from the standard deviation of % E r r o r r and averaging the confidence intervals over every wire. Table 6 indicates that the calibration is able to infer information about wire radius only for wires connected to the service panel. However, information on wire length is inferred for wires connected to the service panel, transmitter, and receiver. The average % E r r o r r for all wires except those connected to the service panel, transmitter, and receiver is 32.3% for wire radius and 28.6% for wire length. Since % E r r o r r is 33.3% for random guessing, this indicates that the method presented here is unable to infer wire radius for any of the wires not connected to the service panel, transmitter, and receiver, and is not consistently inferring wire length data for those wires.
Though the calibration is able to infer wire parameters of the wires connected to the service panel, transmitter, and receiver, they are less accurate than parameters of load L4-3. This is likely because there are unobserved latent variables in the network that have more control over the transfer function. The wires are likely closely coupled throughout the network in such a way that the network transfer function is accurate even though individual wires may not be inferred accurately. For example, the wires connecting the service panel to nodes JB1 and JB4 are both on the main path between transmitter and receiver, so it is possible that for certain realizations, the combined length of those two wires is more important than the individual lengths. The average absolute error | T r u e M o d e l | for the length of wire SP–JB1 is 3.9 m and the average error for wire SP–JB4 is 3.6 m. However, the average error when the wire lengths are added is 3.7 m, even though the combined wire length has a larger range of 10–40 m instead of 5–20 m for the single wires, and therefore the error on the sum of the wire lengths would be larger if the wire lengths are independent.
This analysis has shown that the calibrated model can infer some network parameters, mainly those on the main path between transmitter and receiver. Despite inaccuracies in the inferred parameters, the calibrated model accurately computes the transfer function for the network even under extrapolative scenarios.

5. Conclusions

Bayesian inference is used to calibrate a home network PLC model when the loads and wires are unknown. The model uses TL theory to calculate the network transfer function, resulting in a physics-based model similar to bottom-up models, but that can be calibrated to specific networks. The calibration uses Sobol indices to select the most sensitive parameters and then applies Bayesian inference on the selected parameters. Further refinements to calibrate the load and wire types are done through a greedy random search that regenerates individual load types and applies Bayesian inference on the dependent continuous parameters.
The resulting model can accurately reproduce the true transfer function despite being trained on noisy data. The model is also shown to be accurate in extrapolative scenarios. The calibrated model is most accurate at inferring the load closest to the main path between transmitter and receiver, and it can also infer some knowledge of wire parameters also on the main path. However, many of the other model parameters are inaccurate due to several reasons. The model is high dimensional, containing 15 loads and 20 wires, each of which contain one to five parameters. The training data is a vector of dimension 4000, but most of the points are highly correlated, so the training data can be considered fairly low dimensional. As a result, there are likely many model parameter combinations that satisfy or nearly satisfy the training data. In addition, the training data has noise, so even the correct parameters from the true model may not be optimal for the training data. Finally, the sensitivity-informed Bayesian inference method presented here can only identify continuous parameters accurately, but the load types (discrete parameters) are identified through random searches which are unlikely to find the true load and wire types.
There are a number of possible directions for future works to take. Future works could target improving the calibration process, as the method presented here has shortcomings; in particular, the method of identifying load types could use improvement. Future works could also use more realistic network topology models as well as more complex loads. The wire model used here is very simple, so more complex wire models with discrete valued parameters could be used. More complex PLC models could be used that incorporate noise and signal filtering. In addition, models could incorporate signal couplers between low voltage and medium voltage networks. Future studies could use the calibrated model to examine the effects of disturbances in the power grid such as voltage dips and brief power outages. Future works could also target gaining more information from the network to improve the model, and developing models when the network topology is only partially known. Future work is planned to take measurements and use the method presented here to develop a model.

Author Contributions

Conceptualization, T.A.R.; methodology, D.S.C., C.S., T.A.R.; software, D.S.C.; validation, D.S.C.; formal analysis, D.S.C.; investigation, D.S.C.; resources, C.S.; data curation, D.S.C., C.S.; writing—original draft preparation, D.S.C.; writing—review and editing, D.S.C., C.S., T.A.R.; visualization, D.S.C.; supervision, C.S., T.A.R.; project administration, T.A.R.; funding acquisition, T.A.R. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by Defense Nuclear Nonproliferation Research and Development. Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering Solutions of Sandia, LLC., a wholly owned subsidiary of Honeywell International, Inc., for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-NA-0003525. This paper describes objective technical results and analysis. Any subjective views or opinions that might be expressed in the paper do not necessarily represent the views of the U.S. Department of Energy or the United States Government.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

We are grateful to Lee Rashkin and Jason Neely (Sandia National Laboratories, Albuquerque, NM, USA) for their suggestions and input to this work.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

Abbreviations

BBBroadband
CRPSContinuous ranked probability score
GSAGlobal sensitivity analysis
JBJunction box
PLCPower line communications
MCMCMarkov Chain Monte Carlo
NBNarrowband
PVCPolyvinyl chloride
SPService panel
TLTransmission line
THHNThermoplastic high heat-resistant nylon
TMCMCTransitional Markov Chain Monte Carlo
UNBUltra narrowband

Appendix A. Network Solution Using ABCD Matrices

The network transfer function is solved using ABCD matrices. ABCD matrices define the ratio of voltage and current between two points, as given in Equation (A1) and shown schematically in Figure A1.
Figure A1. Schematic of two-port network.
Figure A1. Schematic of two-port network.
Energies 14 02402 g0a1
V n + 1 I n + 1 = A n + 1 B n + 1 C n + 1 D n + 1 V n I n
ABCD matrices can be combined using the chain rule:
V n + 1 I n + 1 = A n + 1 B n + 1 C n + 1 D n + 1 A n B n C n D n V n 1 I n 1
A node connecting to multiple other nodes containing ABCD matrices (Figure A2) can be combined into the main path:
A 3 B 3 C 3 D 3 = 1 0 D 1 B 1 + D 2 B 2 1
Figure A2. Schematic of combining ABCD matrices in parallel.
Figure A2. Schematic of combining ABCD matrices in parallel.
Energies 14 02402 g0a2
A series load with impedance Z can be expressed as a two-port network with matrix:
1 Z 0 1
The network transfer function is solved by first finding the main path between the transmitter and receiver, and then recursively combining matrices into the main path. Then, the chain rule is used to combine matrices on the main path into a single ABCD matrix between the receiver and transmitter, after which (13) is used to compute the transfer function.

References

  1. Galli, S.; Scaglione, A.; Wang, Z. For the grid and through the grid: The role of power line communications in the smart grid. Proc. IEEE 2011, 99, 998–1027. [Google Scholar] [CrossRef] [Green Version]
  2. Nassar, M.; Lin, J.; Mortazavi, Y.; Dabak, A.; Kim, I.H.; Evans, B.L. Local utility power line communications in the 3–500 kHz band: Channel impairments, noise, and standards. IEEE Signal Process. Mag. 2012, 29, 116–127. [Google Scholar] [CrossRef]
  3. Sonmez, M.A.; Zehir, M.A.; Bagriyanik, M.; Nak, O. Impulsive noise survey on power line communication networks up to 125 kHz for smart metering infrastructure in systems with solar inverters in Turkey. In Proceedings of the 2013 International Conference on Renewable Energy Research and Applications (ICRERA), Madrid, Spain, 20–23 October 2013; pp. 705–710. [Google Scholar]
  4. Coelho, P.; Gomes, M.; Moreira, C. Smart metering technology. In Microgrids Design and Implementation; Springer: Berlin/Heidelberg, Germany, 2019; pp. 97–137. [Google Scholar]
  5. Van de Kaa, G.; Fens, T.; Rezaei, J.; Kaynak, D.; Hatun, Z.; Tsilimeni-Archangelidi, A. Realizing smart meter connectivity: Analyzing the competing technologies power line communication, mobile telephony, and radio frequency using the best worst method. Renew. Sustain. Energy Rev. 2019, 103, 320–327. [Google Scholar] [CrossRef]
  6. Mlỳnek, P.; Rusz, M.; Benešl, L.; Sláčik, J.; Musil, P. Possibilities of broadband power line communications for smart home and smart building applications. Sensors 2021, 21, 240. [Google Scholar] [CrossRef] [PubMed]
  7. Masood, B.; Khan, M.A.; Baig, S.; Song, G.; Rehman, A.U.; Rehman, S.U.; Asif, R.M.; Rasheed, M.B. Investigation of deterministic, statistical and parametric NB-PLC channel modeling techniques for advanced metering infrastructure. Energies 2020, 13, 3098. [Google Scholar] [CrossRef]
  8. Lopez, G.; Matanza, J.; De La Vega, D.; Castro, M.; Arrinda, A.; Moreno, J.I.; Sendin, A. The role of power line communications in the smart grid revisited: Applications, challenges, and research initiatives. IEEE Access 2019, 7, 117346–117368. [Google Scholar] [CrossRef]
  9. Canete, F.J.; Cortes, J.A.; Diez, L.; Entrambasaguas, J.T. A channel model proposal for indoor power line communications. IEEE Commun. Mag. 2011, 49, 166–174. [Google Scholar] [CrossRef]
  10. Tonello, A.M.; Versolatto, F. Bottom-up statistical PLC channel modeling—Part I: Random topology model and efficient transfer function computation. IEEE Trans. Power Deliv. 2011, 26, 891–898. [Google Scholar] [CrossRef]
  11. Tonello, A.M.; Versolatto, F.; Béjar, B.; Zazo, S. A fitting algorithm for random modeling the PLC channel. IEEE Trans. Power Deliv. 2012, 27, 1477–1484. [Google Scholar] [CrossRef] [Green Version]
  12. Phillipps, H. Modelling of powerline communication channels. In Proceedings of the 3rd International Symposium on Power-Line Communications and its Applications (ISPLC’99), Lancaster, UK, 30 March–1 April 1999; pp. 14–21. [Google Scholar]
  13. Zimmermann, M.; Dostert, K. A multipath model for the powerline channel. IEEE Trans. Commun. 2002, 50, 553–559. [Google Scholar] [CrossRef] [Green Version]
  14. Zhu, W.; Zhu, X.; Lim, E.; Huang, Y. State-of-art power line communications channel modelling. Procedia Comput. Sci. 2013, 17, 563–570. [Google Scholar] [CrossRef] [Green Version]
  15. Frickey, D.A. Conversions between S, Z, Y, H, ABCD, and T parameters which are valid for complex source and load impedances. IEEE Trans. Microw. Theory Tech. 1994, 42, 205–211. [Google Scholar] [CrossRef]
  16. Marrocco, G.; Statovci, D.; Trautmann, S. A PLC broadband channel simulator for indoor communications. In Proceedings of the 2013 IEEE 17th International Symposium on Power Line Communications and Its Applications, Johannesburg, South Africa, 24–27 March 2013; pp. 321–326. [Google Scholar]
  17. Fang, X.; Wang, N.; Gulliver, T.A. A PLC channel model for home area networks. Energies 2018, 11, 3344. [Google Scholar] [CrossRef] [Green Version]
  18. Aalamifar, F.; Schlögl, A.; Harris, D.; Lampe, L. Modelling power line communication using network simulator-3. In Proceedings of the 2013 IEEE Global Communications Conference (GLOBECOM), Atlanta, GA, USA, 9–13 December 2013; pp. 2969–2974. [Google Scholar]
  19. Passerini, F.; Righini, D.; Tonello, A.M. A bottom-up PLC channel model that includes radiation effects. In Proceedings of the 2018 IEEE International Symposium on Power Line Communications and its Applications (ISPLC), Manchester, UK, 8–11 April 2018; pp. 1–6. [Google Scholar]
  20. Masood, B.; Haider, A.; Baig, S. Modeling and characterization of low voltage access network for narrowband powerline communications. J. Electr. Eng. Technol. 2017, 12, 443–450. [Google Scholar] [CrossRef] [Green Version]
  21. Gilks, W.R.; Richardson, S.; Spiegelhalter, D.J. Markov Chain Monte Carlo in Practice; Chapman and Hall: London, UK, 1996. [Google Scholar]
  22. Ching, J.; Chen, Y.C. Transitional Markov chain Monte Carlo method for Bayesian model updating, model class selection, and model averaging. J. Eng. Mech. 2007, 133, 816–832. [Google Scholar] [CrossRef]
  23. Huang, Y.X.; Zhang, X.D.; Yu, F.; Wei, Y.Q.; Zhang, H.L. Networking of smart meters based on time-varying feature of low-voltage power line channel in microgrid. Complexity 2021, 2021. [Google Scholar] [CrossRef]
  24. Ferreira, H.C.; Lampe, L.; Newbury, J.; Swart, T.G. Power Line Communications: Theory and Applications for Narrowband and Broadband Communications Over Power Lines; John Wiley & Sons: Hoboken, NJ, USA, 2010. [Google Scholar]
  25. Paul, C.R. Analysis of Multiconductor Transmission Lines; John Wiley & Sons: Hoboken, NJ, USA, 2007. [Google Scholar]
  26. Panduit. Electrical Wire Sizes Selection Guide. 2011. Available online: http://www.panduit.com/heiler/SelectionGuides/WW-WASG03%20Electrical%20Wire%20Sizes-WEB%207-7-11.pdf (accessed on 20 April 2021).
  27. Gruber, F.; Lampe, L. On PLC channel emulation via transmission line theory. In Proceedings of the 2015 IEEE International Symposium on Power Line Communications and Its Applications (ISPLC), Austin, TX, USA, 29 March–1 April 2015; pp. 178–183. [Google Scholar]
  28. Cortés, J.A.; Canete, F.J.; Diez, L.; Torres, L.M.; Hispania, S.M. On PLC channel models: An OFDM-based comparison. In Proceedings of the 2013 IEEE 17th International Symposium on Power Line Communications and Its Applications, Johannesburg, South Africa, 24–27 March 2013; pp. 333–338. [Google Scholar]
  29. Grenander, U.; Miller, M.I. Representations of knowledge in complex systems. J. R. Stat. Soc. Ser. B 1994, 56, 549–581. [Google Scholar] [CrossRef]
  30. Green, P.J. Reversible jump Markov chain Monte Carlo computation and Bayesian model determination. Biometrika 1995, 82, 711–732. [Google Scholar] [CrossRef]
  31. Corchado, J.A.; Cortés, J.A.; Canete, F.J.; Díez, L. An MTL-based channel model for indoor broadband MIMO power line communications. IEEE J. Sel. Areas Commun. 2016, 34, 2045–2055. [Google Scholar] [CrossRef]
  32. U.S. Department of Energy. Estimating Appliance and Home Electronic Energy Use. 2020. Available online: https://www.energy.gov/energysaver/save-electricity-and-fuel/appliances-and-electronics/estimating-appliance-and-home (accessed on 20 April 2021).
  33. Wholesale Solar. How Much Power Do Your Appliances Use? 2020. Available online: https://www.wholesalesolar.com/solar-information/power-table (accessed on 20 April 2021).
  34. Matanuska Electric Association. Common Household Appliance Energy Use. 2014. Available online: http://www.mea.coop/wp-content/uploads/2014/06/High-Bill-Packet.pdf (accessed on 20 April 2021).
  35. Golden, P.; Dedieu, H.; Jacobsen, K.S. Fundamentals of DSL Technology; CRC Press: Boca Raton, FL, USA, 2005. [Google Scholar]
  36. Geyer, C.J. Practical Markov chain Monte Carlo. Stat. Sci. 1992, 7, 473–483. [Google Scholar] [CrossRef]
  37. Chib, S.; Greenberg, E. Understanding the Metropolis-Hastings algorithm. Am. Stat. 1995, 49, 327–335. [Google Scholar]
  38. Haario, H.; Saksman, E.; Tamminen, J. An adaptive Metropolis algorithm. Bernoulli 2001, 7, 223–242. [Google Scholar] [CrossRef] [Green Version]
  39. Haario, H.; Laine, M.; Mira, A.; Saksman, E. DRAM: Efficient adaptive MCMC. Stat. Comput. 2006, 16, 339–354. [Google Scholar] [CrossRef]
  40. Betz, W.; Papaioannou, I.; Straub, D. Transitional Markov chain Monte Carlo: Observations and improvements. J. Eng. Mech. 2016, 142, 04016016. [Google Scholar] [CrossRef] [Green Version]
  41. Ching, J.; Wang, J.S. Application of the transitional Markov chain Monte Carlo algorithm to probabilistic site characterization. Eng. Geol. 2016, 203, 151–167. [Google Scholar] [CrossRef]
  42. Sobol, I.M. On sensitivity estimation for nonlinear mathematical models. Mat. Model. 1990, 2, 112–118. [Google Scholar]
  43. Saltelli, A.; Tarantola, S.; Campolongo, F. Sensitivity analysis as an ingredient of modeling. Stat. Sci. 2000, 15, 377–395. [Google Scholar]
  44. Sobol, I.M. Global sensitivity indices for nonlinear mathematical models and their Monte Carlo estimates. Math. Comput. Simul. 2001, 55, 271–280. [Google Scholar] [CrossRef]
  45. Sargsyan, K.; Safta, C.; Chowdhary, K.S.; Castorena, S.; De Bord, S.; Debusschere, B. UQTk Version 3.0 User Manual; Technical Report; Sandia National Lab.: Livermore, CA, USA, 2016.
  46. Saltelli, A. Making best use of model evaluations to compute sensitivity indices. Comput. Phys. Commun. 2002, 145, 280–297. [Google Scholar] [CrossRef]
  47. Brown, T.A. Admissible Scoring Systems for Continuous Distributions; The Rand Corporation: Santa Monica, CA, USA, 1974. [Google Scholar]
  48. Matheson, J.E.; Winkler, R.L. Scoring rules for continuous probability distributions. Manag. Sci. 1976, 22, 1087–1096. [Google Scholar] [CrossRef]
  49. Hersbach, H. Decomposition of the continuous ranked probability score for ensemble prediction systems. Weather. Forecast. 2000, 15, 559–570. [Google Scholar] [CrossRef]
  50. Lynch, S.M.; Western, B. Bayesian posterior predictive checks for complex models. Sociol. Methods Res. 2004, 32, 301–335. [Google Scholar] [CrossRef] [Green Version]
  51. Rosenblatt, M. Remarks on some nonparametric estimates of a density function. Ann. Math. Stat. 1956, 27, 832–837. [Google Scholar] [CrossRef]
  52. Parzen, E. On estimation of a probability density function and mode. Ann. Math. Stat. 1962, 33, 1065–1076. [Google Scholar] [CrossRef]
  53. Carleo, G.; Cirac, I.; Cranmer, K.; Daudet, L.; Schuld, M.; Tishby, N.; Vogt-Maranto, L.; Zdeborová, L. Machine learning and the physical sciences. Rev. Mod. Phys. 2019, 91, 045002. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Schematic of room wiring connection types.
Figure 1. Schematic of room wiring connection types.
Energies 14 02402 g001
Figure 2. Schematic of network topology. Junction boxes are designated as JBx and loads are designated Lx-y, where x is the room number and y is the load number in the room.
Figure 2. Schematic of network topology. Junction boxes are designated as JBx and loads are designated Lx-y, where x is the room number and y is the load number in the room.
Energies 14 02402 g002
Figure 3. Marginal distributions of 20 parameters from last TMCMC calibration.
Figure 3. Marginal distributions of 20 parameters from last TMCMC calibration.
Energies 14 02402 g003
Figure 4. Calibrated model transfer function at R r e c = R t r a n s = 100 Ω . The results shown are at the first discrete time t = 0 . The blue symbols are the true transfer function and the red symbols are the transfer function with added noise.
Figure 4. Calibrated model transfer function at R r e c = R t r a n s = 100 Ω . The results shown are at the first discrete time t = 0 . The blue symbols are the true transfer function and the red symbols are the transfer function with added noise.
Energies 14 02402 g004
Figure 5. Calibrated model transfer function (lines) and true transfer function (symbols) at various resistances.
Figure 5. Calibrated model transfer function (lines) and true transfer function (symbols) at various resistances.
Energies 14 02402 g005
Figure 6. Inferred model transfer function (lines) and true transfer function (symbols) at various transmitter and receiver resistances.
Figure 6. Inferred model transfer function (lines) and true transfer function (symbols) at various transmitter and receiver resistances.
Energies 14 02402 g006
Figure 7. True transfer function for various resistances.
Figure 7. True transfer function for various resistances.
Energies 14 02402 g007
Figure 8. Calibrated model transfer function (lines) and true transfer function (symbols) at R t r a n s = R r e c = 100 Ω for 10 different realizations.
Figure 8. Calibrated model transfer function (lines) and true transfer function (symbols) at R t r a n s = R r e c = 100 Ω for 10 different realizations.
Energies 14 02402 g008
Table 1. Appliance power groups and probability that an appliance powered on belongs to each group.
Table 1. Appliance power groups and probability that an appliance powered on belongs to each group.
Appliance power5–20 W20–100 W100–500 W500–5000 W
Probability0.50.20.20.1
Table 2. Parameters in Figure 3. The node names are from Figure 2.
Table 2. Parameters in Figure 3. The node names are from Figure 2.
ParameterParameter TypeConnecting NodesSobol Index
θ 1 Load P r L4-30.627
θ 2 Load f 0 L4-30.199
θ 3 Wire lJB4–L4-10.021
θ 4 Wire lSP–JB20.016
θ 5 Wire lSP–JB30.013
θ 6 Wire lSP–JB40.012
θ 7 Load P r L1-30.011
θ 8 Wire lSP–JB10.011
θ 9 Load DL4-30.010
θ 10 Load P r L4-10.010
θ 11 Wire lJB4–L4-30.010
θ 12 Load f 0 L4-10.009
θ 13 Wire lL4-3–Receiver0.009
θ 14 Wire lJB2–L2-10.009
θ 15 Wire lJB2–L2-30.008
θ 16 Wire lL4-1–L4-20.006
θ 17 Wire lJB1–L1-30.006
θ 18 Load P r L2-10.006
θ 19 Load TL4-30.006
θ 20 Wire lJB1–Transmitter0.005
Table 3. Load types, load power, and resonance frequency for the true model and calibrated model. The node names are from Figure 2.
Table 3. Load types, load power, and resonance frequency for the true model and calibrated model. The node names are from Figure 2.
LoadLoad TypeLoad Power (W)Resonance Freq (MHz)
TrueModelTrueModelTrueModel
L1-1ConstantTime-varying harmonic13.222.7-7.5
L1-2ConstantTime-varying harmonic38.165.1-23.6
L1-3Time-varying harmonicConstant69.0414.111.1-
L2-1Frequency selectiveTime-varying commuted54.2243.328.918.2
L2-2Time-varying commutedFrequency selective37.75.224.019.0
L2-3ConstantFrequency selective9.427.6-18.8
L2-4Frequency selectiveFrequency selective51.5282.521.415.5
L3-1Time-varying harmonicTime-varying commuted51.037.723.920.5
L3-2Frequency selectiveTime-varying commuted96.6245.519.03.5
L3-3Time-varying harmonicTime-varying harmonic18.0132.419.916.9
L3-4Time-varying commutedConstant471.773.06.6-
L4-1Time-varying commutedFrequency selective76.0173.618.712.9
L4-2Time-varying harmonicTime-varying commuted90.466.16.516.2
L4-3Time-varying commutedTime-varying commuted14.69.416.517.7
Table 4. Wire radius and length for the true model and calibrated model. The node names are from Figure 2.
Table 4. Wire radius and length for the true model and calibrated model. The node names are from Figure 2.
Connecting NodesWire Radius (mm)Wire Length (m)
TrueModel%ErrorrTrueModel%Errorr
SP–JB11.471.8518.1%5.395.671.8%
SP–JB21.461.0420.0%9.9610.594.2%
SP–JB31.241.8831.2%14.2914.380.6%
SP–JB41.331.424.35%9.009.362.4%
JB1–Transmitter1.071.1413.1%3.313.465.1%
JB1–L1-11.011.1733.8%2.532.1313.3%
JB1–L1-20.861.1662.1%2.664.4760.4%
JB1–L1-31.291.2214.4%2.362.525.4%
JB2–L2-11.021.057.3%4.334.340.4%
L2-1– L2-21.171.0328.9%3.293.9421.6%
JB2–L2-31.061.060.2%3.073.9328.6%
L2-3– L2-41.251.0541.8%2.022.5618.0%
JB3–L3-11.051.0010.6%3.243.8921.6%
JB3–L3-21.200.9943.6%2.692.2315.1%
JB3–L3-31.171.1112.7%4.404.254.9%
JB3–L3-41.281.0450.3%4.753.9825.7%
JB4–L4-10.931.1545.6%2.564.9981.0%
L4-1– L4-21.190.9059.6%3.595.0046.9%
JB4–L4-30.891.1962.5%4.612.0186.9%
L4-3– Receiver0.940.895.5%4.234.181.41%
Table 5. Load types, load power, and resonance frequency for load L4-3 of the true and calibrated model for 15 realizations.
Table 5. Load types, load power, and resonance frequency for load L4-3 of the true and calibrated model for 15 realizations.
Model #Load TypeLoad Power (W)Resonance Freq (MHz)
TrueModelTrueModelTrueModel
1Time-varying commutedTime-varying commuted14.69.3516.517.7
2Time-varying harmonicFrequency selective322.532.07.064.01
3ConstantConstant18.035.4--
4Time-varying harmonicTime-varying harmonic11.133.321.921.0
5Frequency selectiveConstant17.292.77.3-
6ConstantConstant293.4279.2--
7Frequency selectiveFrequency selective319.9930.721.621.0
8ConstantConstant63.533.4--
9ConstantConstant44.267.5--
10Time-varying commutedTime-varying commuted3078.63760.727.828.1
11Frequency selectiveFrequency selective3179.74770.69.59.3
12ConstantFrequency selective19.56.0-3.0
13Time-varying harmonicTime-varying harmonic128.442.221.318.4
14Time-varying commutedTime-varying commuted271.4267.514.314.7
15Time-varying harmonicTime-varying harmonic29.2231.611.410.4
Table 6. Average errors (in %) for wire length and radius from the 30 realizations. The node names are from Figure 2.
Table 6. Average errors (in %) for wire length and radius from the 30 realizations. The node names are from Figure 2.
Connecting NodesWire RadiusWire Length
Mean %ErrorrMean %Errorr
SP–JB119%26%
SP–JB216%26%
SP–JB317%27%
SP–JB415%24%
JB1–Transmitter30%7%
JB1–L1-132%28%
JB1–L1-236%34%
JB1–L1-335%22%
JB2–L2-124%42%
L2-1– L2-237%22%
JB2–L2-332%26%
L2-3– L2-435%26%
JB3–L3-130%30%
JB3–L3-236%31%
JB3–L3-331%36%
JB3–L3-437%22%
JB4–L4-130%21%
L4-1– L4-231%29%
JB4–L4-329%32%
L4-3–Receiver40%12%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ching, D.S.; Safta, C.; Reichardt, T.A. Sensitivity-Informed Bayesian Inference for Home PLC Network Models with Unknown Parameters. Energies 2021, 14, 2402. https://doi.org/10.3390/en14092402

AMA Style

Ching DS, Safta C, Reichardt TA. Sensitivity-Informed Bayesian Inference for Home PLC Network Models with Unknown Parameters. Energies. 2021; 14(9):2402. https://doi.org/10.3390/en14092402

Chicago/Turabian Style

Ching, David S., Cosmin Safta, and Thomas A. Reichardt. 2021. "Sensitivity-Informed Bayesian Inference for Home PLC Network Models with Unknown Parameters" Energies 14, no. 9: 2402. https://doi.org/10.3390/en14092402

APA Style

Ching, D. S., Safta, C., & Reichardt, T. A. (2021). Sensitivity-Informed Bayesian Inference for Home PLC Network Models with Unknown Parameters. Energies, 14(9), 2402. https://doi.org/10.3390/en14092402

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop