Branch on entity's attribute

341 views
Skip to first unread message

jame...@uvg.edu.gt

unread,
Apr 29, 2015, 10:47:37 AM4/29/15
to jaamsi...@googlegroups.com
Sorry if it seems a basic question, I´m really excited about learning how to model in JaamSim. How can I branch based on the value of an object's attribute? I tried looking in the examples but I could not find one.

Harry King

unread,
Apr 29, 2015, 12:07:28 PM4/29/15
to jaamsi...@googlegroups.com, jame...@uvg.edu.gt
An example of the Branch object that uses an attribute is attached. I notice that the tool tip for the Choice keyword doesn't mention the use of expressions, which is needed to understand the use of attributes. The user manual gives a more complete description. Read the section on expressions to learn how to use attributes values as inputs to objects.

Harry
Branch by Attribute Example.cfg
Reply all
Reply to author
Forward
0 new messages