UnitDelay - Triggered by Event, instead of fixed Controller-Input?
29 views
Skip to first unread message
Peter Stumpf
unread,
Mar 19, 2026, 4:08:39 PM (13 days ago) Mar 19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JaamSim Users Discussion Group
Dear Harry
in some instances one would need a storing of one old-value and one new-value to compare them. The updating of the new-value should only take place if a certain event took place. And not with the frequence of a controller, that is fixed by its input.
How could one have such a functionality?
Kind regards
Peter
Harry King
unread,
Mar 30, 2026, 9:42:42 PM (2 days ago) Mar 30
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JaamSim Users Discussion Group
Peter,
Values can be stored and updated using attributes and the Assign object. You may need to use an EntityGenerator and a SignalThreshold to generate a SimEntity to trigger the calculation. Preferably, you might be able to perform the calculation in the same place as the event you mention.