Physical Quantity: Towards a Pattern Language for Quantities and Units in Physical Calculations

Michael Krisper, Johannes Iber, Tobias Rauter, Christian Josef Kreiner

Research output: Chapter in Book/Report/Conference proceedingChapterResearchpeer-review

Abstract

In this paper an approach is taken towards a pattern language for physical quantities in software applications. The central pattern,
PHYSICAL QUANTITY, is described as well as some needed candidate patterns revolving around. The PHYSICAL QUANTITY
design pattern is a specialized version of the QUANTITY analysis pattern, optimized for the SI unit system. It is intended for the
physical and mathematical domains where calculations, arithmetic, conversion and simulations are the most used functionalities.
Its emphasis is on type safety, dimensional analysis, performance, and convenient syntax. Supporting candidate patterns
for handling tolerances, validation, conversion or matrix operations are shortly described. The target audiences are software
engineers and practitioners working in the area of physical simulations and calculations.
Original languageEnglish
Title of host publicationProceedings of the 22nd European Conference on Pattern Languages of Programs
Place of PublicationNew York, NY, USA
PublisherAssociation of Computing Machinery
Number of pages20
ISBN (Electronic)978-1-4503-4848-5
DOIs
Publication statusPublished - 2017

    Fingerprint

Keywords

  • design patterns
  • type safety
  • quantities
  • unit system
  • si units
  • simulations
  • calculations

ASJC Scopus subject areas

  • Software

Fields of Expertise

  • Information, Communication & Computing

Cite this

Krisper, M., Iber, J., Rauter, T., & Kreiner, C. J. (2017). Physical Quantity: Towards a Pattern Language for Quantities and Units in Physical Calculations. In Proceedings of the 22nd European Conference on Pattern Languages of Programs New York, NY, USA: Association of Computing Machinery. https://doi.org/10.1145/3147704.3147715