Skip to main content
Top
Published in: Software and Systems Modeling 5/2020

04-07-2019 | Special Section Paper

Incorporating measurement uncertainty into OCL/UML primitive datatypes

Authors: Manuel F. Bertoa, Loli Burgueño, Nathalie Moreno, Antonio Vallecillo

Published in: Software and Systems Modeling | Issue 5/2020

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

The correct representation of the relevant properties of a system is an essential requirement for the effective use and wide adoption of model-based practices in industry. Uncertainty is one of the inherent properties of any measurement or estimation that is obtained in any physical setting; as such, it must be considered when modeling software systems deal with real data. Although a few modeling languages enable the representation of measurement uncertainty, these aspects are not normally incorporated into their type systems. Therefore, operating with uncertain values and propagating their uncertainty become cumbersome processes, which hinder their realization in real environments. This paper proposes an extension of OCL/UML primitive datatypes that enables the representation of the uncertainty that comes from physical measurements or user estimates into the models, together with an algebra of operations that are defined for the values of these types.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Footnotes
1
This is inspired by how various simple robots operate, in particular, Ozobot robots (https://​ozobot.​com).
 
2
Operations on basic datatypes normally use infix notation (e.g., \(x+y\), \(a<b\), \(P \ {\texttt {and}}\ Q\)). This is the notation that we already support in our USE implementation for the newly defined types (UReal, UBoolean, etc.). However, other languages that we have used to implement these new types (e.g., Java) do not support infix notation. Therefore, in the following we will use either an infix or prefix notation (x.add(y), a.lt(b), P.and(Q)) for the operations of these types, depending on the context and the language used.
 
3
Although a confidence value of 0.9 is rather low, it may occur due to restricted visibility on foggy days, for instance.
 
Literature
3.
go back to reference America, P.: Inheritance and subtyping in a parallel object-oriented language. In: Proceedings of ECOOP’87, pp. 234–242. Springer (1987) America, P.: Inheritance and subtyping in a parallel object-oriented language. In: Proceedings of ECOOP’87, pp. 234–242. Springer (1987)
4.
go back to reference America, P.: A Behavioural Approach to Subtyping in Object-Oriented Programming Languages, pp. 173–190. Wiley, Hoboken (1991) America, P.: A Behavioural Approach to Subtyping in Object-Oriented Programming Languages, pp. 173–190. Wiley, Hoboken (1991)
5.
go back to reference Bertoa, M.F., Moreno, N., Barquero, G., Burgueño, L., Troya, J., Vallecillo, A.: Expressing measurement uncertainty in OCL/UML datatypes. In: Proceedings of ECMFA’18, LNCS, vol. 10890, pp. 46–62. Springer (2018) Bertoa, M.F., Moreno, N., Barquero, G., Burgueño, L., Troya, J., Vallecillo, A.: Expressing measurement uncertainty in OCL/UML datatypes. In: Proceedings of ECMFA’18, LNCS, vol. 10890, pp. 46–62. Springer (2018)
7.
go back to reference Boute, R.T.: A heretical view on type embedding. ACM Sigplan Not. 25(1), 25–28 (1990)CrossRef Boute, R.T.: A heretical view on type embedding. ACM Sigplan Not. 25(1), 25–28 (1990)CrossRef
8.
go back to reference Brambilla, M., Cabot, J., Wimmer, M.: Model-Driven Software Engineering in Practice. Morgan & Claypool Publishers, San Rafael (2012)CrossRef Brambilla, M., Cabot, J., Wimmer, M.: Model-Driven Software Engineering in Practice. Morgan & Claypool Publishers, San Rafael (2012)CrossRef
9.
go back to reference Broy, M.: Challenges in modeling cyber-physical systems. In: Proceedings of ISPN’13, pp. 5–6. IEEE (2013) Broy, M.: Challenges in modeling cyber-physical systems. In: Proceedings of ISPN’13, pp. 5–6. IEEE (2013)
12.
13.
go back to reference Büttner, F., Gogolla, M.: On OCL-based imperative languages. Sci. Comput. Program. 92, 162–178 (2014)CrossRef Büttner, F., Gogolla, M.: On OCL-based imperative languages. Sci. Comput. Program. 92, 162–178 (2014)CrossRef
14.
go back to reference Cabot, J., Mazón, J., Pardillo, J., Trujillo, J.: Specifying aggregation functions in multidimensional models with OCL. In: Proceedings of ER’10, LNCS, vol. 6412, pp. 419–432. Springer (2010) Cabot, J., Mazón, J., Pardillo, J., Trujillo, J.: Specifying aggregation functions in multidimensional models with OCL. In: Proceedings of ER’10, LNCS, vol. 6412, pp. 419–432. Springer (2010)
15.
go back to reference Ciccozzi, F., Ruscio, D.D., Malavolta, I., Pelliccione, P.: Adopting MDE for specifying and executing civilian missions of mobile multi-robot systems. IEEE Access 4, 6451–6466 (2016)CrossRef Ciccozzi, F., Ruscio, D.D., Malavolta, I., Pelliccione, P.: Adopting MDE for specifying and executing civilian missions of mobile multi-robot systems. IEEE Access 4, 6451–6466 (2016)CrossRef
16.
go back to reference Ciccozzi, F., Seceleanu, T., Corcoran, D., Scholle, D.: UML-based development of embedded real-time software on multi-core in practice: lessons learned and future perspectives. IEEE Access 4, 6528–6540 (2016)CrossRef Ciccozzi, F., Seceleanu, T., Corcoran, D., Scholle, D.: UML-based development of embedded real-time software on multi-core in practice: lessons learned and future perspectives. IEEE Access 4, 6528–6540 (2016)CrossRef
17.
go back to reference Clerici, S., Orejas, F.: GSBL: An algebraic specification language based on inheritance. In: S. Gjessing, K. Nygaard (eds.) Proceedings of ECOOP’88, pp. 78–92. Springer (1988) Clerici, S., Orejas, F.: GSBL: An algebraic specification language based on inheritance. In: S. Gjessing, K. Nygaard (eds.) Proceedings of ECOOP’88, pp. 78–92. Springer (1988)
18.
go back to reference Dou, W., Bianculli, D., Briand, L.C.: OCLR: a more expressive, pattern-based temporal extension of OCL. In: Proceedings of ECMFA’14, LNCS, vol. 8569, pp. 51–66. Springer (2014) Dou, W., Bianculli, D., Briand, L.C.: OCLR: a more expressive, pattern-based temporal extension of OCL. In: Proceedings of ECMFA’14, LNCS, vol. 8569, pp. 51–66. Springer (2014)
20.
go back to reference Eramo, R., Pierantonio, A., Rosa, G.: Managing uncertainty in bidirectional model transformations. In: Proceedings of SLE’15, pp. 49–58. ACM (2015) Eramo, R., Pierantonio, A., Rosa, G.: Managing uncertainty in bidirectional model transformations. In: Proceedings of SLE’15, pp. 49–58. ACM (2015)
22.
go back to reference Esfahani, N., Malek, S.: Uncertainty in self-adaptive software systems. In: Software Engineering for Self-Adaptive Systems II, no. 7475 in LNCS, pp. 214–238. Springer (2013) Esfahani, N., Malek, S.: Uncertainty in self-adaptive software systems. In: Software Engineering for Self-Adaptive Systems II, no. 7475 in LNCS, pp. 214–238. Springer (2013)
23.
go back to reference Famelis, M., Rubin, J., Czarnecki, K., Salay, R., Chechik, M.: Software product lines with design choices: reasoning about variability and design uncertainty. In: Proceedings of MODELS’17, pp. 93–100 (2017) Famelis, M., Rubin, J., Czarnecki, K., Salay, R., Chechik, M.: Software product lines with design choices: reasoning about variability and design uncertainty. In: Proceedings of MODELS’17, pp. 93–100 (2017)
24.
go back to reference Famelis, M., Salay, R., Chechik, M.: Partial models: towards modeling and reasoning with uncertainty. In: Proceedings of ICSE’12, pp. 573–583. IEEE Press (2012) Famelis, M., Salay, R., Chechik, M.: Partial models: towards modeling and reasoning with uncertainty. In: Proceedings of ICSE’12, pp. 573–583. IEEE Press (2012)
26.
go back to reference Garlan, D.: Software Engineering in an uncertain world. In: Proceedings of the FoSER Workshop at FSE/SDP 2010, pp. 125–128. ACM (2010) Garlan, D.: Software Engineering in an uncertain world. In: Proceedings of the FoSER Workshop at FSE/SDP 2010, pp. 125–128. ACM (2010)
27.
go back to reference Gogolla, M., Büttner, F., Richters, M.: USE: a UML-based specification environment for validating UML and OCL. Sci. Comput. Prog. 69, 27–34 (2007)MathSciNetCrossRef Gogolla, M., Büttner, F., Richters, M.: USE: a UML-based specification environment for validating UML and OCL. Sci. Comput. Prog. 69, 27–34 (2007)MathSciNetCrossRef
28.
go back to reference Goldberg, D.: What every computer scientist should know about floating-point arithmetic. ACM Comput. Surv. 23(1), 5–48 (1991)MathSciNetCrossRef Goldberg, D.: What every computer scientist should know about floating-point arithmetic. ACM Comput. Surv. 23(1), 5–48 (1991)MathSciNetCrossRef
29.
30.
go back to reference Guy, C., Combemale, B., Derrien, S., Steel, J.R.H., Jézéquel, J.M.: On model subtyping. In: Proceedings of ECMFA’12, LNCS, vol. 7349, pp. 400–415. Springer (2012) Guy, C., Combemale, B., Derrien, S., Steel, J.R.H., Jézéquel, J.M.: On model subtyping. In: Proceedings of ECMFA’12, LNCS, vol. 7349, pp. 400–415. Springer (2012)
31.
go back to reference Hall, B.D.: Component interfaces that support measurement uncertainty. Comput. Stand. Interfaces 28(3), 306–310 (2006)CrossRef Hall, B.D.: Component interfaces that support measurement uncertainty. Comput. Stand. Interfaces 28(3), 306–310 (2006)CrossRef
32.
go back to reference IEEE Std 1003.1-2008: The Open Group Base Specifications. Issue 7, Sect. 4.16, Seconds Since the Epoch (2016) IEEE Std 1003.1-2008: The Open Group Base Specifications. Issue 7, Sect. 4.16, Seconds Since the Epoch (2016)
33.
go back to reference ISO/IEC 25010:2011: Systems and software engineering—Systems and software Quality Requirements and Evaluation (SQuaRE)—System and software quality models. ISO/IEC (2011) ISO/IEC 25010:2011: Systems and software engineering—Systems and software Quality Requirements and Evaluation (SQuaRE)—System and software quality models. ISO/IEC (2011)
37.
go back to reference Jiménez-Ramírez, A., Weber, B., Barba, I., del Valle, C.: Generating optimized configurable business process models in scenarios subject to uncertainty. Inf. Softw. Technol. 57, 571–594 (2015)CrossRef Jiménez-Ramírez, A., Weber, B., Barba, I., del Valle, C.: Generating optimized configurable business process models in scenarios subject to uncertainty. Inf. Softw. Technol. 57, 571–594 (2015)CrossRef
38.
go back to reference Kchir, S., Dhouib, S., Tatibouet, J., Gradoussoff, B., Simoes, M.D.S.: Robotml for industrial robots: design and simulation of manipulation scenarios. In: Proceedings of ETFA’16, pp. 1–8 (2016) Kchir, S., Dhouib, S., Tatibouet, J., Gradoussoff, B., Simoes, M.D.S.: Robotml for industrial robots: design and simulation of manipulation scenarios. In: Proceedings of ETFA’16, pp. 1–8 (2016)
39.
go back to reference Khan, M.U., Arshad, N., Iqbal, M.Z., Umar, H.: AspectOCL: Extending OCL for crosscutting constraints. In: Proceedings of ECMFA’15, LNCS, vol. 9153, pp. 92–107. Springer (2015) Khan, M.U., Arshad, N., Iqbal, M.Z., Umar, H.: AspectOCL: Extending OCL for crosscutting constraints. In: Proceedings of ECMFA’15, LNCS, vol. 9153, pp. 92–107. Springer (2015)
40.
go back to reference Kosko, B.: Fuzziness vs probability. Int. J. Gen. Syst. 17(2–3), 211–240 (1990)CrossRef Kosko, B.: Fuzziness vs probability. Int. J. Gen. Syst. 17(2–3), 211–240 (1990)CrossRef
41.
go back to reference Kyas, M.: An extended type system for OCL supporting templates and transformations. In: Proceedings of FMOODS’05, LNCS, vol. 3535, pp. 83–98. Springer (2005) Kyas, M.: An extended type system for OCL supporting templates and transformations. In: Proceedings of FMOODS’05, LNCS, vol. 3535, pp. 83–98. Springer (2005)
43.
go back to reference Lee, E.A.: Cyber physical systems: design challenges. In: Proceedings of ISORC’08, pp. 363–369. IEEE (2008) Lee, E.A.: Cyber physical systems: design challenges. In: Proceedings of ISORC’08, pp. 363–369. IEEE (2008)
44.
go back to reference Letier, E., Stefan, D., Barr, E.T.: Uncertainty, risk, and information value in software requirements and architecture. In: Proceedings of ICSE’14, pp. 883–894. ACM (2014) Letier, E., Stefan, D., Barr, E.T.: Uncertainty, risk, and information value in software requirements and architecture. In: Proceedings of ICSE’14, pp. 883–894. ACM (2014)
45.
go back to reference Levenshtein, V.: Binary codes capable of correcting deletions, insertions and reversals. Sov. Phys. Dokl. 10, 707 (1966)MathSciNet Levenshtein, V.: Binary codes capable of correcting deletions, insertions and reversals. Sov. Phys. Dokl. 10, 707 (1966)MathSciNet
46.
go back to reference Liskov, B.H., Wing, J.M.: A behavioral notion of subtyping. ACM Trans. Program. Lang. Syst. 16(6), 1811–1841 (1994)CrossRef Liskov, B.H., Wing, J.M.: A behavioral notion of subtyping. ACM Trans. Program. Lang. Syst. 16(6), 1811–1841 (1994)CrossRef
47.
go back to reference Littlewood, B., Neil, M., Ostrolenk, G.: The role of models in managing the uncertainty of software-intensive systems. Reliabil. Eng. Syst. Saf 50(1), 87–95 (1995)CrossRef Littlewood, B., Neil, M., Ostrolenk, G.: The role of models in managing the uncertainty of software-intensive systems. Reliabil. Eng. Syst. Saf 50(1), 87–95 (1995)CrossRef
48.
go back to reference Liu, B.: Uncertainty Theory, 5th edn. Springer, Berlin (2018) Liu, B.: Uncertainty Theory, 5th edn. Springer, Berlin (2018)
50.
go back to reference Mosterman, P.J., Zander, J.: Industry 4.0 as a cyber-physical system study. Softw. Syst. Model. 15(1), 17–29 (2016)CrossRef Mosterman, P.J., Zander, J.: Industry 4.0 as a cyber-physical system study. Softw. Syst. Model. 15(1), 17–29 (2016)CrossRef
51.
go back to reference Oberkampf, W.L., DeLand, S.M., Rutherford, B.M., Diegert, K.V., Alvin, K.F.: Error and uncertainty in modeling and simulation. Reliabil. Eng. Syst. Saf. 75(3), 333–357 (2002)CrossRef Oberkampf, W.L., DeLand, S.M., Rutherford, B.M., Diegert, K.V., Alvin, K.F.: Error and uncertainty in modeling and simulation. Reliabil. Eng. Syst. Saf. 75(3), 333–357 (2002)CrossRef
52.
go back to reference Object Management Group: Object Constraint Language (OCL) Specification. Version 2.2 (2010). OMG Document formal/01 Feb 2010 Object Management Group: Object Constraint Language (OCL) Specification. Version 2.2 (2010). OMG Document formal/01 Feb 2010
53.
go back to reference Object Management Group: UML Profile for MARTE: Modeling and Analysis of Real-Time Embedded Systems. Version 1.1 (2011). OMG Document formal/02 June 2010 Object Management Group: UML Profile for MARTE: Modeling and Analysis of Real-Time Embedded Systems. Version 1.1 (2011). OMG Document formal/02 June 2010
54.
go back to reference Object Management Group: Unified Modeling Language (UML) Specification. Version 2.5 (2015). OMG document formal/01 March 2015 Object Management Group: Unified Modeling Language (UML) Specification. Version 2.5 (2015). OMG document formal/01 March 2015
55.
go back to reference Object Management Group: OMG Systems Modeling Language (SysML), version 1.4 (2016). OMG Document formal/05 January 2015 Object Management Group: OMG Systems Modeling Language (SysML), version 1.4 (2016). OMG Document formal/05 January 2015
56.
go back to reference Object Management Group: Structured Metrics Metamodel (SMM) Specification. Version 1.2 (2018). OMG Document formal/01 May 2018 Object Management Group: Structured Metrics Metamodel (SMM) Specification. Version 1.2 (2018). OMG Document formal/01 May 2018
57.
go back to reference Pardillo, J., Mazón, J.N., Trujillo, J.: Extending OCL for OLAP querying on conceptual multidimensional models of data warehouses. Inf. Sci. 180(5), 584–601 (2010)CrossRef Pardillo, J., Mazón, J.N., Trujillo, J.: Extending OCL for OLAP querying on conceptual multidimensional models of data warehouses. Inf. Sci. 180(5), 584–601 (2010)CrossRef
58.
go back to reference Salay, R., Chechik, M., Horkoff, J., Sandro, A.: Managing requirements uncertainty with partial models. Requir. Eng. 18(2), 107–128 (2013)CrossRef Salay, R., Chechik, M., Horkoff, J., Sandro, A.: Managing requirements uncertainty with partial models. Requir. Eng. 18(2), 107–128 (2013)CrossRef
59.
go back to reference Selic, B.: The pragmatics of model-driven development. IEEE Softw. 20(5), 19–25 (2003)CrossRef Selic, B.: The pragmatics of model-driven development. IEEE Softw. 20(5), 19–25 (2003)CrossRef
61.
go back to reference Shafer, G.: A Mathematical Theory of Evidence. Princeton University Press, Princeton (1976)MATH Shafer, G.: A Mathematical Theory of Evidence. Princeton University Press, Princeton (1976)MATH
62.
go back to reference Vallecillo, A., Gogolla, M.: Adding random operations to OCL. In: Proceedings of MoDeVVa’17, no. 2019 in CEUR Workshop Proceedings, pp. 324–328 (2017) Vallecillo, A., Gogolla, M.: Adding random operations to OCL. In: Proceedings of MoDeVVa’17, no. 2019 in CEUR Workshop Proceedings, pp. 324–328 (2017)
63.
go back to reference Vallecillo, A., Morcillo, C., Orue, P.: Expressing measurement uncertainty in software models. In: Proceedings of QUATIC’16, pp. 1–10 (2016) Vallecillo, A., Morcillo, C., Orue, P.: Expressing measurement uncertainty in software models. In: Proceedings of QUATIC’16, pp. 1–10 (2016)
65.
go back to reference Wolf, M.: A modeling language for measurement uncertainty evaluation. Ph.D. thesis, ETH Zurich (2009) Wolf, M.: A modeling language for measurement uncertainty evaluation. Ph.D. thesis, ETH Zurich (2009)
67.
go back to reference Zhang, M., Selic, B., Ali, S., Yue, T., Okariz, O., Norgren, R.: Understanding uncertainty in cyber-physical systems: a conceptual model. In: Proceedings of ECMFA’16, LNCS, vol. 9764, pp. 247–264. Springer (2016) Zhang, M., Selic, B., Ali, S., Yue, T., Okariz, O., Norgren, R.: Understanding uncertainty in cyber-physical systems: a conceptual model. In: Proceedings of ECMFA’16, LNCS, vol. 9764, pp. 247–264. Springer (2016)
68.
go back to reference Zimmermann, H.J.: Fuzzy Set Theory—and Its Applications, 4th edn. Springer, Berlin (2001)CrossRef Zimmermann, H.J.: Fuzzy Set Theory—and Its Applications, 4th edn. Springer, Berlin (2001)CrossRef
Metadata
Title
Incorporating measurement uncertainty into OCL/UML primitive datatypes
Authors
Manuel F. Bertoa
Loli Burgueño
Nathalie Moreno
Antonio Vallecillo
Publication date
04-07-2019
Publisher
Springer Berlin Heidelberg
Published in
Software and Systems Modeling / Issue 5/2020
Print ISSN: 1619-1366
Electronic ISSN: 1619-1374
DOI
https://doi.org/10.1007/s10270-019-00741-0

Other articles of this Issue 5/2020

Software and Systems Modeling 5/2020 Go to the issue

Premium Partner