Editing Units

Navigation:  Editor > Domains, Quantities and Units >

Editing Units

Previous pageReturn to chapter overviewNext page

You can edit existing units or add new units in the Domains, Quantities and Units Editor. In the Units section you can add new units or edit existing units. Each unit has several edit fields:

Unit name: If you click on a selected unit in the tree, you can edit the name.
Description: Enter a description of the unit.
Quantity: Choose the quantity to which the unit should be associated. A unit can be associated to one quantity only.
Symbol: For display purposes every unit has a specific symbol.
Multiplications: A quantity can be expressed in several units. To prevent conversion problems, internal calculations are always performed in standard SI-units. Therefore non-SI units are stored with a multiplication factor. You can enter the multiplication factor here.
Allow Symbol Prefixes: Some units can be expressed with symbol prefixes. Select the check box to allow the use of prefixes. 20-sim supports the following prefixes:

 

prefix

symbol

value

 

femto

f

10-15

 

pico

p

10-12

 

nano

n

10-9

 

micro

u

10-6

 

milli

m

10-3

 

centi

c

10-2

 

deci

d

10-1

 

hecto

h

102

 

kilo

k

103

 

mega

M

106

 

giga

G

109

 

tera

T

1012

Example

 

parameters

   real mylength = 1 {cm}; // equal to: 0.01 {m}