Checking unit consistency allows you to ensure that the left- and right-hand sides of entity equations have consistent units, and that stocks in conserved flow chains all have the same units of measure.
When you check unit consistency, if any assigned units are incorrectly defined, the software displays a warning message, but you can still run the model.
You can check units for a specific entity or for the entire model. Both procedures are described below.
In the model diagram, select the entity whose units you want to check.
Note: You must have an equation defined for the entity in order to check its units.
On the Equation panel, click next to the Units box, and then choose Check units.
A message appears that indicates if the units are consistent or inconsistent.
From the Run menu, choose Check Units.
The software checks all units assigned to entities in the model.
If it finds any problems, a message appears that tells you that some units are inconsistent. Click OK to close the message.
The entities that have inconsistent units are highlighted in the model diagram.
If the Enforce Unit Consistency check box is selected in the Model Preferences dialog box, an "?" appears in any entity that fails the unit consistency check. You cannot run a simulation until all inconsistencies are resolved.