analyze_thermal
Simulates hourly zone thermal performance for a year to estimate heating/cooling energy, peak loads, operative temperatures, and comfort, including passive-design and natural-ventilation scenarios.
Instructions
(BETA) Hourly thermal simulation of zones for a year (ISO 13790 5R1C, one node set per zone) with solar gains ray traced on the real geometry: heating/cooling energy and peaks (kWh/m2, W/m2), operative temperatures, and comfort - adaptive ASHRAE 55 and EN 16798-1 (Cat II) hours, CIBSE TM52 overheating criteria, PMV/PPD. free_running=True removes both set-points (use with natural_ventilation_ach to test passive design).
Zones: zone_guids = closed polysurfaces / extrusions / closed meshes in Rhino, one per zone (glazing objects parallel to a zone face and within 30 cm of it become its windows; faces shared between listed zones are adiabatic; a zone's lowest floor is ground-coupled to the EPW ground temperature unless building floors lie under it, when it is exposed to outside air - list the zone below to make it adiabatic, or pass ground_z_m, the ground's z coordinate in metres); geometry_guids = context that shades (default all visible). Or shoebox={...} for a room with one exposed facade; materials overrides apply to it too. TM52 is assessed over May-September north of the equator and November-March south of it, or over tm52_months (e.g. [12,1,2]). construction: insulated | typical | uninsulated_masonry | lightweight_tropical; u_values overrides per kind ({"wall":0.3,"roof":0.2,"ground_floor":0.3,"window":1.4}); thermal_mass: very_light | light | medium | heavy | very_heavy. schedule: office | school | residential | always. shading_g_factor < 1 lowers a window's g when its irradiance passes 300 W/m2 (movable shading); shading_min_outdoor_c keeps the shading up on days colder than that (summer mode, e.g. 12). Fresh air when occupied: ventilation_l_s_m2 per floor area (default by schedule, EN 16798-1 Cat II: office 1.4, school 4.0, residential 0.42) or ventilation_ach; infiltration_ach always. Brief-style inputs: people_per_m2 (their sensible heat at metabolic_rate replaces occupancy_w_m2; 60 % of the metabolic heat, an Almond assumption) and ventilation_l_s_person (added to ventilation_l_s_m2, e.g. 5 l/s per person + 1 l/s m2); heating_setback_c / cooling_setback_c are the set-points outside occupied hours (e.g. 21 occupied / 18 setback; default: off when unoccupied); heating_months / cooling_months / ventilation_months / natural_ventilation_months limit each system to a season (e.g. heating [11,12,1,2,3,4], natural ventilation [5,...,10]); natural_ventilation_above_c and natural_ventilation_min_outdoor_c set when windows open; shading_on_above_w_m2 is the irradiance on the window that lowers the shade (e.g. 150). custom_schedule = your own day profiles, {"occupancy": {"weekday": [24 fractions], "weekend": [24]}, "lighting": {...}, "equipment": {...}}. comfort_months = the season for the adaptive EN 16798-1 hour counts (adaptive_en16798_hours: too warm / too cool / comfortable occupied hours per category I-III). lighting_control = continuous | stepped | on_off dims or switches the lights to top up the daylight on the work plane to lighting_target_lux (e.g. 300; stepped in lighting_steps equal steps; continuous down to lighting_min_power), from the daylight traced at control points on a 1 m grid over each floor - shoebox zones here, rooms through analyze_rooms(thermal_settings={"lighting_control": ...}); the lighting saving and the hours daylight alone meets the target are reported per zone. Every zone reports its hourly energy balance as annual gains / losses per term (energy_balance_kwh_m2) and lighting / equipment energy; export_csv=True also writes each zone's hourly results and balance to a CSV in the run folder. 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_thermal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| shoebox | No | ||
| epw_path | Yes | ||
| schedule | No | office | |
| u_values | No | ||
| window_g | No | ||
| window_u | No | ||
| air_speed | No | ||
| materials | No | ||
| north_deg | No | ||
| background | No | ||
| export_csv | No | ||
| ground_z_m | No | ||
| zone_guids | No | ||
| tm52_months | No | ||
| construction | No | typical | |
| free_running | No | ||
| thermal_mass | No | ||
| lighting_w_m2 | No | ||
| people_per_m2 | No | ||
| comfort_months | No | ||
| cooling_months | No | ||
| equipment_w_m2 | No | ||
| geometry_guids | No | ||
| heating_months | No | ||
| lighting_steps | No | ||
| metabolic_rate | No | ||
| occupancy_w_m2 | No | ||
| clothing_summer | No | ||
| clothing_winter | No | ||
| custom_schedule | No | ||
| ventilation_ach | No | ||
| infiltration_ach | No | ||
| lighting_control | No | ||
| shading_g_factor | No | ||
| cooling_setback_c | No | ||
| heating_setback_c | No | ||
| cooling_setpoint_c | No | ||
| heating_setpoint_c | No | ||
| lighting_min_power | No | ||
| ventilation_l_s_m2 | No | ||
| ventilation_months | No | ||
| lighting_target_lux | No | ||
| shading_min_outdoor_c | No | ||
| shading_on_above_w_m2 | No | ||
| ventilation_l_s_person | No | ||
| natural_ventilation_ach | No | ||
| natural_ventilation_months | No | ||
| natural_ventilation_above_c | No | ||
| natural_ventilation_min_outdoor_c | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||