Assigning units

You manually assign units to stocks and converters in the model.

All stocks in a main chain are automatically assigned the same units that you assigned to any stock in the chain.

Units for flows are automatically assigned by the software based on the units you have assigned to their associated stocks. For example, if you assigned a unit of measure called "widgets" to a stock, and your model is running in months, any flows into or out of the stock would automatically be assigned the units "widgets per month," a built in unit definition with equation widgets/month.

Notes: If you add stocks or flows to the chain after you assign units, the new variables will not be automatically assigned units. To assign units to the new variables, assign units to any stock in the chain; everything else in the chain will automatically be assigned units.

If there is a unit-converted flow (one for which the Unit conversion check box is selected) in the chain, any flows or stocks beyond that flow will not be automatically assigned the same unit of measure; you must manually assign units to those stocks yourself.

When you assign units to a variable, you can select from existing units, select from units already used in the model, create new units, or have the software suggest the appropriate units based on the variable's equation.

To assign units

Using the Units options on the Equation panel.

Note: You can also quickly assign existing units by right-clicking the in the stock or converter on the diagram, choosing Units, and then choosing the units you want to assign.

  1. Select the stock or in the model diagram.
  2. Click the Equation panel.
  3. Use the Units box at the bottom of the Equation panel to assign units:

  4. When the units you want to assign are displayed in the Units box, click or move to another task and the units will be retained.

Concept Link IconSee Also