4.5 Article

Specifying quantities in software models

Journal

INFORMATION AND SOFTWARE TECHNOLOGY
Volume 113, Issue -, Pages 82-97

Publisher

ELSEVIER SCIENCE BV
DOI: 10.1016/j.infsof.2019.05.006

Keywords

Model-based engineering; Modeling physical quantities; Measurement uncertainty; Dimensions; Units

Funding

  1. Spanish Research [TIN2014-52034-R, TIN2016-75944-R]
  2. EU COST Action [IC1404, MPM4CPS]
  3. National Foundation for Research, Technology and Development (CDG)
  4. Austrian Federal Ministry of-Science, Re-search, and Economy (BMWFW Austria)

Ask authors/readers for more resources

Context: An essential requirement for the design and development of any engineering application that deals with real-world physical systems is the formal representation and processing of physical quantities, comprising both measurement uncertainty and units. Although solutions exist for several programming languages and simulation frameworks, this problem has not yet been fully solved for software models. Objective: This paper shows how both measurement uncertainty and units can be effectively incorporated into software models, becoming part of their basic type systems. Method: We introduce the main concepts and mechanisms needed for representing and handling physical quantities in software models. More precisely, we describe an extension of basic type Real, called Quantity, and a set of operations defined for the values of that type, together with a ready-to-use library of dimensions and units, which can be added to any modeling project. Results: We show how our approach permits modelers to safely represent and operate with physical quantities, statically ensuring type- and unit-safe assignments and operations, prior to any simulation of the system or implementation in any programming language. Conclusion: Our approach improves the expressiveness and type-safety of software models with respect to measurement uncertainty and units of physical quantities, and its effective use in modeling projects of physical systems.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.5
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available