create_histogram_chart
Generate a histogram of a simulation output's distribution as a new Excel sheet, showing binned frequencies, cumulative % curve, and the P10-P90 range. Use it after simulation to visualize results.
Instructions
ModelRisk: Render a histogram of one output's simulation result distribution as a new sheet in the workbook. The sheet has a binned data table (bin centre / frequency / cumulative %) plus a native Excel chart: frequency columns with the cumulative-probability curve overlaid on a secondary % axis and the central-80% (P10-P90) band highlighted — the same view as ModelRisk's Results Viewer, persisted into the workbook. Requires a completed simulation (reads samples from the active .vmrs). Idempotent — a sheet with the target name is replaced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet_name | No | Target sheet name. Default: `Histogram_<output_name>` (truncated to Excel's 31-char limit). | |
| output_name | Yes | VoseOutput name to chart. | |
| workbook_name | No | Workbook name. Omit for the active workbook. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||