Determining Over- and Under-Constrained Systems of Equations using Structural Constraint Delta
2006 (English)In: Proceedings of the 5th International Conference on Generative Programming and Component Engineering, 2006, 151-160 p.Conference paper (Refereed)
Computer aided modeling and simulation of complex physical systems, using components from multiple application domains, such as electrical, mechanical, and hydraulic, have in recent years witnessed a significant growth of interest. In the last decade, equation-based object-oriented (EOO) modeling languages, (e.g. Modelica, gPROMS, and VHDL-AMS) based on acausal modeling using Differential Algebraic Equations (DAEs), have appeared. With such languages, it is possible to model physical systems at a high level of abstraction by using reusable components.A model in an EOO language needs to have the same number of equations as unknowns. A previously unsolved problem concerning this property is the efficient detection of over- or under-constrained models in the case of separately compiled models.This paper describes a novel technique to determine over- and under-constrained systems of equations in models, based on a concept called structural constraint delta. In many cases it is also possible to locate the source of the constraint-problem. Our approach makes use of static type checking and consists of a type inference algorithm. We have implemented it for a subset of the Modelica language, and successfully validated it on several examples.
Place, publisher, year, edition, pages
2006. 151-160 p.
equation-based, modeling, object-oriented, over-constrained, separate compilation, type checking, under-constrained, simulation languages, algorithms
Engineering and Technology
IdentifiersURN: urn:nbn:se:kth:diva-163772DOI: 10.1145/1173706.1173729ScopusID: 2-s2.0-34547431554OAI: oai:DiVA.org:kth-163772DiVA: diva2:803875
Proceedings of the 5th International Conference on Generative Programming and Component Engineering (GPCE 2006)
QC 201504152007-11-162015-04-122016-02-15Bibliographically approved