flexsim_run_to_time
Advance a FlexSim simulation to a specified target time, blocking until completion. Optionally set run speed when connected to the FlexSim window.
Instructions
Run simulation until reaching target time (blocks until done, max speed).
Args:
target_time: Target simulation time in seconds
Example:
target_time=3600 # Run for 1 hour
Note: time only advances while the model has scheduled events.
With the FlexSim window connected, run_speed (optional) sets the Run Speed slider first;
use 1000 for a fast run (the window default is 4x real time).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |