Using Dimensions and Units

One of the more powerful features of GoldSim is that it is dimensionally-aware. You enable this capability by assigning display units The units (e.g., m, g, $/day) in which an output is displayed within GoldSim. (and hence dimensions An output attribute for an element that defines the dimensionality (in terms of Length, Time and other fundamental dimensions) of the output.) to the elements (and hence to the inputs and outputs) of your model. GoldSim has an extensive internal database of units and conversion factors. You can enter data and display results in any units. You can even create your own units.

When you create a link, GoldSim ensures dimensional consistency and carries out all unit conversions internally. For example, you could add feet and meters in an expression, and GoldSim would internally carry out the conversion. (If you tried to add feet and seconds, however, GoldSim would issue a warning message and prevent you from doing so.)

You assign dimensions by entering the Display Units.The Display Units determine both the dimensions of the output(s) for the element, and the units in which the output will be displayed (in tool-tips and result tables and charts). You must enter a valid unit string (e.g., m, m3) made up of unit abbreviations. Appendix D of the User's Guide lists all of the internal units (and their valid abbreviations) provided by GoldSim.

The context menu for the Display Units field includes a sub-menu containing valid units and their abbreviations. Clicking on one of these inserts it into the field.

When entering unit strings Strings containing only unit abbreviations used to define compound units (e.g., m/sec, lbf/m2)., the following rules should be followed:

A simple example file illustrating the use of dimensions and units (Units.gsm) can be found in the General Examples folder in your GoldSim directory (accessed by selecting File | Open Example... from the main menu).