analyze_solar_radiation
Calculates incident solar irradiation and direct-sun hours on roofs, facades, and ground over a year or selected period, including shading and reflections, and returns monthly totals and PNG maps.
Instructions
(BETA) Incident solar irradiation (kWh/m2) and direct-sun hours on surfaces - roofs, facades, ground, a site - over the year or a period (months e.g. [6,7,8]; hours [start, end] local standard time). Perez cumulative sky by daylight coefficients plus the sun traced hourly, with every object in the model shading and (bounces >= 1, the default) reflecting - modelled ground and neighbours included; bounces=0 counts direct sky and sun only. Sensors sit offset_m off each surface, on the side that faces open sky. Geometry: grid_guids (+ geometry_guids, default all visible) in Rhino, or shoebox={...} (sensors on its glazed facade, no Rhino). Returns per-month means, totals and PNG maps; draws in Rhino when show_in_rhino. 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
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>"
},
"name": "analyze_solar_radiation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| label | No | ||
| months | No | ||
| bounces | No | ||
| quality | No | draft | |
| shoebox | No | ||
| epw_path | Yes | ||
| offset_m | No | ||
| materials | No | ||
| north_deg | No | ||
| background | No | ||
| grid_guids | No | ||
| show_in_rhino | No | ||
| geometry_guids | No | ||
| grid_spacing_m | No | ||
| ground_reflectance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||