liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Extendable Physical Unit Checking with Understandable Error Reporting
MathCore Engineering AB, Linköping, Sweden.
Linköping University, Department of Computer and Information Science, PELAB - Programming Environment Laboratory. Linköping University, The Institute of Technology.
2009 (English)In: Proceedings of the 7th International Modelica Conference, Como, Italy, 20-22 September 2009, Linköping University Electronic Press, Linköpings universitet , 2009, 890-897 p.Conference paper, Published paper (Refereed)
Abstract [en]

Dimensional analysis and physical unit checking are important tools for helping users to detect and correct mistakes in dynamic mathematical models. To make tools useful in a broad range of domains, it is important to also support other units than the SI standard. For instance, such units are common in biochemical or financial modeling. Furthermore, if two or more units turn out be in conflict after checking, it is vital that the reported unit information is given in an understandable format for the user, e.g., “N.m” should preferably be shown instead of “m2.kg.s-2”, even if they represent the same unit. Presently, there is no standardized solution to handle these problems for Modelica models. The contribution presented in this paper is twofold. Firstly, we propose an extension to the Modelica language that makes it possible for a library designer to define both new base units and derived units within Modelica models and packets. Today this information is implicitly defined in the specification. Secondly, we describe and analyze a solution to the problem of presenting units to users in a more convenient way, based on an algorithm using Mixed Integer Programming (MIP). Both solutions are implemented, tested, and illustrated with several examples.

Place, publisher, year, edition, pages
Linköping University Electronic Press, Linköpings universitet , 2009. 890-897 p.
Series
Linköping Electronic Conference Proceedings, ISSN 1650-3686 (print), 1650-3740 (online)
Keyword [en]
Dimensional analysis, unit checking, dimensions, error reporting, language design
National Category
Computer Science
Identifiers
URN: urn:nbn:se:liu:diva-93295DOI: 10.3384/ecp09430027ISBN: 978-91-7393-513-5 (print)OAI: oai:DiVA.org:liu-93295DiVA: diva2:624056
Conference
7th International Modelica Conference, Como, Italy, 20-22 September 2009
Available from: 2013-05-29 Created: 2013-05-29 Last updated: 2013-06-10Bibliographically approved

Open Access in DiVA

No full text

Other links

Publisher's full text

Authority records BETA

Broman, David

Search in DiVA

By author/editor
Broman, David
By organisation
PELAB - Programming Environment LaboratoryThe Institute of Technology
Computer Science

Search outside of DiVA

GoogleGoogle Scholar

doi
isbn
urn-nbn

Altmetric score

doi
isbn
urn-nbn
Total: 47 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf