.QCalc.Quantities

Information

This package contains quantities (Real types) that are instantiated to represent physical values (Real variables). The unit attribute of each quantity is used to denote the physical dimensionality in terms of fundamental dimensions: angle (A), length (L), mass (M), amount of subtance (N), and time (T).1 The fundamental dimensions are combined according to the rules established for unit strings [Modelica2010, p. 210]. The abbreviations (A, L, M, N, T) are applied in alphabetical order in each numerator and denominator. Temperature and charge are considered derived dimensions as if the Faraday constant (kF or 96485.3399 C/mol) and the gas constant (R or 8.314472 J/(mol K)) are nondimensionalized. The quantity attribute of each quantity is not used since it is redundant in this context. The displayUnit attribute is only used for quantities that imply a certain display unit. For example, Temperature is an alias for Potential with a default display unit of K. Some quantities have minimum values (e.g., min=0 for PressureAbsolute).

This package (Quantities) is abbreviated as Q throughout the rest of QCalc. Most quantities are named with adjectives following the noun so that related quantities are grouped when alphabetized.

Methods for unit checking have been established [Mattsson2008, Broman2008, Aronsson2009] and can, in theory, be applied to dimension checking instead. However, this does not work in Dymola as of 2014, so unit checking must be turned off (Advanced.CheckUnits = false).

For more information, please see the documentation of the Units package.


1. This misnomer (unit attribute for dimension) is necessary because Real variables do not have a dimension attribute in Modelica. Beware that:

Licensed by the Hawaii Natural Energy Institute under the Modelica License 2
Copyright © 2009–2014, Hawaii Natural Energy Institute and Georgia Tech Research Corporation.

This Modelica package is free software and the use is completely at your own risk; it can be redistributed and/or modified under the terms of the Modelica License 2. For license conditions (including the disclaimer of warranty) see QCalc.UsersGuide.License or visit http://www.modelica.org/licenses/ModelicaLicense2.

Contents

Name Description
 Acceleration
 Amount
 AmountReciprocal Reciprocal of amount
 Angle
 Angle2 Solid angle
 Area
 Capacitance
 Concentration
 Conductance
 Current
 Diffusivity
 Energy
 Force
 Frequency
 Illuminance
 Inductance
 Length
 LengthSpecific Specific length
 LengthSpecificMassSpecific Specific length times specific mass
 Luminance
 LuminousEmittance Luminous emittance
 LuminousIntensity Luminous intensity
 MagneticDipoleMoment Magnetic dipole moment
 MagneticFieldAux Auxiliary magnetic field
 MagneticFlux Magnetic flux
 MagneticFluxAreic Areic magnetic flux
 MagneticFluxReciprocal Reciprocal of magnetic flux
 MagneticFluxSpecific Specific magnetic flux
 MagnetomotiveForce Magnetomotive force
 Mass
 MassSpecific Specific mass
 MomentumRotational Rotational momentum
 Number
 Permeability
 Permittivity
 PermittivityReciprocal Reciprocal of permittivity
 Potential
 PotentialAbsolute Absolute potential
 PotentialPerWavenumber Potential per wavenumber
 Power
 PowerArea Power times area
 PowerAreic Areic power
 PowerAreicPerPotential4 Areic power per 4th power of potential
 Pressure
 PressureLineic Lineic pressure
 Resistance
 Time
 TimeReciprocal Reciprocal of time
 Velocity
 Velocity2 Squared velocity
 Viscosity
 Volume
 Wavelength
 WavelengthVelocity Wavelength times velocity
 Wavenumber
 Temperature
 TemperatureAbsolute Absolute temperature
 Interfaces Partial classes

Generated at 2020-08-09T01:53:27Z by OpenModelicaOpenModelica 1.16.0~dev-583-g9d71067 using GenerateDoc.mos