Holarch

Behavior

Simulator

Runs an Action flow as a Discrete Event simulation (one timed run you can watch) or a Monte Carlo study (many runs).

Where to find it

  • In the navigation rail: Behavior → Simulator.
  • From an Action Diagram: ▶ Simulate ▾. From an Action: Open in ▾ → Simulator. Behavior → Simulator opens on an action whose settings are saved, otherwise on the first action with a flow.
  • Address: simulator/<actionId> or ?root=<id>, with ?mode=des|mc, ?seed=, ?run=1 and ?artifact=<saved results>.

Main actions

  • Page header: Saved Results ▾ and Open Action Diagram. The bar under it holds the root action, the run controls, Settings and the mode (Discrete Event or Monte Carlo). The summary cards appear with the first run.
  • Settings (shows or hides the run settings; its tooltip lists them): Runs (Monte Carlo, up to 20,000), Decisions (Automatic or Ask, when there is no script), Speed (1× to 100,000×), Vary fixed durations (None, Uniform ±%, Triangular ±%), Random seed, Calendar Dates, Start paused. Settings are saved with the root action as you change them (a single Undo takes back each change); Reset to defaults restores them.
  • Discrete Event: ▶ Play / ⏸ Pause, ⏭ Step, ⏩ Run to End, ⟲ Reset. In prompt mode a decision asks which branch to take. A summary strip shows Status, Total time and Total cost (after a deadlock, Status says when the run stopped and what each waiting action waits for); the tabs are Timeline (the Action Diagram as it runs, Actions over time), Cost (Cost over time, Cost by item), Resources (Resource levels over time, Resource amounts, Asset busy time) and Log (Console, Event log, Script variables).
  • Monte Carlo: ▶ Run Monte Carlo (with progress and Cancel) and Check Against Requirement…. The strip shows Runs completed; the tabs are Distribution (Statistics with the 95% confidence interval, Duration and Cost distribution, Cumulative probability), Drivers (Time by Action, Cost by Action, Branch combinations), Resources and Runs: every run with seed, outcome, duration and cost, sorted by a column header, with quick picks P10, P50 and P90, Replay (in Discrete Event) and MS Project (the run as an MS Project XML schedule).
  • Panels: each has a title and one ⋯ menu: Download data… (every column as CSV; the Gantt also as an MS Project XML schedule) and Download image… (PNG with Transparent background and Scale, or SVG), named "<root> <panel>". Cost, resource and asset charts add Choose items…. Click an item in a chart to open it in the inspector.
  • Run records: every finished run and Monte Carlo study is saved as an Artifact labelled Simulation Run, named "<root> run <date> seed <n>" (or "<root> Monte Carlo …"); the toast links to it and Saved Results ▾ lists them. A record opens read-only with Run again on the current model. A run without a seed gets one, so it can be repeated.

Tips

  • Before a Monte Carlo run, ORs without probabilities and LOOPs without iterations are listed; Use Equal Probabilities fills them for the run.
  • Before any run, Loops That Never End lists loops no EXIT can end (Model Checks Action.19); Run Anyway runs until the 10,000-repeat stop.
  • Runs that deadlock or fail are left out of the statistics; a red box shows P(failure) and View Run replays one with its own seed.
  • Durations come from each action's Duration, fixed or a distribution. Sampled negative durations are drawn again (a normal distribution truncated at 0).

Related

Simulate and Check Against a Requirement · Simulation Scripts · Action Diagram