Modelling of Uncertainties with Modelica

Daniel Bouskela
EDF R&D, France

Audrey Jardin
EDF R&D, France

Zakia Benjelloun-Touimi
IFP Energies nouvelles, France

Peter Aronsson
MathCore Engineering

Peter Fritzson
Linköping University, Department of Computer and Information Science, Sweden

Ladda ner artikelhttp://dx.doi.org/10.3384/ecp11063673

Ingår i: Proceedings of the 8th International Modelica Conference; March 20th-22nd; Technical Univeristy; Dresden; Germany

Linköping Electronic Conference Proceedings 63:75, s. 673-685

Visa mer +

Publicerad: 2011-06-30

ISBN: 978-91-7393-096-3

ISSN: 1650-3686 (tryckt), 1650-3740 (online)


Many industrial applications; e.g. in power systems; need to use uncertain information (e.g. coming from sensors). The influence of uncertain measurements on the behavior of the system must be assessed; for safety reasons for instance. Also; by combining information given by physical models and sensor measurements; the accuracy of the knowledge of the state of the system can be improved; leading to better plant monitoring and maintenance.

Three well established techniques for handling uncertainties using physical models are presented: data reconciliation; propagation of uncertainties and interpolation techniques. Then; the requirements for handling these techniques in Modelica environments are given. They apply to the Modelica language itself: how to specify the uncertainty problem to be solved directly in the Modelica model. They also apply to model processing: what are the pieces of information that must be automatically extracted from the model and provided to the standard algorithms that compute the uncertainties.

Modelica language extensions in terms of two new pre-defined attributes; uncertain and distribution; are introduced for Real and Integer variables. This is needed to differentiate between certain (the usual kind) variables and uncertain variables which have associated probability distributions. An algorithm for extracting from the Modelica model the auxiliary conditions needed by the data reconciliation algorithm is given. These new features have been partially implemented in the MathModelica tool (and soon OpenModelica).


Data reconciliation; propagation of uncertainties; distribution probability laws; Jacobian matrix; Modelica language extensions; model processing


[1] Fang K.T.; Li R.; Sudjianto A.; Design and Modeling for computer experiments; Chapmann & Hall/CRC; 2006

[2] Santner T.; Williams B.; Notz W.; The Design and Analysis of Computer Experiments; Springer; Berlin; 2003.

[3] Canaud M.; Wahl F.; Helbert C.; Carraro L.; Design of experiments for smoke depollution from the output of diesel engine; submitted.

[4] Ferraille M.; Busby D.; Uncertainty management on a reservoir workflow; in International Petroleum Technology Conference; IPTC13768; 2009.

[5] Verein Deutscher Ingenieure; Uncertainties of measurement during acceptance tests on energyconversion and power plants – Fundamentals; Standard VDI 2048; 2000.

[6] Zornoza J.; Favennec J.-M.; Szaleniec S.; Piedfer O.; Feedwater Flow-rate And Thermal Power Monitoring And Adjustment By Data Reconciliation In NPPs; in Proceedings of the 51st ISA POWID Symposium; June 8-13; Scottsdale; USA; 2008.

[7] Torabzadeh-Tari M.; Fritzson P.; Sjölund M.; Pop A.; OpenModelica-Python Interoperability Applied to Monte Carlo Simulation; in Proceedings of the 50th Scandinavian Conference on Simulation and Modeling (SIMS’2009); available at www.scan-sims.org. Fredericia; Denmark. October 7-8; 2009.

[8] EDF-EADS-PhiMeca; OpenTURNS (version 0.13.1) – Reference Guide; 2007; available at: http://trac.openturns.org/wiki/Documentation.

[9] Open Source Modelica Consortium. OpenModelica; www.openmodelica.org

[10] MathCore Engineering AB. MathModelica. www.mathcore.com

[11] Kowalik J.; Osborne M.R.; Methods for unconstrained optimization problems; Elsevier; New York; USA; 1968.

[12] Lophaven et al.; Aspects of the Matlab toolbox DACE; in Informatics and mathematical modeling; DTU; 44p.; 2002.

[13] Helbert et al.; Assessment of uncertainty in computer experiments: from universal kriging to Bayesian kriging; in Applied Stochastic Models in Business and Industry; vol. 25; pp. 99-113; 2009. doi: 10.1002/asmb.743.

[14] Dupraz P.; Modélisation et commande avancées d’un moteur diesel à injection directe; 1998.

[15] Dixon W.J.; Massey F.J.; Introduction to statistical analysis (4th edition); McGraw-Hill; 1983.

[16] Embrechts P.; Lindskog F.; McNeil A.; Modelling Dependence with Copulas and Applications to Risk Management; in Handbook of Heavy Tailed Distributions in Finance; ed. S. Rachev; Elsevier; Chapter 8; pp. 329-384; 2003. doi: 10.1016/B978-044450896-6.50010-8.

Citeringar i Crossref