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 proceedingChapterpeer-review


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
Publication statusPublished - 2017


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

ASJC Scopus subject areas

  • Software

Fields of Expertise

  • Information, Communication & Computing


Dive into the research topics of 'Physical Quantity: Towards a Pattern Language for Quantities and Units in Physical Calculations'. Together they form a unique fingerprint.

Cite this