Message 1 of 2
Updating Event-Triggered Source, Parameters During Simulation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
[ FlexSim 25.0.2 ]
Hello everyone,
I have a question regarding "Event Triggered Source" and "Wait for event". Is it possible to change the parameters of the objects being tracked during a simulation?
I have an Event-Triggered Source that is configured by a code before the simulation starts, using the "On Model Reset" event and tracking variables from a global table. This setup works perfectly. However, at a certain point during the simulation, I want to update my global table, which changes the "Replenishment Trigger" and adds new rows to listen to.
With these changes, can I update during the simulation my Event Triggered Source without causing any model bugs? Attached is the code used during the Model Reset.