generate_iso_report
Generate an ISO 20816-3 evaluation report for a stored vibration signal, producing a color-coded severity chart with A-D zones and summary.
Instructions
Generate an ISO 20816-3 evaluation report (HTML) for a stored signal.
Saves a self-contained Plotly HTML report (color-coded A-D zone
chart with the measured RMS marker, boundaries, severity text) to
the reports/ directory with a timestamped filename. The evaluation
itself is delegated to assess_severity — requires the signal loaded
via load_signal() first with sampling rate AND a declared unit
(units are never guessed).
Args:
signal_id: ID of the stored signal (from load_signal).
machine_group: 1 (large, >300 kW) or 2 (medium, 15-300 kW)
support_type: 'rigid' or 'flexible'
rpm: Operating speed in RPM (optional; selects the ISO band's
lower edge below 600 RPM)
ctx: MCP context
Returns:
Dictionary with file path, metadata, and summary (NO HTML content)
Raises:
ValueError: If the signal_id is not loaded, or the stored signal
has no sampling rate or no declared unit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rpm | No | ||
| signal_id | Yes | ||
| support_type | No | rigid | |
| machine_group | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||