Behavior · How-to
Simulate and Check Against a Requirement
Run an action flow, study its spread of time and cost, and record whether it meets a requirement.
- Open the Action Diagram and choose ▶ Simulate ▾ → Discrete Event, or open Behavior → Simulator and choose the root action.
- Check the settings: speed, whether decisions are automated or prompt you, and optional duration variation.
- Press ▶ Play (or ⏭ Step, ⏩ Run to End). Running actions are highlighted; watch Actions over time in the Timeline tab and Total time and Total cost in the summary strip.
- Switch to Monte Carlo, set Runs and press ▶ Run Monte Carlo. Read Statistics, Duration distribution, Cost distribution and Cumulative probability in the Distribution tab.
- Click Check Against Requirement…. Pick the output (total time, total cost, a resource or a script value), set the criterion (≤ or ≥ a value, or a Measure's threshold), the requirement and the required probability.
- Read P(meet) with its 95% confidence interval and the Pass or Fail result, then Record Result…: the mean goes to the Measure and a Test Case that verifies the requirement is created or updated with Passed or Failed, and a single Undo takes it all back.
- Each finished run is saved as a Simulation Run record; reopen it from Saved Results ▾.
Costs come from Cost items incurred by actions; resources from seizes, produces and consumes relationships.
Related
Simulator · Simulation Scripts · Set Up Verification, Run Suite and Produce the RVTM
Full documentation: Simulation › Check a requirement and record the result