Download JaamSim Manual (full)
Transcript
Keywords are modified by clicking the Value column and entering a new value with the appropriate units from the
Units Palette. Numbers must be entered without spaces or commas and Boolean keywords must take the value
TRUE or FALSE (case sensitive). If an entry is made in the Value column, it will overwrite the default. If an input is
not valid, an error message will be displayed showing the cause of the error.
Depending on the object, different keyword values will have different data types outlined in the following table.
Input Data Types
Data Type
Description
Numbers without units
Specified with or without a decimal point, e.g. 5, 5.0, and 5. are equivalent entries.
Numbers with units
A pre-defined unit must be included, e.g. 1000 mm, 1.0 m, and 0.001 km are
equivalent entries.
Time Formats
Times can be entered as a number and unit (e.g. 5.2 s), in a year/month/day
format (e.g. 2015-02-28), or in an hour/minute/second format (e.g. 01:35:20.5).
Expressions
Specified using object outputs and mathematical operators, e.g. '1 + 2*
[Entity1].OutputB'.
Booleans
Indicated as either TRUE or FALSE (case-sensitive).
Colours
Specified by a colour keyword or by an RGB value, e.g. pink and 255 192 203 are
equivalent entries.
Strings
The text must be enclosed in single quotes if it contains any spaces, e.g. 'a b c'.
Note that 'abc' and abc are equivalent entries.
Objects
Specified by an object name. For example View1 indicates the view window,
View1, created automatically by JaamSim.
Object outputs
Specified by an object name and an output name, e.g. Queue1 QueueLength is
the output named "QueueLength" for the queue object Queue1.
The use of Time Formats and Expressions are described in the Advanced Topics section of this manual.
Curly braces are used to delineate distinct entries in a list. For example, a list of two points would be entered as {
0.0 1.0 0.0 m } { 1.0 1.0 0.0 m }. When an input has only one set of inner braces, it can be entered without the
inner braces, e.g. { { 1 2 3 } } can be entered as { 1 2 3 }.
A drop-down menu is available for many types of inputs. For a Boolean input, the user is offered a choice of TRUE
or FALSE. For an object input, the user is offered a list of all the objects of the appropriate type. Similar drop-down
menus are provided for most other types of inputs.
Colour Selection
For readability, it is often preferable to specify a colour input using a colour keyword instead of an RGB value, e.g.
pink instead of 255 192 203. A table of standard colour keywords is provided in the last section of this manual.
Alternatively, the Input Editor provides a pop-up menu containing a graphical palette (shown in the figure below) to
aid colour selection. The user can select a colour or adjust the RGB values via slider controls.
2015-14
April 10, 2015
21