Creating and Deleting Units

If the units you want to assign to a variable aren't in the list of available units, you can create a new unit of measure from scratch or by basing it on one or more existing units.

Tip: You can make units you create in one model available for all of your models by assigning them to My Units.

The following procedures describe how to use the Unit Editor dialog box to create new units from scratch, how to create new units by deriving them from other units, and how to delete units you've created.

To Create New Units from Scratch

  1. Open the Unit Editor dialog box by using one of these methods:

    The Unit Editor dialog box will open.

    Built in unit definitions, your customized unit definitions, and unit definitions specific to the model you're working with are all displayed.

  2. In the Unit Name box, type a unique name for the new unit of measure.

  3. In the Unit Equation box, type the equation for the new unit of measure. You can leave this box blank - see Creating Equations for Units.

  4. In the Unit Alias box, if you want any aliases, type a comma separated list of names that are equivalent to the unit of measure you're defining. Any of these aliases may also be used when creating equations for units.
  5. Make your new Unit definition available for all of your models by clicking Add to My Units, or only for this model by clicking Add to Model Specific Units.

To Derive Units from Existing Units

  1. Open the Unit Editor dialog box as in 1 above.

  2. In the "Default Units" list, double click on the Unit definition you want to derive from.

    The Unit name you chose will appear in the Unit Equation box, and the name prefixed by My will appear in the Unit Name box. Change that name to whatever you want.

  3. Edit the name and aliases for the new unit of measure. For example, you might start from Days, and then give it a new name Días and an alias día. That way, any one of Days, day, Días, and día would be considered the same unit of measure.
  4. Make your new unit definition available for all of your models by clicking Add to My Units, or only for this model by clicking Add to Model Specific Units.

To Delete Units You've Created

You can delete unit definitions that you've created or that are in a model you're working with by clicking on the next to the unit in the appropriate list. You can also move unit definitions between being model specific and being kept for all your models by clicking on the unit in the list and clicking either the << or >> buttons.

If you delete unit definitions that are being used in the model, the equivalence they used to provide will no longer hold. For example, if you had defined Días with equation Days and then removed it, the units Days and Días would no longer match.

Moving unit definitions between My Units and Model Specific Units will have no effect on Check Units results, whereas deleting definitions may. Removing unit definitions from either category will have no effect on Check Unit results for other models, whether they're currently open or not.

Note: Creating new unit definitions and removing old ones isn't tracked by the undo system. If you want to restore a unit definition you've deleted, you'll need to add it back into the Unit Editor.

 

Concept Link IconSee Also