analyze_daylight
Simulate annual, daylight-factor, or point-in-time daylight performance for Rhino or shoebox models and report metrics including sDA, ASE, DA, UDI, and glare.
Instructions
(BETA) Daylight simulation by daylight coefficients (Almond's own native engine). probes = points [x, y] (or [x, y, z]) in metres where every metric is reported from the nearest sensor (e.g. DA300 2 m from the window); with a shoebox, probe_distance_from_window_m puts one on the room's centreline at that distance from the facade.
study: "annual" (climate-based, needs epw_path): sDA300/50% and ASE1000,250h per IES LM-83 with dynamic shades (a group's shade closes when > 2 % of sensors get > 1000 lux of direct sun), DA, cDA, UDI bins, mean illuminance, EN 17037 daylight provision, and simplified DGP for optional view points; "daylight_factor" (CIE overcast, no EPW needed; with an EPW also the EN 17037 DF targets for the site); "point_in_time" (point_in_time={"month":6,"day":21, "hour":12,"sky":"epw"} - or sky "cie_overcast", "uniform", "cie_1".."cie_15" with "horizontal_illuminance" and optional "direct_normal_illuminance").
Geometry, one of:
Rhino: grid_guids = floor surfaces to put sensors on (work_plane_m above them, grid_spacing_m apart); geometry_guids = objects that take part (default: every visible object; results layers are ignored). Materials come from layer / object / render-material names (glass/glazing/window -> glazing; floor, ceiling, wall, roof, ground, context, shading, furniture ...), user text almond:env_material, or the materials override ({"": "glazing_double_clear" | {"reflectance": 0.6} | {"transmittance": 0.5}}). Unmatched surfaces are classified by orientation. The result lists how every object was classified - check it.
shoebox (no Rhino): {"width":6,"depth":8,"height":3,"orientation":180,"wwr":0.4, "sill":0.8,"glazing":"glazing_double_lowe","overhang":0,"fins":0, "obstruction_height":0,"obstruction_distance":10}.
quality: draft | medium | high. glazing picks the library glazing for generic glass; shade_transmittance sets every shade's diffuse transmittance (default 0.15). occupied_hours [start, end] (default [8, 18], every day, as LM-83). views: [{"position":[x,y,z],"direction":[dx,dy,dz]}] in metres for glare. north_deg: true north angle from +Y, counter-clockwise (default: Rhino's Sun panel north). Saves the run (see get_environment_run) with PNG plans, and draws the first metric in Rhino when show_in_rhino (Rhino studies only). background=True starts the study and returns a job_id at once - use it for annual studies on real models, which can take longer than the client waits; poll get_environment_run(job_id).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analyze_daylight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| study | No | annual | |
| views | No | ||
| probes | No | ||
| glazing | No | ||
| quality | No | medium | |
| shoebox | No | ||
| epw_path | No | ||
| materials | No | ||
| north_deg | No | ||
| background | No | ||
| grid_guids | No | ||
| work_plane_m | No | ||
| edge_offset_m | No | ||
| point_in_time | No | ||
| show_in_rhino | No | ||
| weekdays_only | No | ||
| geometry_guids | No | ||
| grid_spacing_m | No | ||
| occupied_hours | No | ||
| dynamic_shading | No | ||
| da_threshold_lux | No | ||
| aperture_grouping | No | orientation | |
| ground_reflectance | No | ||
| shade_transmittance | No | ||
| probe_distance_from_window_m | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||