compare_daylight_cases
Compare daylight performance across shoebox design cases side by side, computing sDA, ASE, DA, and EN 17037 metrics and writing charts and CSV results.
Instructions
(BETA) Daylight of shoebox design cases side by side. base = {"shoebox": {...}, "materials": {...}, "glazing": "...", "shade_transmittance": 0.15}; each case = {"id": "ID3", "shoebox": {...overrides}, "materials": {...}, "glazing": ..., "shade_transmittance": ..., "static_shade_transmittance": 0.14} (shade_transmittance: the dynamic shade that closes against direct sun; static_shade_transmittance: a blind kept down all year, multiplying the glazing's transmittance). Per case: mean daylight factor (CIE overcast), annual sDA300/50 %, ASE, DA300 at probe_distance_from_window_m on the centreline, EN 17037 daylight provision (area meeting the minimum-level target 300 lx and minimum 100 lx, and the level met), and with view_out the EN 17037 view-out shares. Writes a bar chart per metric (PNG + SVG) and a CSV table in the run folder. background=True returns a job_id (poll get_environment_run).
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": {
"epw_path": "<epw_path>",
"cases": "<cases>"
},
"name": "compare_daylight_cases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| cases | Yes | ||
| label | No | ||
| quality | No | medium | |
| epw_path | Yes | ||
| view_out | No | ||
| background | No | ||
| work_plane_m | No | ||
| edge_offset_m | No | ||
| view_height_m | No | ||
| grid_spacing_m | No | ||
| probe_distance_from_window_m | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||