restore_deterministic_state
Resolve a frozen sample state in an Excel workbook by recalculating all formulas to restore deterministic baseline outputs.
Instructions
ModelRisk: Recover a workbook that's been left in a 'frozen sample' state — VoseOutput cells stuck on per-iteration sample values instead of their deterministic baseline. Triggers a full Excel recalculation (Application.CalculateFull) which re-evaluates every formula and restores the deterministic values. Use this after run_simulation raises a post-condition error, or whenever list_modelrisk_outputs shows nonsense current_values that look like a single sample draw rather than the model's deterministic answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workbook_name | No | Workbook to recalculate. Omit for the active workbook. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||