Read FDS results (hrr and devc CSV)
fds_read_resultsRead FDS result CSV time series from CHID_hrr.csv and CHID_devc.csv. Get an overview of columns with units, ranges, and preview rows, or extract one column's statistics over a time window.
Instructions
Read the time series FDS writes to CHID_hrr.csv and CHID_devc.csv.
Without column: per file, each column with unit, min, max, time of max
and final value, plus the first and last preview_rows rows (first 8
columns). With column: that column between t_start and t_end, at
most max_points points (evenly downsampled) and its statistics.
Args:
directory: folder holding the outputs (usually the folder of the .fds
file), absolute or relative to the server workspace.
chid: CHID of the case (&HEAD CHID), without suffix, e.g. "room_fire".
file: "hrr" (heat release rate), "devc" (devices) or "all".
column: exact column name, e.g. "HRR" or a DEVC ID; omit to get the
overview with all column names.
t_start: start of the time window in s (with column).
t_end: end of the time window in s (with column).
preview_rows: rows shown at each end of a file (0 to 50).
max_points: maximum points returned for column (2 to 2000).
Returns:
files (overview) or series (one column); times in s, values in the
unit given for each column.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"directory": "<directory>",
"chid": "<chid>"
},
"name": "fds_read_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chid | Yes | ||
| file | No | all | |
| t_end | No | ||
| column | No | ||
| t_start | No | ||
| directory | Yes | ||
| max_points | No | ||
| preview_rows | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||