Journal
INFORMATION AND SOFTWARE TECHNOLOGY
Volume 113, Issue -, Pages 82-97Publisher
ELSEVIER SCIENCE BV
DOI: 10.1016/j.infsof.2019.05.006
Keywords
Model-based engineering; Modeling physical quantities; Measurement uncertainty; Dimensions; Units
Funding
- Spanish Research [TIN2014-52034-R, TIN2016-75944-R]
- EU COST Action [IC1404, MPM4CPS]
- National Foundation for Research, Technology and Development (CDG)
- 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
Recommended
No Data Available