Comparison Between Bayesian and Maximum Entropy Analyses of Flow Networks†
Abstract
:1. Introduction
2. Bayesian Analysis
- diag() places the elements of a vector on the diagonal of a square matrix of zeros;
- the set contains the indices of the equations required to uniquely define from ;
- the matrix is an connectivity matrix containing elements . Its entries indicate membership of edge r to the node i, given by 0 if the edge is not connected to the node, 1 if the assumed direction of or is entering the node and otherwise;
- the vector is an vector of flow resistances;
- the matrix is a loop matrix containing elements , where w is the number of independent cycles (loops) within the network. Its entries indicate membership of edge r within loop i, given by 0 if the edge is not in the loop, 1 if the assumed direction of is in a clockwise direction around the loop and otherwise;
- the matrix is a matrix containing either 0 or 1 in each of its elements. Each row will have a single 1 on the index corresponding to the dimension of the observed link, with the remaining elements set to 0;
- and are the numbers of flow rate observation locations for flows entering/exiting or within the network respectively; and
- the matrix is a pseudo-loop matrix containing , where is the number of potential difference constraints applied. The pseudo-loop matrix contains paths between nodes of known pressure or potential values. For convenience, these are referenced to the potential at a single reference node ; this gives as the vector of mean potential differences between and , for all nodes with potential observations. The entries in indicate membership of edge r within the potential difference constraint index i, given by 0 if the edge is not in the constraint, 1 if the assumed direction of is defined as in the direction from node 0 to node j, and otherwise.
- The likelihood function to incorporate conservation of mass at each node or Kirchhoff’s first law (or the flow rate for incompressible systems) is given by a delta functionThis delta function is defined by the limit of a Gaussian distribution
- The likelihood function to incorporate the loop laws for each loop, Kirchhoff’s second law, is given by a delta function
- Observed flow rates can be constrained using the likelihood function
- Observed potential differences can be constrained with the likelihood function
3. MaxEnt Analysis with Soft Constraints Implemented in the Prior
3.1. Formulation
- Normalisation of probability:
- Kirchhoff’s first law, for the conservation of flow rates at each internal node, here imposed in the mean:
- Kirchhoff’s second law, which requires the potential difference to vanish around each enclosed loop, again imposed in the mean:
- A set of specified inflow/outflow and internal flow rate constraints:
- Potential difference constraints between pairs of nodes:
3.2. Solution and Comparison to Bayesian Solution
4. MaxEnt Analysis with Soft Probabilistic Constraints
4.1. Formulation
- Normalisation of probability:
- Kirchhoff’s first law, for the conservation of flow rates at each internal node, here imposed in the mean:
- Kirchhoff’s second law, which requires the potential difference to vanish around each enclosed loop, again imposed in the mean:
- A set of specified inflow/outflow and internal flow rate constraints assuming the uncertainty is described by a Gaussian distribution:
- Potential difference constraints between pairs of nodes again assuming the uncertainty is described by a Gaussian distribution:
4.2. Solution and Comparison to Bayesian Solution
5. Discussion
Acknowledgments
Author Contributions
Conflicts of Interest
References
- Sivia, D.; Skilling, J. Data Analysis: A Bayesian Tutorial, 2nd ed.; Oxford University Press: Oxford, UK, 2006. [Google Scholar]
- Rougier, J.; Goldstein, M. A Bayesian analysis of fluid flow in pipe-lines. J. R. Stat. Soc. 2001, 50, 77–93. [Google Scholar] [CrossRef]
- Savic, D.A.; Kapelan, Z.S.; Jonkergouw, P.M. Quo vadis water distribution model calibration? Urban Water J. 2009, 6, 3–22. [Google Scholar] [CrossRef]
- Hutton, C.J.; Kapelan, Z.; Vamvakeridou-Lyroudia, L.; Savic, D. Real-time demand estimation in water distrubtion systems under uncertainty. In Proceedings of the 14th Water Distribution Systems Analysis Conference ( WDSA 2012), Adelaide, Australia, 24–27 September 2012; pp. 1374–1385.
- Hutton, C.; Kapelan, Z. Real-time Burst Detection in Water Distribution Systems Using a Bayesian Demand Forecasting Methodology. Procedia Eng. 2015, 119, 13–18. [Google Scholar] [CrossRef] [Green Version]
- Jaynes, E.T. Information Theory and Statistical Mechanics. Phys. Rev. 1957, 106, 620–630. [Google Scholar] [CrossRef]
- Jaynes, E.T. Information Theory and Statistical Mechanics. II. Phys. Rev. 1957, 108, 171–190. [Google Scholar] [CrossRef]
- Kapur, J.N.; Kesavan, H.K. Entropy Optimization Principles with Applications; Academic Press: Boston, MA, USA, 1992. [Google Scholar]
- Jaynes, E.T. Probability Theory: The Logic of Science; Cambridge University Press: Cambridge, UK, 2003. [Google Scholar]
- Pressé, S.; Ghosh, K.; Lee, J.; Dill, K.A. Principles of maximum entropy and maximum caliber in statistical physics. Rev. Mod. Phys. 2013, 85, 1115–1141. [Google Scholar] [CrossRef]
- Shannon, C.E. A Mathematical Theory of Communication. Bell Syst. Tech. J. 1948, 27, 623–656. [Google Scholar] [CrossRef]
- Shore, J.; Johnson, R. Axiomatic derivation of the principle of maximum entropy and the principle of minimum cross-entropy. IEEE Trans. Inf. Theory 1980, 26, 26–37. [Google Scholar] [CrossRef]
- Caticha, A. Relative entropy and inductive inference. In Proceedings of the 23rd International Workshop on Bayesian Inference and Maximum Entropy Methods in Science and Engineering, Jackson Hole, Wyoming, 3–8 August 2003.
- Boltzmann, L. Über die Beziehung zwischen dem zweiten Hauptsatz der mechanischen Wärmetheorie und der Wahrscheinlichkeitsrechnung respektive den Sätzen über das Wärmegleichgewicht (On the Relationship between the Second Fundamental Theorem of the Mechanical Theory of H. Wiener Berichte 1877, 2, 373–435. (In German) [Google Scholar]
- Sharp, K.; Matschinsky, F. Translation of Ludwig Boltzmann’s Paper “On the Relationship between the Second Fundamental Theorem of the Mechanical Theory of Heat and Probability Calculations Regarding the Conditions for Thermal Equilibrium” Sitzungberichte der Kaiserlichen Akademie der Wissenschaften. Entropy 2015, 17, 1971–2009. [Google Scholar]
- Jaynes, E.T. Prior Probabilities. IEEE Trans. Syst. Sci. Cybern. 1968, 4, 227–241. [Google Scholar] [CrossRef]
- Niven, R.K. Combinatorial entropies and statistics. Eur. Phys. J. B 2009, 70, 49–63. [Google Scholar] [CrossRef]
- Planck, M. Ueber das Gesetz der Energieverteilung im Normalspectrum. Annalen der Physik 1901, 309, 553–563. (In German) [Google Scholar] [CrossRef]
- Tribus, M. Thermostatics and Thermodynamics: An Introduction to Energy, Information and States of Matter, with Engineering Applications; Van Nostrand: New York, NY, USA, 1961. [Google Scholar]
- Ellis, R.S. Entropy, Large Deviations, and Statistical Mechanics; Springer: Berlin/Heidelberg, Germany, 1985. [Google Scholar]
- Kullback, S.; Leibler, R.A. On Information and Sufficiency. Ann. Math. Stat. 1951, 22, 79–86. [Google Scholar] [CrossRef]
- Waldrip, S.H.; Niven, R.K.; Abel, M.; Schlegel, M. Maximum entropy analysis of hydraulic pipe networks. In Proceedings of the 33rd International Workshop on Bayesian Inference and Maximum Entropy Methods in Science and Engineering (MaxEnt 2013), Canberra, Australia, 15–20 December 2013; pp. 180–186.
- Waldrip, S.H.; Niven, R.K.; Abel, M.; Schlegel, M.; Noack, B.R. MaxEnt analysis of a water distribution network in Canberra, ACT, Australia. In Proceedings of the 2014 Bayesian Inference and Maximum Entropy Methods In Science and Engineering (MaxEnt 2014), Amboise, France, 21–26 September 2014; pp. 479–486.
- Waldrip, S.H.; Niven, R.K.; Abel, M.; Schlegel, M. Maximum Entropy Analysis of Hydraulic Pipe Flow Networks. J. Hydraul. Eng. 2016, 142, 04016028. [Google Scholar] [CrossRef]
- Waldrip, S.; Niven, R.K.; Abel, M.; Schlegel, M. Reduced-Parameter Method for Maximum Entropy Analysis of Hydraulic Pipe Flow Networks. J. Hydraul. Eng. 2016. submitted. [Google Scholar]
- Waldrip, S.H. The Probabilistic Analysis of Flow Networks. PhD Thesis, The University of New South Wales, Canberra, Australia, 2017. [Google Scholar]
- Niven, R.K.; Abel, M.; Schlegel, M.; Waldrip, S.H. Maximum entropy analysis of flow networks. In Proceedings of the 33rd International Workshop on Bayesian Inference and Maximum Entropy Methods in Science and Engineering (MaxEnt 2013), Canberra, Australia, 15–20 December 2013; pp. 159–164.
- Niven, R.K.; Abel, M.; Schlegel, M.; Waldrip, S.H. Maximum entropy analysis of flow and reaction networks. In Proceedings of the 2014 Bayesian Inference and Maximum Entropy Methods In Science and Engineering (MaxEnt 2014), Amboise, France, 21–26 September 2014; pp. 271–278.
- Niven, R.; Waldrip, S.; Abel, M.; Schlegel, M.; Noack, B. Maximum Entropy Analysis of Flow Networks with Nonlinear Constraints. In Proceedings of the 2nd International Electronic Conference on Entropy and Its Applications, Basel, Switzerland, 15–30 November 2015; p. A012.
- Williams, P.M. Bayesian Conditionalisation and the Principle of Minimum Information. Br. J. Philos. Sci. 1980, 31, 131–144. [Google Scholar] [CrossRef]
- Caticha, A.; Giffin, A. Updating Probabilities. In Proceedings of the 26th International Workshop on Bayesian Inference and Maximum Entropy Methods, Paris, France, 8–13 July 2006; pp. 31–42.
- Giffin, A.; Caticha, A. Updating probabilities with data and moments. In Proceedings of the 27th International Workshop on Bayesian Inference and Maximum Entropy Methods in Science and Engineering (MaxEnt 2007), Saratoga Springs, NY, USA, 8–13 July 2007; pp. 74–84.
- Giffin, A. Maximum Entropy: The Universal Method for Inference. PhD Thesis, University at Albany, State University of New York, Albany, NY, USA, 2008. [Google Scholar]
- Hennig, P.; Kiefel, M. Quasi-Newton Methods: A New Direction. In Proceedings of the 29th International Conference on Machine Learning (ICML-12), Edinburgh, Scotland, 26 June–1 July 2012; pp. 25–32.
- Hennig, P.; Kiefel, M. Quasi-Newton Methods: A New Direction. J. Mach. Learn. Res. 2013, 14, 843–865. [Google Scholar]
- Waldrip, S.H.; Niven, R.K. Maximum Entropy Derivation of Quasi-Newton Methods. SIAM J. Optim. 2016, 26, 2495–2511. [Google Scholar] [CrossRef]
- Woodbury, M.A. Inverting Modified Matrices; Memorandum Report 42; Princeton University: Princeton, NJ, USA, 1950. [Google Scholar]
© 2017 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ( http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Waldrip, S.H.; Niven, R.K. Comparison Between Bayesian and Maximum Entropy Analyses of Flow Networks†. Entropy 2017, 19, 58. https://doi.org/10.3390/e19020058
Waldrip SH, Niven RK. Comparison Between Bayesian and Maximum Entropy Analyses of Flow Networks†. Entropy. 2017; 19(2):58. https://doi.org/10.3390/e19020058
Chicago/Turabian StyleWaldrip, Steven H., and Robert K. Niven. 2017. "Comparison Between Bayesian and Maximum Entropy Analyses of Flow Networks†" Entropy 19, no. 2: 58. https://doi.org/10.3390/e19020058
APA StyleWaldrip, S. H., & Niven, R. K. (2017). Comparison Between Bayesian and Maximum Entropy Analyses of Flow Networks†. Entropy, 19(2), 58. https://doi.org/10.3390/e19020058