|DIAdem 2017 Help|
|DIAdem 2018 Help|
|DIAdem 2019 Help|
|DIAdem 2020 Help|
|DIAdem 2020 SP1 Help|
When executing quantity-based calculations, DIAdem checks whether the selected physical quantities can be used in the same calculation. For example, DIAdem can divide a time and a length but cannot add these quantities. If DIAdem cannot execute the calculation due to inappropriate physical quantities, DIAdem displays an error message.
If two units that are to be calculated belong to the same physical quantity, DIAdem automatically converts the units in such a way that DIAdem can execute the calculation. For example, DIAdem can add lengths that are in meters and inches. For example, if you add 1 cm (centimeter) and 1 in (inch), the result is 3.54 cm. If you do not execute the calculation quantity-based, the result is the numeric value 2. For a quantity-based calculation the quantities used must have a unit symbol.
To calculate quantity-based, you must click Calculate Quantity-Based on the DIAdem ANALYSIS toolbar or assign the value TRUE to the CalcQuantityBased variable.
To calculate quantity-based in DIAdem, the following conditions must apply:
For quantity-based calculations the following rules apply for the physical quantities:
If the units catalog does not contain a unit for the physical quantity of a result, DIAdem specifies this result unit formally from the input values. DIAdem sets the units of the physical input values in parenthesis, in the result units. For example, if you multiply a velocity with the unit m/s by a length with the unit m, the result unit is the unit (m^2)/(s). You cannot use the result for further quantity-based calculations, because the result unit is not in the units catalog. You must first add the result quantity to the units catalog.
|Note Additional rules apply for the Calculator and the Calculate command. Refer to the Help page of the Calculate command for further information. The Input and Result Quantities for Quantity-Based Calculations page contains an overview of the input quantities and result quantities of all functions.|